Skip to content
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

Assertion failed: (timeout != -1) in Command line task on MacOS #13785

Closed
pakrym opened this issue Oct 27, 2020 · 7 comments
Closed

Assertion failed: (timeout != -1) in Command line task on MacOS #13785

pakrym opened this issue Oct 27, 2020 · 7 comments
Assignees
Labels
Area: ABTT Akvelon Build Tasks Team area of work bug route

Comments

@pakrym
Copy link

pakrym commented Oct 27, 2020

Note

Issues in this repo are for tracking bugs, feature requests and questions for the tasks in this repo

For a list:
https://github.com/Microsoft/azure-pipelines-tasks/tree/master/Tasks

If you have an issue or request for the Azure Pipelines service, use developer community instead:

https://developercommunity.visualstudio.com/spaces/21/index.html )

Required Information

Entering this information will route you directly to the right team and expedite traction.

Question, Bug, or Feature?
Type: Bug

Enter Task Name: Command line
Version : 2.176.1

Environment

Agent name: 'Azure Pipelines 30'
Agent machine name: 'Mac-1603813119026'

Issue Description

Task invocation fails with

Assertion failed: (timeout != -1), function uv__io_poll, file ../deps/uv/src/unix/kqueue.c, line 231.
##[error]Exit code 134 returned from process: file name '/Users/runner/runners/2.175.2/externals/node/bin/node', arguments '"/Users/runner/work/_tasks/CmdLine_d9bafed4-0b18-4f58-968d-86655b4d2ce9/2.176.1/cmdline.js"'.

Task logs

N/A, fails inconsistently but always on Mac OS.

@max-zaytsev max-zaytsev added the Area: ABTT Akvelon Build Tasks Team area of work label Oct 28, 2020
@alexander-smolyakov alexander-smolyakov self-assigned this Oct 28, 2020
@alexander-smolyakov
Copy link
Contributor

Hi @pakrym, this issue related to Node v6.

You can find a similar issue in the node repo by the following link.

We started working on migration to Node v14 so hopefully, this issue will be resolved with future updates.

So I'm closing it a the moment.

Thanks!

@jpivarski
Copy link

For the record, I've been seeing this, too. My only recourse is to restart failed jobs, because this is intermittent. (It especially happens in tests with long logs.)

Is there a PR I can watch to see how this is going?

@ryanrodemoyer
Copy link

ryanrodemoyer commented Nov 11, 2020

Could this be a possible explanation for #13858 ? In other words, node.exe randomly fails during long running tasks?

@jpivarski
Copy link

That link points to something about Visual Studio. This was something that only affected MacOS, not Windows.

In my experience over the past week (seeing that my comment here was 9 days ago), it got worse for a few days—intermittent with a higher probability, sometimes even affecting the restarted job—then got much better. I haven't seen this issue in days.

@alexander-smolyakov thought it was related to the Node version, and the link he points to has this error message. Has the Node version been updated? If so, we've noticed!

@NaagAlgates
Copy link

I faced a similar issue yesterday and created a ticket: https://developercommunity2.visualstudio.com/t/azure-pipelines-for-ios-returned-exit-code-134-https://developercommunity2.visualstudio.com/t/azure-pipelines-for-ios-returned-exit-code-134-ass/1249827

and I was redirected to this ticket. But seems like the ticket is already closed, which is not.

@alexander-smolyakov
Copy link
Contributor

@alexander-smolyakov thought it was related to the Node version, and the link he points to has this error message. Has the Node version been updated? If so, we've noticed!

Hey @jpivarski, a couple of tasks (CmdLineV2 included) already migrated to Node 10 and these changes will be available in 2-3 weeks for all users. Here is a link to related PR for CmdLineV2 migration.

I faced a similar issue yesterday and created a ticket: https://developercommunity2.visualstudio.com/t/azure-pipelines-for-ios-returned-exit-code-134-https://developercommunity2.visualstudio.com/t/azure-pipelines-for-ios-returned-exit-code-134-ass/1249827
and I was redirected to this ticket. But seems like the ticket is already closed, which is not.

Hey @NaagAlgates, yes this exactly the same issue it may appear on different tasks because it related to Node 6 itself. As I can see in your case the problem was with XcodeV5, we already did a migration to Node 10 for this task, here is a link for related PR.

The updated version of the XcodeV5 task will be available in 2-3 weeks.

Thanks!

@NaagAlgates
Copy link

NaagAlgates commented Nov 18, 2020

Okay. Thank you @alexander-smolyakov

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: ABTT Akvelon Build Tasks Team area of work bug route
Projects
None yet
Development

No branches or pull requests

6 participants