-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
poky + remote-test-client = test failures? #122285
Comments
The The piece of code corresponding to above failure is present at
More details of backtrace are as follows:
|
Is there any update regarding this issue? |
By looking at the full log, IIUC there's one test failing: I've tried running that test alone (with a @Yashinde145 can you reproduce on any other target? (Just making sure it's not related to your poky target, which seems unlikely). EDIT: replying to myself. That test fails also for me but in a different way, so I guess unrelated Error details---- [run-make] tests/run-make/libtest-junit stdout ---- error: make failed status: exit status: 2 command: cd "/home/me/rust/tests/run-make/libtest-junit" && env -u CARGO_MAKEFLAGS -u MAKEFLAGS -u MFLAGS -u RUSTFLAGS AR="ar" CC="cc -ffunction-sections -fdata-sections -fPIC -m64" CXX="c++ -ffunction-sections -fdata-sections -fPIC -m64" HOST_RPATH_DIR="/home/me/rust/build/x86_64-unknown-linux-gnu/stage2/lib" LD_LIB_PATH_ENVVAR="LD_LIBRARY_PATH" LLVM_BIN_DIR="/home/me/rust/build/x86_64-unknown-linux-gnu/llvm/bin" LLVM_COMPONENTS="aarch64 aarch64asmparser aarch64codegen aarch64desc aarch64disassembler aarch64info aarch64utils aggressiveinstcombine all all-targets analysis arm armasmparser armcodegen armdesc armdisassembler arminfo armutils asmparser asmprinter avr avrasmparser avrcodegen avrdesc avrdisassembler avrinfo binaryformat bitreader bitstreamreader bitwriter bpf bpfasmparser bpfcodegen bpfdesc bpfdisassembler bpfinfo cfguard codegen codegentypes core coroutines coverage csky cskyasmparser cskycodegen cskydesc cskydisassembler cskyinfo debuginfobtf debuginfocodeview debuginfodwarf debuginfogsym debuginfologicalview debuginfomsf debuginfopdb demangle dlltooldriver dwarflinker dwarflinkerclassic dwarflinkerparallel dwp engine executionengine extensions filecheck frontenddriver frontendhlsl frontendoffloading frontendopenacc frontendopenmp fuzzercli fuzzmutate globalisel hexagon hexagonasmparser hexagoncodegen hexagondesc hexagondisassembler hexagoninfo hipstdpar instcombine instrumentation interfacestub interpreter ipo irprinter irreader jitlink libdriver lineeditor linker loongarch loongarchasmparser loongarchcodegen loongarchdesc loongarchdisassembler loongarchinfo lto m68k m68kasmparser m68kcodegen m68kdesc m68kdisassembler m68kinfo mc mca mcdisassembler mcjit mcparser mips mipsasmparser mipscodegen mipsdesc mipsdisassembler mipsinfo mirparser msp430 msp430asmparser msp430codegen msp430desc msp430disassembler msp430info native nativecodegen nvptx nvptxcodegen nvptxdesc nvptxinfo objcarcopts objcopy object objectyaml option orcdebugging orcjit orcshared orctargetprocess passes powerpc powerpcasmparser powerpccodegen powerpcdesc powerpcdisassembler powerpcinfo profiledata remarks riscv riscvasmparser riscvcodegen riscvdesc riscvdisassembler riscvinfo riscvtargetmca runtimedyld scalaropts selectiondag sparc sparcasmparser sparccodegen sparcdesc sparcdisassembler sparcinfo support symbolize systemz systemzasmparser systemzcodegen systemzdesc systemzdisassembler systemzinfo tablegen target targetparser textapi textapibinaryreader transformutils vectorize webassembly webassemblyasmparser webassemblycodegen webassemblydesc webassemblydisassembler webassemblyinfo webassemblyutils windowsdriver windowsmanifest x86 x86asmparser x86codegen x86desc x86disassembler x86info x86targetmca xray" LLVM_FILECHECK="/home/me/rust/build/x86_64-unknown-linux-gnu/llvm/build/bin/FileCheck" NODE="/usr/bin/node" PYTHON="/usr/bin/python3" RUSTC="/home/me/rust/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUSTC_BLESS_TEST="--bless" RUSTDOC="/home/me/rust/build/x86_64-unknown-linux-gnu/stage2/bin/rustdoc" RUST_BUILD_STAGE="stage2-x86_64-unknown-linux-gnu" S="/home/me/rust" TARGET="x86_64-unknown-linux-gnu" TARGET_RPATH_DIR="/home/me/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib" TMPDIR="/home/me/rust/build/x86_64-unknown-linux-gnu/test/run-make/libtest-junit/libtest-junit" "make" --- stdout ------------------------------- LD_LIBRARY_PATH="/home/me/rust/build/x86_64-unknown-linux-gnu/test/run-make/libtest-junit/libtest-junit:/home/me/rust/build/x86_64-unknown-linux-gnu/stage2/lib:/home/me/rust/build/x86_64-unknown-linux-gnu/stage0-bootstrap-tools/x86_64-unknown-linux-gnu/release/deps:/home/me/rust/build/x86_64-unknown-linux-gnu/stage0/lib" '/home/me/rust/build/x86_64-unknown-linux-gnu/stage2/bin/rustc' --out-dir /home/me/rust/build/x86_64-unknown-linux-gnu/test/run-make/libtest-junit/libtest-junit -L /home/me/rust/build/x86_64-unknown-linux-gnu/test/run-make/libtest-junit/libtest-junit -Ainternal_features --test f.rs RUST_BACKTRACE=0 LD_LIBRARY_PATH="/home/me/rust/build/x86_64-unknown-linux-gnu/test/run-make/libtest-junit/libtest-junit:/home/me/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib:/home/me/rust/build/x86_64-unknown-linux-gnu/stage0-bootstrap-tools/x86_64-unknown-linux-gnu/release/deps:/home/me/rust/build/x86_64-unknown-linux-gnu/stage0/lib" /home/me/rust/build/x86_64-unknown-linux-gnu/test/run-make/libtest-junit/libtest-junit/f -Z unstable-options --test-threads=1 --format=junit > /home/me/rust/build/x86_64-unknown-linux-gnu/test/run-make/libtest-junit/libtest-junit/libtest-junit-output-default.xml || true RUST_BACKTRACE=0 LD_LIBRARY_PATH="/home/me/rust/build/x86_64-unknown-linux-gnu/test/run-make/libtest-junit/libtest-junit:/home/me/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib:/home/me/rust/build/x86_64-unknown-linux-gnu/stage0-bootstrap-tools/x86_64-unknown-linux-gnu/release/deps:/home/me/rust/build/x86_64-unknown-linux-gnu/stage0/lib" /home/me/rust/build/x86_64-unknown-linux-gnu/test/run-make/libtest-junit/libtest-junit/f -Z unstable-options --test-threads=1 --format=junit --show-output > /home/me/rust/build/x86_64-unknown-linux-gnu/test/run-make/libtest-junit/libtest-junit/libtest-junit-output-stdout-success.xml || true cat /home/me/rust/build/x86_64-unknown-linux-gnu/test/run-make/libtest-junit/libtest-junit/libtest-junit-output-default.xml | "/usr/bin/python3" validate_junit.py Invalid xml: 'print from successful test\n' ------------------------------------------ --- stderr ------------------------------- thread 'b' panicked at f.rs:10:5: assertion failed: false note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace thread 'c' panicked at f.rs:16:5: assertion failed: false thread 'b' panicked at f.rs:10:5: assertion failed: false note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace thread 'c' panicked at f.rs:16:5: assertion failed: false Traceback (most recent call last): File "/home/me/rust/tests/run-make/libtest-junit/validate_junit.py", line 9, in ET.fromstring(line) File "/usr/lib/python3.11/xml/etree/ElementTree.py", line 1345, in XML parser.feed(text) xml.etree.ElementTree.ParseError: syntax error: line 1, column 38 make: *** [Makefile:14: all] Error 1 ------------------------------------------ |
@apiraino , Thanks for looking into it.
When I checked with other target (x86_64-unknown-linux-gnu), I was unable to run the test alone using
Then I ran the complete test suite but the logs didn't show any details about the test case or even that test module. EDIT: @apiraino, any updates? Thanks. |
@onur-ozkan , Can you please assist me with this? I can ignore the test at
I tried a few ways to fix this but no luck. |
I don't have enough time to assist you with this task at the moment. However, I would prefer to fix the tests rather than ignore them. |
Is there someone in the rust team whom I can contact regarding this issue? |
compiler and bootstrap teams can help. |
In the original test you cited an issue with, there is a panic because of this: let mut blessed = PathBuf::new();
blessed.extend(OUTPUT_PATH); Yes, this fails: if std::fs::read(blessed).unwrap() != output { But it fails because there's no file there. It's looking at: const OUTPUT_PATH: &[&str] =
&[env!("CARGO_MANIFEST_DIR"), "src", "markdown", "tests", "output.stdout"]; What is the environment variable |
This seems to be another issue with the yocto/poky build code. It has not been correctly identified as a regression, as we track regressions relative to our repository, not yours. @rustbot label: -I-prioritize -regression-untriaged |
There are two problems here:
This combination of facts removes the remaining evidence that this is a bug, at least with respect to our source code. It seems to, instead, be software that is working according to the command of those that have patched it. 🎵 If you replace the working parts, what you get is a different machine. 🎵 I am closing this issue. I can think of two situations which justify reopening it:
There may be others. In any case, even if something changes that justifies revisiting this issue, it might be best to open a new issue, or pair of issues, or trio of issues or more, so as to keep these requests focused and minimize unnecessary overlap with other issues. @rustbot label: -C-bug +S-needs-repro |
After building and testing rustc bootstrap build via cmd
python3 src/bootstrap/bootstrap.py test --exclude<some excluded test cases list> --no-fail-fast --bless --target x86_64-poky-linux-gnu
, some unit test fail as follows and the build test is unsuccessful.This failing cases should be fixed to successfully run the rustc build.
Full log for more details: log_1_76_without_doc_flag.txt
https://gist.github.com/Yashinde145/036a934f0523307859f7c855b83ecfd6/raw/f7bc4558eed66a10b65bb915f292ae166d3bb52a/log_1_76_without_doc_flag.txt
The text was updated successfully, but these errors were encountered: