e2e tests failure: adobe/aio-lib-campaign-standard - Error: Service Unavailable: Back-end server is at capacity #129
Open
Description
- running tests..
FAIL e2e/e2e.js (5.734 s)
✓ HTTPS_PROXY must be set if E2E_USE_PROXY is set (1 ms)
✓ sdk init test (1 ms)
✓ test bad access token (284 ms)
✓ test bad api key ([77](https://github.com/adobe/aio-e2e-tests/actions/runs/7563493369/job/20596007142#step:7:78) ms)
✓ test bad tenant id (90 ms)
✕ test getAllProfiles API (395 ms)
✕ test getAllServices API (332 ms)
✕ test getAllOrgUnits API (339 ms)
✕ test getMetadataForResource API (313 ms)
✕ test getCustomResources API (339 ms)
✓ test getAllCustomResources API (308 ms)
✓ test createCustomResource API (296 ms)
✕ test updateCustomResource API (356 ms)
✓ test deleteCustomResource API (347 ms)
✕ test createProfile, updateProfile, getProfile API (330 ms)
● test getAllProfiles API
CampaignStandardSDKError: [CampaignStandardSDK:ERROR_GET_ALL_PROFILES] Error: Service Unavailable: Back-end server is at capacity
170 | })
171 | .catch(err => {
> 172 | reject(new codes.ERROR_GET_ALL_PROFILES({ sdkDetails, messageValues: reduceError(err) }))
| ^
173 | })
174 | })
175 | }
at http (../node_modules/swagger-client/lib/http/index.js:90:19)
at processTicksAndRejections (../node:internal/process/task_queues:95:5) {
status: 503,
statusCode: 503,
response: [Object]
}
at new <anonymous> (../node_modules/@adobe/aio-lib-core-errors/src/AioCoreSDKErrorWrapper.js:33:9)
at ../src/index.js:172:18
● test getAllServices API
CampaignStandardSDKError: [CampaignStandardSDK:ERROR_GET_ALL_SERVICES] Error: Service Unavailable: Back-end server is at capacity
254 | })
255 | .catch(err => {
> 256 | reject(new codes.ERROR_GET_ALL_SERVICES({ sdkDetails, messageValues: reduceError(err) }))
| ^
257 | })
258 | })
259 | }
at http (../node_modules/swagger-client/lib/http/index.js:90:19)
at processTicksAndRejections (../node:internal/process/task_queues:95:5) {
status: 503,
statusCode: 503,
response: [Object]
}
at new <anonymous> (../node_modules/@adobe/aio-lib-core-errors/src/AioCoreSDKErrorWrapper.js:33:9)
at ../src/index.js:256:18
● test getAllOrgUnits API
CampaignStandardSDKError: [CampaignStandardSDK:ERROR_GET_ALL_ORG_UNITS] Error: Service Unavailable: Back-end server is at capacity
608 | })
609 | .catch(err => {
> 610 | reject(new codes.ERROR_GET_ALL_ORG_UNITS({ sdkDetails, messageValues: reduceError(err) }))
| ^
611 | })
612 | })
613 | }
at http (../node_modules/swagger-client/lib/http/index.js:90:19)
at processTicksAndRejections (../node:internal/process/task_queues:95:5) {
status: 503,
statusCode: 503,
response: [Object]
}
at new <anonymous> (../node_modules/@adobe/aio-lib-core-errors/src/AioCoreSDKErrorWrapper.js:33:9)
at ../src/index.js:610:18
● test getMetadataForResource API
CampaignStandardSDKError: [CampaignStandardSDK:ERROR_GET_METADATA_FOR_RESOURCE] Error: Service Unavailable: Back-end server is at capacity
335 | })
336 | .catch(err => {
> 337 | reject(new codes.ERROR_GET_METADATA_FOR_RESOURCE({ sdkDetails, messageValues: reduceError(err) }))
| ^
338 | })
339 | })
340 | }
at http (../node_modules/swagger-client/lib/http/index.js:90:19)
at processTicksAndRejections (../node:internal/process/task_queues:95:5) {
status: 503,
statusCode: 503,
response: [Object]
}
at new <anonymous> (../node_modules/@adobe/aio-lib-core-errors/src/AioCoreSDKErrorWrapper.js:33:9)
at ../src/index.js:337:18
● test getCustomResources API
CampaignStandardSDKError: [CampaignStandardSDK:ERROR_GET_CUSTOM_RESOURCES] Error: Service Unavailable: Back-end server is at capacity
369 | })
370 | .catch(err => {
> 371 | reject(new codes.ERROR_GET_CUSTOM_RESOURCES({ messageValues: reduceError(err) }))
| ^
372 | })
373 | })
374 | }
at http (../node_modules/swagger-client/lib/http/index.js:90:19)
at processTicksAndRejections (../node:internal/process/task_queues:95:5) {
status: 503,
statusCode: 503,
response: [Object]
}
at new <anonymous> (../node_modules/@adobe/aio-lib-core-errors/src/AioCoreSDKErrorWrapper.js:33:9)
at ../src/index.js:371:18
● test updateCustomResource API
expect(received).rejects.toThrow(expected)
Expected substring: "'@gibberish' is not a valid constant"
Received message: "[CampaignStandardSDK:ERROR_UPDATE_CUSTOM_RESOURCE] Error: Service Unavailable: Back-end server is at capacity
at http (../node_modules/swagger-client/lib/http/index.js:90:19)
at processTicksAndRejections (../node:internal/process/task_queues:95:5) {
status: 503,
statusCode: 503,
response: [Object]
}"
[81](https://github.com/adobe/aio-e2e-tests/actions/runs/7563493369/job/20596007142#step:7:82)6 | })
817 | .catch(err => {
> 818 | reject(new codes.ERROR_UPDATE_CUSTOM_RESOURCE({ sdkDetails, messageValues: reduceError(err) }))
| ^
819 | })
[82](https://github.com/adobe/aio-e2e-tests/actions/runs/7563493369/job/20596007142#step:7:83)0 | })
821 | }
at http (../node_modules/swagger-client/lib/http/index.js:90:19)
at processTicksAndRejections (../node:internal/process/task_queues:95:5) {
status: 503,
statusCode: 503,
response: [Object]
}
at new <anonymous> (../node_modules/@adobe/aio-lib-core-errors/src/AioCoreSDKErrorWrapper.js:33:9)
at ../src/index.js:818:18
at Object.toThrow (../node_modules/expect/build/index.js:218:22)
at Object.toThrow (e2e.js:152:34)
● test createProfile, updateProfile, getProfile API
CampaignStandardSDKError: [CampaignStandardSDK:ERROR_CREATE_PROFILE] Error: Service Unavailable: Back-end server is at capacity
189 | })
190 | .catch(err => {
> 191 | reject(new codes.ERROR_CREATE_PROFILE({ sdkDetails, messageValues: reduceError(err) }))
| ^
192 | })
193 | })
194 | }
at http (../node_modules/swagger-client/lib/http/index.js:90:19)
at processTicksAndRejections (../node:internal/process/task_queues:95:5) {
status: 503,
statusCode: 503,
response: [Object]
}
at new <anonymous> (../node_modules/@adobe/aio-lib-core-errors/src/AioCoreSDKErrorWrapper.js:33:9)
at ../src/index.js:191:18
Test Suites: 1 failed, 1 total
Tests: 7 failed, 8 passed, 15 total
Snapshots: 0 total
Time: 5.764 s
Ran all test suites.
Error: Command failed with exit code 1 (EPERM): npm run e2e
at makeError (/home/runner/work/aio-e2e-tests/aio-e2e-tests/node_modules/execa/lib/error.js:59:11)
at module.exports.sync (/home/runner/work/aio-e2e-tests/aio-e2e-tests/node_modules/execa/index.js:1[87](https://github.com/adobe/aio-e2e-tests/actions/runs/7563493369/job/20596007142#step:7:88):17)
at runOne (/home/runner/work/aio-e2e-tests/aio-e2e-tests/src/run.js:61:9)
at /home/runner/work/aio-e2e-tests/aio-e2e-tests/src/run.js:126:9
at Array.forEach (<anonymous>)
at runAll (/home/runner/work/aio-e2e-tests/aio-e2e-tests/src/run.js:120:33)
at process.processTicksAndRejections (node:internal/process/task_queues:[95](https://github.com/adobe/aio-e2e-tests/actions/runs/7563493369/job/20596007142#step:7:96):5) {
command: 'npm run e2e',
exitCode: 1,
exitCodeName: 'EPERM',
stdout: '\n' +
'> @adobe/[email protected] e2e\n' +
'> jest --config e2e/jest.config.js\n',
stderr: undefined,
failed: true,
timedOut: false,
isCanceled: false,
killed: false,
signal: undefined
}
!! e2e tests for aio-lib-campaign-standard failed !!