[jbosstools-issues] [JBoss JIRA] (JBIDE-16961) All tests passed but no test results collected?

Nick Boldt (JIRA) issues at jboss.org
Tue Apr 1 00:39:13 EDT 2014


Nick Boldt created JBIDE-16961:
----------------------------------

             Summary: All tests passed but no test results collected?
                 Key: JBIDE-16961
                 URL: https://issues.jboss.org/browse/JBIDE-16961
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: build, testing-tools, webservices
    Affects Versions: 4.2.0.Beta1
            Reporter: Nick Boldt
            Assignee: Mickael Istria


For some reason no JUnit test results were found so this build (despite passing) was marked a *{color:red}failure{color}*.

{code:title=https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/DevStudio/view/DevStudio_8.0.luna/job/jbosstools-webservices_4.2.luna/18/console}
[INFO] --- tycho-surefire-plugin:0.19.0:test (default-test) @ org.jboss.tools.ws.jaxrs.ui.test ---
[WARNING] The following locally built units have been used to resolve project dependencies:
[WARNING]   org.jboss.tools.ws.jaxrs.core/1.7.0.Beta1-v20140401-0010-B18
[WARNING]   org.jboss.tools.ws.jaxrs.ui/1.7.0.Beta1-v20140401-0010-B18
[INFO] Expected eclipse log file: /qa/hudson_workspace/workspace/jbosstools-webservices_4.2.luna/sources/tests/org.jboss.tools.ws.jaxrs.ui.test/target/work/data/.metadata/.log
[INFO] Command line:
	/bin/sh -c cd /qa/hudson_workspace/workspace/jbosstools-webservices_4.2.luna/sources/tests/org.jboss.tools.ws.jaxrs.ui.test && /qa/tools/opt/x86_64/jdk1.6.0_45/jre/bin/java -Dosgi.noShutdown=false -Dosgi.os=linux -Dosgi.ws=gtk -Dosgi.arch=x86_64 '-javaagent:/qa/hudson_workspace/workspace/jbosstools-webservices_4.2.luna/.repository/org/jacoco/org.jacoco.agent/0.6.4.201312101107/org.jacoco.agent-0.6.4.201312101107-runtime.jar=destfile=/qa/hudson_workspace/workspace/jbosstools-webservices_4.2.luna/sources/target/jacoco.exec,append=true,includes=org.jboss.tools.ws.jaxrs.ui*' -Xms512m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=256m -Dusage_reporting_enabled=false -Dorg.jboss.tools.tests.skipPrivateRequirements=false -Dorg.eclipse.ui.testsDisableWorkbenchAutoSave=true -Dosgi.clean=true -jar /qa/hudson_workspace/workspace/jbosstools-webservices_4.2.luna/.repository/p2/osgi/bundle/org.eclipse.equinox.launcher/1.3.0.v20140224-1459/org.eclipse.equinox.launcher-1.3.0.v20140224-1459.jar -data /qa/hudson_workspace/workspace/jbosstools-webservices_4.2.luna/sources/tests/org.jboss.tools.ws.jaxrs.ui.test/target/work/data -install /qa/hudson_workspace/workspace/jbosstools-webservices_4.2.luna/sources/tests/org.jboss.tools.ws.jaxrs.ui.test/target/work -configuration /qa/hudson_workspace/workspace/jbosstools-webservices_4.2.luna/sources/tests/org.jboss.tools.ws.jaxrs.ui.test/target/work/configuration -application org.eclipse.tycho.surefire.osgibooter.uitest -testproperties /qa/hudson_workspace/workspace/jbosstools-webservices_4.2.luna/sources/tests/org.jboss.tools.ws.jaxrs.ui.test/target/surefire.properties
No protocol specified

[INFO] All tests passed!
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] ws.tests .......................................... SUCCESS [1.018s]
[INFO] org.jboss.tools.ws.core.test ...................... SUCCESS [26.209s]
[INFO] org.jboss.tools.ws.creation.core.test ............. SUCCESS [31.634s]
[INFO] org.jboss.tools.ws.ui.test ........................ SUCCESS [22.038s]
[INFO] org.jboss.tools.ws.jaxrs.core.test ................ SUCCESS [22.074s]
[INFO] org.jboss.tools.ws.jaxrs.ui.test .................. SUCCESS [19.978s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2:42.812s
[INFO] Finished at: Mon Mar 31 20:17:35 EDT 2014
[INFO] Final Memory: 58M/495M
[INFO] ------------------------------------------------------------------------
[WARNING] The requested profile "jbosstools-nightly-staging-composite" could not be activated because it does not exist.
[jbosstools-webservices_4.2.luna] $ bash -xe /tmp/hudson2976715506732488216.sh
+ mkdir -p /qa/hudson_workspace/workspace/jbosstools-webservices_4.2.luna/jacoco
+ cd /qa/hudson_workspace/workspace/jbosstools-webservices_4.2.luna/jacoco
+ wget http://raw.github.com/jbosstools/jbosstools-build-ci/master/jacoco/jacoco-reports.xml -q --no-check-certificate -N
+ wget http://raw.github.com/jbosstools/jbosstools-build-ci/master/jacoco/jacocoant.jar -q --no-check-certificate -N
+ cd /qa/hudson_workspace/workspace/jbosstools-webservices_4.2.luna/sources
+ ant -f /qa/hudson_workspace/workspace/jbosstools-webservices_4.2.luna/jacoco/jacoco-reports.xml
Buildfile: /qa/hudson_workspace/workspace/jbosstools-webservices_4.2.luna/jacoco/jacoco-reports.xml

reports:
    [mkdir] Created dir: /qa/hudson_workspace/workspace/jbosstools-webservices_4.2.luna/sources/target/coverage-report
   [report] Loading execution data file /qa/hudson_workspace/workspace/jbosstools-webservices_4.2.luna/sources/target/jacoco.exec
   [report] Writing group "JBoss Tools chunk" with 503 classes

BUILD SUCCESSFUL
Total time: 6 seconds
Terminating xvnc.
$ vncserver -kill :184
Killing Xvnc process ID 14284
Archiving artifacts
Recording test results
No test report files were found. Configuration error?
Build step 'Publish JUnit test result report' changed build result to FAILURE{code}

Assigning to Mickael to see if he has any insights as to WHY this might be happening. Can't be Tycho 0.20.0 as the Beta1x branch is still using Tycho 0.19.0. What does "*No protocol specified*" in the log after the surefire invocation mean?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the jbosstools-issues mailing list