Skip to content

npm test on Linux VMs: ~50 cases fail on umask 077 and macOS-only fixtures (local check unusable) #232

Open

Description

@SSFSKIM

Problem & intent

npm test run locally on a Linux devcloud VM fails about 52 cases. About 51 of them fail the same way at the base commit, before #171's changes. Found during #171 M1b (PR #231, residue section) on dc-linux171-1e68 (Ubuntu 24.04). Two causes:

  • umask. The VM's login user has umask 077, and tests that check created files' modes assume 022.
  • macOS-only fixtures. Cases that need macOS-only fixtures or addons run on Linux without a platform skip.

The remaining failure is intermittent.

CI is unaffected: cua's gates run npm test on hosted macOS. But #171's Linux work (M2–M6) runs npm test on the VM, and there a regression can't be told apart from these ~50 known failures, so the local check is useless on Linux.

Intent: npm test on a Linux devcloud VM passes, or skips with a stated reason, so it is a usable local check. This also moves toward the ubuntu CI leg #142 was opened for.

Constraints

  • Tests stop depending on the process umask: set it explicitly where a mode matters, or assert relative to the umask in effect.
  • A macOS-only case is skipped on Linux with a reason naming what it needs, never silently.
  • No change to what the hosted-macOS test gate covers.

Success criteria

Open questions

  1. Which of Linux (ubuntu-latest) test failures found by the CI probe #142's five items are still open after PR CI: adopt ci-kit; timing tests assert events, not speed #143? They overlap this ticket's seam (npm test on Linux).
  2. Should cua's ci-kit add an ubuntu test leg once this lands?

Decision log

Activity

  1. added
    bug
    status:ready-for-implementer
    priority:P3
    on Oct 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugpriority:P3status:ready-for-implementer

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions