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

Break the loop #92589

Merged
merged 1 commit into from
Jan 7, 2022
Merged

Break the loop #92589

merged 1 commit into from
Jan 7, 2022

Conversation

ChrisDenton
Copy link
Member

@ChrisDenton ChrisDenton commented Jan 5, 2022

A missing break statement lead to an infinite loop in bootstrap.py.

I also added a short sleep so it's not constantly running at 100%. But I can remove that if it's not wanted.

Fixes #76661

A missing break statement lead to an infinite loop in bootstrap.py.
@rust-highfive
Copy link
Collaborator

r? @Mark-Simulacrum

(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 Jan 5, 2022
@Mark-Simulacrum
Copy link
Member

@bors r+ rollup

@bors
Copy link
Contributor

bors commented Jan 5, 2022

📌 Commit 014f22a has been approved by Mark-Simulacrum

@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 Jan 5, 2022
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Jan 5, 2022
…lacrum

Break the loop

A missing break statement lead to an infinite loop in bootstrap.py.

I also added a short sleep so it's not constantly running at 100%. But I can remove that if it's not wanted.

Fixes rust-lang#76661
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Jan 5, 2022
…lacrum

Break the loop

A missing break statement lead to an infinite loop in bootstrap.py.

I also added a short sleep so it's not constantly running at 100%. But I can remove that if it's not wanted.

Fixes rust-lang#76661
@worldeva
Copy link
Contributor

worldeva commented Jan 5, 2022

I don't think the extra sleep statement is needed: sqlite3 already waits 0.25 between retries, your core maxing out is likely due to it not blocking because you already acquired the lock.
Also, we want to return the lock out of the function so that the lock isn't released.
I don't think I can't change your commit, so here's a diff (original-new):

diff --git a/src/bootstrap/bootstrap.py b/src/bootstrap/bootstrap.py
index dc44b27c2a6..496a4dad898 100644
--- a/src/bootstrap/bootstrap.py
+++ b/src/bootstrap/bootstrap.py
@@ -41,7 +41,7 @@ def acquire_lock(build_dir):
             curs = con.cursor()
             while True:
                 try:
-                    curs.execute("BEGIN EXCLUSIVE")
+                    return curs.execute("BEGIN EXCLUSIVE")
                 except sqlite3.OperationalError:
                     pass
             return curs

Don't know when or how that return got dropped, sorry about that. >,>

@Mark-Simulacrum
Copy link
Member

@bors r-

Good catch on returning the lock.

@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 Jan 5, 2022
@Mark-Simulacrum
Copy link
Member

Oh, actually, no -- we'll already return the cursor after leaving the loop, so that seems handled. I think the extra sleep seems OK for now.

@bors r+

@bors
Copy link
Contributor

bors commented Jan 5, 2022

📌 Commit 014f22a has been approved by Mark-Simulacrum

@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 Jan 5, 2022
@ChrisDenton
Copy link
Member Author

@worldeva sorry if I'm stepping on your toes. I ran into this issue and someone suggested I submit a quick fix. I don't mind at all if you want to follow up with a PR to improve my changes,

@camelid
Copy link
Member

camelid commented Jan 6, 2022

@bors p=1 (this bug is a big pain so it'd be good to get it fixed soon)

@bors
Copy link
Contributor

bors commented Jan 6, 2022

⌛ Testing commit 014f22a with merge c8bee0001e8506c6ab218bf8df6fe61091ae0dce...

@rust-log-analyzer
Copy link
Collaborator

The job x86_64-gnu-aux failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)

failures:

---- test_reverse::prop_reverse_no_headers stdout ----
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-107]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-116]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
error: test failed, to rerun pass '--test tests'
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-140]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-156]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-176]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-191]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-207]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-217]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-228]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-244]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-260]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-272]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-285]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-299]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-318]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
thread 'main' panicked at 'tests failed for https://github.com/BurntSushi/xsv', src/tools/cargotest/main.rs:101:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-335]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-346]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-358]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-376]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-389]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-406]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-424]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-439]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-451]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-471]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-480]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-491]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-511]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-531]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-548]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-566]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-584]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-600]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-618]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-633]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-646]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-657]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-676]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-697]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-711]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-729]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-741]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-754]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-768]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-781]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-793]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-814]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-825]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-836]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-852]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-867]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-880]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-890]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-905]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-917]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-934]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-951]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-967]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-974]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-989]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-1000]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-1012]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-1027]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-1039]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-1051]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-1065]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-1074]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-1090]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-1100]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-1111]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-1125]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-1138]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-1148]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-1161]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-1171]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-1183]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-1194]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-1205]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-1217]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-1222]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-1244]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-1254]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-1265]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-1272]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-1280]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-1291]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-1302]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-1309]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-1323]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-1337]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-1351]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-1367]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-1373]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-1383]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-1393]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-1398]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-1406]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-1417]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-1431]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-1443]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
thread 'test_reverse::prop_reverse_no_headers' panicked at 'assertion failed: `(left == right)`
  left: `[[""], [""], ["$\u{2006}\u{12}C"], ["o\u{fff5}խN"], ["\u{9d}\u{2}¦"], ["©]⁐"], ["\u{8d};"], ["\u{fffff}둄\u{19}="], ["ㆽ…0D"], ["{O"], ["W"], ["\u{15}7\u{1c}"], ["\u{fbd0}m\u{84}"], [">\u{86}"], ["\u{d7c16}\u{15}\u{fff1}㩀"], ["\u{16}\u{97}"], [""], ["‹E"], ["#\u{81}\r"], ["K"], [""], [""], ["g¥‶3"], ["^⁀"], ["7:呺\u{3}"], ["$\u{9d}{"], ["\u{9b}\u{fffb}<"], ["„\u{13}'f"], [""], ["i¬\r"], ["{]"], ["⨎\\ﲰ"], ["\u{e0001}\u{e97f}"], [""]]`,
 right: `[["\u{feff}"], [""], [""], ["$\u{2006}\u{12}C"], ["o\u{fff5}խN"], ["\u{9d}\u{2}¦"], ["©]⁐"], ["\u{8d};"], ["\u{fffff}둄\u{19}="], ["ㆽ…0D"], ["{O"], ["W"], ["\u{15}7\u{1c}"], ["\u{fbd0}m\u{84}"], [">\u{86}"], ["\u{d7c16}\u{15}\u{fff1}㩀"], ["\u{16}\u{97}"], [""], ["‹E"], ["#\u{81}\r"], ["K"], [""], [""], ["g¥‶3"], ["^⁀"], ["7:呺\u{3}"], ["$\u{9d}{"], ["\u{9b}\u{fffb}<"], ["„\u{13}'f"], [""], ["i¬\r"], ["{]"], ["⨎\\ﲰ"], ["\u{e0001}\u{e97f}"], [""]]`', tests/test_reverse.rs:22:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-1522]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-1534]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
thread 'test_reverse::prop_reverse_no_headers' panicked at 'assertion failed: `(left == right)`
  left: `[[""], [""], ["$\u{2006}\u{12}C"], ["o\u{fff5}խN"], ["\u{9d}\u{2}¦"], ["©]⁐"], ["\u{8d};"], ["\u{fffff}둄\u{19}="], ["ㆽ…0D"], ["{O"], ["W"], ["\u{15}7\u{1c}"], ["\u{fbd0}m\u{84}"], [">\u{86}"], ["\u{d7c16}\u{15}\u{fff1}㩀"], ["\u{16}\u{97}"], [""]]`,
 right: `[["\u{feff}"], [""], [""], ["$\u{2006}\u{12}C"], ["o\u{fff5}խN"], ["\u{9d}\u{2}¦"], ["©]⁐"], ["\u{8d};"], ["\u{fffff}둄\u{19}="], ["ㆽ…0D"], ["{O"], ["W"], ["\u{15}7\u{1c}"], ["\u{fbd0}m\u{84}"], [">\u{86}"], ["\u{d7c16}\u{15}\u{fff1}㩀"], ["\u{16}\u{97}"], [""]]`', tests/test_reverse.rs:22:5
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-1572]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-1581]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
thread 'test_reverse::prop_reverse_no_headers' panicked at 'assertion failed: `(left == right)`
  left: `[[""], [""], ["$\u{2006}\u{12}C"], ["o\u{fff5}խN"], ["\u{9d}\u{2}¦"], ["©]⁐"], ["\u{8d};"], ["\u{fffff}둄\u{19}="]]`,
 right: `[["\u{feff}"], [""], [""], ["$\u{2006}\u{12}C"], ["o\u{fff5}խN"], ["\u{9d}\u{2}¦"], ["©]⁐"], ["\u{8d};"], ["\u{fffff}둄\u{19}="]]`', tests/test_reverse.rs:22:5
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-1604]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-1611]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
thread 'test_reverse::prop_reverse_no_headers' panicked at 'assertion failed: `(left == right)`
  left: `[[""], [""], ["$\u{2006}\u{12}C"], ["o\u{fff5}խN"]]`,
 right: `[["\u{feff}"], [""], [""], ["$\u{2006}\u{12}C"], ["o\u{fff5}խN"]]`', tests/test_reverse.rs:22:5
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-1621]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-1631]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
thread 'test_reverse::prop_reverse_no_headers' panicked at 'assertion failed: `(left == right)`
  left: `[[""], [""]]`,
 right: `[["\u{feff}"], [""], [""]]`', tests/test_reverse.rs:22:5
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-1641]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-1646]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
thread 'test_reverse::prop_reverse_no_headers' panicked at 'assertion failed: `(left == right)`
  left: `[[""]]`,
 right: `[["\u{feff}"], [""]]`', tests/test_reverse.rs:22:5
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-1659]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-1669]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
thread 'test_reverse::prop_reverse_no_headers' panicked at 'assertion failed: `(left == right)`
  left: `[]`,
 right: `[["\u{feff}"]]`', tests/test_reverse.rs:22:5
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-1676]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-1683]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-1691]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-1700]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-1709]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-1713]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-1715]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-1719]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-1723]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-1726]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-1729]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-1733]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-1735]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-1738]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-1742]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-1744]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
[/checkout/obj/build/ct/xsv/target/debug/xit/prop_reverse_no_headers/test-1747]: "/checkout/obj/build/ct/xsv/target/debug/xsv" "reverse" "in.csv" "--no-headers"
thread 'test_reverse::prop_reverse_no_headers' panicked at '[quickcheck] TEST FAILED (runtime error). Arguments: (CsvData { data: [[[239, 187, 191]]] })
Error: "assertion failed: `(left == right)`\n  left: `[]`,\n right: `[[\"\\u{feff}\"]]`"', /cargo/registry/src/github.com-1ecc6299db9ec823/quickcheck-0.7.1/src/tester.rs:176:28

failures:
    test_reverse::prop_reverse_no_headers

---
expected success, got: exit status: 101


Build completed unsuccessfully in 0:32:21
make: *** [check-aux] Error 1
Makefile:44: recipe for target 'check-aux' failed

@bors
Copy link
Contributor

bors commented Jan 6, 2022

💥 Test timed out

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

worldeva commented Jan 6, 2022

@ChrisDenton Nop, its fine- I just somehow forgot how my own code worked, haha... Thanks for catching that :p

@camelid
Copy link
Member

camelid commented Jan 6, 2022

@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 Jan 6, 2022
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Jan 6, 2022
…lacrum

Break the loop

A missing break statement lead to an infinite loop in bootstrap.py.

I also added a short sleep so it's not constantly running at 100%. But I can remove that if it's not wanted.

Fixes rust-lang#76661
bors added a commit to rust-lang-ci/rust that referenced this pull request Jan 6, 2022
…askrgr

Rollup of 8 pull requests

Successful merges:

 - rust-lang#91055 (return the correct type for closures in `type_of`)
 - rust-lang#92207 (Delay remaining `span_bug`s in drop elaboration)
 - rust-lang#92417 (Fix spacing and ordering of words in pretty printed Impl)
 - rust-lang#92504 (Exit nonzero on rustc -Wall)
 - rust-lang#92559 (RustWrapper: adapt to new AttributeMask API)
 - rust-lang#92589 (Break the loop)
 - rust-lang#92607 (rustc_metadata: Some minor cleanups and optimizations)
 - rust-lang#92620 (Remove unused `ExtendDefault` struct)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 0c9cf9a into rust-lang:master Jan 7, 2022
@rustbot rustbot added this to the 1.59.0 milestone Jan 7, 2022
@ChrisDenton ChrisDenton deleted the break-loop branch April 28, 2022 20: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.

Running "x.py check" and "x.py test" in parallel leads to errors
8 participants