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

std: Add debugging for a failing test on appveyor #56017

Merged
merged 1 commit into from
Nov 18, 2018

Conversation

alexcrichton
Copy link
Member

I'm not sure why this is failing, so let's hopefully get some more
information to help investigation!

@rust-highfive
Copy link
Collaborator

r? @cramertj

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

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Nov 17, 2018
@alexcrichton
Copy link
Member Author

cc @kennytm

@alexcrichton
Copy link
Member Author

@bors: r+ p=100

@bors
Copy link
Contributor

bors commented Nov 17, 2018

📌 Commit d12de8f has been approved by alexcrichton

@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 Nov 17, 2018
@RalfJung
Copy link
Member

RalfJung commented Nov 17, 2018

My theory is that the test runner is so slow that it just takes more than 100ns between the two measurements of the current system time.

kennytm added a commit to kennytm/rust that referenced this pull request Nov 17, 2018
…hton

std: Add debugging for a failing test on appveyor

I'm not sure why this is failing, so let's hopefully get some more
information to help investigation!
@bors
Copy link
Contributor

bors commented Nov 17, 2018

⌛ Testing commit d12de8f with merge c3d4dde803e05ce5ac5d8362da16351820fc4931...

@bors
Copy link
Contributor

bors commented Nov 17, 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 Nov 17, 2018
I'm not sure why this is failing, so let's hopefully get some more
information to help investigation!
@alexcrichton
Copy link
Member Author

@bors: r+

@RalfJung that doesn't match up with the test, which doesn't rely on how long it takes between measurements. It calculates the difference between two measurements and ensure that the difference can be added/subtracted to the measurement to get the other.

@bors
Copy link
Contributor

bors commented Nov 18, 2018

📌 Commit 7a99b6d has been approved by alexcrichton

@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 Nov 18, 2018
@bors
Copy link
Contributor

bors commented Nov 18, 2018

⌛ Testing commit 7a99b6d with merge 2e0c99e9b66278c539bcb1981f8fa19d7e822db5...

@bors
Copy link
Contributor

bors commented Nov 18, 2018

💔 Test failed - status-travis

@rust-highfive
Copy link
Collaborator

The job dist-powerpc64-linux of your PR failed on Travis (raw log). 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.
Building stage2 tool cargo (powerpc64-unknown-linux-gnu)
[01:12:18]  Downloading crates ...
[01:12:39] warning: spurious network error (2 tries remaining): [6] Couldn't resolve host name (Could not resolve host: crates.io)
[01:12:59] warning: spurious network error (1 tries remaining): [6] Couldn't resolve host name (Could not resolve host: crates.io)
[01:13:19] error: failed to download from `https://crates.io/api/v1/crates/openssl-src/111.0.1+1.1.1/download`
[01:13:19] Caused by:
[01:13:19]   [6] Couldn't resolve host name (Could not resolve host: crates.io)
[01:13:19] command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "build" "--target" "powerpc64-unknown-linux-gnu" "-j" "4" "--release" "--locked" "--color" "always" "--manifest-path" "/checkout/src/tools/cargo/Cargo.toml" "--features" "rustc-workspace-hack/all-static" "--message-format" "json"
[01:13:19] expected success, got: exit code: 101
---
travis_time:end:01456676:start=1542523426287567251,finish=1542523426295985375,duration=8418124
travis_fold:end:after_failure.3
travis_fold:start:after_failure.4
travis_time:start:0a67bfa1
$ ln -s . checkout && for CORE in obj/cores/core.*; do EXE=$(echo $CORE | sed 's|obj/cores/core\.[0-9]*\.!checkout!\(.*\)|\1|;y|!|/|'); if [ -f "$EXE" ]; then printf travis_fold":start:crashlog\n\033[31;1m%s\033[0m\n" "$CORE"; gdb --batch -q -c "$CORE" "$EXE" -iex 'set auto-load off' -iex 'dir src/' -iex 'set sysroot .' -ex bt -ex q; echo travis_fold":"end:crashlog; fi; done || true
travis_fold:end:after_failure.4
travis_fold:start:after_failure.5
travis_time:start:1916e6c2
travis_time:start:1916e6c2
$ cat ./obj/build/x86_64-unknown-linux-gnu/native/asan/build/lib/asan/clang_rt.asan-dynamic-i386.vers || true
cat: ./obj/build/x86_64-unknown-linux-gnu/native/asan/build/lib/asan/clang_rt.asan-dynamic-i386.vers: No such file or directory
travis_fold:end:after_failure.5
travis_fold:start:after_failure.6
travis_time:start:0c73146c
$ dmesg | grep -i kill

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. (Feature Requests)

@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 Nov 18, 2018
@kennytm
Copy link
Member

kennytm commented Nov 18, 2018

@bors retry travis-ci/travis-ci#9696

@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 Nov 18, 2018
@RalfJung
Copy link
Member

@alexcrichton Ah, I misread the code.

@bors
Copy link
Contributor

bors commented Nov 18, 2018

⌛ Testing commit 7a99b6d with merge 49c7597...

bors added a commit that referenced this pull request Nov 18, 2018
std: Add debugging for a failing test on appveyor

I'm not sure why this is failing, so let's hopefully get some more
information to help investigation!
@bors
Copy link
Contributor

bors commented Nov 18, 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 Nov 18, 2018
@alexcrichton
Copy link
Member Author

@bors: retry

@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 Nov 18, 2018
@bors
Copy link
Contributor

bors commented Nov 18, 2018

⌛ Testing commit 7a99b6d with merge 5f2dcf40df7b5a061ca9548b291cd5c35c813d54...

@bors
Copy link
Contributor

bors commented Nov 18, 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 Nov 18, 2018
@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 Nov 18, 2018
@bors
Copy link
Contributor

bors commented Nov 18, 2018

⌛ Testing commit 7a99b6d with merge 13c9439...

bors added a commit that referenced this pull request Nov 18, 2018
std: Add debugging for a failing test on appveyor

I'm not sure why this is failing, so let's hopefully get some more
information to help investigation!
@bors
Copy link
Contributor

bors commented Nov 18, 2018

☀️ Test successful - status-appveyor, status-travis
Approved by: alexcrichton
Pushing 13c9439 to master...

@bors bors merged commit 7a99b6d into rust-lang:master Nov 18, 2018
@alexcrichton alexcrichton deleted the debug-test branch November 26, 2018 04:27
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.

6 participants