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

Access to VM? #2186

Closed
ronag opened this issue Feb 18, 2020 · 8 comments
Closed

Access to VM? #2186

ronag opened this issue Feb 18, 2020 · 8 comments

Comments

@ronag
Copy link
Member

ronag commented Feb 18, 2020

I am struggling with resolving a bug specific to a specific build on CI. In particular this PR fails on two specific platforms and currently I have no viable way of debugging this.

Is it possible to get access to a VM or a VM image of the failing environments that I can use to quickly change, build end debug?

Alternatively some other way that this can be more easily debugged? Currently I'm left with guessing fixes and pushing to the repo in order to restart the specific CI job and hoping it passes.

For Linux it's possible to get around this using Docker. However, Windows has no such option that I am aware of and is usually more complicated to setup for someone not familiar with the platform. I'm a MacOS user.

@sam-github
Copy link
Contributor

Process for temporary access is here: https://github.com/nodejs/build/blob/master/GOVERNANCE.md#temporary-access

It is possible, you would have to provide the exact name of the test machine you want access to, and your ssh key.

@ronag
Copy link
Member Author

ronag commented Feb 19, 2020

you would have to provide the exact name of the test machine you want access to

I'm not sure how to determine this but I would need access to a machine where the test fails as seen here https://ci.nodejs.org/job/node-test-binary-windows-js-suites/1877/.

and your ssh key

I'm not quite sure how to share this. Over mail?

I might need a little help with getting started here...

@sam-github
Copy link
Contributor

There were multiple failures in that job, but one is https://ci.nodejs.org/job/node-test-binary-windows-js-suites/1877/RUN_SUBSET=2,nodes=win10-COMPILED_BY-vs2019/, you can see the host on the top right: test-azure_msft-win10_vcbt2015-x64-4 in that case.

I can't ssh into that host, though, so I don't think I can help get you access.

Public ssh keys are shareable in public, here would be fine, though you appear to only have one key, so that should be useable: https://github.com/ronag.keys (many of us have multiple).

@nodejs/platform-windows can anyone help ronag out?

@joaocgreis
Copy link
Member

@ronag I've created a test machine that you can use. I'll follow up with credentials by email.

From the configurations that failed, it seemed that the problem might be VS2019 and not any particular Windows version. However, I tried to run the binary of both VS2017 and VS2019, and it seems the test is very flaky in both.

@sam-github Windows does not use ssh, it's username and password. Thanks for following up here! For this, I ended up creating a new machine from scratch but for simpler issues we can simply create a new user in a machine and remove it from CI.

@ronag
Copy link
Member Author

ronag commented Feb 22, 2020

Thanks!

@ronag ronag closed this as completed Feb 22, 2020
@joaocgreis
Copy link
Member

@ronag feel free to keep the machine as long as you need it. We usually keep the issue open here to track access, so I'll reopen. Thanks!

@joaocgreis joaocgreis reopened this Feb 28, 2020
@ronag
Copy link
Member Author

ronag commented Apr 15, 2020

@joaocgreis: Thank you the related issues have been fixed. I no longer require the VM.

@joaocgreis
Copy link
Member

Removed the machine. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants