Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test Flake TestAssumeRoleSessionTags #4989

Open
flostadler opened this issue Dec 23, 2024 · 1 comment
Open

Test Flake TestAssumeRoleSessionTags #4989

flostadler opened this issue Dec 23, 2024 · 1 comment
Labels
impact/flaky-test A test that is unreliable kind/engineering Work that is not visible to an external user

Comments

@flostadler
Copy link
Contributor

TestAssumeRoleSessionTags flaked in #4964

=== NAME  TestAssumeRoleSessionTags
    examples_yaml_test.go:791: failed to deploy: failed to run update: exit status 255
        code: 255
        stdout: Updating (test):
        
         +  pulumi:pulumi:Stack assume-role-session-tags-test creating (0s) 
        @ updating.....
         +  pulumi:pulumi:Stack assume-role-session-tags-test creating (2s) Downloading provider: time
        @ updating.....
         +  pulumi:providers:aws bootstrapProvider creating (0s) 
         +  pulumi:providers:aws bootstrapProvider created (0.00s) 
        @ updating.....
         +  time:index:Sleep wait6s creating (0s) 
         +  aws:iam:Role iamRole creating (0s) 
         +  aws:iam:Role iamRole created (0.39s) 
        @ updating.........
         +  time:index:Sleep wait6s created (6s) 
        @ updating.....
            pulumi:providers:aws provider  error: pulumi:providers:aws resource 'provider' has a problem: unable to validate AWS credentials.
            pulumi:providers:aws provider **failed** 1 error
         +  pulumi:pulumi:Stack assume-role-session-tags-test created 1 message
        Diagnostics:
          pulumi:providers:aws (provider):
            error: pulumi:providers:aws resource 'provider' has a problem: unable to validate AWS credentials.
            Details: Cannot assume IAM Role. IAM Role (arn:aws:iam::894850187425:role/iamRole-98b6267) cannot be assumed.
            
            There are a number of possible causes of this - the most common are:
              * The credentials used in order to assume the role are invalid
              * The credentials do not have appropriate permission to assume the role
              * The role ARN is not valid
            
            Error: operation error STS: AssumeRole, https response error StatusCode: 403, RequestID: de011419-fa6c-4252-977b-b497df27f1fc, api error AccessDenied: User: arn:aws:sts::894850187425:assumed-role/ContinuousDeliveryAdminRole/aws@githubActions is not authorized to perform: sts:AssumeRole on resource: arn:aws:iam::894850187425:role/iamRole-98b6267
        
          pulumi:pulumi:Stack (assume-role-session-tags-test):
            Downloading provider: time
@flostadler flostadler added impact/flaky-test A test that is unreliable kind/engineering Work that is not visible to an external user labels Dec 23, 2024
@t0yv0
Copy link
Member

t0yv0 commented Dec 30, 2024

One more


--- FAIL: TestAssumeRoleSessionTags (18.00s)

          pulumi:providers:aws (provider):
            error: pulumi:providers:aws resource 'provider' has a problem: unable to validate AWS credentials.
            Details: Cannot assume IAM Role. IAM Role (arn:aws:iam::894850187425:role/iamRole-1de3849) cannot be assumed.

            There are a number of possible causes of this - the most common are:
              * The credentials used in order to assume the role are invalid
              * The credentials do not have appropriate permission to assume the role
              * The role ARN is not valid


Error: operation error STS: AssumeRole, https response error StatusCode: 403, RequestID: 1ab8ac9c-dafe-48c7-99d4-54941656b1ef, api error AccessDenied: User: arn:aws:sts::894850187425:assumed-role/ContinuousDeliveryAdminRole/aws@githubActions is not authorized to perform: sts:AssumeRole on resource: arn:aws:iam::894850187425:role/iamRole-1de3849

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
impact/flaky-test A test that is unreliable kind/engineering Work that is not visible to an external user
Projects
None yet
Development

No branches or pull requests

2 participants