Skip to content

[BUG] ECONNRESET in smoke tests #6793

@lukekarrys

Description

@lukekarrys

Current Behavior

The smoke test added in #6781 is failing (flaky) in Node 18 on macOS with ECONNRESET errors. This could be due to the new @npmcli/agent. I have not been able to reproduce this issue not in the smoke tests so I'm currently not sure of the severity of the issue.

The main difference in smoke tests is that they are calling npm via @npmcli/promise-spawn instead of directly. This is just a note and I'm not sure yet of its relevance.

Example of a flaky test run: https://github.com/npm/cli/actions/runs/6149382937/job/16685141474

Expected Behavior

The smoke tests pass without flakiness.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions