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
{{ message }}
Repository navigation
npm test on Linux VMs: ~50 cases fail on umask 077 and macOS-only fixtures (local check unusable) #232
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
On a devcloud VM with umask 077, npm test reports 0 failures, apart from cases that needs-environment skips explain.
Activity
Docs: node --test runs a test directory by its glob, not the bare dir…