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

CI linter job failure due to infrastructure issue? #19788

Closed
vsemozhetbyt opened this issue Apr 4, 2018 · 5 comments
Closed

CI linter job failure due to infrastructure issue? #19788

vsemozhetbyt opened this issue Apr 4, 2018 · 5 comments
Labels
meta Issues and PRs related to the general management of the project.

Comments

@vsemozhetbyt
Copy link
Contributor

vsemozhetbyt commented Apr 4, 2018

We have several linter job failures in various PRs with the similar cause:

https://ci.nodejs.org/job/node-test-linter/17685/console

Is some manual cleaning needed on the job's machine?

@vsemozhetbyt vsemozhetbyt added the meta Issues and PRs related to the general management of the project. label Apr 4, 2018
@vsemozhetbyt
Copy link
Contributor Author

vsemozhetbyt commented Apr 4, 2018

It seems fixed somehow. I am not sure if this is a normal situation. I've seen this already last days several times. Feel free to close if this is OK.

@gibfahn
Copy link
Member

gibfahn commented Apr 4, 2018

Maybe fixed by #19746?

@vsemozhetbyt
Copy link
Contributor Author

FWIW, cc @nodejs/build @nodejs/linting

@gibfahn
Copy link
Member

gibfahn commented Apr 4, 2018

Actually I think this is a separate issue, the job was failing on a particular machine (test-rackspace-freebsd10-x64-1).

I went onto the machine and deleted the index.lock file it was complaining about, and it seems to be okay now.

https://ci.nodejs.org/job/node-test-linter/17689/

If it happens again you can raise an issue in nodejs/build.

Alternatively in cases like this you can just delete the workspace on that executor and rerun the job. If you click the Workspace button it gives you the option to Wipe Out Current Workspace. You need to make sure it's the workspace on the machine that has the issue. That will delete the git lock file (and fix workspace messed up errors in general). It should always be okay to delete a workspace.

https://ci.nodejs.org/job/node-test-linter/ws/

So for example you see a failing job, make a note of the machine:

image

Go to the top-level job and click the workspace button:

image

Then make sure it is the workspace on the right machine (if not just run builds until it is):

image

Then click the Wipe out current workspace button and it'll clean the workspace. Then rerun the job (making sure it runs on the right executor)

@vsemozhetbyt
Copy link
Contributor Author

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
meta Issues and PRs related to the general management of the project.
Projects
None yet
Development

No branches or pull requests

2 participants