You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Windows CI test is extremely long (~3 hours) #8696
Current runner version: '2.311.0'
Operating System
Microsoft Windows Server 2022
10.0.20348
Datacenter
Runner Image
Image: windows-2022
Version: 20231217.2.0
Included Software: https://github.com/actions/runner-images/blob/win22/20231217.2/images/windows/Windows2022-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/win22%2F20231217.2
Runner Image Provisioner
2.0.321.1
Current runner version: '2.311.0'
Operating System
Microsoft Windows Server 2022
10.0.20348
Datacenter
Runner Image
Image: windows-2022
Version: 20231217.2.0
Included Software: https://github.com/actions/runner-images/blob/win22/20231217.2/images/windows/Windows2022-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/win22%2F20231217.2
Runner Image Provisioner
2.0.321.1
Runner image versions are the exact same.
Some regression in Datafusion code
Probably unlikely? I don't have a Windows machine to test to be certain that it's not only CI.
Starts Tue, 02 Jan 2024 21:44:15 GMT and last log from it is Tue, 02 Jan 2024 22:05:57 GMT (but next test doesn't start until Tue, 02 Jan 2024 23:27:39 GMT leaving a 1hr 42min gap)
Activity
Jefffrey commentedon Dec 31, 2023
From logs in https://github.com/apache/arrow-datafusion/actions/runs/7358744456/job/20032462383
Seems would be a good start point for investigating this, as accounts for almost half that runtime.
Skimming through the logs, can't see any other part that significantly contributes to the runtime
Edit: might be an issue with the windows runner itself, see actions/runner-images#9085
First started occurring here: https://github.com/apache/arrow-datafusion/actions/runs/7350344666
But don't think it's issue on datafusion side, considering contents of that PR
Edit2: Some other references:
Seem to suggest switching to
windows-2019could improve speed, will testEdit3: for comparison, the CI used to take no more than 30min
Jefffrey commentedon Dec 31, 2023
CI is still taking extremely long after switching to windows-2019 runner
Jefffrey commentedon Jan 3, 2024
Some debugging thoughts:
Due to image change
Unlikely.
27min runtime: https://github.com/apache/arrow-datafusion/actions/runs/7347591698/job/20004278779#step:1:1
3hr 20min run: https://github.com/apache/arrow-datafusion/actions/runs/7351057731/job/20013780063#step:1:1
Runner image versions are the exact same.
Some regression in Datafusion code
Probably unlikely? I don't have a Windows machine to test to be certain that it's not only CI.
Given example run: https://github.com/apache/arrow-datafusion/actions/runs/7390088229/job/20104324232
The tests that have extreme runtime are:
Tue, 02 Jan 2024 21:44:15 GMTand last log from it isTue, 02 Jan 2024 22:05:57 GMT(but next test doesn't start untilTue, 02 Jan 2024 23:27:39 GMTleaving a 1hr 42min gap)Rest of the run doesn't have any major anomalies, so these are the offending tests.
Some other runner issue
Not sure how to debug this, might need to raise another issue with runner repo?
Edit: pretty certain its not due to code change on DataFusion side, as this PR run was the first to exhibit >3hr win runtime: https://github.com/apache/arrow-datafusion/actions/runs/7349660365/job/20009991842
And it happens independently of the next commit to main which also exhibits slowness
Jefffrey commentedon Jan 3, 2024
Actually, another thing that changed was Rust version from 1.74.1 to 1.75.0 (which also aligned exactly with the slowdown)
Testing switching back to 1.74.1 to see if this is the root cause: #8728
comphead commentedon Jan 3, 2024
@Jefffrey thanks for creating this, do you have windows machine to run tests locally?
Jefffrey commentedon Jan 3, 2024
I don't have access to a Windows machine easily unfortunately. Can try get access to one if necessary, will see how latest CI test pans out
comphead commentedon Jan 3, 2024
I'm also trying to find a solution in #8730
Jefffrey commentedon Jan 3, 2024
#8728
Windows test finished in 28min @comphead
Looks like its due to Rust 1.75.0 upgrade, will check its changelog
comphead commentedon Jan 3, 2024
good finding, on 1.75.0 even the compilation is way slower
Jefffrey commentedon Jan 3, 2024
After a bunch of debugging, I found this:
Tests run fast on toolchain: nightly-2023-10-29 (rust e5cfc5547)
Tests run extremely slow on toolchain: nightly-2023-10-30 (rust 608e9682f)
I might raise an issue on rust lang repo, after checking if a similar issue hasn't already been raised
Jefffrey commentedon Jan 3, 2024
Raised issue on Rust repo: rust-lang/rust#119560