-
Notifications
You must be signed in to change notification settings - Fork 667
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
Merge New CI Infrastructure Based on Trust/Cross Into Master #536
Conversation
@berkowski @posborne I'd really like to get this merged and active for nix ASAP. What're the next steps for this work as I haven't been following it. From my point of view, I think as long as this isn't a regression from the previous CI (as in the original platforms still pass) I'd like to get this merged. Once it's in-tree we can start to fix the other platforms as we go. |
#553 seems to solve all the compile-time issues for the architectures covered by trust but it's been pending a final review for the last 3 weeks. Once that gets merged then the whole new-ci/master branch will need to be updated to the current working master, fixing any issues along the way. |
@berkowski Excellent, then I'll take a look at #553 either today or tomorrow and we'll get that merged soon then (I'm a maintainer now). And then we can take another crack at this. |
Excellent (and congrats!) |
One thing that I'd like to see added to this PR is an addition to the README describing which platforms |
os: # OSX included in build matrix explicitly | ||
- linux | ||
# default job | ||
- TARGET=x86_64-unknown-linux-gnu |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs an env:
after the -
so that it actually sets the environment variable in a way that Travis understands.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, I think this should be done within the matrix
section. If you look at the Travis output, you see TARGET
being declared twice.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nevermind, found out this is a bug in Travis CI that they haven't put much effort into fixing: travis-ci/travis-ci#4681
I'd also like to understand the reasoning for not all Rust platforms supported by trust/cross being tested. There are some targets commented-out so I was wondering how those were decided. |
@Susurrus FreeBSD and NetBSD aren't tested because Travis doesn't support those operating systems. TRUST builds for them by using a cross-compiler, but it can't cross-test. |
os: # OSX included in build matrix explicitly | ||
- linux | ||
# default job | ||
- TARGET=x86_64-unknown-linux-gnu |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, I think this should be done within the matrix
section. If you look at the Travis output, you see TARGET
being declared twice.
As a summary for everyone, we currently have the following outstanding issues with this PR:
And I just realized this, but instead of targeting current stable Rust, we should target 1.9, which is our minimally supported version. Maybe then instead of the two nightly platforms we have, we would test stable. Nightly can give spurious failures, but it's of value to the compiler team, so I'm not so sure about this one. I'd propose that we only address the Since this testing is already more comprehensive than the current testing we get a step forward and this will allow us to move forward with other PRs that are basically blocking on this more comprehensive testing. Thoughts anyone? |
Aren't the sys::test_aio::test_lio_listio_signal failures fixed by posborne/rust-nix@0e3ef36 ? Do you have that change in your branch? |
@asomers Maybe they did, I've cherry-picked that commit and fixed the |
For posterity looks like that commit was being tracked in #539, whoops. |
Remind me what the I'd also recommend merging/rebasing the travis branch off the current master head before too much work is done. A lot of other PR's have been merged into the main branch since the CI work started. |
Added: - arm-unknown-linux-gnueabi - arm-unknown-linux-musleabi Removed: - powerpc64-unknown-linux-gnu (not suppported by nix) - mips64el-unknown-linux-gnu (not suppported by nix) - mipsel-unknown-linux-gnu (not suppported by nix)
Removed: - mips64-unknown-linux-gnu - mips64el-unknown-linux-gnu - arm-unknown-linux-musleabi
PR #579 might help with the mips failures. |
Some entries were erroneously listed under the 0.8.0 release.
Okay, everyone, I'm planning on merging this. I've segregated out failing targets into an One thing that I should note is that I made it more explicit in the README about how well we support the various architectures. I split them into 3 tiers, in a similar vein to how Rust has 3 tiers of platform support. |
@homu r+ |
Nice work so far and good thought making it explicit in the readme what degrees of support are expected for each platform. |
Okay, let's see if this will work this time: @homu r+ |
@kamalmarhubi @posborne @fiveop Homu doesn't seem to be doing anything, but I'm not really familiar with Homu to debug this. Can any of you guys comment on why it's not working? |
Weird. Let me try! @homu r+ |
📌 Commit 56f5a0a has been approved by |
Hrm. That's upsetting. |
⚡ Test exempted - status |
Merge New CI Infrastructure Based on Trust/Cross Into Master See discussion on #528. This PR is to track the final decision of whether we are ready to merge the new CI infrastructure (and related bug fixes) back into master. Initially, we know that the branch is not ready to merge (as there are still failing tests). This PR acts as a single point of reference to get the current status of how close we are to merging things back into master. A number of issues with "TRUST CI" in the title have been created for the work that appears to be required to get us to the point where this branch can be merged.
@Susurrus I'm not sure what's up. As far as I know it should work. At the same time, Homu has a database error, and has done for a while: http://homu.io/l/ |
I will see if we can switch to bors-ng, which has a hosted version as well. |
@kamalmarhubi There's a |
🎉 🎉 I've been off the radar for a little while helping land a big change (with a bunch of Rust) at work and have been doing a very poor job of maintaining. Glad to see this land. Thank you @asomers @Susurrus @kamalmarhubi and anyone else who contributed for getting this across the finish line! |
@berkowski too! This is a heroic effort, thanks to all of you! All I did was tell @homu to merge it. :-) |
See discussion on #528. This PR is to track the final decision of whether we are ready to merge the new CI infrastructure (and related bug fixes) back into master. Initially, we know that the branch is not ready to merge (as there are still failing tests).
This PR acts as a single point of reference to get the current status of how close we are to merging things back into master. A number of issues with "TRUST CI" in the title have been created for the work that appears to be required to get us to the point where this branch can be merged.