Skip to content

use ignore directives for run-make tests - #57388

Merged
bors merged 1 commit into
rust-lang:masterfrom
euclio:runmake-explicit-ignore
Feb 12, 2019
Merged

use ignore directives for run-make tests#57388
bors merged 1 commit into
rust-lang:masterfrom
euclio:runmake-explicit-ignore

Conversation

@euclio

Copy link
Copy Markdown
Contributor

This makes the tests easier to read, and makes it possible to tell which
tests aren't being run on the host platform.

Fixes#56704.

@rust-highfive

This comment has been minimized.

@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jan 6, 2019
@Centril

Copy link
Copy Markdown
Contributor

r? @kennytm

Comment threadsrc/test/run-make-fulldeps/use-extern-for-plugins/Makefile Outdated
Comment threadsrc/test/run-make-fulldeps/compiler-rt-works-on-mingw/Makefile Outdated
@euclio
euclioforce-pushed the runmake-explicit-ignore branch 4 times, most recently from 49d08d4 to 0f70c06CompareJanuary 7, 2019 15:23
@kennytm

Copy link
Copy Markdown
Member

Thanks!

@bors r+

@bors

bors commented Jan 8, 2019

Copy link
Copy Markdown
Collaborator

📌 Commit 0f70c06 has been approved by kennytm

@borsbors 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 Jan 8, 2019
@bors

bors commented Jan 10, 2019

Copy link
Copy Markdown
Collaborator

⌛ Testing commit 0f70c06 with merge 3d7a20f7e9d6068b8194e366b6910bf6cf94abb7...

@bors

bors commented Jan 10, 2019

Copy link
Copy Markdown
Collaborator

💔 Test failed - status-appveyor

@borsbors 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 Jan 10, 2019
@emilyalbini

Copy link
Copy Markdown
Member

@bors retry
AppVeyor... what's wrong with you today?

@borsbors 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 Jan 10, 2019
@CentrilCentril mentioned this pull request Jan 14, 2019
@bors

bors commented Jan 14, 2019

Copy link
Copy Markdown
Collaborator

⌛ Testing commit 0f70c06 with merge cc28392...

bors added a commit that referenced this pull request Jan 14, 2019
use ignore directives for run-make tests
This makes the tests easier to read, and makes it possible to tell which
tests aren't being run on the host platform.
Fixes#56704.
@bors

bors commented Jan 14, 2019

Copy link
Copy Markdown
Collaborator

💔 Test failed - checks-travis

@borsbors removed the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Jan 14, 2019
@kennytmkennytm 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-review Status: Awaiting review from the assignee but also interested parties. labels Feb 4, 2019
@kennytm

Copy link
Copy Markdown
Member

Needs to assign an OS to target nvptx64-nvidia-cuda

@euclio
euclioforce-pushed the runmake-explicit-ignore branch from f6a59e9 to 0032debCompareFebruary 6, 2019 03:12
@euclio

Copy link
Copy Markdown
ContributorAuthor

I couldn't get the test-various image to run locally, but I wrote a test asserting that nvptx64-nvidia-cuda has the OS "cuda".

@bors r+

@bors

bors commented Feb 6, 2019

Copy link
Copy Markdown
Collaborator

📌 Commit 0032deb6199c011afba856e003273cc65b2bbc78 has been approved by euclio

@borsbors 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 Feb 6, 2019
@bors

bors commented Feb 6, 2019

Copy link
Copy Markdown
Collaborator

⌛ Testing commit 0032deb6199c011afba856e003273cc65b2bbc78 with merge d992d842da76fcdb854c79d99abc963a89337780...

@bors

bors commented Feb 6, 2019

Copy link
Copy Markdown
Collaborator

💔 Test failed - checks-travis

@rust-highfive

Copy link
Copy Markdown
Contributor

The job test-various 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.
[01:30:43] [TIMING] ToolBuild { compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" }, target: "x86_64-unknown-linux-gnu", tool: "compiletest", path: "src/tools/compiletest", mode: ToolBootstrap, is_optional_tool: false, source_type: InTree, extra_features: [] } -- 0.373
[01:30:43] travis_fold:start:test_run-make
travis_time:start:test_run-make
Check compiletest suite=run-make mode=run-make (x86_64-unknown-linux-gnu -> nvptx64-nvidia-cuda)
[01:30:43] thread 'main' panicked at 'Cannot determine Architecture from triple', src/tools/compiletest/src/util.rs:90:5
[01:30:43] [01:30:43] [01:30:43] [01:30:43] command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/compiletest" "--compile-lib-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib" "--run-lib-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/nvptx64-nvidia-cuda/lib" "--rustc-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "--src-base" "/checkout/src/test/run-make" "--build-base" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make" "--stage-id" "stage2-nvptx64-nvidia-cuda" "--mode" "run-make" "--target" "nvptx64-nvidia-cuda" "--host" "x86_64-unknown-linux-gnu" "--llvm-filecheck" "/checkout/obj/build/x86_64-unknown-linux-gnu/llvm/build/bin/FileCheck" "--nodejs" "/node-v9.2.0-linux-x64/bin/node" "--host-rustcflags" "-Crpath -O -Zunstable-options -Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--target-rustcflags" "-Crpath -O -Zunstable-options -Lnative=/checkout/obj/build/nvptx64-nvidia-cuda/native/rust-test-helpers" "--docck-python" "/usr/bin/python2.7" "--lldb-python" "/usr/bin/python2.7" "--gdb" "/usr/bin/gdb" "--llvm-version" "8.0.0\n" "--cc" "" "--cxx" "" "--cflags" "" "--llvm-components" "" "--llvm-cxxflags" "" "--adb-path" "adb" "--adb-test-dir" "/data/tmp/work" "--android-cross-path" "" "--color" "always"
[01:30:43] [01:30:43] [01:30:43] failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test --target nvptx64-nvidia-cuda src/test/run-make
[01:30:43] Build completed unsuccessfully in 0:00:39
---
travis_time:end:00fc3a12:start=1549474963852691286,finish=1549474963879381614,duration=26690328
travis_fold:end:after_failure.3
travis_fold:start:after_failure.4
travis_time:start:0a8a3bd0
$ 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:07d6fca7
travis_time:start:07d6fca7
$ 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:0f9f8cb0
$ 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)

@borsbors 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 Feb 6, 2019
@kennytmkennytm 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-review Status: Awaiting review from the assignee but also interested parties. labels Feb 7, 2019
@kennytm

Copy link
Copy Markdown
Member
Check compiletest suite=run-make mode=run-make (x86_64-unknown-linux-gnu -> nvptx64-nvidia-cuda)
[01:30:43] thread 'main' panicked at 'Cannot determine Architecture from triple', src/tools/compiletest/src/util.rs:90:5

This makes the tests easier to read, and makes it possible to tell which
tests aren't being run on the host platform.
Fixesrust-lang#56704.
@euclio
euclioforce-pushed the runmake-explicit-ignore branch from 0032deb to f15d20cCompareFebruary 11, 2019 22:02
@euclio

Copy link
Copy Markdown
ContributorAuthor

Still having issues with running the docker images locally, but I've added an OS for "x86_64-fortanix-unknown-sgx" (sgx) and an architecture for "nvptx64-nvidia-cuda" (cuda).

@kennytm

Copy link
Copy Markdown
Member

@bors r+

@bors

bors commented Feb 12, 2019

Copy link
Copy Markdown
Collaborator

📌 Commit f15d20c has been approved by kennytm

@borsbors 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 Feb 12, 2019
@bors

bors commented Feb 12, 2019

Copy link
Copy Markdown
Collaborator

⌛ Testing commit f15d20c with merge a54b5c7...

bors added a commit that referenced this pull request Feb 12, 2019
use ignore directives for run-make tests
This makes the tests easier to read, and makes it possible to tell which
tests aren't being run on the host platform.
Fixes#56704.
@bors

bors commented Feb 12, 2019

Copy link
Copy Markdown
Collaborator

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

@borsbors added the merged-by-bors This PR was explicitly merged by bors. label Feb 12, 2019
@bors
bors merged commit f15d20c into rust-lang:masterFeb 12, 2019
@euclio
euclio deleted the runmake-explicit-ignore branch February 12, 2019 17:39
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merged-by-borsThis PR was explicitly merged by bors.S-waiting-on-borsStatus: 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.

7 participants

@euclio@rust-highfive@Centril@kennytm@bors@emilyalbini@nikomatsakis