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

Maven Build Failure after upgrade

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Postponed
    • Icon: Blocker Blocker
    • violations-plugin
    • None
    • Platform: All, OS: All

      Console Output Below –

      Error on build that has previously worked. Build is Hudson v1.321. This job is
      running on a slave, and again, previously worked.

      Please update me ASAP as our CI environment is no longer functional.

      Thanks,
      Rob Dineen

      Started by user dineerm
      Building remotely on Lynms423_Slave
      Updating http://svn.toro.com/svn/silver/dealer-connectivity/dataaccess/trunk
      At revision 4393
      no change for
      http://svn.toro.com/svn/silver/dealer-connectivity/dataaccess/trunk since the
      previous build
      Parsing POMs
      channel started
      ���Executing Maven: -B -f C:\.hudson-slave\workspace\dataaccess\trunk\pom.xml
      clean package findbugs:findbugs javancss:report emma:emma
      [INFO] Scanning for projects...
      [INFO] Searching repository for plugin with prefix: 'findbugs'.
      [INFO] ------------------------------------------------------------------------
      [INFO] Building Data Access Package
      [INFO] task-segment: [clean, package, findbugs:findbugs, javancss:report,
      emma:emma]
      [INFO] ------------------------------------------------------------------------
      [INFO] [clean:clean]
      [INFO] Deleting directory C:\.hudson-slave\workspace\dataaccess\trunk\target
      [TASKS] Scanning folder
      'C:\.hudson-slave\workspace\dataaccess\trunk\src\main\java' for tasks ...
      log4j:WARN No appenders could be found for logger
      (org.apache.commons.beanutils.converters.BooleanConverter).
      log4j:WARN Please initialize the log4j system properly.
      [TASKS] Found 0.
      [TASKS] Scanning folder
      'C:\.hudson-slave\workspace\dataaccess\trunk\src\main\resources' for tasks ...
      [TASKS] Found 0.
      [TASKS] File encoding has not been set in pom.xml, using platform encoding
      windows-1252, i.e. build is platform dependent (see <a
      href="http://docs.codehaus.org/display/MAVENUSER/POM+Element+for+Source+File+Encoding">Maven
      FAQ</a>).
      [INFO] [resources:resources]
      [WARNING] File encoding has not been set, using platform encoding Cp1252, i.e.
      build is platform dependent!
      [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources,
      i.e. build is platform dependent!
      [INFO] Copying 3 resources
      [TASKS] Scipping maven reporter: there is already a result available.
      [INFO] [compiler:compile]
      [INFO] Compiling 36 source files to
      C:\.hudson-slave\workspace\dataaccess\trunk\target\classes
      [TASKS] Scipping maven reporter: there is already a result available.
      [INFO] [resources:testResources]
      [WARNING] File encoding has not been set, using platform encoding Cp1252, i.e.
      build is platform dependent!
      [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources,
      i.e. build is platform dependent!
      [INFO] Copying 3 resources
      [INFO] Copying 5 resources
      [TASKS] Scipping maven reporter: there is already a result available.
      [INFO] [compiler:testCompile]
      [INFO] Compiling 10 source files to
      C:\.hudson-slave\workspace\dataaccess\trunk\target\test-classes
      [TASKS] Scipping maven reporter: there is already a result available.
      [INFO] [surefire:test]
      [INFO] Surefire report directory:
      C:\.hudson-slave\workspace\dataaccess\trunk\target\surefire-reports

      -------------------------------------------------------
      T E S T S
      -------------------------------------------------------
      Running com.toro.dlcn.dataaccess.dao.DatafeedDaoTest
      Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 30.282 sec
      Running com.toro.dlcn.dataaccess.dao.TransformationDaoTest
      Tests run: 33, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 25.406 sec
      Running com.toro.dlcn.dataaccess.dao.CaptureDaoTest
      Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.625 sec
      Running com.toro.dlcn.dataaccess.domain.PropertyValidationTest
      Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.641 sec
      Running com.toro.dlcn.dataaccess.domain.RelationshipValidationTest
      Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.407 sec
      Running com.toro.dlcn.dataaccess.dao.MockCaptureDaoImplTest
      Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.781 sec
      Running com.toro.dlcn.dataaccess.dao.RemoteAdminDaoTest
      Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.515 sec

      Results :

      Tests run: 87, Failures: 0, Errors: 0, Skipped: 0

      [TASKS] Scipping maven reporter: there is already a result available.
      [HUDSON] Recording test results
      [INFO] [jar:jar]
      [INFO] Building jar:
      C:\.hudson-slave\workspace\dataaccess\trunk\target\dataaccess.jar
      [TASKS] Scipping maven reporter: there is already a result available.
      [INFO] Preparing findbugs:findbugs
      [HUDSON] Archiving C:\.hudson-slave\workspace\dataaccess\trunk\pom.xml to
      C:\hudson\data\jobs\dataaccess\modules\com.toro.dlcn$dataaccess\builds\2009-08-26_07-22-20\archive\com.toro.dlcn\dataaccess\1.2.1-SNAPSHOT\pom.xml
      [HUDSON] Archiving
      C:\.hudson-slave\workspace\dataaccess\trunk\target\dataaccess.jar to
      C:\hudson\data\jobs\dataaccess\modules\com.toro.dlcn$dataaccess\builds\2009-08-26_07-22-20\archive\com.toro.dlcn\dataaccess\1.2.1-SNAPSHOT\dataaccess.jar
      [INFO] [resources:resources]
      [WARNING] File encoding has not been set, using platform encoding Cp1252, i.e.
      build is platform dependent!
      [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources,
      i.e. build is platform dependent!
      [INFO] Copying 3 resources
      [TASKS] Scipping maven reporter: there is already a result available.
      [INFO] [compiler:compile]
      [INFO] Nothing to compile - all classes are up to date
      [TASKS] Scipping maven reporter: there is already a result available.
      [INFO] Setting property: classpath.resource.loader.class =>
      'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
      [INFO] Setting property: velocimacro.messages.on => 'false'.
      [INFO] Setting property: resource.loader => 'classpath'.
      [INFO] Setting property: resource.manager.logwhenfound => 'false'.
      [INFO] **************************************************************
      [INFO] Starting Jakarta Velocity v1.4
      [INFO] RuntimeInstance initializing.
      [INFO] Default Properties File:
      org\apache\velocity\runtime\defaults\velocity.properties
      [INFO] Default ResourceManager initializing. (class
      org.apache.velocity.runtime.resource.ResourceManagerImpl)
      [INFO] Resource Loader Instantiated:
      org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader
      [INFO] ClasspathResourceLoader : initialization starting.
      [INFO] ClasspathResourceLoader : initialization complete.
      [INFO] ResourceCache : initialized. (class
      org.apache.velocity.runtime.resource.ResourceCacheImpl)
      [INFO] Default ResourceManager initialization complete.
      [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Literal
      [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Macro
      [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Parse
      [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Include
      [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Foreach
      [INFO] Created: 20 parsers.
      [INFO] Velocimacro : initialization starting.
      [INFO] Velocimacro : adding VMs from VM library template : VM_global_library.vm
      [ERROR] ResourceManager : unable to find resource 'VM_global_library.vm' in any
      resource loader.
      [INFO] Velocimacro : error using VM library template VM_global_library.vm :
      org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource
      'VM_global_library.vm'
      [INFO] Velocimacro : VM library template macro registration complete.
      [INFO] Velocimacro : allowInline = true : VMs can be defined inline in templates
      [INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT
      replace previous VM definitions
      [INFO] Velocimacro : allowInlineLocal = false : VMs defined inline will be
      global in scope if allowed.
      [INFO] Velocimacro : initialization complete.
      [INFO] Velocity successfully started.
      [INFO] [findbugs:findbugs]
      [INFO] Using source root:
      [INFO] C:\.hudson-slave\workspace\dataaccess\trunk\target\classes
      [INFO] Using test source root:
      [INFO] C:\.hudson-slave\workspace\dataaccess\trunk\target\test-classes
      [INFO] Using maximum effort.
      [INFO] Adding Source Directory:
      C:\.hudson-slave\workspace\dataaccess\trunk\src\main\java
      [INFO] Using low threshold.
      [INFO] Using FindBugs Version: 1.3.8
      [INFO] Using low threshold.
      [INFO] Using low threshold.
      [INFO] Using low threshold.
      [INFO] Using the xdoc format
      [INFO] Using maximum effort.
      [INFO] Using low threshold.
      [INFO] Using low threshold.
      [INFO] Debugging is On
      [INFO] No bug include filter.
      [INFO] No bug exclude filter.
      [INFO] Printing Errors
      [INFO] Printing Missing classes
      [INFO] Printing Source Roots
      [FINDBUGS] Successfully parsed file
      C:\.hudson-slave\workspace\dataaccess\trunk\target\findbugsXml.xml of module
      Data Access Package with 120 warnings.
      [FINDBUGS] File encoding has not been set in pom.xml, using platform encoding
      windows-1252, i.e. build is platform dependent (see <a
      href="http://docs.codehaus.org/display/MAVENUSER/POM+Element+for+Source+File+Encoding">Maven
      FAQ</a>).
      [TASKS] Scipping maven reporter: there is already a result available.
      [INFO] [javancss:report]
      [WARNING] Unable to locate Source XRef to link to - DISABLED
      javancss-raw-report.xml
      C:\.hudson-slave\workspace\dataaccess\trunk
      C:\.hudson-slave\workspace\dataaccess\trunk\target
      [TASKS] Scipping maven reporter: there is already a result available.
      [INFO] Preparing emma:emma
      [INFO] [resources:resources]
      [WARNING] File encoding has not been set, using platform encoding Cp1252, i.e.
      build is platform dependent!
      [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources,
      i.e. build is platform dependent!
      [INFO] Copying 3 resources
      [TASKS] Scipping maven reporter: there is already a result available.
      [INFO] [compiler:compile]
      [INFO] Nothing to compile - all classes are up to date
      [TASKS] Scipping maven reporter: there is already a result available.
      [INFO] [emma:instrument]
      [INFO] Instrumenting classes with EMMA
      processing instrumentation path ...
      instrumentation path processed in 657 ms
      [32 class(es) instrumented, 7 resource(s) copied]
      metadata merged into
      [C:\.hudson-slave\workspace\dataaccess\trunk\target\coverage.em]

      {in 15 ms}

      [TASKS] Scipping maven reporter: there is already a result available.
      [INFO] [resources:testResources]
      [WARNING] File encoding has not been set, using platform encoding Cp1252, i.e.
      build is platform dependent!
      [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources,
      i.e. build is platform dependent!
      [INFO] Copying 3 resources
      [INFO] Copying 5 resources
      [TASKS] Scipping maven reporter: there is already a result available.
      [INFO] [compiler:testCompile]
      [INFO] Nothing to compile - all classes are up to date
      [TASKS] Scipping maven reporter: there is already a result available.
      [INFO] [surefire:test]
      [INFO] Surefire report directory:
      C:\.hudson-slave\workspace\dataaccess\trunk\target\surefire-reports

      -------------------------------------------------------
      T E S T S
      -------------------------------------------------------
      Running com.toro.dlcn.dataaccess.dao.DatafeedDaoTest
      EMMA: collecting runtime coverage data ...
      Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 36.578 sec
      Running com.toro.dlcn.dataaccess.dao.TransformationDaoTest
      Tests run: 33, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 36.923 sec
      Running com.toro.dlcn.dataaccess.dao.CaptureDaoTest
      Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.375 sec
      Running com.toro.dlcn.dataaccess.domain.PropertyValidationTest
      Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.953 sec
      Running com.toro.dlcn.dataaccess.domain.RelationshipValidationTest
      Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 38.329 sec
      Running com.toro.dlcn.dataaccess.dao.MockCaptureDaoImplTest
      Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.828 sec
      Running com.toro.dlcn.dataaccess.dao.RemoteAdminDaoTest
      Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.672 sec

      Results :

      Tests run: 87, Failures: 0, Errors: 0, Skipped: 0

      EMMA: runtime coverage data merged into
      [C:\.hudson-slave\workspace\dataaccess\trunk\coverage.ec]

      {in 78 ms}

      [TASKS] Scipping maven reporter: there is already a result available.
      [HUDSON] Recording test results
      [INFO] Setting property: classpath.resource.loader.class =>
      'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
      [INFO] Setting property: velocimacro.messages.on => 'false'.
      [INFO] Setting property: resource.loader => 'classpath'.
      [INFO] Setting property: resource.manager.logwhenfound => 'false'.
      [INFO] **************************************************************
      [INFO] Starting Jakarta Velocity v1.4
      [INFO] RuntimeInstance initializing.
      [INFO] Default Properties File:
      org\apache\velocity\runtime\defaults\velocity.properties
      [INFO] Default ResourceManager initializing. (class
      org.apache.velocity.runtime.resource.ResourceManagerImpl)
      [INFO] Resource Loader Instantiated:
      org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader
      [INFO] ClasspathResourceLoader : initialization starting.
      [INFO] ClasspathResourceLoader : initialization complete.
      [INFO] ResourceCache : initialized. (class
      org.apache.velocity.runtime.resource.ResourceCacheImpl)
      [INFO] Default ResourceManager initialization complete.
      [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Literal
      [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Macro
      [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Parse
      [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Include
      [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Foreach
      [INFO] Created: 20 parsers.
      [INFO] Velocimacro : initialization starting.
      [INFO] Velocimacro : adding VMs from VM library template : VM_global_library.vm
      [ERROR] ResourceManager : unable to find resource 'VM_global_library.vm' in any
      resource loader.
      [INFO] Velocimacro : error using VM library template VM_global_library.vm :
      org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource
      'VM_global_library.vm'
      [INFO] Velocimacro : VM library template macro registration complete.
      [INFO] Velocimacro : allowInline = true : VMs can be defined inline in templates
      [INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT
      replace previous VM definitions
      [INFO] Velocimacro : allowInlineLocal = false : VMs defined inline will be
      global in scope if allowed.
      [INFO] Velocimacro : initialization complete.
      [INFO] Velocity successfully started.
      [INFO] [emma:emma]
      processing input files ...
      2 file(s) read and merged in 15 ms
      writing [xml] report to
      [C:\.hudson-slave\workspace\dataaccess\trunk\target\site\emma\coverage.xml] ...
      writing [html] report to
      [C:\.hudson-slave\workspace\dataaccess\trunk\target\site\emma\index.html] ...
      [TASKS] Scipping maven reporter: there is already a result available.
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD SUCCESSFUL
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 5 minutes 14 seconds
      [INFO] Finished at: Wed Aug 26 07:27:39 CDT 2009
      [INFO] Final Memory: 73M/484M
      [INFO] ------------------------------------------------------------------------
      ERROR: Processing failed due to a bug in the code. Please report this to
      users@hudson.dev.java.net
      C:\.hudson-slave\workspace\dataaccess\trunk not found.
      at
      org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:422)
      at
      hudson.plugins.violations.ViolationsCollector.findFiles(ViolationsCollector.java:215)
      at
      hudson.plugins.violations.ViolationsCollector.doType(ViolationsCollector.java:166)
      at
      hudson.plugins.violations.ViolationsCollector.invoke(ViolationsCollector.java:110)
      at
      hudson.plugins.violations.ViolationsCollector.invoke(ViolationsCollector.java:27)
      at hudson.FilePath.act(FilePath.java:676)
      at hudson.FilePath.act(FilePath.java:660)
      at
      hudson.plugins.violations.hudson.maven.ViolationsMavenReporter.end(ViolationsMavenReporter.java:98)
      at
      hudson.maven.MavenModuleSetBuild$Builder.end(MavenModuleSetBuild.java:676)
      at
      hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:486)
      at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:354)
      at hudson.model.Run.run(Run.java:1106)
      at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:301)
      at hudson.model.ResourceController.execute(ResourceController.java:93)
      at hudson.model.Executor.run(Executor.java:122)
      project=hudson.maven.MavenModuleSet@243e8ad1[dataaccess]
      project.getModules()=[hudson.maven.MavenModule@321e45e3[dataaccess/com.toro.dlcn:dataaccess]]
      project.getRootModule()=hudson.maven.MavenModule@321e45e3[dataaccess/com.toro.dlcn:dataaccess]
      FATAL: C:\.hudson-slave\workspace\dataaccess\trunk not found.
      C:\.hudson-slave\workspace\dataaccess\trunk not found.
      at
      org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:422)
      at
      hudson.plugins.violations.ViolationsCollector.findFiles(ViolationsCollector.java:215)
      at
      hudson.plugins.violations.ViolationsCollector.doType(ViolationsCollector.java:166)
      at
      hudson.plugins.violations.ViolationsCollector.invoke(ViolationsCollector.java:110)
      at
      hudson.plugins.violations.ViolationsCollector.invoke(ViolationsCollector.java:27)
      at hudson.FilePath.act(FilePath.java:676)
      at hudson.FilePath.act(FilePath.java:660)
      at
      hudson.plugins.violations.hudson.maven.ViolationsMavenReporter.end(ViolationsMavenReporter.java:98)
      at
      hudson.maven.MavenModuleSetBuild$Builder.end(MavenModuleSetBuild.java:676)
      at
      hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:486)
      at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:354)
      at hudson.model.Run.run(Run.java:1106)
      at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:301)
      at hudson.model.ResourceController.execute(ResourceController.java:93)
      at hudson.model.Executor.run(Executor.java:122)

      _

            Unassigned Unassigned
            robertmdineen robertmdineen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: