Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-11116

./gradlew pullLicenses clobbers/corrupts built files

Details

    • Bug
    • Status: Resolved
    • P1
    • Resolution: Fixed
    • None
    • Missing
    • build-system
    • None

    Description

      ./gradlew pullLicenses invokes a shell script which in turn invokes ./gradlew generateLicenseReport --rerun-tasks

      When run as part of java precommit, both the main precommit and the license pull build all the main model and SDK jars, and try to write them at the same time. In an unrelated pull request I triggered this behavior, where Java PreCommit saw corrupt jars on almost every build.

      Here is an example: https://ci-beam.apache.org/job/beam_PreCommit_Java_Phrase/2811/consoleFull

      Attachments

        Issue Links

          Activity

            People

              kenn Kenneth Knowles
              kenn Kenneth Knowles
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 20m
                  1h 20m