aws / aws/aws-toolkit-azure-devops
AWSShellScript Failing with InvalidSignatureException intermittently in Azure Devops
- Dominant language
- TypeScript
- Stars
- 258
- Forks
- 114
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
Running shell script in Azure Devops pipeline is failing with below error intermittently-
`2024-07-15T05:35:32.5689287Z An error occurred (InvalidSignatureException) when calling the ListImages operation: The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details.`
**To reproduce**
Steps to reproduce the behavior:
1. Go to Azure Devops Pipeline and Create a task using AmazonWebServices.aws-vsts-tools.AWSShellScript.AWSShellScript
2. Call a script from repo/inline shell script
3. Run pipeline
4. See intermittent error -
`2024-07-15T05:35:32.5689287Z An error occurred (InvalidSignatureException) when calling the ListImages operation: The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details.`
**Expected behavior**
Task executed successfully
**Screenshots**
**Your Environment**
- On-prem or cloud based: Cloud based
- Azure DevOps version: Version Dev19.M241.1 (AzureDevOps_M241_20240710.23)
- AWS Toolkit for Azure DevOps version:1.14.0 (Latest)
**Additional context**
Contributor guide
Research direction
Start with the AWSShellScript task and reproduce the intermittent InvalidSignatureException in an Azure DevOps pipeline using AWS Toolkit for Azure DevOps 1.14.0. Trace the request-signing path involved in the ListImages operation; done means the shell task executes successfully without intermittent signature errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, azure, typescript
- Domain
- cloud, devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100