You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Kyle Weaver (Jira)" <ji...@apache.org> on 2020/12/22 20:46:00 UTC

[jira] [Created] (BEAM-11512) sdk.properties is often (always?) stale.

Kyle Weaver created BEAM-11512:
----------------------------------

             Summary: sdk.properties is often (always?) stale.
                 Key: BEAM-11512
                 URL: https://issues.apache.org/jira/browse/BEAM-11512
             Project: Beam
          Issue Type: Bug
          Components: build-system
            Reporter: Kyle Weaver
            Assignee: Kyle Weaver


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/



--
This message was sent by Atlassian Jira
(v8.3.4#803005)