| Forum: Buckminster |
|---|
| Topic: problems when running emma in Jenkins |
|---|
| problems when running emma in Jenkins [message #1059464] |
Sun, 19 May 2013 05:05 |
Lorenzo Bettini Messages: 1116 Registered: July 2009 |
Senior Member |
|
|
Hi
I've just started using emma in my buckminster builds in Jenkins.
First of all, I run emma as follows
emma -l "mylaunch.launch" --output
"${buckminster.output.root}/test.results/mylaunch.launch.xml" --xml
"${buckminster.output.root}/test.results/coverage.mylaunch.launch.xml"
--flatXML --stdout --stderr
and I run buckminster from ant (I tested this both with Buckminster
headless 4.2 and 4.3).
When I run the ant script locally on my machine, everything works file
and coverage.mylaunch.launch.xml is created.
When I run the same ant script in Jenkins, I get this error when the
junit test suite ends
[java] INFO: Starting test session TraitJTypingUtilTest
[java] INFO: Running test...
....
[java] INFO: ...OK [0.201s]
[java] INFO: Tests finished.
[java] INFO: Elapsed time: 1.556 seconds.
[java] INFO: Total number of tests executed: 2
[java] INFO: Successful tests: 2
[java] INFO: Failed tests: 0
[java] INFO: Errors: 0
[java] INFO: Ignored tests: 0
[java] INFO: Overall status: OK
[java] ERROR: No coverage has been collected during coverage launch
(code 5101).
the strange thing is that most of the time the
coverage.mylaunch.launch.xml is actually created (in spite of the ERROR
above)...
when the job executes the postbuild action of the Emma plugin in Jenkins
"Record Emma coverage report", the coverage.mylaunch.launch.xml is
found, but I always get this error
hudson.util.IOException2: Failed to read
/usr/share/tomcat6/.jenkins/workspace/my.project/buildroot/buckminster.output/test.results/coverage.mylaunch.launch.xml
at hudson.tasks.junit.TestResult.parse(TestResult.java:284)
at hudson.tasks.junit.TestResult.parsePossiblyEmpty(TestResult.java:223)
....
Caused by: org.dom4j.DocumentException:
/usr/share/tomcat6/.jenkins/workspace/my.project/buildroot/buckminster.output/test.results/report.dtd
(No such file or directory) Nested exception:
/usr/share/tomcat6/.jenkins/workspace/xtext-traitj-gerrit-ant/buildroot/buckminster.output/test.results/report.dtd
(No such file or directory)
....
which seems to imply that it's trying to read the report.dtd...
anyone else experiencing this?
thanks in advance
Lorenzo
--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it
|
|
|
| Forum: Jubula |
|---|
| Topic: Coordinates on GEF Canvas |
|---|
| Coordinates on GEF Canvas [message #1059462] |
Sun, 19 May 2013 00:11 |
latha n Messages: 2 Registered: May 2013 |
Junior Member |
|
|
I am trying Jubula for an Eclipse RCP project. It has a GEF canvas and I need to choose a tool and drag on the canvas to make a rectangle. Every time I run the test, it has to draw exactly at the same location. I am using the canvas drag and drop with coordinates. But how do I find the coordinates on the canvas? Is there a way in jubula to do that or is there any other tool I can use to do that?
Thank you
|
|
|
Powered by
FUDForum. Page generated in 0.16170 seconds