XML rules test failure
by Ondrej Zizka
Hi,
this is what I get with current master.
However on Jenkins it's ok.
Any idea what can be wrong?
Thanks,
Ondra
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 18.532
sec <<< FAILURE! - in
org.jboss.windup.rules.xml.XMLTransformationXMLRulesTest
testXSLTTransformation(org.jboss.windup.rules.xml.XMLTransformationXMLRulesTest)
Time elapsed: 6.247 sec <<< FAILURE!
java.lang.AssertionError: null
at org.junit.Assert.fail(Assert.java:86)
at org.junit.Assert.assertTrue(Assert.java:41)
at org.junit.Assert.assertTrue(Assert.java:52)
at
org.jboss.windup.rules.xml.XMLTransformationXMLRulesTest.testXSLTTransformation(XMLTransformationXMLRulesTest.java:118)
Results :
Failed tests:
XMLTransformationTest.testXSLTTransformation:126 null
GroovyExtensionXmlRulesTest.testHintsAndClassificationOperation:120
expected:<2> but was:<0>
XMLFileNestedConditionTest.testNestedCondition:128 expected:<1> but
was:<0>
XMLHintsClassificationsTest.testHintAndClassificationOperation:130
expected:<2> but was:<0>
XMLTransformationXMLRulesTest.testXSLTTransformation:118 null
10 years
XmlFile vs. XmlFileCondition
by Ondrej Zizka
Hi,
wouldn't it be better to split XmlFile's static code from what should
really be a XmlCondition? For the sake of code readability and
debugging. From user's PoV it would be the same - he would still see
.when(XmlFile.matchesXpath("//catalog/chain | //catalog/chains"))
Regards,
Ondra
10 years
Windup meeting minutes - 2014-11-19
by Lincoln Baxter, III
Minutes:
http://transcripts.jboss.org/meeting/irc.freenode.org/windup/2014/windup....
Minutes (text):
http://transcripts.jboss.org/meeting/irc.freenode.org/windup/2014/windup....
Log:
http://transcripts.jboss.org/meeting/irc.freenode.org/windup/2014/windup....
Meeting summary
---------------
* Agenda (lincolnthree, 15:06:07)
* Status Reports (lincolnthree, 15:08:00)
* Last week I worked on rule condition parameterization, and got a
preliminary prototype working. This week I'm going to continue with
that and work on the operation aspect of the same feature.
(lincolnthree, 15:09:19)
* I should have an updated prototype today (lincolnthree, 15:09:36)
* I'm also going to review the PRs that I've missed over the past few
days. (lincolnthree, 15:09:47)
* I added some tests that uses external groovy tests (for JavaClass,
XmlFile) .. WINDUP-380 (mbriskar, 15:15:05)
* I also worked on a small issue WINDUP-331, during which I filed new
forge issue : FORGE-2144 (mbriskar, 15:15:35)
* and I also tried to catch with the latest PR's (mbriskar, 15:16:01)
* I studied lincolnthree's PR in-depth. It's pretty complicated, but
the effects for rule-writing are quite powerful. It pretty clearly
looks like the way forward for getting us a lot more flexibility in
the rules. (jsightler, 15:17:29)
* I've also reviewed some PRs (including the nice one from ozizka that
makes the bootstrap CLI a lot easier to use), and I am working on
multithreaded decompilation (jsightler, 15:18:07)
* WINDUP-355 Victi.ms - a working ruleset, but without reporting -
working on that (ozizka, 15:19:24)
* Javadoc for Beta5 (ozizka, 15:19:39)
* Working on finishing https://github.com/windup/windup/pull/329
(ozizka, 15:21:12)
* Priorities (lincolnthree, 15:25:43)
* Priorities remain unchanged for the most part, I think..
Performance, Rule parameterization, and stability/reliability are
the top requests. (lincolnthree, 15:26:23)
--
Lincoln Baxter, III
http://ocpsoft.org
"Simpler is better."
10 years, 1 month
Windup Meeting Minutes - 1014-11-12
by Lincoln Baxter, III
windup.2014-11-12-15.04.html
<http://transcripts.jboss.org/meeting/irc.freenode.org/windup/2014/windup....>4.4
KB2014-11-12 16:03:04windup.2014-11-12-15.04.log.html
<http://transcripts.jboss.org/meeting/irc.freenode.org/windup/2014/windup....>30.9
KB2014-11-12 16:03:04windup.2014-11-12-15.04.log.txt
<http://transcripts.jboss.org/meeting/irc.freenode.org/windup/2014/windup....>13.5
KB2014-11-12 16:03:04windup.2014-11-12-15.04.txt
<http://transcripts.jboss.org/meeting/irc.freenode.org/windup/2014/windup....>2.1
KB2014-11-12 16:03:04
Meeting summary
---------------
* Agenda (lincolnthree, 15:06:10)
* Status Reports (mbriskar, 15:08:24)
* I was working on WINDUP-369, now we are able to ignore the files
from being scaned by windup. Firstly it checks ~/.windup/ignore,
then it checks windup_home/ignore and then all the paths specified
by the user. The regex for the files is *windup-ignore.txt
(mbriskar, 15:10:28)
* regarding WINDUP-336: Still stuck, the author replied and said
procyon is really not suitable for the threading, but he said he
will look at my code and will try to help. He assumes just having
different metadata should help (what we already did) (mbriskar,
15:11:46)
* started to work on WINDUP-331, trying to use mocks with the tests,
but it fails now (test not found in any deployed addon error)
(mbriskar, 15:13:11)
* Ive been working on rule parameterization. I've made a bit more
progress and I think I'm almost there - work can be seen in my
branch: https://github.com/windup/windup/pull/335/commits
(lincolnthree, 15:16:11)
* I worked on a system of correlating conditions via the use of
Gremlin Pipelines. (jsightler, 15:23:51)
* The PR is here: https://github.com/windup/windup/pull/347
(jsightler, 15:23:55)
* It is almost done (just needs refinement and testing, IMO)
(jsightler, 15:24:11)
* status updates (mbriskar, 15:30:25)
* Priorities (mbriskar, 15:30:30)
--
Lincoln Baxter, III
http://ocpsoft.org
"Simpler is better."
10 years, 1 month
Windup Meeting Minutes - 2014-11-05
by Lincoln Baxter, III
Minutes:
http://transcripts.jboss.org/meeting/irc.freenode.org/windup/2014/windup....
Minutes (text):
http://transcripts.jboss.org/meeting/irc.freenode.org/windup/2014/windup....
Log:
http://transcripts.jboss.org/meeting/irc.freenode.org/windup/2014/windup....
Meeting summary
---------------
* Agenda (lincolnthree, 15:09:52)
* Status Reports (lincolnthree, 15:11:37)
* Last week I gave another rules demo to some more consultants.
jsightler, pmuir, and sgilda were there as well. (lincolnthree,
15:13:19)
* I also worked on reviewing PRs, as usual. (lincolnthree, 15:13:29)
* I dabbled with implementing parameterized rules (Can't find a JIRA
for this, will add one.) (lincolnthree, 15:14:05)
* I also updated some of the syntax for the XML rules we have as of
now (lincolnthree, 15:14:38)
* This week I will continue to work on parameterization of rules,
among other things. (lincolnthree, 15:15:04)
* LINK: https://github.com/windup/windup/pull/335 (lincolnthree,
15:22:27)
* LINK:
https://github.com/windup/windup/pull/335/files#diff-4582b3082fd39e06dee3...
(lincolnthree, 15:23:29)
* LINK: http://paste2.org/4Cn4H4pc (lincolnthree, 15:24:34)
* I worked on WINDUP-373 last week -- this is just to create a way to
guide the user in selecting packages/jars (jsightler, 15:27:01)
* It is mostly done, but I would like to integrate the work from
WINDUP-369 before sending a PR (as it is related) (jsightler,
15:27:32)
* I have also spent some time trying the WINDUP-336 PR (jsightler,
15:28:46)
* because of the time shift in our country, I missed last meeting. So
I will just give some notes (mbriskar, 15:40:25)
* I was on conference for two days, but besides I think I finished the
application link path using Breadcrumbs in the report (mbriskar,
15:41:27)
* and some minor fixes in the xml rules (mbriskar, 15:42:05)
* now I am trying to make the multithreading decompilation work, but
it looks like it is stuck and I have no idea how to push it forward
(lot of OutOfMemory exceptions) (mbriskar, 15:42:43)
* I am also working on WINDUP-369 - shortly, being able to ignore some
files from being scanned, suitable for some libraries like ant.jar
etc. (mbriskar, 15:43:23)
* Last week - vacation, except Friday (ozizka, 15:45:42)
* This week - so far working on WINDUP-346, resp. moving that to
Bootstrap. (ozizka, 15:45:42)
* Wanted to get the possible windup params dynamically, but that would
need Furnace to be already booted. So only few hard-coded for now.
(ozizka, 15:45:42)
* Almost done. (ozizka, 15:45:42)
* On Friday, I started to look into WINDUP-355 (ozizka, 15:45:42)
* Priorities (lincolnthree, 15:46:58)
1. Performance
2. Parametererization of rules
3. Code cleanup and JIRA maintenance
* Weekly Release (lincolnthree, 15:53:52)
* We need to do a weekly release soon. We can do it whenever, but
please make sure that any issues you've fixed are closed in JIRA so
that they get included in the release notes. (lincolnthree,
15:54:30)
10 years, 1 month
(no subject)
by Lincoln Baxter, III
Minutes:
http://transcripts.jboss.org/meeting/irc.freenode.org/windup/2014/windup....
Minutes (text):
http://transcripts.jboss.org/meeting/irc.freenode.org/windup/2014/windup....
Log:
http://transcripts.jboss.org/meeting/irc.freenode.org/windup/2014/windup....
Meeting summary
---------------
* Agenda (lincolnthree, 15:09:52)
* Status Reports (lincolnthree, 15:11:37)
* Last week I gave another rules demo to some more consultants.
jsightler, pmuir, and sgilda were there as well. (lincolnthree,
15:13:19)
* I also worked on reviewing PRs, as usual. (lincolnthree, 15:13:29)
* I dabbled with implementing parameterized rules (Can't find a JIRA
for this, will add one.) (lincolnthree, 15:14:05)
* I also updated some of the syntax for the XML rules we have as of
now (lincolnthree, 15:14:38)
* This week I will continue to work on parameterization of rules,
among other things. (lincolnthree, 15:15:04)
* LINK: https://github.com/windup/windup/pull/335 (lincolnthree,
15:22:27)
* LINK:
https://github.com/windup/windup/pull/335/files#diff-4582b3082fd39e06dee3...
(lincolnthree, 15:23:29)
* LINK: http://paste2.org/4Cn4H4pc (lincolnthree, 15:24:34)
* I worked on WINDUP-373 last week -- this is just to create a way to
guide the user in selecting packages/jars (jsightler, 15:27:01)
* It is mostly done, but I would like to integrate the work from
WINDUP-369 before sending a PR (as it is related) (jsightler,
15:27:32)
* I have also spent some time trying the WINDUP-336 PR (jsightler,
15:28:46)
* because of the time shift in our country, I missed last meeting. So
I will just give some notes (mbriskar, 15:40:25)
* I was on conference for two days, but besides I think I finished the
application link path using Breadcrumbs in the report (mbriskar,
15:41:27)
* and some minor fixes in the xml rules (mbriskar, 15:42:05)
* now I am trying to make the multithreading decompilation work, but
it looks like it is stuck and I have no idea how to push it forward
(lot of OutOfMemory exceptions) (mbriskar, 15:42:43)
* I am also working on WINDUP-369 - shortly, being able to ignore some
files from being scanned, suitable for some libraries like ant.jar
etc. (mbriskar, 15:43:23)
* Last week - vacation, except Friday (ozizka, 15:45:42)
* This week - so far working on WINDUP-346, resp. moving that to
Bootstrap. (ozizka, 15:45:42)
* Wanted to get the possible windup params dynamically, but that would
need Furnace to be already booted. So only few hard-coded for now.
(ozizka, 15:45:42)
* Almost done. (ozizka, 15:45:42)
* On Friday, I started to look into WINDUP-355 (ozizka, 15:45:42)
* Priorities (lincolnthree, 15:46:58)
1. Performance
2. Parametererization of rules
3. Code cleanup and JIRA maintenance
* Weekly Release (lincolnthree, 15:53:52)
* We need to do a weekly release soon. We can do it whenever, but
please make sure that any issues you've fixed are closed in JIRA so
that they get included in the release notes. (lincolnthree,
15:54:30)
--
Lincoln Baxter, III
http://ocpsoft.org
"Simpler is better."
10 years, 1 month