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

Update sccache to its master branch #48647

Merged
merged 1 commit into from
Apr 4, 2018

Conversation

alexcrichton
Copy link
Member

Ideally I'd like to soon enable sccache for rustbuild itself and some of the
stage0 tools, but for that to work we'll need some better Rust support than the
pretty old version we were previously using!

@alexcrichton
Copy link
Member Author

r? @kennytm

@rust-highfive
Copy link
Collaborator

r? @nikomatsakis

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive assigned kennytm and unassigned nikomatsakis Mar 1, 2018
@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Mar 1, 2018
@kennytm
Copy link
Member

kennytm commented Mar 2, 2018

@bors r+ rollup

@bors
Copy link
Contributor

bors commented Mar 2, 2018

📌 Commit 9ca9163 has been approved by kennytm

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Mar 2, 2018
@kennytm
Copy link
Member

kennytm commented Mar 3, 2018

The new sccache prints out the stack trace in sccache.log. Could we disable it? Without symbols the stack trace is meaningless, and even with symbols the trace is so long and there are so many expected errors there it is just wasting the log space.

https://ci.appveyor.com/project/rust-lang/rust/build/1.0.6530/job/ta3n5apqrvlpcvjh

@alexcrichton
Copy link
Member Author

@bors: r-

Sure yeah, I'll look into that.

@bors bors added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Mar 3, 2018
@alexcrichton
Copy link
Member Author

@bors: r=kennytm

We haven't had a failure in so long and I believe sccache's error reporting has improved so I've removed the log printing entirely

@bors
Copy link
Contributor

bors commented Mar 4, 2018

📌 Commit 04da856 has been approved by kennytm

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Mar 4, 2018
GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this pull request Mar 6, 2018
Update sccache to its master branch

Ideally I'd like to soon enable sccache for rustbuild itself and some of the
stage0 tools, but for that to work we'll need some better Rust support than the
pretty old version we were previously using!
GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this pull request Mar 6, 2018
Update sccache to its master branch

Ideally I'd like to soon enable sccache for rustbuild itself and some of the
stage0 tools, but for that to work we'll need some better Rust support than the
pretty old version we were previously using!
Ideally I'd like to soon enable sccache for rustbuild itself and some of the
stage0 tools, but for that to work we'll need some better Rust support than the
pretty old version we were previously using!
@alexcrichton
Copy link
Member Author

@bors: r=kennytm

@bors
Copy link
Contributor

bors commented Apr 2, 2018

📌 Commit 64f7e11 has been approved by kennytm

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Apr 2, 2018
@bors
Copy link
Contributor

bors commented Apr 3, 2018

⌛ Testing commit 64f7e11 with merge 083415bfb4a44bd1660c79dfb3e89510d4240a19...

@bors
Copy link
Contributor

bors commented Apr 3, 2018

💔 Test failed - status-travis

@bors bors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Apr 3, 2018
@TimNN
Copy link
Contributor

TimNN commented Apr 3, 2018

Your PR failed on Travis. Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log.
[00:00:13] Error processing tar file(exit status 1): unexpected EOF
---
[00:00:53] Total                                           567 kB/s | 4.9 MB     00:08
[00:00:53] warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID e8562897
[00:00:53] Importing GPG key 0xE8562897 "CentOS-5 Key (CentOS 5 Official Signing Key) <[email protected]>" from /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
---
[00:00:56] --> Processing Dependency: libdl.so.2 for package: curl
[00:00:56] --> Processing Dependency: libgssapi_krb5.so.2(gssapi_krb5_2_MIT) for package: curl
---
[00:00:56] --> Processing Dependency: glibc-headers = 2.5-123.el5_11.3 for package: glibc-devel
[00:00:56] --> Processing Dependency: glibc-headers for package: glibc-devel
[00:00:56] ---> Package glibc-devel.x86_64 0:2.5-123.el5_11.3 set to be updated
[00:00:56] ---> Package make.x86_64 1:3.81-3.el5 set to be updated
[00:00:56] ---> Package perl.i386 4:5.8.8-43.el5_11 set to be updated
[00:00:57] --> Processing Dependency: libgdbm.so.2 for package: perl
[00:00:57] --> Processing Dependency: libdb-4.3.so for package: perl
[00:00:57] ---> Package perl.x86_64 4:5.8.8-43.el5_11 set to be updated
[00:00:57] ---> Package pkgconfig.x86_64 1:0.21-2.el5 set to be updated
[00:00:57] ---> Package wget.x86_64 0:1.11.4-3.el5_8.2 set to be updated
[00:00:57] ---> Package which.x86_64 0:2.16-7 set to be updated
[00:00:57] ---> Package xz.x86_64 0:4.999.9-0.3.beta.20091007git.el5 set to be updated
[00:00:57] --> Processing Dependency: xz-libs = 4.999.9-0.3.beta.20091007git.el5 for package: xz
[00:00:57] --> Processing Dependency: liblzma.so.0()(64bit) for package: xz
[00:00:57] ---> Package zlib-devel.i386 0:1.2.3-7.el5 set to be updated
[00:00:57] ---> Package zlib-devel.x86_64 0:1.2.3-7.el5 set to be updated
[00:00:57] --> Running transaction check
[00:00:57] ---> Package cpp.x86_64 0:4.1.2-55.el5 set to be updated
[00:00:57] ---> Package db4.i386 0:4.3.29-10.el5_5.2 set to be updated
[00:00:57] --> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4) for package: db4
[00:00:57] --> Processing Dependency: libstdc++.so.6(CXXABI_1.3) for package: db4
[00:00:57] --> Processing Dependency: libstdc++.so.6 for package: db4
[00:00:57] ---> Package e2fsprogs-libs.i386 0:1.39-37.el5 set to be updated
[00:00:57] --> Processing Dependency: libdevmapper.so.1.02 for package: e2fsprogs-libs
[00:00:57] ---> Package gdbm.i386 0:1.8.0-28.el5 set to be updated
[00:00:57] ---> Package glibc.i686 0:2.5-123.el5_11.3 set to be updated
---
[00:04:23] + rm -rf openssl-1.0.2k
[00:04:23] ./build-openssl.sh: line 25:  4114 Terminated              bash -c "while true; do sleep 30; echo \$(date) - building ...; done"  (wd: /tmp/openssl-1.0.2k)
[00:04:23] + ln -nsf /etc/pki/tls/cert.pem /rustroot/ssl/
---
[00:04:24] + curl http://cool.haxx.se/download/curl-7.51.0.tar.bz2
---
[00:04:27] + mkdir curl-build
[00:04:27] + cd curl-build
[00:04:27] + hide_output ../curl-7.51.0/configure --prefix=/rustroot --with-ssl=/rustroot --disable-sspi --disable-gopher --disable-smtp --disable-smb --disable-imap --disable-pop3 --disable-tftp --disable-telnet --disable-manual --disable-dict --disable-rtsp --disable-ldaps --disable-ldap
---
[00:06:38] + sed -i 's|ftp://gcc\.gnu\.org/|http://gcc.gnu.org/|g' ./contrib/download_prerequisites
---
[00:06:42] Length: 544950 (532K) [application/x-gzip]
---
[00:45:55] + curl https://www.python.org/ftp/python/2.7.12/Python-2.7.12.tgz
---
[00:45:56] + mkdir python-build
[00:45:56] + cd python-build
[00:45:56] + CFLAGS='-I /rustroot/include'
[00:45:56] + LDFLAGS='-L /rustroot/lib -L /rustroot/lib64'
[00:45:56] + hide_output ../Python-2.7.12/configure --prefix=/rustroot
---
[00:47:43] + curl -L https://www.kernel.org/pub/software/scm/git/git-2.10.0.tar.gz
---
[00:53:43] + hide_output make INSTALL_HDR_PATH=dest headers_install
[00:53:43] + set +x
[00:53:46] shared.sh: line 11:    10 Terminated              bash -c "while true; do sleep 30; echo \$(date) - building ...; done"
[00:53:46] + find dest/include '(' -name .install -o -name ..install.cmd ')' -delete
[00:53:46] ./build-headers.sh: line 21:  1199 Terminated              bash -c "while true; do sleep 30; echo \$(date) - building ...; done"
[00:53:46] + yes
[00:53:46] + cp -fr dest/include/asm dest/include/asm-generic dest/include/drm dest/include/linux dest/include/mtd dest/include/rdma dest/include/scsi dest/include/sound dest/include/video dest/include/xen /usr/include
---
The job exceeded the maximum time limit for jobs, and has been terminated.

I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact @TimNN.

@TimNN
Copy link
Contributor

TimNN commented Apr 3, 2018

Your PR failed on Travis. Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log.
[00:00:53] Total                                           567 kB/s | 4.9 MB     00:08
[00:00:53] warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID e8562897
[00:00:53] Importing GPG key 0xE8562897 "CentOS-5 Key (CentOS 5 Official Signing Key) <[email protected]>" from /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
---
[00:04:23] + rm -rf openssl-1.0.2k
[00:04:23] ./build-openssl.sh: line 25:  4114 Terminated              bash -c "while true; do sleep 30; echo \$(date) - building ...; done"  (wd: /tmp/openssl-1.0.2k)
[00:04:23] + ln -nsf /etc/pki/tls/cert.pem /rustroot/ssl/
---
[00:04:24] + curl http://cool.haxx.se/download/curl-7.51.0.tar.bz2
---
[00:04:27] + mkdir curl-build
[00:04:27] + cd curl-build
[00:04:27] + hide_output ../curl-7.51.0/configure --prefix=/rustroot --with-ssl=/rustroot --disable-sspi --disable-gopher --disable-smtp --disable-smb --disable-imap --disable-pop3 --disable-tftp --disable-telnet --disable-manual --disable-dict --disable-rtsp --disable-ldaps --disable-ldap
---
[00:06:38] + sed -i 's|ftp://gcc\.gnu\.org/|http://gcc.gnu.org/|g' ./contrib/download_prerequisites
---
[00:53:46] + find dest/include '(' -name .install -o -name ..install.cmd ')' -delete
[00:53:46] ./build-headers.sh: line 21:  1199 Terminated              bash -c "while true; do sleep 30; echo \$(date) - building ...; done"
[00:53:46] + yes
[00:53:46] + cp -fr dest/include/asm dest/include/asm-generic dest/include/drm dest/include/linux dest/include/mtd dest/include/rdma dest/include/scsi dest/include/sound dest/include/video dest/include/xen /usr/include
---
The job exceeded the maximum time limit for jobs, and has been terminated.

I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact @TimNN.

@kennytm
Copy link
Member

kennytm commented Apr 3, 2018

@bors retry

Needs time to re-cache the docker image.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Apr 3, 2018
@kennytm
Copy link
Member

kennytm commented Apr 3, 2018

@bors p=17

@bors
Copy link
Contributor

bors commented Apr 3, 2018

⌛ Testing commit 64f7e11 with merge cdec41c...

bors added a commit that referenced this pull request Apr 3, 2018
Update sccache to its master branch

Ideally I'd like to soon enable sccache for rustbuild itself and some of the
stage0 tools, but for that to work we'll need some better Rust support than the
pretty old version we were previously using!
@bors
Copy link
Contributor

bors commented Apr 3, 2018

💔 Test failed - status-appveyor

@bors bors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Apr 3, 2018
@kennytm
Copy link
Member

kennytm commented Apr 3, 2018

@bors retry

3 hour timeout from check x86_64-pc-windows-gnu

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Apr 3, 2018
@bors
Copy link
Contributor

bors commented Apr 3, 2018

⌛ Testing commit 64f7e11 with merge c75d5e2...

bors added a commit that referenced this pull request Apr 3, 2018
Update sccache to its master branch

Ideally I'd like to soon enable sccache for rustbuild itself and some of the
stage0 tools, but for that to work we'll need some better Rust support than the
pretty old version we were previously using!
@bors
Copy link
Contributor

bors commented Apr 4, 2018

☀️ Test successful - status-appveyor, status-travis
Approved by: kennytm
Pushing c75d5e2 to master...

@bors bors merged commit 64f7e11 into rust-lang:master Apr 4, 2018
@alexcrichton alexcrichton deleted the update-sccache branch April 4, 2018 01:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants