-
Notifications
You must be signed in to change notification settings - Fork 167
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
PSA: Full CI time down to ~30 minutes #1761
Comments
This is quite nice! @refack I took a look at the Windows job changes and have some questions/comments:
|
My comment below are just RE the Windows job. To get to ~30 minutes, we also optimized the AIX job, the ARM native job, and the SmartOS job, and dropped the RPI1 to experimental.
The increase is due to 3 incremental changes:
Yeah, now that the new job is 1:1 with node12 I'd also like to have the test logic in
The job script tests by itself if the tests did output. Because we don't have the latest
Yep, and an updated
I worked on trying to make 1 job that will fit 12 and 6-11, but it was too much noise, so for 6-11 the test is just as it was, and for node 12 the new job was slimmed down extensively. Optimally I'd say the test script should be part of the code tree, so the test jobs will only need to call is, but sometimes you want to play with the script and stabilize it and only then land it in node-core. |
In that case, when a test fails, how does the job turn red? (False positives are the number one thing I worry about when looking at Jenkins jobs, in my opinion it's the worst thing that can happen...) |
Or more spesificaly: if not exist test.tap (
echo "Missing test.tap file"
set "EXIT_RETURN_VALUE=1"
)
set CCEXIT_RETURN_VALUE=0
if "%SHOULD_HAVE_CCTEST%" == "1" (
set CCEXIT_RETURN_VALUE=1
if exist cctest.tap (
echo "Found cctest.tap file"
set "CCEXIT_RETURN_VALUE=0"
)
if exist out\junit\cctest.xml (
echo "Found out\junit\cctest.xml file"
set "CCEXIT_RETURN_VALUE=0"
)
)
if %CCEXIT_RETURN_VALUE% EQU 1 exit /b 1
exit /b %EXIT_RETURN_VALUE% |
I see now, the job looks good π What I was worried about was if a test fails with a real |
After the optimization in AIX, Windows, and RPIs we are down to about 30 minutes
π π―ββοΈ π
Also reduced multiplicity of Windows test from 5 sub-jobs to 3, and ARM-fanned from 6 to 5.
The text was updated successfully, but these errors were encountered: