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

Archiving failed: Failed to install artifact to the master

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • maven-plugin
    • None
    • Platform: All, OS: Linux

      During a maven2 style build, I get the following exception thrown by hudson. If
      I examine the full multimodule build console, the build will continue with a
      "BUILD SUCCESSFUL" status, although hudson will report a build failure (red
      status button and broken build email notifications).

      This is single hudson instance build, no remote slaves involved.

      This may be related to https://hudson.dev.java.net/issues/show_bug.cgi?id=1120


      [HUDSON] Archiving
      /home/hudson/hudson/jobs/nettoolkit/workspace/trunk/nac-serverv2/war/target/nac-server-webapp-0.0.1-SNAPSHOT.war
      ERROR: Failed to install artifact to the master
      org.apache.maven.artifact.installer.ArtifactInstallationException: Error
      installing artifact: Failed to copy full contents from
      /home/hudson/hudson/jobs/nettoolkit/modules/com.gestalt.nettoolkit.nac$nac-server-webapp/builds/2008-02-11_09-56-28/archive/com.gestalt.nettoolkit.nac/nac-server-webapp/0.0.1-SNAPSHOT/nac-server-webapp-0.0.1-SNAPSHOT.war
      to
      /home/hudson/.m2/repository/com/gestalt/nettoolkit/nac/nac-server-webapp/0.0.1-SNAPSHOT/nac-server-webapp-0.0.1-SNAPSHOT.war
      at
      org.apache.maven.artifact.installer.DefaultArtifactInstaller.install(DefaultArtifactInstaller.java:84)
      at
      hudson.maven.reporters.MavenArtifactArchiver$1.call(MavenArtifactArchiver.java:98)
      at
      hudson.maven.reporters.MavenArtifactArchiver$1.call(MavenArtifactArchiver.java:81)
      at hudson.maven.MavenBuild$ProxyImpl.execute(MavenBuild.java:200)
      at hudson.maven.MavenBuildProxy$Filter$AsyncInvoker.call(MavenBuildProxy.java:177)
      at hudson.remoting.UserRequest.perform(UserRequest.java:69)
      at hudson.remoting.UserRequest.perform(UserRequest.java:23)
      at hudson.remoting.Request$2.run(Request.java:200)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
      at java.util.concurrent.FutureTask.run(FutureTask.java:123)
      at
      java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
      at java.lang.Thread.run(Thread.java:595)
      Caused by: java.io.IOException: Failed to copy full contents from
      /home/hudson/hudson/jobs/nettoolkit/modules/com.gestalt.nettoolkit.nac$nac-server-webapp/builds/2008-02-11_09-56-28/archive/com.gestalt.nettoolkit.nac/nac-server-webapp/0.0.1-SNAPSHOT/nac-server-webapp-0.0.1-SNAPSHOT.war
      to
      /home/hudson/.m2/repository/com/gestalt/nettoolkit/nac/nac-server-webapp/0.0.1-SNAPSHOT/nac-server-webapp-0.0.1-SNAPSHOT.war
      at org.codehaus.plexus.util.FileUtils.copyFile(FileUtils.java:834)
      at
      org.apache.maven.artifact.installer.DefaultArtifactInstaller.install(DefaultArtifactInstaller.java:70)
      ... 13 more

            Unassigned Unassigned
            tblack tblack
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: