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

windows: mesure flakiness of failed tests #3056

Merged
merged 3 commits into from
Sep 28, 2023
Merged

Conversation

aduh95
Copy link
Contributor

@aduh95 aduh95 commented Oct 18, 2022

I'd like to do that for the other platforms, but I couldn't find what files to change.

Refs: nodejs/node@2e4bcfc

Copy link
Member

@mhdawson mhdawson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mhdawson
Copy link
Member

@aduh95 for other platforms I believe they need to be added to the CI jobs themselves. If you don't have access to configure the CI jobs we could possibly give you that or one of the build WG members could get together to add to the key platforms.

@@ -6,8 +6,9 @@ call %~dp0git-checkout.cmd
if errorlevel 1 exit /b

:: Run tests
set "test_ci_args=--run=%RUN_SUBSET%,4"
set "test_ci_args=--run=%RUN_SUBSET%,4 --measure-flakiness 9"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this work on earlier release lines? i.e. Node.js 14 and 16? We use the same jobs and scripts to test all supported release lines.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ooo, good point

Copy link
Contributor Author

@aduh95 aduh95 Oct 22, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed it fails: test.py: error: no such option: --measure-flakiness

I guess I need to first backport the changes before we can land this (it's already been backported to v16.x, I've opened nodejs/node#45126 to have it on v14.x as well).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now that the backport has landed on v14.x, I think this can now move forward.

@aduh95
Copy link
Contributor Author

aduh95 commented Sep 27, 2023

@nodejs/build if someone was available to land and deploy this PR, and also apply the change to the other platforms as explained in #3056 (comment), that'd be appreciated. Or if you want to give me temporary access, and tell me where I can find the files to edit, that can work too.

@github-actions github-actions bot removed the stale label Sep 28, 2023
@targos
Copy link
Member

targos commented Sep 28, 2023

Sorry but I've never deployed anything on Windows hosts and I don't know how to do it. I think Remmina is necessary, but the software cannot run on Mac.

@richardlau
Copy link
Member

The Windows CI jobs pull down the *.cmd files under jenkins/scripts/windows/ from the main branch of this repository so deploying is merging this PR (I'll do that now -- if anything goes awry we can revert).
image

The other platforms are not executing scripts that are under source control so each CI job would need to be edited in the web UI (I can't commit to doing that and being around for a while in case of issues right now).

Sorry but I've never deployed anything on Windows hosts and I don't know how to do it. I think Remmina is necessary, but the software cannot run on Mac.

FWIW Connection to the Windows machines is via RDP, of which Remmina is one such client (and we have an Ansible role to write the configuration for). It should be possible to use any other RDP capable client but you'll need to extract the connection details (IP address, user name, password) out of the inventory and secrets.

@richardlau richardlau merged commit 726a7ca into main Sep 28, 2023
@richardlau richardlau deleted the windows-flaky-tests branch September 28, 2023 15:22
@richardlau richardlau added ci-public platform:windows ci-change PSA of configuration changes labels Sep 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci-change PSA of configuration changes ci-public platform:windows
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants