Description
Confirm by changing [ ] to [x] below to ensure that it's a bug:
- I've gone though the User Guide and the API reference
- I've searched for previous similar issues and didn't find any solution
Describe the bug
It's related to actions/runner#503 - the problem is that the most recent executable (Taken from here) always causes builds to fail with
<botocore.awsrequest.AWSRequest object at 0x7f37ea551278>
##[error]Process completed with exit code 255.
Example builds (notice that the workflow config hasn't changed)
✅ Working: https://github.com/Simonwep/conway/runs/683296327?check_suite_focus=true
❎ Broken: https://github.com/Simonwep/conway/runs/703702976?check_suite_focus=true
✅ Fixed by using the python version: https://github.com/Simonwep/conway/runs/739054745?check_suite_focus=true
✅ Working: https://github.com/Simonwep/intl-demo/runs/531009403?check_suite_focus=true
❎ Broken: https://github.com/Simonwep/intl-demo/runs/703653450?check_suite_focus=true
It works if the python version is installed using
sudo apt-get install python3-setuptools
python3 -m pip install --user awscli
SDK version number
Platform/OS/Hardware/Device
To Reproduce (observed behavior)
See actions/runner#503
Expected behavior
The executable should work I guess.
Logs/output
Taken from this build:
Show Log
You can now run: /usr/local/bin/aws --version 2020-06-04 15:21:52,197 - MainThread - awscli.clidriver - DEBUG - CLI version: aws-cli/2.0.18 Python/3.7.3 Linux/5.3.0-1022-azure botocore/2.0.0dev22 2020-06-04 15:21:52,198 - MainThread - awscli.clidriver - DEBUG - Arguments entered to CLI: ['s3', 'sync', './conway/dist', 's3://conway.reinisch.io', '--debug'] 2020-06-04 15:21:52,198 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler 2020-06-04 15:21:52,198 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler 2020-06-04 15:21:52,198 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler 2020-06-04 15:21:52,198 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler 2020-06-04 15:21:52,201 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler 2020-06-04 15:21:52,201 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler 2020-06-04 15:21:52,201 - MainThread - botocore.hooks - DEBUG - Event building-command-table.s3: calling handler 2020-06-04 15:21:52,202 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.s3.anonymous: calling handler 2020-06-04 15:21:52,202 - MainThread - botocore.hooks - DEBUG - Event building-command-table.sync: calling handler 2020-06-04 15:21:52,202 - MainThread - botocore.hooks - DEBUG - Event building-command-table.sync: calling handler 2020-06-04 15:21:52,202 - MainThread - botocore.hooks - DEBUG - Event building-arg-table.sync: calling handler > 2020-06-04 15:21:52,203 - MainThread - botocore.hooks - DEBUG - Event building-arg-table.sync: calling handler > 2020-06-04 15:21:52,203 - MainThread - botocore.hooks - DEBUG - Event building-arg-table.sync: calling handler > 2020-06-04 15:21:52,211 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.sync.paths: calling handler 2020-06-04 15:21:52,211 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.sync.dryrun: calling handler 2020-06-04 15:21:52,211 - MainThread - botocore.hooks - DEBUG - Event process-cli-arg.custom.sync: calling handler 2020-06-04 15:21:52,211 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.sync.quiet: calling handler 2020-06-04 15:21:52,211 - MainThread - botocore.hooks - DEBUG - Event process-cli-arg.custom.sync: calling handler 2020-06-04 15:21:52,211 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.sync.anonymous: calling handler 2020-06-04 15:21:52,211 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.sync.acl: calling handler 2020-06-04 15:21:52,212 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.sync.follow-symlinks: calling handler 2020-06-04 15:21:52,212 - MainThread - botocore.hooks - DEBUG - Event process-cli-arg.custom.sync: calling handler 2020-06-04 15:21:52,212 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.sync.anonymous: calling handler 2020-06-04 15:21:52,212 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.sync.sse: calling handler 2020-06-04 15:21:52,212 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.sync.sse-c: calling handler 2020-06-04 15:21:52,212 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.sync.sse-c-key: calling handler 2020-06-04 15:21:52,212 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.sync.sse-kms-key-id: calling handler 2020-06-04 15:21:52,212 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.sync.sse-c-copy-source: calling handler 2020-06-04 15:21:52,212 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.sync.sse-c-copy-source-key: calling handler 2020-06-04 15:21:52,212 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.sync.storage-class: calling handler 2020-06-04 15:21:52,212 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.sync.grants: calling handler 2020-06-04 15:21:52,212 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.sync.website-redirect: calling handler 2020-06-04 15:21:52,212 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.sync.content-type: calling handler 2020-06-04 15:21:52,213 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.sync.cache-control: calling handler 2020-06-04 15:21:52,213 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.sync.content-disposition: calling handler 2020-06-04 15:21:52,213 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.sync.content-encoding: calling handler 2020-06-04 15:21:52,213 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.sync.content-language: calling handler 2020-06-04 15:21:52,213 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.sync.expires: calling handler 2020-06-04 15:21:52,213 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.sync.source-region: calling handler 2020-06-04 15:21:52,213 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.sync.only-show-errors: calling handler 2020-06-04 15:21:52,213 - MainThread - botocore.hooks - DEBUG - Event process-cli-arg.custom.sync: calling handler 2020-06-04 15:21:52,213 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.sync.anonymous: calling handler 2020-06-04 15:21:52,213 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.sync.page-size: calling handler 2020-06-04 15:21:52,213 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.sync.ignore-glacier-warnings: calling handler 2020-06-04 15:21:52,213 - MainThread - botocore.hooks - DEBUG - Event process-cli-arg.custom.sync: calling handler 2020-06-04 15:21:52,213 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.sync.force-glacier-transfer: calling handler 2020-06-04 15:21:52,214 - MainThread - botocore.hooks - DEBUG - Event process-cli-arg.custom.sync: calling handler 2020-06-04 15:21:52,214 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.sync.request-payer: calling handler 2020-06-04 15:21:52,214 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.sync.metadata: calling handler 2020-06-04 15:21:52,214 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.sync.copy-props: calling handler 2020-06-04 15:21:52,214 - MainThread - botocore.hooks - DEBUG - Event process-cli-arg.custom.sync: calling handler 2020-06-04 15:21:52,214 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.sync.metadata-directive: calling handler 2020-06-04 15:21:52,214 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.sync.size-only: calling handler 2020-06-04 15:21:52,214 - MainThread - botocore.hooks - DEBUG - Event process-cli-arg.custom.sync: calling handler 2020-06-04 15:21:52,214 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.sync.exact-timestamps: calling handler 2020-06-04 15:21:52,214 - MainThread - botocore.hooks - DEBUG - Event process-cli-arg.custom.sync: calling handler 2020-06-04 15:21:52,214 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.sync.delete: calling handler 2020-06-04 15:21:52,214 - MainThread - botocore.hooks - DEBUG - Event process-cli-arg.custom.sync: calling handler 2020-06-04 15:21:52,216 - MainThread - urllib3.connectionpool - DEBUG - Starting new HTTP connection (1): 169.254.169.254:80 2020-06-04 15:21:52,220 - MainThread - urllib3.connectionpool - DEBUG - http://169.254.169.254:80 "PUT /latest/api/token HTTP/1.1" 400 11 2020-06-04 15:21:52,220 - MainThread - awscli.clidriver - DEBUG - Exception caught in main() Traceback (most recent call last): File "awscli/clidriver.py", line 335, in main File "awscli/customizations/commands.py", line 197, in __call__ File "awscli/customizations/commands.py", line 190, in __call__ File "awscli/customizations/s3/subcommands.py", line 709, in _run_main File "awscli/customizations/s3/subcommands.py", line 480, in _run_main File "awscli/customizations/s3/subcommands.py", line 473, in get_client File "botocore/session.py", line 775, in create_client File "botocore/session.py", line 824, in _resolve_region_name File "botocore/session.py", line 234, in get_config_variable File "botocore/configprovider.py", line 281, in get_config_variable File "botocore/configprovider.py", line 378, in provide File "awscli/utils.py", line 59, in provide File "awscli/utils.py", line 64, in _get_instance_metadata_region File "awscli/utils.py", line 104, in retrieve_region File "awscli/utils.py", line 113, in _get_region File "botocore/utils.py", line 227, in _fetch_metadata_token botocore.utils.BadIMDSRequestError: 2020-06-04 15:21:52,221 - MainThread - awscli.clidriver - DEBUG - Exiting with rc 255