Skip to content

Uncaught errors (from Git extension?) causing test failures in vscode-test #118253

@bwateratmsft

Description

@bwateratmsft
  • VS Code Version: 1.54.0, 1.54.1, vscode-test
  • OS Version: OS X test pipeline

Recently our build pipelines for the Docker extension have all begun failing on Mac specifically (Linux and Windows do not show this misbehavior). I think the failures began when 1.54.0 was released yesterday--older commits of our code, which built fine before, now fail in exactly the same way. What's strange is only some of our tests are failing, but it is somewhat consistent which...

The error:

     Uncaught Error: read ENOTCONN
  	at tryReadStart (net.js:573:20)
  	at Socket._read (net.js:584:5)
  	at Socket.Readable.read (_stream_readable.js:467:10)
  	at Socket.read (net.js:624:39)
  	at new Socket (net.js:376:12)
  	at Object.Socket (net.js:267:41)
  	at createSocket (internal/child_process.js:314:14)
  	at ChildProcess.spawn (internal/child_process.js:437:23)
  	at Object.spawn (child_process.js:557:9)
  	at t.Git.spawn (.vscode-test/vscode-darwin-1.54.1/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/main.js:1:89263)
  	at t.Git._exec (.vscode-test/vscode-darwin-1.54.1/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/main.js:1:88431)
  	at t.Git.exec (.vscode-test/vscode-darwin-1.54.1/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/main.js:1:88272)
  	at t.Git.getRepositoryRoot (.vscode-test/vscode-darwin-1.54.1/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/main.js:1:87521)
  	at g.openRepository (.vscode-test/vscode-darwin-1.54.1/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/main.js:10:406906)
  	at n (.vscode-test/vscode-darwin-1.54.1/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/main.js:1:24277)
  	at processTicksAndRejections (internal/process/task_queues.js:97:5)

The build logs are public and can be viewed here: https://dev.azure.com/ms-azuretools/AzCode/_build/results?buildId=31685&view=logs&j=a5e52b91-c83f-5429-4a68-c246fc63a4f7&t=b7b7a6e6-b49b-50ea-fca3-f91483add993

Here's an example of the same commit succeeding a few days earlier with 1.53.2: https://dev.azure.com/ms-azuretools/AzCode/_build/results?buildId=31628&view=logs&j=a5e52b91-c83f-5429-4a68-c246fc63a4f7&t=b7b7a6e6-b49b-50ea-fca3-f91483add993

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions