Skip to content

@remotion/lambda: Fix flaky IT test mock #18637

@remotion/lambda: Fix flaky IT test mock

@remotion/lambda: Fix flaky IT test mock #18637

Triggered via pull request January 24, 2025 13:47
Status Failure
Total duration 8m 24s
Artifacts

push.yml

on: pull_request
Lambda integration
2m 16s
Lambda integration
SSR integration
3m 30s
SSR integration
Linting + Formatting
4m 11s
Linting + Formatting
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

14 errors and 17 warnings
error: expect(received).toEqual(expected): packages/lambda/src/test/integration/get-sites.test.ts#L63
{ buckets: [ { creationDate: 0, name: "remotionlambda-eucentral1-abcdef", region: "eu-central-1", } ], sites: [ { bucketName: "remotionlambda-eucentral1-abcdef", id: "testing", lastModified: 0, serveUrl: "https://remotionlambda-eucentral1-abcdef.s3.eu-central-1.amazonaws.com/sites/testing/index.html", + sizeInBytes: 22, - sizeInBytes: 48, } ], } - Expected - 1 + Received + 1 at <anonymous> (/home/runner/work/remotion/remotion/packages/lambda/src/test/integration/get-sites.test.ts:63:4)
error: expect(received).toEqual(expected): packages/lambda/src/test/integration/deploy-site.test.ts#L136
{ serveUrl: "https://remotionlambda-apnortheast1-abcdef.s3.ap-northeast-1.amazonaws.com/sites/testing/index.html", siteName: "testing", stats: { deletedFiles: 0, + untouchedFiles: 1, + uploadedFiles: 1, - untouchedFiles: 2, - uploadedFiles: 0, }, } - Expected - 2 + Received + 2 at <anonymous> (/home/runner/work/remotion/remotion/packages/lambda/src/test/integration/deploy-site.test.ts:136:4)
error: expect(received).toEqual(expected): packages/lambda/src/test/integration/deploy-site.test.ts#L201
+ [] - [ - "sites/testing/bundle.js", - "sites/testing/styles2.css" - ] - Expected - 4 + Received + 1 at <anonymous> (/home/runner/work/remotion/remotion/packages/lambda/src/test/integration/deploy-site.test.ts:201:4)
error: expect(received).toEqual(expected): packages/lambda/src/test/integration/deploy-site.test.ts#L278
[ - "sites/testing/bundle.js", "sites/testing/styles.css", - "sites/testing-2/bundle.js", "sites/testing-2/styles2.css" ] - Expected - 2 + Received + 0 at <anonymous> (/home/runner/work/remotion/remotion/packages/lambda/src/test/integration/deploy-site.test.ts:278:4)
error: expect(received).toEqual(expected): packages/lambda/src/test/integration/deploy-site.test.ts#L356
[ - "sites/my-site-staging/bundle.js", "sites/my-site-staging/styles2.css", - "sites/my-site/bundle.js", "sites/my-site/styles.css" ] - Expected - 2 + Received + 0 at <anonymous> (/home/runner/work/remotion/remotion/packages/lambda/src/test/integration/deploy-site.test.ts:356:4)
error: no file renders/lnlbly656l/out.wav: packages/lambda/src/test/mock-implementation.ts#L117
at readFile (/home/runner/work/remotion/remotion/packages/lambda/src/test/mock-implementation.ts:117:10) at <anonymous> (/home/runner/work/remotion/remotion/packages/lambda/src/test/integration/simulate-lambda-render.ts:50:40)
error: Command failed: /home/runner/work/remotion/remotion/packages/compositor-linux-x64-gnu/ffmpeg -i - -ac 1 -c:a pcm_s16le -y /home/runner/work/remotion/remotion/packages/lambda/slow-seamless.wav: packages/lambda/node:child_process#L723
TODO: stream.Readable stdio @ 0 at nodeToBun (node:child_process:723:11) at map (1:11) at spawn (node:child_process:611:93) at spawn (node:child_process:14:39) at execa (/home/runner/work/remotion/remotion/node_modules/.pnpm/execa@5.1.1/node_modules/execa/index.js:83:26) at callFf (/home/runner/work/remotion/remotion/packages/renderer/dist/call-ffmpeg.js:23:30) at <anonymous> (/home/runner/work/remotion/remotion/packages/lambda/src/test/integration/renders/slow-seamless-audio.test.ts:33:25)
error: Command failed: /home/runner/work/remotion/remotion/packages/compositor-linux-x64-gnu/ffmpeg -i - -ac 1 -c:a pcm_s16le -y /home/runner/work/remotion/remotion/packages/lambda/seamless.wav: packages/lambda/node:child_process#L723
TODO: stream.Readable stdio @ 0 at nodeToBun (node:child_process:723:11) at map (1:11) at spawn (node:child_process:611:93) at spawn (node:child_process:14:39) at execa (/home/runner/work/remotion/remotion/node_modules/.pnpm/execa@5.1.1/node_modules/execa/index.js:83:26) at callFf (/home/runner/work/remotion/remotion/packages/renderer/dist/call-ffmpeg.js:23:30) at <anonymous> (/home/runner/work/remotion/remotion/packages/lambda/src/test/integration/renders/seamless-audio.test.ts:34:25)
error: Command failed: /home/runner/work/remotion/remotion/packages/compositor-linux-x64-gnu/ffprobe -: packages/lambda/node:child_process#L723
TODO: stream.Readable stdio @ 0 at nodeToBun (node:child_process:723:11) at map (1:11) at spawn (node:child_process:611:93) at spawn (node:child_process:14:39) at execa (/home/runner/work/remotion/remotion/node_modules/.pnpm/execa@5.1.1/node_modules/execa/index.js:83:26) at callFf (/home/runner/work/remotion/remotion/packages/renderer/dist/call-ffmpeg.js:23:30) at <anonymous> (/home/runner/work/remotion/remotion/packages/lambda/src/test/integration/renders/other-bucket.test.ts:24:38)
Lambda integration
Process completed with exit code 1.
Build Node 16 on macos-14
@remotion/example#test: command (/Users/runner/work/remotion/remotion/packages/example) /Users/runner/setup-pnpm/node_modules/.bin/pnpm run test exited (1)
Build Node 16 on macos-14
Process completed with exit code 1.
Build Node 16 on macos-latest
@remotion/example#test: command (/Users/runner/work/remotion/remotion/packages/example) /Users/runner/setup-pnpm/node_modules/.bin/pnpm run test exited (1)
Build Node 16 on macos-latest
Process completed with exit code 1.
SSR integration
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v3.0.11. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
Lambda integration
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
SSR integration
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Linting + Formatting
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Linting + Formatting: packages/eslint-config/src/index.ts#L268
Unexpected 'todo' comment: 'TODO: Enable it in the future when I...'
Linting + Formatting: packages/paths/src/cut-instruction.ts#L96
Unexpected 'todo' comment: 'TODO: Could we cut it as well?'
Linting + Formatting: packages/core/src/audio/shared-audio-tags.tsx#L266
Unexpected 'todo' comment: 'TODO: Possibly this does not save the...'
Linting + Formatting: packages/core/src/use-lazy-component.ts#L9
Unexpected any. Specify a different type
Linting + Formatting: packages/media-parser/src/get-video-codec.ts#L72
Unexpected 'todo' comment: 'TODO: Not doing anything with a in ICC...'
Linting + Formatting: packages/docusaurus-plugin/src/index.ts#L9
Unexpected any. Specify a different type
Linting + Formatting: packages/docusaurus-plugin/src/index.ts#L50
Unexpected any. Specify a different type
Linting + Formatting: packages/docusaurus-plugin/src/index.ts#L54
Unexpected any. Specify a different type
Linting + Formatting: packages/docusaurus-plugin/src/index.ts#L65
Unexpected any. Specify a different type
Linting + Formatting: packages/docusaurus-plugin/src/shiki.ts#L16
Unexpected any. Specify a different type
Build Node 20.5 on ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build Node 16 on macos-14
Restore cache failed: Dependencies file is not found in /Users/runner/work/remotion/remotion. Supported file pattern: go.sum
Build Node 16 on ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636