The GitHub Actions job "Tests (AMD)" on 
airflow.git/ghaeli/emr-eks-trust-policy-validation has failed.
Run started by GitHub user seanghaeli (triggered by choo121600).

Head commit for run:
f31385e6a47be9f2f18f843baf9734bec3f04dff / Sean Ghaeli <[email protected]>
Replace fixed sleep with active IAM trust policy validation in example_emr_eks

The system test was failing intermittently because the fixed 60-second
sleep after updating the IAM trust policy was insufficient — AWS IAM
OIDC-based trust policy propagation can take 2-5+ minutes.

Replace the sleep with a new `wait_for_trust_policy_propagation` task
that uses exponential backoff (5s-30s intervals, up to 5 min) to:
1. Verify the trust policy document contains the expected OIDC provider
2. Confirm IAM's SimulatePrincipalPolicy returns "allowed" for
   sts:AssumeRoleWithWebIdentity

This adapts to actual propagation time (fast when IAM is quick, patient
when it's slow) and provides observability via logging at each retry.

Also adds --retry 3 --retry-delay 5 to the eksctl curl download to
handle transient GitHub network failures.

Report URL: https://github.com/apache/airflow/actions/runs/25764314091

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to