Skip to content

The PostCommit Python Arm job is flaky #30760

Closed

Description

@github-actions

The PostCommit Python Arm is failing over 50% of the time
Please visit https://github.com/apache/beam/actions/workflows/beam_PostCommit_Python_Arm.yml?query=is%3Afailure+branch%3Amaster to see the logs.

Activity

  1. chamikaramj commented on Apr 23, 2024

    @chamikaramj
    Contributor

    @tvalentyn do we have a good owner for this ?

  2. ahmedabu98 commented on Apr 24, 2024

    @ahmedabu98
    Contributor

    I actually can't find a single green run since this test suite was created (back in September)

  3. tvalentyn commented on Apr 24, 2024

    @tvalentyn
    Contributor

    You may be right, thanks for correction, @ahmedabu98

    2024-04-24T12:03:53.0963029Z Please verify that you have permissions to write to the parent directory..
    2024-04-24T12:03:53.0964903Z The configuration directory may not be writable. To learn more, see https://cloud.google.com/sdk/docs/configurations#creating_a_configuration
    2024-04-24T12:03:53.0968080Z ERROR: (gcloud.auth.docker-helper) Could not create directory [/var/lib/kubelet/pods/573a1844-124b-4e12-bb0f-0325d0f3c3aa/volumes/kubernetes.io~empty-dir/gcloud]: Permission denied.
    2024-04-24T12:03:53.0969612Z 
    2024-04-24T12:03:53.0970063Z Please verify that you have permissions to write to the parent directory.
    2024-04-24T12:03:53.3953756Z #29 pushing layers 1.4s done
    2024-04-24T12:03:53.3956208Z #29 ERROR: failed to push us.gcr.io/apache-beam-testing/github-actions/beam_python3.8_sdk:2.57.0-SNAPSHOT: error getting credentials - err: exit status 1, out: ``
    2024-04-24T12:03:53.8953735Z ------
    

    cc: @damccorm - do you remember if this suite never worked or the above error is an artifact of GHA migration?

    We can reclassify this as part part of ARM backlog work.

  4. added and removed on Apr 24, 2024
  5. damccorm commented on Apr 24, 2024

    @damccorm
    Contributor

    Looks like it went flaky then permared around then

  6. ahmedabu98 commented on Apr 24, 2024

    @ahmedabu98
    Contributor

    Ahh my apologies, I was looking at it through a is:failure filter

  7. volatilemolotov commented on Apr 25, 2024

    @volatilemolotov
    Contributor

    So by removing
    https://github.com/apache/beam/blob/master/.github/workflows/beam_PostCommit_Python_Arm.yml#L113

    I get the test to move along but its still failing on my fork due to some permission with the Healthcare api.
    Oauth scope is wrong or something:
    https://github.com/volatilemolotov/beam/actions/runs/8820257015/job/24213449686#step:13:13113

  8. damccorm commented on Apr 25, 2024

    @damccorm
    Contributor

    @volatilemolotov could you put up a PR to make that change? Definitely seems like it is getting further.

    @svetakvsundhar do you know what scope is missing? Given the normal postcommit python isn't failing, it might just be an issue with your service account specifically?

  9. 120 remaining items

  10. github-actions commented on Aug 22, 2026

    @github-actions
    ContributorAuthor

    Reopening since the workflow is still flaky

  11. Amar3tto commented on Aug 24, 2026

    @Amar3tto
    Collaborator

    Stabilized

  12. github-actions commented on Sep 5, 2026

    @github-actions
    ContributorAuthor

    Reopening since the workflow is still flaky

  13. github-actions commented on Sep 23, 2026

    @github-actions
    ContributorAuthor

    Reopening since the workflow is still flaky

  14. aIbrahiim commented on Sep 25, 2026

    @aIbrahiim
    Contributor

    The workflow is currently failing consistently on two integration tests because the CI service account is missing a couple of GCP IAM permissions:

    • VertexAIModelMonitoringV2IntegrationTest fails because the account does not have aiplatform.models.upload
    • RecommendationAIIT.test_predict passes, but its teardown errors because the account cannot run automlrecommendations.catalogItems.list

    Log:

    google.api_core.exceptions.PermissionDenied: 403
    Permission aiplatform.models.upload denied on resource
    //aiplatform.googleapis.com/projects/apache-beam-testing/locations/us-central1

    cc: @damccorm @Abacn @shunping

  15. Abacn commented on Sep 25, 2026

    @Abacn
    Contributor

    ack, fixing

  16. removed this from the 2.77.0 Release milestone on Sep 28, 2026
  17. added this to the 2.78.0 Release milestone on Oct 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions