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

Possible bug in cppunit plugin 1.1.1 when workspace is in NFS mounted home directory

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • cppunit-plugin
    • None
    • Red Hat Enterprise Linux Server release 5.4 (Tikanga)
       
      Linux fooci1 2.6.18-164.el5PAE #1 SMP Tue Aug 18 15:59:11 EDT 2009 i686 i686 i386 GNU/Linux

      Hi,

      I am quite often running into a problem where the CPPUNIT Plugin can not remove one of the tmp files. Our hudson installation is inside an NFS mounted home directory of the fooci user.

      I am using cppunit plugin version 1.1.1

      [WARNINGS] Parsing warnings in console log...
      [WARNINGS] Found 0 annotations (0 new, 0 high, 0 normal, 0 low)
      [WARNINGS] Not changing build status, since no threshold has been exceeded
      [CppUnit] Recording of the CppUnit tests results.
      ERROR: Publisher hudson.plugins.cppunit.CppUnitPublisher aborted due to exception
      hudson.util.IOException2: remote file operation failed: /user/lteci/.hudson//workspace/COMMON_i22/cppunitpluginTemp at hudson.remoting.Channel@de04cd:fooci3
      at hudson.FilePath.act(FilePath.java:690)
      at hudson.FilePath.act(FilePath.java:676)
      at hudson.FilePath.deleteRecursive(FilePath.java:760)
      at hudson.plugins.cppunit.CppUnitPublisher.perform(CppUnitPublisher.java:87)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
      at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:582)
      at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:563)
      at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:550)
      at hudson.model.Build$RunnerImpl.post2(Build.java:152)
      at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528)
      at hudson.model.Run.run(Run.java:1233)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:122)
      Caused by: java.io.IOException: Unable to delete /user/lteci/.hudson/workspace/COMMON_i22/cppunitpluginTemp/.nfs00000000006f7081000000bf
      at hudson.Util.deleteFile(Util.java:258)
      at hudson.Util.deleteRecursive(Util.java:290)
      at hudson.Util.deleteContentsRecursive(Util.java:219)
      at hudson.Util.deleteRecursive(Util.java:289)
      at hudson.FilePath$9.invoke(FilePath.java:762)
      at hudson.FilePath$9.invoke(FilePath.java:760)
      at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1962)
      at hudson.remoting.UserRequest.perform(UserRequest.java:114)
      at hudson.remoting.UserRequest.perform(UserRequest.java:48)
      at hudson.remoting.Request$2.run(Request.java:270)
      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)

      What is odd is this line:
      hudson.util.IOException2: remote file operation failed: /user/lteci/.hudson//workspace/COMMON_i22/cppunitpluginTemp at hudson.remoting.Channel@de04cd:fooci3

      "fooi3" is another host. But this project is configured to run never on the slaves but only on the master (fooci1).

      Best Regards,
      Joachim

            gbois Gregory Boissinot
            jbauernberger jbauernberger
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: