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

sdk.properties is often (always?) stale.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.28.0
    • Component/s: build-system
    • Labels:
      None

      Description

      I'm not sure when sdk.properties is rebuilt, but it is not often (perhaps it is only regenerated on a clean build). `./gradlew :sdks:java:core:processResources` never does anything, it always reports being up to date.

      One consequence of this is that when the SDK version property in Gradle changes, sdk.properties does not change. We rely on sdk.properties to get the default Java SDK container version tag, among other things, so this causes the default container environment to become incorrect.

      For example, this caused cross language tests to fail on the release branch because they looked for the wrong Java SDK container. https://ci-beam.apache.org/job/beam_PostCommit_Python38_PR/179/

        Attachments

          Activity

            People

            • Assignee:
              runningcode Nelson Osacky
              Reporter:
              ibzib Kyle Weaver
            • Votes:
              0 Vote for this issue
              Watchers:
              1 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 - 4h
                4h