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

Setup Azure Pipelines #1376

Merged
merged 17 commits into from Aug 8, 2019
Merged

Setup Azure Pipelines #1376

merged 17 commits into from Aug 8, 2019

Conversation

gnzlbg
Copy link
Contributor

@gnzlbg gnzlbg commented May 28, 2019

cc @alexcrichton this needs enabling Azure Pipelines for this repo

@rust-highfive
Copy link

@gnzlbg: no appropriate reviewer found, use r? to override

@gnzlbg
Copy link
Contributor Author

gnzlbg commented May 28, 2019

cc @pietroalbini

@gnzlbg gnzlbg closed this May 28, 2019
@gnzlbg gnzlbg reopened this May 28, 2019
@alexcrichton
Copy link
Member

It's just sort of how it works but #1377 is the branch auto-created by azure pipelines, and it should be configured now. It may or may not require actually using that particular branch, I'm not sure?

@alexcrichton
Copy link
Member

The badge is:

Build Status

@gnzlbg
Copy link
Contributor Author

gnzlbg commented May 28, 2019

@alexcrichton I see an azure job here that appears to properly show errors in the CI script :)

@alexcrichton
Copy link
Member

👍

Feel free to cc me if any further configuration is needed.

@bors
Copy link
Contributor

bors commented Jul 5, 2019

☔ The latest upstream changes (presumably #1419) made this pull request unmergeable. Please resolve the merge conflicts.

This was referenced Jul 6, 2019
@gnzlbg gnzlbg force-pushed the azure_pipelines branch 3 times, most recently from 9e9f6d8 to 8e120de Compare July 7, 2019 09:36
@gnzlbg
Copy link
Contributor Author

gnzlbg commented Jul 7, 2019

So this is all green except for aarch64-unknown-linux-android, which appears to be missing for some reason under azure pipelines, but AFAICT it is there under travis. cc @alexcrichton @mati865 any idea what might be going on ?

@mati865
Copy link
Contributor

mati865 commented Jul 7, 2019

@gnzlbg it should be aarch64-linux-android.

@gnzlbg
Copy link
Contributor Author

gnzlbg commented Jul 7, 2019

Ok, so this is ready. There are two build jobs failing, Semver Linux&OSX, but these are expected to fail since we did some breaking changes. I've tried to use continueOnError: true to allow them to fail, without much luck, so I've temporarily disable them so that we can land this, and will re-enable them after we do a new release. If anybody knows what the Azure alternative for Travis allow_failures is please let me know.

I think we need to land the PR to rust-central-station for bors to start using azure pipelines for this repo.

@mati865
Copy link
Contributor

mati865 commented Jul 7, 2019

Yeah, it's not possible right now microsoft/azure-pipelines-tasks#9302

@gnzlbg
Copy link
Contributor Author

gnzlbg commented Jul 9, 2019

@mati865 I've tried to deploy your mingw appveyor linking fix without much luck - it also appears that the incorrect rustc version is being picked (1.35.0 as opposed to nightly). Any ideas ?

@mati865

This comment has been minimized.

@mati865
Copy link
Contributor

mati865 commented Jul 9, 2019

D:\a\1\s>xcopy /Y "C:\msys64\mingw64\x86_64-w64-mingw32\lib\crt2.o" "C:\Program Files (x86)\Rust\lib\rustlib\x86_64-pc-windows-gnu\lib" 
File not found - crt2.o
0 File(s) copied

Logs from previous builds are not available, they could have location of MSYS2. Maybe it's not installed or installed to different directory.

displayName: Find GCC libraries (windows)
- script: |
@echo on
if defined MSYS_BITS for %%I in (crt2.o dllcrt2.o libmsvcrt.a) do xcopy /Y "C:\ProgramData\Chocolatey\lib\mingw\tools\install\mingw64\x86_64-w64-mingw32\lib\%%I" "%USERPROFILE%\.rustup\toolchains\%TOOLCHAIN%-%TARGET%\lib\rustlib\%TARGET%\lib"
Copy link
Contributor

Choose a reason for hiding this comment

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

Failed with path: C:\Users\VssAdministrator\.rustup\toolchains\-x86_64-pc-windows-gnu\lib\rustlib\x86_64-pc-windows-gnu\lib
%TOOLCHAIN% is undefined 🤷‍♂️

@mati865

This comment has been minimized.

@bors
Copy link
Contributor

bors commented Aug 8, 2019

📌 Commit bce9075 has been approved by gnzlbg

bors added a commit that referenced this pull request Aug 8, 2019
Setup Azure Pipelines

cc @alexcrichton this needs enabling Azure Pipelines for this repo
@bors
Copy link
Contributor

bors commented Aug 8, 2019

⌛ Testing commit bce9075 with merge b0a19dd...

@bors
Copy link
Contributor

bors commented Aug 8, 2019

💥 Test timed out

@gnzlbg
Copy link
Contributor Author

gnzlbg commented Aug 8, 2019

This timeout appears to be correct. Azure Pipelines started executing some jobs, but at some point it hanged and stopped starting some of them. Cirrus-CI also appears to have hanged, with some jobs running for an unreasonable amount of time.

I've cancelled the Azure jobs but cannot cancel the Cirrus one, so I'll wait till the queue there is clean and try again.

@gnzlbg
Copy link
Contributor Author

gnzlbg commented Aug 8, 2019

@bors: retry

@bors
Copy link
Contributor

bors commented Aug 8, 2019

⌛ Testing commit bce9075 with merge 47f056a...

bors added a commit that referenced this pull request Aug 8, 2019
Setup Azure Pipelines

cc @alexcrichton this needs enabling Azure Pipelines for this repo
@mati865
Copy link
Contributor

mati865 commented Aug 8, 2019

Something is wrong with Azure:

401 - Uh oh, you’re locked out.
Your account, <hidden> is not authorized to view this page. Make sure the URL is correct and your account has access. View a list of your organizations here. You may request access by contacting the admin.
08.08.2019 10:18:35 (UTC)
c0e79bdd-e865-496b-95bc-1dc982002779

@bors
Copy link
Contributor

bors commented Aug 8, 2019

💥 Test timed out

@gnzlbg
Copy link
Contributor Author

gnzlbg commented Aug 8, 2019

@mati865

I think the homu azure job is still running, but it is only running one concurrent task, probably because the i686-pc-windows-gnu task (https://dev.azure.com/rust-lang2/libc/_build/results?buildId=65) failed with:

D:\a\1\s>if "i686" == "i686" choco install mingw --x86 --force 
Chocolatey v0.10.15
Installing the following packages:
mingw
By installing you accept licenses for the packages.
mingw v8.1.0 already installed. Forcing reinstall of version '8.1.0'. 
 Please use upgrade if you meant to upgrade to a new version.
mingw not installed. An error occurred during installation:
 The remote server returned an error: (503) Server Unavailable. Service Unavailable
This is try 1/3. Retrying after 300 milliseconds.
 Error converted to warning:
 Could not find a part of the path 'C:\ProgramData\chocolatey\lib\mingw\.chocolateyPending'.
This is try 2/3. Retrying after 400 milliseconds.
 Error converted to warning:
 Could not find a part of the path 'C:\ProgramData\chocolatey\lib\mingw\.chocolateyPending'.
Maximum tries of 3 reached. Throwing error.

Chocolatey installed 0/0 packages. 
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Could not find a part of the path 'C:\ProgramData\chocolatey\lib\mingw\.chocolateyPending'.
##[error]Cmd.exe exited with code '1'.

@gnzlbg
Copy link
Contributor Author

gnzlbg commented Aug 8, 2019

@bors: retry

@bors
Copy link
Contributor

bors commented Aug 8, 2019

⌛ Testing commit bce9075 with merge 27399bf...

bors added a commit that referenced this pull request Aug 8, 2019
Setup Azure Pipelines

cc @alexcrichton this needs enabling Azure Pipelines for this repo
@mati865
Copy link
Contributor

mati865 commented Aug 8, 2019

I cannot access Azure at all:
obraz

@gnzlbg
Copy link
Contributor Author

gnzlbg commented Aug 8, 2019

@bors: retry

@bors
Copy link
Contributor

bors commented Aug 8, 2019

⌛ Testing commit bce9075 with merge 461868e...

bors added a commit that referenced this pull request Aug 8, 2019
Setup Azure Pipelines

cc @alexcrichton this needs enabling Azure Pipelines for this repo
@gnzlbg
Copy link
Contributor Author

gnzlbg commented Aug 8, 2019

@mati865 can you try again?

@mati865
Copy link
Contributor

mati865 commented Aug 8, 2019

Thanks, I can access it now.

@bors
Copy link
Contributor

bors commented Aug 8, 2019

💥 Test timed out

@gnzlbg
Copy link
Contributor Author

gnzlbg commented Aug 8, 2019

So Azure succeeded and bors properly registered it: 🎉 .

Cirrus-CI is having issues (https://twitter.com/cirrus_labs/status/1159468906035023872), so I've canceled the builds for now. They will let us know when these issues are resolved.

@gnzlbg
Copy link
Contributor Author

gnzlbg commented Aug 8, 2019

The Cirrus-CI issue should be resolved now.

@bors: retry

@bors
Copy link
Contributor

bors commented Aug 8, 2019

⌛ Testing commit bce9075 with merge a9ab0f9...

bors added a commit that referenced this pull request Aug 8, 2019
Setup Azure Pipelines

cc @alexcrichton this needs enabling Azure Pipelines for this repo
@bors
Copy link
Contributor

bors commented Aug 8, 2019

☀️ Test successful - checks-cirrus-freebsd-11, checks-cirrus-freebsd-12, status-azure
Approved by: gnzlbg
Pushing a9ab0f9 to master...

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.

None yet

6 participants