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

Perforce Quick Clean Does Not Remove All Build Files; Fails to Halt the Build

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Critical
    • Resolution: Unresolved
    • Component/s: perforce-plugin
    • Labels:
      None
    • Environment:
      Windows 2008 Server
    • Similar Issues:

      Description

      I hit a case where the Perforce "quick clean" option does not remove all of my class files.

      This leaves a class file in the /classes output directory, and when rebuilt, blocks the anonymous (MyClass$Anon.class) files from being generated, breaking the build.

      I do not see any error messages that indicate the root cause of this issue.

      This issues took me hours to track down and verify. If quick-clean had aborted the build when it fails, this would have saved a lot of headache.

      Here is failing directory before the clean:

      d---- 4/2/2013 3:52 PM firstperson
      d---- 4/2/2013 3:52 PM orbit
      a-- 4/2/2013 3:52 PM 16553 BasicView.class
      a-- 4/2/2013 3:52 PM 4859 BasicViewPropertyLimits.class
      a-- 4/2/2013 3:52 PM 2793 ViewElevationAnimator.class
      a-- 4/2/2013 3:52 PM 470 ViewModel.class
      a-- 4/2/2013 3:52 PM 1237 ViewPropertyAccessor$ElevationAccessor.class
      a-- 4/2/2013 3:52 PM 913 ViewPropertyAccessor$EyePositionAccessor.class
      a-- 4/2/2013 3:52 PM 876 ViewPropertyAccessor$HeadingAccessor.class
      a-- 4/2/2013 3:52 PM 868 ViewPropertyAccessor$PitchAccessor.class
      a-- 4/2/2013 3:52 PM 1422 ViewPropertyAccessor.class
      a-- 4/2/2013 3:52 PM 826 ViewPropertyLimits.class
      a-- 4/2/2013 3:52 PM 1366 ViewUtil$ViewState.class
      a-- 4/2/2013 3:52 PM 11575 ViewUtil.class

      After the clean I get:

      d---- 4/2/2013 4:43 PM firstperson
      d---- 4/2/2013 4:43 PM orbit
      a-- 4/2/2013 3:52 PM 1422 ViewPropertyAccessor.class

      As far as I can tell, there is no reason why this file should not have been removed.

        Attachments

          Activity

          cmcginty Casey McGinty created issue -
          cmcginty Casey McGinty made changes -
          Field Original Value New Value
          Summary Perforce quick clean failes to remove all files, failes to halt build Perforce Quick Clean Does Not Remove All Build Files; Fails to Halt the Build
          cmcginty Casey McGinty made changes -
          Description I hit a case where the Perforce "quick clean" option does not remove all of my class files.

          This leaves a class file in the /classes output directory, and when rebuilt, blocks the anonymous (MyClass$Anon.class) files from being generated, breaking the build.

          I do not see any error messages that indicate the root cause of this issue.

          This issues took me hours to track down and verify. If quick-clean had aborted the build when it fails, this would have saved a lot of headache.
          I hit a case where the Perforce "quick clean" option does not remove all of my class files.

          This leaves a class file in the /classes output directory, and when rebuilt, blocks the anonymous (MyClass$Anon.class) files from being generated, breaking the build.

          I do not see any error messages that indicate the root cause of this issue.

          This issues took me hours to track down and verify. If quick-clean had aborted the build when it fails, this would have saved a lot of headache.

          Here is failing directory before the clean:

          d---- 4/2/2013 3:52 PM firstperson
          d---- 4/2/2013 3:52 PM orbit
          -a--- 4/2/2013 3:52 PM 16553 BasicView.class
          -a--- 4/2/2013 3:52 PM 4859 BasicViewPropertyLimits.class
          -a--- 4/2/2013 3:52 PM 2793 ViewElevationAnimator.class
          -a--- 4/2/2013 3:52 PM 470 ViewModel.class
          -a--- 4/2/2013 3:52 PM 1237 ViewPropertyAccessor$ElevationAccessor.class
          -a--- 4/2/2013 3:52 PM 913 ViewPropertyAccessor$EyePositionAccessor.class
          -a--- 4/2/2013 3:52 PM 876 ViewPropertyAccessor$HeadingAccessor.class
          -a--- 4/2/2013 3:52 PM 868 ViewPropertyAccessor$PitchAccessor.class
          -a--- 4/2/2013 3:52 PM 1422 ViewPropertyAccessor.class
          -a--- 4/2/2013 3:52 PM 826 ViewPropertyLimits.class
          -a--- 4/2/2013 3:52 PM 1366 ViewUtil$ViewState.class
          -a--- 4/2/2013 3:52 PM 11575 ViewUtil.class

          After the clean I get:

          d---- 4/2/2013 4:43 PM firstperson
          d---- 4/2/2013 4:43 PM orbit
          -a--- 4/2/2013 3:52 PM 1422 ViewPropertyAccessor.class

          As far as I can tell, there is no reason why this file should not have been removed.
          rpetti Rob Petti made changes -
          Assignee Rob Petti [ rpetti ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 148614 ] JNJira + In-Review [ 177142 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              cmcginty Casey McGinty
            • Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated: