Open t0yv0 opened 6 months ago
Another one (https://github.com/pulumi/pulumi-aws/issues/4042):
TestAccWebserverPy/webserver-py (38.48s)
program.go:1946: sample: /home/runner/work/pulumi-aws/pulumi-aws/examples/webserver-py
program.go:1951: pulumi: /usr/local/bin/pulumi
command.go:46: **** Invoke '/opt/hostedtoolcache/Python/3.11.8/x64/bin/python3 -m venv venv' in '/tmp/p-it-fv-az525-4-webserver--f0170b35-3789953513'
command.go:121: Command completed without output
command.go:46: **** Invoke '/tmp/p-it-fv-az525-4-webserver--f0170b35-[378](https://github.com/pulumi/pulumi-aws/actions/runs/9417098457/job/25943117567#step:25:384)9953513/venv/bin/python -m pip install -r requirements.txt' in '/tmp/p-it-fv-az525-4-webserver--f0170b35-3789953513'
command.go:118: Wrote output to /tmp/p-it-fv-az525-4-webserver--f0170b35-3789953513/command-output/virtualenv-pip-install.20240607-133032.4eba0.log
command.go:46: **** Invoke '/tmp/p-it-fv-az525-4-webserver--f0170b35-3789953513/venv/bin/python -m pip install -e /home/runner/work/pulumi-aws/pulumi-aws/sdk/python/bin' in '/tmp/p-it-fv-az525-4-webserver--f0170b35-3789953513'
command.go:118: Wrote output to /tmp/p-it-fv-az525-4-webserver--f0170b35-3789953513/command-output/virtualenv-pip-install-package.20240607-133036.d4e79.log
program.go:2096: projdir: /tmp/p-it-fv-az525-4-webserver--f0170b35-3789953513
program.go:1336: Initializing project (dir /tmp/p-it-fv-az525-4-webserver--f0170b35-3789953513; stack p-it-fv-az525-4-webserver--f0170b35)
command.go:46: **** Invoke '/usr/local/bin/pulumi login --cloud-url file:///tmp/TestAccWebserverPywebserver-py544441756/001' in '/tmp/p-it-fv-az525-4-webserver--f0170b35-3789953513'
command.go:118: Wrote output to /tmp/p-it-fv-az525-4-webserver--f0170b35-3789953513/command-output/pulumi-login.20240607-133037.f4ae8.log
command.go:46: **** Invoke '/usr/local/bin/pulumi stack init p-it-fv-az525-4-webserver--f0170b35' in '/tmp/p-it-fv-az525-4-webserver--f0170b35-3789953513'
command.go:118: Wrote output to /tmp/p-it-fv-az525-4-webserver--f0170b35-3789953513/command-output/pulumi-stack-init.20240607-133037.b2e90.log
command.go:46: **** Invoke '/usr/local/bin/pulumi config set-all --plaintext aws:region=us-west-2' in '/tmp/p-it-fv-az525-4-webserver--f0170b35-3789953513'
command.go:121: Command completed without output
program.go:1503: Performing primary preview and update
command.go:46: **** Invoke '/usr/local/bin/pulumi preview --non-interactive --diff' in '/tmp/p-it-fv-az525-4-webserver--f0170b35-3789953513'
command.go:118: Wrote output to /tmp/p-it-fv-az525-4-webserver--f0170b35-3789953513/command-output/pulumi-preview-initial.20240607-133046.33573.log
command.go:46: **** Invoke '/usr/local/bin/pulumi up --non-interactive --yes --skip-preview --event-log /tmp/p-it-fv-az525-4-webserver--f0170b35-events.json' in '/tmp/p-it-fv-az525-4-webserver--f0170b35-3789953513'
command.go:98: Invoke '/usr/local/bin/pulumi up --non-interactive --yes --skip-preview --event-log /tmp/p-it-fv-az525-4-webserver--f0170b35-events.json' failed: exit status 255
Updating (p-it-fv-az525-4-webserver--f0170b35):
@ updating....
+ pulumi:pulumi:Stack webserver-py-p-it-fv-az525-4-webserver--f0170b35 creating (0s)
+ pulumi:pulumi:Stack webserver-py-p-it-fv-az525-4-webserver--f0170b35 creating (0s) warning: using pulumi-resource-aws from $PATH at /home/runner/work/pulumi-aws/pulumi-aws/bin/pulumi-resource-aws
@ updating.....
+ aws:ec2:DefaultSubnet py-web-default-subnet creating (0s)
+ aws:ec2:DefaultVpc py-web-default-vpc creating (0s)
+ aws:ec2:DefaultSubnet py-web-default-subnet created (0.25s)
+ aws:ec2:DefaultVpc py-web-default-vpc created (0.83s)
+ aws:ec2:SecurityGroup py-web-secgrp creating (0s)
@ updating.....
+ aws:ec2:SecurityGroup py-web-secgrp created (1s)
+ aws:ec2:Instance web-server-www creating (0s)
@ updating....
+ aws:ec2:Instance web-server-www creating (0s) error: 1 error occurred:
+ aws:ec2:Instance web-server-www **creating failed** error: 1 error occurred:
+ pulumi:pulumi:Stack webserver-py-p-it-fv-az525-4-webserver--f0170b35 creating (5s) error: update failed
+ pulumi:pulumi:Stack webserver-py-p-it-fv-az525-4-webserver--f0170b35 **creating failed** 1 error; 1 warning
Diagnostics:
pulumi:pulumi:Stack (webserver-py-p-it-fv-az525-4-webserver--f0170b35):
warning: using pulumi-resource-aws from $PATH at /home/runner/work/pulumi-aws/pulumi-aws/bin/pulumi-resource-aws
error: update failed
aws:ec2:Instance (web-server-www):
error: 1 error occurred:
* creating EC2 Instance: IdempotentParameterMismatch: Arguments on this idempotent request are inconsistent with arguments used in previous request(s).
status code: [400](https://github.com/pulumi/pulumi-aws/actions/runs/9417098457/job/25943117567#step:25:406), request id: b8d805a7-f1cc-4a31-a081-46c748a7aca7
From the docs:
If you retry a successful request using the same client token, but one or more of the parameters are different, other than the Region or Availability Zone, the retry fails with an IdempotentParameterMismatch error.
Looks like the error comes from here:
Wonder if anything in the request is changing between retries.
aws:ec2:Instance (web-server-www):
error: 1 error occurred:
* creating urn:pulumi:p-it-fv-az661-2-webserver--7c1a7af5::webserver-py::aws:ec2/instance:Instance::web-server-www: 1 error occurred:
* waiting for EC2 Instance (i-05244dfefe655df71) create: timeout while waiting for state to become 'running' (last state: 'pending', timeout: 10m0s)
pulumi:pulumi:Stack (webserver-py-p-it-fv-az661-2-webserver--7c1a7af5):
warning: using pulumi-resource-aws from $PATH at /home/runner/work/pulumi-aws/pulumi-aws/bin/pulumi-resource-aws
error: update failed
Resources:
+ 4 created
Another release needs restarting.