Open justinmk3 opened 1 year ago
InternalException: An internal error has occurred while processing your request
This is possibly a backend regression with updateDevEnvironment
Also noticed that during successful CC e2e test run, logs show AccessDeniedException
for GetDevEnvironment
and DeleteDevEnvironment
. Looks like this is expected because it's cleanup code in a before/after block. Ideally, we would not log expected errors in the build log.
2023-04-17 15:36:17 [ERROR]: API request failed: getDevEnvironment
params: {
spaceName: 'aws-toolkits-test-space',
projectName: 'aws-toolkit-integ-test-project-isolated',
id: '801f2b15-10d9-41e8-a1c9-a9ff19846dac'
}
error: {
message: "You don't have permission to perform this operation: GetDevEnvironment",
code: 'AccessDeniedException',
time: 2023-04-17T15:36:17.136Z,
statusCode: 403,
retryable: false,
retryDelay: 33.69996626932179
}
headers: {
'x-amz-apigw-id': undefined,
'x-amz-cf-id': '-MTWdn4TIlcKMr_U2nM9DSMZG8JVCsIeio7VBzwoXUqXvhp8e5H-JA==',
'x-amz-cf-pop': 'HIO52-P1',
'x-amzn-remapped-content-length': undefined,
'x-amzn-remapped-x-amzn-requestid': undefined,
'x-amzn-requestid': '51dba5dc-f783-4d63-86d4-95e9b53ac1c0',
'x-amzn-served-from': 'us-west-2',
'x-amzn-trace-id': undefined,
'x-cache': 'Error from cloudfront',
'x-request-id': undefined
}
Also noticed that during successful CC e2e test run, logs show
AccessDeniedException
forGetDevEnvironment
andDeleteDevEnvironment
. Looks like this is expected because it's cleanup code in a before/after block. Ideally, we would not log expected errors in the build log.
All E2E jobs are now failing because of throttling:
1) Test how this codebase uses the CodeCatalyst API
Dev Environment functionality
creates multiple dev envs, lists them, then deletes them:
ThrottlingException: The request was denied due to request throttling.
2) Test how this codebase uses the CodeCatalyst API
Dev Environment functionality
"after all" hook for "lists all projects for the given user":
ThrottlingException: The request was denied due to request throttling.
print the related request-id with the failure?
Not needed since the dev env id is printed and that's enough for troubleshooting.
e2e tests were reenabled in https://github.com/aws/aws-toolkit-vscode/pull/3827 and are passing now.
Getting throttled again on mainline. https://github.com/aws/aws-toolkit-vscode/commit/c1005e9151b74878278eec4772e3cbf307f6fe89 https://github.com/aws/aws-toolkit-vscode/commit/c55209191779aefde8f23b0269e1f98c7270c0d1
11 passing (3m)
3 failing
1) Test how this codebase uses the CodeCatalyst API
Dev Environment functionality
creates a Dev Environment with a different instance type + storage:
ThrottlingException: The request was denied due to request throttling.
2) Test how this codebase uses the CodeCatalyst API
Dev Environment functionality
creates multiple dev envs, lists them, then deletes them:
ThrottlingException: The request was denied due to request throttling.
Problem
CC e2e tests failing on https://github.com/aws/aws-toolkit-vscode/commit/61bbc248221ac21e30fa74aaec20a12cae59c10a
Full build log
Solution