Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-16961

All tests passed but no test results collected?

XMLWordPrintable

    • Workaround Exists
    • Hide

      In job config, add `xhost +` before invoking any IU tests.

      Show
      In job config, add `xhost +` before invoking any IU tests.

      For some reason no JUnit test results were found so this build (despite passing) was marked a failure.

      [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

      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?

            nickboldt Nick Boldt
            nickboldt Nick Boldt
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: