Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-579

Test reports were found but none of them are new. Did tests run?

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • other
    • None
    • Platform: All, OS: All

      Could you please elaborate on what does this mean?
      We get this message when 'Publish JUnit test result report' is checked and
      'svn/test-report/*.xml' specified. Here is the console output:

      started
      Updating http://host/project/main/svn/trunk/project
      At revision 54
      no change for http://host/project/main/svn/trunk/project since the previous build
      [svn] $ /usr/share/ant/bin/ant clean archive test
      Buildfile: build.xml

      clean:
      [delete] Deleting directory /var/opt/hudson/jobs/Project/workspace/svn/dist
      [delete] Deleting directory
      /var/opt/hudson/jobs/Project/workspace/svn/exploded-archives/project.ear
      [delete] Deleting directory
      /var/opt/hudson/jobs/Project/workspace/svn/exploded-archives/project.war
      [delete] Deleting directory
      /var/opt/hudson/jobs/Project/workspace/svn/exploded-archives/project.jar
      [delete] Deleting directory
      /var/opt/hudson/jobs/Project/workspace/svn/test-report
      [delete] Deleting 34 files from
      /var/opt/hudson/jobs/Project/workspace/svn/test-build

      init:
      [mkdir] Created dir:
      /var/opt/hudson/jobs/Project/workspace/svn/exploded-archives/project.jar
      [mkdir] Created dir:
      /var/opt/hudson/jobs/Project/workspace/svn/exploded-archives/project.ear
      [mkdir] Created dir:
      /var/opt/hudson/jobs/Project/workspace/svn/exploded-archives/project.war
      [mkdir] Created dir: /var/opt/hudson/jobs/Project/workspace/svn/dist

      compile:
      [javac] Compiling 14 source files to
      /var/opt/hudson/jobs/Project/workspace/svn/exploded-archives/project.jar

      copyclasses:

      jar:
      [copy] Copying 1 file to
      /var/opt/hudson/jobs/Project/workspace/svn/exploded-archives/project.jar
      [copy] Copying 1 file to
      /var/opt/hudson/jobs/Project/workspace/svn/exploded-archives/project.jar/META-INF
      [copy] Copying 1 file to
      /var/opt/hudson/jobs/Project/workspace/svn/exploded-archives/project.jar/META-INF
      [copy] Copying 1 file to
      /var/opt/hudson/jobs/Project/workspace/svn/exploded-archives/project.jar

      war:
      [copy] Copying 18 files to
      /var/opt/hudson/jobs/Project/workspace/svn/exploded-archives/project.war
      [copy] Copying 5 files to
      /var/opt/hudson/jobs/Project/workspace/svn/exploded-archives/project.war/WEB-INF
      [copy] Copying 10 files to
      /var/opt/hudson/jobs/Project/workspace/svn/exploded-archives/project.war/WEB-INF/lib
      [copy] Copying 1 file to
      /var/opt/hudson/jobs/Project/workspace/svn/exploded-archives/project.war/WEB-INF/classes

      ear:
      [copy] Copying 13 files to
      /var/opt/hudson/jobs/Project/workspace/svn/exploded-archives/project.ear
      [copy] Copying 2 files to
      /var/opt/hudson/jobs/Project/workspace/svn/exploded-archives/project.ear/META-INF

      archive:
      [jar] Building jar:
      /var/opt/hudson/jobs/Project/workspace/svn/dist/project.jar
      [jar] Building jar:
      /var/opt/hudson/jobs/Project/workspace/svn/dist/project.war
      [jar] Building jar:
      /var/opt/hudson/jobs/Project/workspace/svn/dist/project.ear

      compiletest:
      [javac] Compiling 16 source files to
      /var/opt/hudson/jobs/Project/workspace/svn/test-build

      copytestclasses:

      buildtest:
      [copy] Copying 14 files to
      /var/opt/hudson/jobs/Project/workspace/svn/test-build
      [copy] Copying 1 file to
      /var/opt/hudson/jobs/Project/workspace/svn/test-build/META-INF
      [copy] Copying 1 file to /var/opt/hudson/jobs/Project/workspace/svn/test-build
      [copy] Copying 1 file to /var/opt/hudson/jobs/Project/workspace/svn/test-build

      test:
      [testng] [Parser] Running:
      [testng] /var/opt/hudson/jobs/Project/workspace/svn/test-build/ProjectTest.xml

      [testng] ===============================================
      [testng] Suite1
      [testng] Total tests run: 3, Failures: 0, Skips: 0
      [testng] ===============================================

      BUILD SUCCESSFUL
      Total time: 3 seconds
      Recording test results
      Test reports were found but none of them are new. Did tests run?
      finished: FAILURE

            Unassigned Unassigned
            alex_yanchenko alex_yanchenko
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: