Skip to content

utils: include Fetch-Dependencies step in build.ps1 time tracking #78976

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

Conversation

weliveindetail
Copy link
Member

Build bot runtimes are very long and not fully transparent right now. In addition to the steps for build and test, we should keep an eye on Fetch-Dependencies.

@weliveindetail weliveindetail enabled auto-merge (squash) January 29, 2025 13:40
@weliveindetail
Copy link
Member Author

@swift-ci please smoke test

@weliveindetail weliveindetail merged commit c1e0770 into swiftlang:main Jan 29, 2025
3 checks passed
@weliveindetail weliveindetail deleted the windows-toolchain-time-fetch-dependencies branch January 29, 2025 17:43
@weliveindetail
Copy link
Member Author

Runtime reported for Fetch-Dependencies in regular CI is below 2min. PRs that evaluate build & test for Android SDKs need more tools. Download and install takes more than 5min in these cases.

Reduced log from https://ci-external.swift.org/job/swift-PR-windows/35837 shows:

T:\WiX-4.0.5.zip not found. Downloading ...
Extracting 'WiX-4.0.5.zip' ...
T:\swift-6.0.3-RELEASE-windows10.exe not found. Downloading ...
Extracting 'swift-6.0.3-RELEASE-windows10.exe' ...
T:\PythonAMD64-3.9.10.zip not found. Downloading ...
Extracting 'PythonAMD64-3.9.10.zip' ...
T:\python\packaging-24.1-py3-none-any.whl not found. Downloading ...
Installing 'packaging-24.1-py3-none-any.whl' ...
T:\android-ndk-r26b-windows.zip not found. Downloading ...
Extracting 'android-ndk-r26b-windows.zip' ...
T:\microsoft-jdk.zip not found. Downloading ...
Extracting 'microsoft-jdk.zip' ...
T:\android-cmdline-tools.zip not found. Downloading ...
Extracting 'android-cmdline-tools.zip' ...
T:\android-sdk\cmdline-tools\latest\bin\sdkmanager.bat "system-images;android-29;default;x86_64"
T:\android-sdk\cmdline-tools\latest\bin\sdkmanager.bat "platforms;android-29"
T:\android-sdk\cmdline-tools\latest\bin\sdkmanager.bat "platform-tools"
Fetch-Dependencies took 00:05:20.2656983

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

Successfully merging this pull request may close these issues.

2 participants