You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
versions of node attempted (using nvm): v12.22.12, v14.21.3, v16.20.0, v18.16.0
OS: MacOS Monterey (12.6.5)
Steps to reproduce
Clone the repository onto arm64 hardware and run:
nvm install 12
npm ci --no-optional
npm run test
Expected behaviour
All tests should pass.
Actual behaviour
A TypeError always occurs, and a Timeout occurs about 20% of the time:
Summary of all failing tests
FAIL test/unit-tests/plugin/impl/s3-copy-build-task-plugin.test.ts
● Test suite failed to run
TypeError: Cannot read property 'split' of undefined
at Object.string [as parse] (node_modules/aws-sdk/lib/util.js:217:26)
at IniLoader.parseFile (node_modules/aws-sdk/lib/shared-ini/ini-loader.js:6:32)
at IniLoader.loadFrom (node_modules/aws-sdk/lib/shared-ini/ini-loader.js:56:30)
at getRegion (node_modules/aws-sdk/lib/node_loader.js:118:32)
at Config.region (node_modules/aws-sdk/lib/node_loader.js:173:18)
at Config.set (node_modules/aws-sdk/lib/config.js:524:39)
at Config.<anonymous> (node_modules/aws-sdk/lib/config.js:359:12)
at Config.each (node_modules/aws-sdk/lib/util.js:520:32)
at new Config (node_modules/aws-sdk/lib/config.js:358:19)
at Object.<anonymous> (node_modules/aws-sdk/lib/node_loader.js:188:14)
FAIL test/unit-tests/aws-provider/aws-organization-writer.accounts.test.ts (10.434 s)
● when creating a new account using writer › organization create account is called
Timeout - Async callback was not invoked within the 5000 ms timeout specified by jest.setTimeout.Error: Timeout - Async callback was not invoked within the 5000 ms timeout specified by jest.setTimeout.
at mapper (node_modules/jest-jasmine2/build/queueRunner.js:27:45)
Test Suites: 2 failed, 70 passed, 72 total
Tests: 1 failed, 866 passed, 867 total
Snapshots: 0 total
Time: 10.802 s, estimated 11 s
Ran all test suites matching /unit-test/i.
Workaround
Move development to amd64 hardware.
The text was updated successfully, but these errors were encountered:
Subject of the issue
When developing on a Mac M1 (arm64), tests fail on the master branch.
Your environment
Steps to reproduce
Clone the repository onto arm64 hardware and run:
Expected behaviour
All tests should pass.
Actual behaviour
A TypeError always occurs, and a Timeout occurs about 20% of the time:
Workaround
Move development to amd64 hardware.
The text was updated successfully, but these errors were encountered: