generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 102
Closed
Labels
flakyEngineering label for flaky testsEngineering label for flaky testsrepo-infrastructureEngineering label for issues related to repo infrastructureEngineering label for issues related to repo infrastructuretech-debtRefactors, unsavory workarounds or other technical decisions that should be revisited laterRefactors, unsavory workarounds or other technical decisions that should be revisited latertestingEngineering label for issues related to tests or test toolingEngineering label for issues related to tests or test tooling
Description
Description
Example failure: https://github.com/aws-amplify/amplify-backend/actions/runs/8268357857/job/22621148134#step:8:1111
The stack trace is not very helpful
✖ /Users/runner/work/amplify-backend/amplify-backend/packages/integration-tests/lib/test-e2e/deployment.test.js (32599.221401ms)
Error: Unable to deserialize cloned data due to invalid or unsupported version.
at #proccessRawBuffer (node:internal/test_runner/runner:357:20)
at FileTest.parseMessage (node:internal/test_runner/runner:293:28)
at Socket.<anonymous> (node:internal/test_runner/runner:392:15)
at Socket.emit (node:events:517:28)
at addChunk (node:internal/streams/readable:368:12)
at readableAddChunk (node:internal/streams/readable:341:9)
at Readable.push (node:internal/streams/readable:278:10)
at Pipe.onStreamRead (node:internal/stream_base_commons:190:23)
ℹ tests 5
ℹ suites 5
ℹ pass 4
ℹ fail 1
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 780574.500193
✖ failing tests:
test at packages/integration-tests/lib/test-e2e/deployment.test.js:1:1
✖ /Users/runner/work/amplify-backend/amplify-backend/packages/integration-tests/lib/test-e2e/deployment.test.js (32599.221401ms)
Error: Unable to deserialize cloned data due to invalid or unsupported version.
at #proccessRawBuffer (node:internal/test_runner/runner:357:20)
at FileTest.parseMessage (node:internal/test_runner/runner:293:28)
at Socket.<anonymous> (node:internal/test_runner/runner:392:15)
at Socket.emit (node:events:517:28)
at addChunk (node:internal/streams/readable:368:12)
at readableAddChunk (node:internal/streams/readable:341:9)
at Readable.push (node:internal/streams/readable:278:10)
at Pipe.onStreamRead (node:internal/stream_base_commons:190:23)
Error: Process completed with exit code 1.
This post looks like a similar issue: https://stackoverflow.com/questions/73034605/error-unable-to-deserialize-cloned-data-due-to-invalid-or-unsupported-version
It also looks like this is possibly (although unlikely) a bug in Node 18: https://answers.netlify.com/t/build-failing-after-upgrade-to-node-18/75774
Metadata
Metadata
Assignees
Labels
flakyEngineering label for flaky testsEngineering label for flaky testsrepo-infrastructureEngineering label for issues related to repo infrastructureEngineering label for issues related to repo infrastructuretech-debtRefactors, unsavory workarounds or other technical decisions that should be revisited laterRefactors, unsavory workarounds or other technical decisions that should be revisited latertestingEngineering label for issues related to tests or test toolingEngineering label for issues related to tests or test tooling