Skip to content

'debuginfo-lldb/union-smoke.rs' failing for me on master #37479

Closed
@frewsxcv

Description

@frewsxcv
failures:

---- [debuginfo-lldb] debuginfo-lldb/union-smoke.rs stdout ----
    NOTE: compiletest thinks it is using LLDB version 360

error: line not found in debugger output: [...]$0 = { a = ('\x02', '\x02') b = 514 }
status: exit code: 0
command: "/usr/bin/python" "/Users/coreyf/Development/rust/rust/src/etc/lldb_batchmode.py" "/Users/coreyf/Development/rust/rust/build/x86_64-apple-darwin/test/debuginfo/union-smoke.stage2-x86_64-apple-darwin" "/Users/coreyf/Development/rust/rust/build/x86_64-apple-darwin/test/debuginfo/union-smoke.debugger.script"
stdout:
------------------------------------------
LLDB batch-mode script
----------------------
Debugger commands script is '/Users/coreyf/Development/rust/rust/build/x86_64-apple-darwin/test/debuginfo/union-smoke.debugger.script'.
Target executable is '/Users/coreyf/Development/rust/rust/build/x86_64-apple-darwin/test/debuginfo/union-smoke.stage2-x86_64-apple-darwin'.
Current working directory is '/Users/coreyf/Development/rust/rust'
Creating a target for '/Users/coreyf/Development/rust/rust/build/x86_64-apple-darwin/test/debuginfo/union-smoke.stage2-x86_64-apple-darwin'
settings set auto-confirm true

version
lldb-360.1.50
command script import /Users/coreyf/Development/rust/rust/./src/etc/lldb_rust_formatters.py
type summary add --no-value --python-function lldb_rust_formatters.print_val -x ".*" --category Rust
type category enable Rust

breakpoint set --file 'union-smoke.rs' --line 47
Breakpoint 1: where = union-smoke.stage2-x86_64-apple-darwin`union_smoke::main + 44 at union-smoke.rs:47, address = 0x0000000100000eac
run
Hit breakpoint 1.1: where = union-smoke.stage2-x86_64-apple-darwin`union_smoke::main + 44 at union-smoke.rs:47, address = 0x0000000100000eac, resolved, hit count = 1
Process 11207 stopped * thread #1: tid = 0x1936db, 0x0000000100000eac union-smoke.stage2-x86_64-apple-darwin`union_smoke::main + 44 at union-smoke.rs:47, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1 frame #0: 0x0000000100000eac union-smoke.stage2-x86_64-apple-darwin`union_smoke::main + 44 at union-smoke.rs:47 44 let u = U { b: (2 << 8) + 2 }; 45 unsafe { SU = U { a: (1, 1) } } 46 -> 47 zzz(); // #break 48 } 49 50 fn zzz() {()} Process 11207 launched: '/Users/coreyf/Development/rust/rust/build/x86_64-apple-darwin/test/debuginfo/union-smoke.stage2-x86_64-apple-darwin' (x86_64)
print u
(union_smoke::U) $0 = None
print union_smoke::SU
(union_smoke::U) $1 = 257
quit


------------------------------------------
stderr:
------------------------------------------

------------------------------------------

thread '[debuginfo-lldb] debuginfo-lldb/union-smoke.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:2377
note: Run with `RUST_BACKTRACE=1` for a backtrace.


failures:
    [debuginfo-lldb] debuginfo-lldb/union-smoke.rs

test result: FAILED. 95 passed; 1 failed; 10 ignored; 0 measured

thread 'main' panicked at 'Some tests failed', src/tools/compiletest/src/main.rs:298


command did not execute successfully: "/Users/coreyf/Development/rust/rust/build/x86_64-apple-darwin/stage2-tools/x86_64-apple-darwin/release/compiletest" "--compile-lib-path" "/Users/coreyf/Development/rust/rust/build/x86_64-apple-darwin/stage2/lib" "--run-lib-path" "/Users/coreyf/Development/rust/rust/build/x86_64-apple-darwin/stage2/lib/rustlib/x86_64-apple-darwin/lib" "--rustc-path" "/Users/coreyf/Development/rust/rust/build/x86_64-apple-darwin/stage2/bin/rustc" "--rustdoc-path" "/Users/coreyf/Development/rust/rust/build/x86_64-apple-darwin/stage2/bin/rustdoc" "--src-base" "/Users/coreyf/Development/rust/rust/src/test/debuginfo" "--build-base" "/Users/coreyf/Development/rust/rust/build/x86_64-apple-darwin/test/debuginfo" "--stage-id" "stage2-x86_64-apple-darwin" "--mode" "debuginfo-lldb" "--target" "x86_64-apple-darwin" "--host" "x86_64-apple-darwin" "--llvm-filecheck" "/Users/coreyf/Development/rust/rust/build/x86_64-apple-darwin/llvm/build/bin/FileCheck" "--nodejs" "/usr/local/bin/node" "--host-rustcflags" "-Crpath -O" "--target-rustcflags" "-Crpath -O -Lnative=/Users/coreyf/Development/rust/rust/build/x86_64-apple-darwin/rust-test-helpers" "--docck-python" "python" "--lldb-python" "/usr/bin/python" "--gdb-version" "GNU gdb (GDB) 7.12" "--lldb-version" "lldb-360.1.50" "--lldb-python-dir" "/Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Resources/Python" "--llvm-version" "3.9.0\n" "--cc" "" "--cxx" "" "--cflags" "" "--llvm-components" "" "--llvm-cxxflags" "" "--adb-path" "adb" "--adb-test-dir" "/data/tmp" "--android-cross-path" ""
expected success, got: exit code: 101

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-debuginfoArea: Debugging information in compiled programs (DWARF, PDB, etc.)O-macosOperating system: macOS

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions