Skip to content

tests/debuginfo/function-call.rs + gdb is flaky #159073

Description

@jieyouxu

See:

PR CI failure comment (web) (plain enhanced) CPU model
#158931 #158931 (comment) https://github.com/rust-lang/rust/actions/runs/29035046402/job/86177925841 https://triage.rust-lang.org/gha-logs/rust-lang/rust/86177925841 INTEL(R) XEON(R) PLATINUM 8573C
#159047 #159047 (comment) https://github.com/rust-lang/rust/actions/runs/29071035393/job/86292465103 https://triage.rust-lang.org/gha-logs/rust-lang/rust/86292465103 INTEL(R) XEON(R) PLATINUM 8573C
#159293 #159293 (comment) https://github.com/rust-lang/rust/actions/runs/29362295249/job/87185362318 https://triage.rust-lang.org/gha-logs/rust-lang/rust/87185362318 INTEL(R) XEON(R) PLATINUM 8573C
#159276 #159276 (comment) https://github.com/rust-lang/rust/actions/runs/29320620909/job/87045006147 https://triage.rust-lang.org/gha-logs/rust-lang/rust/87045006147 Intel(R) Xeon(R) 6973P-C
#159072 #159072 (comment) https://github.com/rust-lang/rust/actions/runs/29316199333/job/87030877498 https://triage.rust-lang.org/gha-logs/rust-lang/rust/87030877498 INTEL(R) XEON(R) PLATINUM 8573C
#159222 #159222 (comment) https://github.com/rust-lang/rust/actions/runs/29292232498/job/86958237691 https://triage.rust-lang.org/gha-logs/rust-lang/rust/86958237691 INTEL(R) XEON(R) PLATINUM 8573C
#159170 #159170 (comment) https://github.com/rust-lang/rust/actions/runs/29185777587/job/86631555877 https://triage.rust-lang.org/gha-logs/rust-lang/rust/86631555877 INTEL(R) XEON(R) PLATINUM 8573C
#159132 #159132 (comment) https://github.com/rust-lang/rust/actions/runs/29156939126/job/86555558952 https://triage.rust-lang.org/gha-logs/rust-lang/rust/86555558952 INTEL(R) XEON(R) PLATINUM 8573C
#159148 #159148 (comment) https://github.com/rust-lang/rust/actions/runs/29172128652/job/86594996763 https://triage.rust-lang.org/gha-logs/rust-lang/rust/86594996763 INTEL(R) XEON(R) PLATINUM 8573C
#159095 #159095 (comment) https://github.com/rust-lang/rust/actions/runs/29115859212/job/86439098730 https://triage.rust-lang.org/gha-logs/rust-lang/rust/86439098730 INTEL(R) XEON(R) PLATINUM 8573C
#157690 #157690 (comment) https://github.com/rust-lang/rust/actions/runs/29021418152/job/86129496546 https://triage.rust-lang.org/gha-logs/rust-lang/rust/86129496546 INTEL(R) XEON(R) PLATINUM 8573C
#158141 #158141 (comment) https://github.com/rust-lang/rust/actions/runs/27869740006/job/82479691238 https://triage.rust-lang.org/gha-logs/rust-lang/rust/82479691238 Intel(R) Xeon(R) 6973P-C
#158239 #158239 (comment) https://github.com/rust-lang/rust/actions/runs/28097621973/job/83191135546 https://triage.rust-lang.org/gha-logs/rust-lang/rust/83191135546 INTEL(R) XEON(R) PLATINUM 8573C
#158141 #158141 (comment) https://github.com/rust-lang/rust/actions/runs/27869740006/job/82479691238 https://triage.rust-lang.org/gha-logs/rust-lang/rust/82479691238 Intel(R) Xeon(R) 6973P-C
#158524 #158524 (comment) https://github.com/rust-lang/rust/actions/runs/28325715773/job/83915335941 https://triage.rust-lang.org/gha-logs/rust-lang/rust/83915335941 INTEL(R) XEON(R) PLATINUM 8573C
#158335 #158335 (comment) https://github.com/rust-lang/rust/actions/runs/28065824248/job/83089884985 https://triage.rust-lang.org/gha-logs/rust-lang/rust/83089884985 INTEL(R) XEON(R) PLATINUM 8573C
#158720 #158720 (comment) https://github.com/rust-lang/rust/actions/runs/29325361078/job/87060438014 https://triage.rust-lang.org/gha-logs/rust-lang/rust/87060438014 Intel(R) Xeon(R) 6973P-C
#158871 #158871 (comment) https://github.com/rust-lang/rust/actions/runs/28954719693/job/85910877152 https://triage.rust-lang.org/gha-logs/rust-lang/rust/85910877152 INTEL(R) XEON(R) PLATINUM 8573C
#158899 #158899 (comment) https://github.com/rust-lang/rust/actions/runs/29058702880/job/86255757993 https://triage.rust-lang.org/gha-logs/rust-lang/rust/86255757993 INTEL(R) XEON(R) PLATINUM 8573C
#158931 #158931 (comment) https://github.com/rust-lang/rust/actions/runs/29035046402/job/86177925841 https://triage.rust-lang.org/gha-logs/rust-lang/rust/86177925841 INTEL(R) XEON(R) PLATINUM 8573C
#158945 #158945 (comment) https://github.com/rust-lang/rust/actions/runs/29130006949/job/86483485337 https://triage.rust-lang.org/gha-logs/rust-lang/rust/86483485337 INTEL(R) XEON(R) PLATINUM 8573C
/checkout/obj/build/x86_64-unknown-linux-gnu/test/debuginfo/function-call.gdb/function-call.debugger.script:11: Error in sourced command file:
Couldn't write extended state status: Bad address.
Log
---- [debuginfo-gdb] tests/debuginfo/function-call.rs stdout ----
NOTE: compiletest thinks it is using GDB version 12001000
------gdb stdout------------------------------
GNU gdb (Ubuntu 12.1-0ubuntu1~22.04.2) 12.1
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
Breakpoint 1 at 0x1b42: file /checkout/tests/debuginfo/function-call.rs, line 36.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Breakpoint 1, function_call::main () at /checkout/tests/debuginfo/function-call.rs:36
36	    zzz(); // #break
------gdb stderr------------------------------
/checkout/obj/build/x86_64-unknown-linux-gnu/test/debuginfo/function-call.gdb/function-call.debugger.script:11: Error in sourced command file:
Couldn't write extended state status: Bad address.
------------------------------------------
error: gdb failed to execute
status: exit status: 1
command: PYTHONPATH="/checkout/src/etc" "/usr/bin/gdb" "-quiet" "-batch" "-nx" "-command=/checkout/obj/build/x86_64-unknown-linux-gnu/test/debuginfo/function-call.gdb/function-call.debugger.script"
--- stdout -------------------------------
GNU gdb (Ubuntu 12.1-0ubuntu1~22.04.2) 12.1
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
Breakpoint 1 at 0x1b42: file /checkout/tests/debuginfo/function-call.rs, line 36.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Breakpoint 1, function_call::main () at /checkout/tests/debuginfo/function-call.rs:36
36	    zzz(); // #break
------------------------------------------
--- stderr -------------------------------
/checkout/obj/build/x86_64-unknown-linux-gnu/test/debuginfo/function-call.gdb/function-call.debugger.script:11: Error in sourced command file:
Couldn't write extended state status: Bad address.
------------------------------------------
---- [debuginfo-gdb] tests/debuginfo/function-call.rs stdout end ----
failures:
    [debuginfo-gdb] tests/debuginfo/function-call.rs
test result: FAILED. 148 passed; 1 failed; 24 ignored; 0 measured; 0 filtered out; finished in 9.02s
Some tests failed in compiletest suite=debuginfo mode=debuginfo host=x86_64-unknown-linux-gnu target=x86_64-unknown-linux-gnu
Bootstrap failed while executing `--stage 2 test`
Build completed unsuccessfully in 0:34:52

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-debuggersArea: debuggers themselves (gdc, lldb, cdb, WinDbg, etc.)A-debuggers-gdbArea: gdbA-testsuiteArea: The testsuite used to check the correctness of rustcC-bugCategory: This is a bug.I-flaky-testIssue: A test is flaky/unreliable/spuriously failsT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions