Skip to content

Add node-config-schema.json to expected files in v22.x #4084

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

aduh95
Copy link
Contributor

@aduh95 aduh95 commented May 21, 2025

Similar to #4040

@richardlau
Copy link
Member

@aduh95 Can you fix the tests?

expectedStdout:
'... Checking R2 assets\n' +
'... Expecting a total of 47 assets for v22.x\n' +
'... 47 assets waiting in R2 staging\n' +
'... 0 assets already promoted in R2\n' +
' \u001b[32m\u001b[1m✓\u001b[22m\u001b[39m Complete set of expected assets in place for v22.x\n',
setup: async function setup (context) {
context.rcloneLs[context.r2StagingDir] = await fixture('all-present-v22.12.0.json');
context.rcloneLs[context.r2StagingDir] = await fixture('all-present-v22.16.0.json');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tests are failing.
e.g. https://github.com/nodejs/build/pull/4084/checks#step:4:120

    # Subtest: Everything is in staging, nothing in dist, good to go
    not ok 8 - Everything is in staging, nothing in dist, good to go
      ---
      duration_ms: 0.897471
      type: 'test'
      location: '/home/runner/work/build/build/ansible/www-standalone/tools/promote/test/check_r2_assets.mjs:238:5'
      failureType: 'testCodeFailure'
      error: "ENOENT: no such file or directory, open '/home/runner/work/build/build/ansible/www-standalone/tools/promote/test/fixtures/all-present-v22.16.0.json'"
      code: 'ENOENT'
      stack: |-
        async open (node:internal/fs/promises:633:25)
        async readFile (node:internal/fs/promises:1237:14)
        async setup (file:///home/runner/work/build/build/ansible/www-standalone/tools/promote/test/check_r2_assets.mjs:40:48)
        async TestContext.<anonymous> (file:///home/runner/work/build/build/ansible/www-standalone/tools/promote/test/check_r2_assets.mjs:242:7)
        async Test.run (node:internal/test_runner/test:1054:7)
        async Suite.processPendingSubtests (node:internal/test_runner/test:744:7)
      ...

These fixtures are files in the ansible/www-standalone/tools/promote/test/fixtures directory and will either need to be replaced or the new files added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants