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

FATAL error releasing unallocated workspace with custom workspace set

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • ant-plugin
    • None
    • Platform: Other, OS: Windows XP

      The following error is encountered under the following circumstances:

      • Java version:
        $ java -version
        java version "1.6.0_11"
        Java(TM) SE Runtime Environment (build 1.6.0_11-b03)
        Java HotSpot(TM) Client VM (build 11.0-b16, mixed mode, sharing)
      • Freestyle project with a single ant step
      • Custom workspace specified

      Error:

      Started by user anonymous
      [] $ cmd.exe /C '"ant.bat -file build.xml -DlabelName=jg test && exit
      %%ERRORLEVEL%%"'
      Buildfile: build.xml

      test:
      [echo] Hello

      BUILD SUCCESSFUL
      Total time: 0 seconds
      FATAL: Releasing unallocated workspace c:/build/test-multi_mainline_asc/
      java.lang.AssertionError: Releasing unallocated workspace
      c:/build/test-multi_mainline_asc/
      at hudson.slaves.WorkspaceList.release(WorkspaceList.java:74)
      at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:365)
      at hudson.model.Run.run(Run.java:1090)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:93)
      at hudson.model.Executor.run(Executor.java:122)

          [JENKINS-4182] FATAL error releasing unallocated workspace with custom workspace set

          torbent added a comment -

          Have the same issue after upgrading from 1.318 to 1.319. My builds are also
          freestyle, and also have custom workspace set. Same stacktrace results.

          torbent added a comment - Have the same issue after upgrading from 1.318 to 1.319. My builds are also freestyle, and also have custom workspace set. Same stacktrace results.

          klaus__ added a comment -

          Same issue here:
          Upgraded from 1.318 to 1.319, have freestyle projects with custom workspace. My
          custom workspace path is relative, and until the upgrade everything worked like
          clock work. Now I get the same error as the ones mentioned above:

          BUILD SUCCESSFUL
          Total time: 16 minutes 12 seconds
          [locks-and-latches] Releasing all the locks
          [locks-and-latches] All the locks released
          FATAL: Releasing unallocated workspace ..\cont-integration-projects\nn2
          java.lang.AssertionError: Releasing unallocated workspace
          ..\cont-integration-projects\nn2
          at hudson.slaves.WorkspaceList.release(WorkspaceList.java:74)
          at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:365)
          at hudson.model.Run.run(Run.java:1090)
          at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
          at hudson.model.ResourceController.execute(ResourceController.java:93)
          at hudson.model.Executor.run(Executor.java:122)

          klaus__ added a comment - Same issue here: Upgraded from 1.318 to 1.319, have freestyle projects with custom workspace. My custom workspace path is relative, and until the upgrade everything worked like clock work. Now I get the same error as the ones mentioned above: BUILD SUCCESSFUL Total time: 16 minutes 12 seconds [locks-and-latches] Releasing all the locks [locks-and-latches] All the locks released FATAL: Releasing unallocated workspace ..\cont-integration-projects\nn2 java.lang.AssertionError: Releasing unallocated workspace ..\cont-integration-projects\nn2 at hudson.slaves.WorkspaceList.release(WorkspaceList.java:74) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:365) at hudson.model.Run.run(Run.java:1090) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:93) at hudson.model.Executor.run(Executor.java:122)

          Merging this with issue #4206 where I posted a comment about information I need.

              • This issue has been marked as a duplicate of 4206 ***

          Kohsuke Kawaguchi added a comment - Merging this with issue #4206 where I posted a comment about information I need. This issue has been marked as a duplicate of 4206 ***

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

              Created:
              Updated:
              Resolved: