Buildbot now is commenting PRs when built a single commit and detected a build or tests failure (when a builder goes from green to red).
Here is an example of such comment:
https://github.com/llvm/llvm-project/pull//95942#issuecomment-2183087642
We are still tuning up the relevant log chunk extraction, but the functionality is there and running.
Please let me know if you see issues.
10 Likes
I see LLDB flaky tests creating some noise:
llvm:main
← llvm:revert-95025-clang-format/template-template
LLVM Buildbot has detected a new failure on builder `lldb-arm-ubuntu` running on… `linaro-lldb-arm-ubuntu` while building `clang` at step 6 "test".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/18/builds/382
Here is the relevant piece of the build log for the reference:
```
Step 6 (test) failure: build (failure)
...
PASS: lldb-api :: python_api/sbvalue_synthetic/TestSBValueSynthetic.py (1054 of 2732)
PASS: lldb-api :: python_api/sbvalue_persist/TestSBValuePersist.py (1055 of 2732)
PASS: lldb-api :: python_api/sbvalue_const_addrof/TestSBValueConstAddrOf.py (1056 of 2732)
PASS: lldb-api :: python_api/section/TestSectionAPI.py (1057 of 2732)
PASS: lldb-api :: python_api/signals/TestSignalsAPI.py (1058 of 2732)
PASS: lldb-api :: python_api/sbvalue_unsigned_enum_bitfield_value/TestSBValueUnsignedEnumBitField.py (1059 of 2732)
UNSUPPORTED: lldb-api :: python_api/target-arch-from-module/TestTargetArchFromModule.py (1060 of 2732)
PASS: lldb-api :: python_api/symbol-context/TestSymbolContext.py (1061 of 2732)
PASS: lldb-api :: python_api/symbol-context/two-files/TestSymbolContextTwoFiles.py (1062 of 2732)
UNRESOLVED: lldb-api :: python_api/thread/TestThreadAPI.py (1063 of 2732)
******************** TEST 'lldb-api :: python_api/thread/TestThreadAPI.py' FAILED ********************
Script:
--
/usr/bin/python3.8 /home/tcwg-buildbot/worker/lldb-arm-ubuntu/llvm-project/lldb/test/API/dotest.py -u CXXFLAGS -u CFLAGS --env ARCHIVER=/usr/local/bin/llvm-ar --env OBJCOPY=/usr/bin/llvm-objcopy --env LLVM_LIBS_DIR=/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/./lib --env LLVM_INCLUDE_DIR=/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/include --env LLVM_TOOLS_DIR=/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/./bin --arch armv8l --build-dir /home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/lldb-test-build.noindex --lldb-module-cache-dir /home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/lldb-test-build.noindex/module-cache-lldb/lldb-api --clang-module-cache-dir /home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/lldb-test-build.noindex/module-cache-clang/lldb-api --executable /home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/./bin/lldb --compiler /home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/./bin/clang --dsymutil /home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/./bin/dsymutil --llvm-tools-dir /home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/./bin --lldb-obj-root /home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/tools/lldb --lldb-libs-dir /home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/./lib /home/tcwg-buildbot/worker/lldb-arm-ubuntu/llvm-project/lldb/test/API/python_api/thread -p TestThreadAPI.py
--
Exit Code: -6
Command Output (stdout):
--
lldb version 19.0.0git (https://github.com/llvm/llvm-project.git revision 34d44eb41dfbbbf01712719558b02763334fbeb3)
clang revision 34d44eb41dfbbbf01712719558b02763334fbeb3
llvm revision 34d44eb41dfbbbf01712719558b02763334fbeb3
--
Command Output (stderr):
--
python3.8: ../llvm-project/llvm/include/llvm/ADT/SmallVector.h:754: iterator llvm::SmallVectorImpl<std::pair<std::weak_ptr<lldb_private::Listener>, unsigned int>>::erase(const_iterator) [T = std::pair<std::weak_ptr<lldb_private::Listener>, unsigned int>]: Assertion `this->isReferenceToStorage(CI) && "Iterator to erase is out of bounds."' failed.
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0xed851e74 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/lib/python3.8/site-packages/lldb/_lldb.cpython-38-arm-linux-gnueabihf.so+0xf65e74)
#1 0xed84f894 llvm::sys::RunSignalHandlers() (/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/lib/python3.8/site-packages/lldb/_lldb.cpython-38-arm-linux-gnueabihf.so+0xf63894)
#2 0xed85270c SignalHandler(int) (/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/lib/python3.8/site-packages/lldb/_lldb.cpython-38-arm-linux-gnueabihf.so+0xf6670c)
#3 0xf798f530 __default_sa_restorer /build/glibc-tftl1u/glibc-2.31/signal/../sysdeps/unix/sysv/linux/arm/sigrestorer.S:67:0
#4 0xf797f7e6 /build/glibc-tftl1u/glibc-2.31/csu/../sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:47:0
#5 0xf798e7fe raise /build/glibc-tftl1u/glibc-2.31/signal/../sysdeps/unix/sysv/linux/raise.c:28:1
--
********************
PASS: lldb-api :: python_api/type/TestTypeList.py (1064 of 2732)
PASS: lldb-api :: python_api/value/TestValueAPI.py (1065 of 2732)
PASS: lldb-api :: python_api/value/addr_of_void_star/TestValueAPIAddressOfVoidStar.py (1066 of 2732)
UNSUPPORTED: lldb-api :: python_api/value/change_values/libcxx/atomic/TestChangeValue.py (1067 of 2732)
PASS: lldb-api :: python_api/value/change_values/TestChangeValueAPI.py (1068 of 2732)
UNSUPPORTED: lldb-api :: python_api/value/change_values/libcxx/map/TestChangeMapValue.py (1069 of 2732)
PASS: lldb-api :: python_api/value/linked_list/TestValueAPILinkedList.py (1070 of 2732)
PASS: lldb-api :: python_api/value/empty_class/TestValueAPIEmptyClass.py (1071 of 2732)
PASS: lldb-api :: python_api/was_interrupted/TestDebuggerInterruption.py (1072 of 2732)
PASS: lldb-api :: python_api/value_var_update/TestValueVarUpdate.py (1073 of 2732)
PASS: lldb-api :: python_api/target/TestTargetAPI.py (1074 of 2732)
```
llvm:main
← Michael137:lldb/clang-formatters-removal
LLVM Buildbot has detected a new failure on builder `lldb-arm-ubuntu` running on… `linaro-lldb-arm-ubuntu` while building `clang` at step 6 "test".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/18/builds/384
Here is the relevant piece of the build log for the reference:
```
Step 6 (test) failure: build (failure)
...
PASS: lldb-api :: functionalities/breakpoint/move_nearest/TestMoveNearest.py (313 of 2732)
UNSUPPORTED: lldb-api :: functionalities/breakpoint/hardware_breakpoints/hardware_breakpoint_on_multiple_threads/TestHWBreakMultiThread.py (314 of 2732)
UNSUPPORTED: lldb-api :: functionalities/breakpoint/objc/TestObjCBreakpoints.py (315 of 2732)
PASS: lldb-api :: functionalities/breakpoint/source_regexp/TestSourceRegexBreakpoints.py (316 of 2732)
PASS: lldb-api :: functionalities/breakpoint/scripted_bkpt/TestScriptedResolver.py (317 of 2732)
PASS: lldb-api :: functionalities/breakpoint/serialize/TestBreakpointSerialization.py (318 of 2732)
PASS: lldb-api :: commands/process/attach/TestProcessAttach.py (319 of 2732)
UNSUPPORTED: lldb-api :: functionalities/breakpoint/two_hits_one_actual/TestTwoHitsOneActual.py (320 of 2732)
UNSUPPORTED: lldb-api :: functionalities/bt-interrupt/TestInterruptBacktrace.py (321 of 2732)
UNRESOLVED: lldb-api :: functionalities/breakpoint/step_over_breakpoint/TestStepOverBreakpoint.py (322 of 2732)
******************** TEST 'lldb-api :: functionalities/breakpoint/step_over_breakpoint/TestStepOverBreakpoint.py' FAILED ********************
Script:
--
/usr/bin/python3.8 /home/tcwg-buildbot/worker/lldb-arm-ubuntu/llvm-project/lldb/test/API/dotest.py -u CXXFLAGS -u CFLAGS --env ARCHIVER=/usr/local/bin/llvm-ar --env OBJCOPY=/usr/bin/llvm-objcopy --env LLVM_LIBS_DIR=/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/./lib --env LLVM_INCLUDE_DIR=/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/include --env LLVM_TOOLS_DIR=/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/./bin --arch armv8l --build-dir /home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/lldb-test-build.noindex --lldb-module-cache-dir /home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/lldb-test-build.noindex/module-cache-lldb/lldb-api --clang-module-cache-dir /home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/lldb-test-build.noindex/module-cache-clang/lldb-api --executable /home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/./bin/lldb --compiler /home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/./bin/clang --dsymutil /home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/./bin/dsymutil --llvm-tools-dir /home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/./bin --lldb-obj-root /home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/tools/lldb --lldb-libs-dir /home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/./lib /home/tcwg-buildbot/worker/lldb-arm-ubuntu/llvm-project/lldb/test/API/functionalities/breakpoint/step_over_breakpoint -p TestStepOverBreakpoint.py
--
Exit Code: -6
Command Output (stdout):
--
lldb version 19.0.0git (https://github.com/llvm/llvm-project.git revision 0fccae9d8e64f3b0f415946000d6ca79ae1255db)
clang revision 0fccae9d8e64f3b0f415946000d6ca79ae1255db
llvm revision 0fccae9d8e64f3b0f415946000d6ca79ae1255db
--
Command Output (stderr):
--
python3.8: ../llvm-project/llvm/include/llvm/ADT/SmallVector.h:754: iterator llvm::SmallVectorImpl<std::pair<std::weak_ptr<lldb_private::Listener>, unsigned int>>::erase(const_iterator) [T = std::pair<std::weak_ptr<lldb_private::Listener>, unsigned int>]: Assertion `this->isReferenceToStorage(CI) && "Iterator to erase is out of bounds."' failed.
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0xed9cce74 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/lib/python3.8/site-packages/lldb/_lldb.cpython-38-arm-linux-gnueabihf.so+0xf65e74)
#1 0xed9ca894 llvm::sys::RunSignalHandlers() (/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/lib/python3.8/site-packages/lldb/_lldb.cpython-38-arm-linux-gnueabihf.so+0xf63894)
#2 0xed9cd70c SignalHandler(int) (/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/lib/python3.8/site-packages/lldb/_lldb.cpython-38-arm-linux-gnueabihf.so+0xf6670c)
#3 0xf7b0a530 __default_sa_restorer /build/glibc-tftl1u/glibc-2.31/signal/../sysdeps/unix/sysv/linux/arm/sigrestorer.S:67:0
#4 0xf7afa7e6 /build/glibc-tftl1u/glibc-2.31/csu/../sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:47:0
#5 0xf7b097fe raise /build/glibc-tftl1u/glibc-2.31/signal/../sysdeps/unix/sysv/linux/raise.c:28:1
--
********************
PASS: lldb-api :: functionalities/data-formatter/array_typedef/TestArrayTypedef.py (323 of 2732)
UNSUPPORTED: lldb-api :: functionalities/data-formatter/boolreference/TestFormattersBoolRefPtr.py (324 of 2732)
PASS: lldb-api :: functionalities/conditional_break/TestConditionalBreak.py (325 of 2732)
PASS: lldb-api :: functionalities/data-formatter/builtin-formats/TestBuiltinFormats.py (326 of 2732)
UNSUPPORTED: lldb-api :: functionalities/data-formatter/compactvectors/TestCompactVectors.py (327 of 2732)
PASS: lldb-api :: functionalities/data-formatter/cstring-utf8-summary/TestCstringUnicode.py (328 of 2732)
PASS: lldb-api :: functionalities/data-formatter/callback-matching/TestDataFormatterCallbackMatching.py (329 of 2732)
PASS: lldb-api :: functionalities/breakpoint/thread_plan_user_breakpoint/TestThreadPlanUserBreakpoint.py (330 of 2732)
PASS: lldb-api :: functionalities/data-formatter/data-formatter-caching/TestDataFormatterCaching.py (331 of 2732)
PASS: lldb-api :: functionalities/data-formatter/custom-printf-summary/TestCustomSummaryLLVMFormat.py (332 of 2732)
PASS: lldb-api :: functionalities/data-formatter/data-formatter-advanced/TestDataFormatterAdv.py (333 of 2732)
```
llvm:main
← shiltian:omx-typo
LLVM Buildbot has detected a new failure on builder `lldb-arm-ubuntu` running on… `linaro-lldb-arm-ubuntu` while building `llvm` at step 6 "test".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/18/builds/391
Here is the relevant piece of the build log for the reference:
```
Step 6 (test) failure: build (failure)
...
PASS: lldb-api :: python_api/sbvalue_synthetic/TestSBValueSynthetic.py (1054 of 2732)
PASS: lldb-api :: python_api/sbvalue_const_addrof/TestSBValueConstAddrOf.py (1055 of 2732)
PASS: lldb-api :: python_api/sbvalue_persist/TestSBValuePersist.py (1056 of 2732)
PASS: lldb-api :: python_api/section/TestSectionAPI.py (1057 of 2732)
PASS: lldb-api :: python_api/signals/TestSignalsAPI.py (1058 of 2732)
PASS: lldb-api :: python_api/sbvalue_unsigned_enum_bitfield_value/TestSBValueUnsignedEnumBitField.py (1059 of 2732)
UNSUPPORTED: lldb-api :: python_api/target-arch-from-module/TestTargetArchFromModule.py (1060 of 2732)
PASS: lldb-api :: python_api/symbol-context/TestSymbolContext.py (1061 of 2732)
PASS: lldb-api :: python_api/symbol-context/two-files/TestSymbolContextTwoFiles.py (1062 of 2732)
UNRESOLVED: lldb-api :: python_api/thread/TestThreadAPI.py (1063 of 2732)
******************** TEST 'lldb-api :: python_api/thread/TestThreadAPI.py' FAILED ********************
Script:
--
/usr/bin/python3.8 /home/tcwg-buildbot/worker/lldb-arm-ubuntu/llvm-project/lldb/test/API/dotest.py -u CXXFLAGS -u CFLAGS --env ARCHIVER=/usr/local/bin/llvm-ar --env OBJCOPY=/usr/bin/llvm-objcopy --env LLVM_LIBS_DIR=/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/./lib --env LLVM_INCLUDE_DIR=/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/include --env LLVM_TOOLS_DIR=/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/./bin --arch armv8l --build-dir /home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/lldb-test-build.noindex --lldb-module-cache-dir /home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/lldb-test-build.noindex/module-cache-lldb/lldb-api --clang-module-cache-dir /home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/lldb-test-build.noindex/module-cache-clang/lldb-api --executable /home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/./bin/lldb --compiler /home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/./bin/clang --dsymutil /home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/./bin/dsymutil --llvm-tools-dir /home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/./bin --lldb-obj-root /home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/tools/lldb --lldb-libs-dir /home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/./lib /home/tcwg-buildbot/worker/lldb-arm-ubuntu/llvm-project/lldb/test/API/python_api/thread -p TestThreadAPI.py
--
Exit Code: -6
Command Output (stdout):
--
lldb version 19.0.0git (https://github.com/llvm/llvm-project.git revision fc23564c44f3eff1847462253d43c08b85489148)
clang revision fc23564c44f3eff1847462253d43c08b85489148
llvm revision fc23564c44f3eff1847462253d43c08b85489148
--
Command Output (stderr):
--
python3.8: ../llvm-project/llvm/include/llvm/ADT/SmallVector.h:754: iterator llvm::SmallVectorImpl<std::pair<std::weak_ptr<lldb_private::Listener>, unsigned int>>::erase(const_iterator) [T = std::pair<std::weak_ptr<lldb_private::Listener>, unsigned int>]: Assertion `this->isReferenceToStorage(CI) && "Iterator to erase is out of bounds."' failed.
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0xedabc0d4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/lib/python3.8/site-packages/lldb/_lldb.cpython-38-arm-linux-gnueabihf.so+0xf660d4)
#1 0xedab9af4 llvm::sys::RunSignalHandlers() (/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/lib/python3.8/site-packages/lldb/_lldb.cpython-38-arm-linux-gnueabihf.so+0xf63af4)
#2 0xedabc96c SignalHandler(int) (/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/lib/python3.8/site-packages/lldb/_lldb.cpython-38-arm-linux-gnueabihf.so+0xf6696c)
#3 0xf7bf9530 __default_sa_restorer /build/glibc-tftl1u/glibc-2.31/signal/../sysdeps/unix/sysv/linux/arm/sigrestorer.S:67:0
#4 0xf7be97e6 /build/glibc-tftl1u/glibc-2.31/csu/../sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:47:0
#5 0xf7bf87fe raise /build/glibc-tftl1u/glibc-2.31/signal/../sysdeps/unix/sysv/linux/raise.c:28:1
--
********************
PASS: lldb-api :: python_api/type/TestTypeList.py (1064 of 2732)
PASS: lldb-api :: python_api/value/TestValueAPI.py (1065 of 2732)
PASS: lldb-api :: python_api/value/addr_of_void_star/TestValueAPIAddressOfVoidStar.py (1066 of 2732)
UNSUPPORTED: lldb-api :: python_api/value/change_values/libcxx/atomic/TestChangeValue.py (1067 of 2732)
PASS: lldb-api :: python_api/value/change_values/TestChangeValueAPI.py (1068 of 2732)
UNSUPPORTED: lldb-api :: python_api/value/change_values/libcxx/map/TestChangeMapValue.py (1069 of 2732)
PASS: lldb-api :: python_api/value/linked_list/TestValueAPILinkedList.py (1070 of 2732)
PASS: lldb-api :: python_api/value/empty_class/TestValueAPIEmptyClass.py (1071 of 2732)
PASS: lldb-api :: python_api/was_interrupted/TestDebuggerInterruption.py (1072 of 2732)
PASS: lldb-api :: python_api/target/TestTargetAPI.py (1073 of 2732)
PASS: lldb-api :: python_api/value_var_update/TestValueVarUpdate.py (1074 of 2732)
```
Could this be fixed? I remember Windows being a problematic host for LLDB test-suite. Is this still an issue?
fhahn
June 24, 2024, 8:03am
4
Another set of bots that seem relatively flaky are the clang-cuda-* ones(https://lab.llvm.org/buildbot/#/builders/69
It might be a good idea to restrict commenting to bots that have short blamelists and are known to be quite reliable.
Isn’t this the case already since the initial message in the thread said “commenting PRs when when built a single commit”? (I understand this as a blamelist of 1)
Thanks for mentioning this, Florian.
I’d rather use this occasion to make the bots reliable. We can move to the staging till fixed those bots proven unreliable and not getting enough love and care, or make them silent. There is not much value in reporting flaky failures to any communication channel, IRC and mails included.
@Artem-B could you take a look at the mentioned CUDA builders, please?
2 Likes
Here is the example of multiple false negatives from clang-cuda-* builders:
llvm:main
← frederick-vs-ja:cwg-dr-in-23
LLVM Buildbot has detected a new failure on builder `clang-cuda-l4` running on `… cuda-l4-0` while building `clang` at step 3 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/101/builds/581
Here is the relevant piece of the build log for the reference:
```
Step 3 (annotate) failure: '/buildbot/cuda-build --jobs=' (failure)
...
+ echo @@@STEP_SUMMARY_TEXT@@@@
@@@BUILD_STEP Testing CUDA test-suite@@@
@@@STEP_SUMMARY_CLEAR@@@
@@@STEP_SUMMARY_TEXT@@@@
+ run ninja check-cuda-simple
+ echo '>>> ' ninja check-cuda-simple
+ ninja check-cuda-simple
>>> ninja check-cuda-simple
[0/40] cd /buildbot/cuda-l4-0/work/clang-cuda-l4/build/External/CUDA && /usr/local/bin/lit -vv -j 1 assert-cuda-11.8-c++11-libc++.test axpy-cuda-11.8-c++11-libc++.test algorithm-cuda-11.8-c++11-libc++.test cmath-cuda-11.8-c++11-libc++.test complex-cuda-11.8-c++11-libc++.test math_h-cuda-11.8-c++11-libc++.test new-cuda-11.8-c++11-libc++.test empty-cuda-11.8-c++11-libc++.test printf-cuda-11.8-c++11-libc++.test future-cuda-11.8-c++11-libc++.test builtin_var-cuda-11.8-c++11-libc++.test test_round-cuda-11.8-c++11-libc++.test
-- Testing: 12 tests, 1 workers --
FAIL: test-suite :: External/CUDA/algorithm-cuda-11.8-c++11-libc++.test (1 of 12)
******************** TEST 'test-suite :: External/CUDA/algorithm-cuda-11.8-c++11-libc++.test' FAILED ********************
/buildbot/cuda-l4-0/work/clang-cuda-l4/build/tools/timeit-target --timeout 7200 --limit-core 0 --limit-cpu 7200 --limit-file-size 209715200 --limit-rss-size 838860800 --append-exitstatus --redirect-output /buildbot/cuda-l4-0/work/clang-cuda-l4/build/External/CUDA/Output/algorithm-cuda-11.8-c++11-libc++.test.out --redirect-input /dev/null --summary /buildbot/cuda-l4-0/work/clang-cuda-l4/build/External/CUDA/Output/algorithm-cuda-11.8-c++11-libc++.test.time /buildbot/cuda-l4-0/work/clang-cuda-l4/build/External/CUDA/algorithm-cuda-11.8-c++11-libc++
cd /buildbot/cuda-l4-0/work/clang-cuda-l4/build/External/CUDA ; /buildbot/cuda-l4-0/work/clang-cuda-l4/build/tools/fpcmp-target /buildbot/cuda-l4-0/work/clang-cuda-l4/build/External/CUDA/Output/algorithm-cuda-11.8-c++11-libc++.test.out algorithm.reference_output-cuda-11.8-c++11-libc++
+ cd /buildbot/cuda-l4-0/work/clang-cuda-l4/build/External/CUDA
+ /buildbot/cuda-l4-0/work/clang-cuda-l4/build/tools/fpcmp-target /buildbot/cuda-l4-0/work/clang-cuda-l4/build/External/CUDA/Output/algorithm-cuda-11.8-c++11-libc++.test.out algorithm.reference_output-cuda-11.8-c++11-libc++
/buildbot/cuda-l4-0/work/clang-cuda-l4/build/tools/fpcmp-target: Comparison failed, textual difference between 'C' and 'S'
********************
FAIL: test-suite :: External/CUDA/assert-cuda-11.8-c++11-libc++.test (2 of 12)
******************** TEST 'test-suite :: External/CUDA/assert-cuda-11.8-c++11-libc++.test' FAILED ********************
/buildbot/cuda-l4-0/work/clang-cuda-l4/build/tools/timeit-target --timeout 7200 --limit-core 0 --limit-cpu 7200 --limit-file-size 209715200 --limit-rss-size 838860800 --append-exitstatus --redirect-output /buildbot/cuda-l4-0/work/clang-cuda-l4/build/External/CUDA/Output/assert-cuda-11.8-c++11-libc++.test.out --redirect-input /dev/null --summary /buildbot/cuda-l4-0/work/clang-cuda-l4/build/External/CUDA/Output/assert-cuda-11.8-c++11-libc++.test.time /buildbot/cuda-l4-0/work/clang-cuda-l4/build/External/CUDA/assert-cuda-11.8-c++11-libc++
cd /buildbot/cuda-l4-0/work/clang-cuda-l4/build/External/CUDA ; /buildbot/cuda-l4-0/work/clang-cuda-l4/build/tools/fpcmp-target /buildbot/cuda-l4-0/work/clang-cuda-l4/build/External/CUDA/Output/assert-cuda-11.8-c++11-libc++.test.out assert.reference_output-cuda-11.8-c++11-libc++
+ cd /buildbot/cuda-l4-0/work/clang-cuda-l4/build/External/CUDA
+ /buildbot/cuda-l4-0/work/clang-cuda-l4/build/tools/fpcmp-target /buildbot/cuda-l4-0/work/clang-cuda-l4/build/External/CUDA/Output/assert-cuda-11.8-c++11-libc++.test.out assert.reference_output-cuda-11.8-c++11-libc++
/buildbot/cuda-l4-0/work/clang-cuda-l4/build/tools/fpcmp-target: Comparison failed, textual difference between 'e' and 'a'
********************
FAIL: test-suite :: External/CUDA/axpy-cuda-11.8-c++11-libc++.test (3 of 12)
******************** TEST 'test-suite :: External/CUDA/axpy-cuda-11.8-c++11-libc++.test' FAILED ********************
/buildbot/cuda-l4-0/work/clang-cuda-l4/build/tools/timeit-target --timeout 7200 --limit-core 0 --limit-cpu 7200 --limit-file-size 209715200 --limit-rss-size 838860800 --append-exitstatus --redirect-output /buildbot/cuda-l4-0/work/clang-cuda-l4/build/External/CUDA/Output/axpy-cuda-11.8-c++11-libc++.test.out --redirect-input /dev/null --summary /buildbot/cuda-l4-0/work/clang-cuda-l4/build/External/CUDA/Output/axpy-cuda-11.8-c++11-libc++.test.time /buildbot/cuda-l4-0/work/clang-cuda-l4/build/External/CUDA/axpy-cuda-11.8-c++11-libc++
cd /buildbot/cuda-l4-0/work/clang-cuda-l4/build/External/CUDA ; /buildbot/cuda-l4-0/work/clang-cuda-l4/build/tools/fpcmp-target /buildbot/cuda-l4-0/work/clang-cuda-l4/build/External/CUDA/Output/axpy-cuda-11.8-c++11-libc++.test.out axpy.reference_output-cuda-11.8-c++11-libc++
+ cd /buildbot/cuda-l4-0/work/clang-cuda-l4/build/External/CUDA
+ /buildbot/cuda-l4-0/work/clang-cuda-l4/build/tools/fpcmp-target /buildbot/cuda-l4-0/work/clang-cuda-l4/build/External/CUDA/Output/axpy-cuda-11.8-c++11-libc++.test.out axpy.reference_output-cuda-11.8-c++11-libc++
/buildbot/cuda-l4-0/work/clang-cuda-l4/build/tools/fpcmp-target: Comparison failed, textual difference between '4' and '2'
********************
PASS: test-suite :: External/CUDA/builtin_var-cuda-11.8-c++11-libc++.test (4 of 12)
********** TEST 'test-suite :: External/CUDA/builtin_var-cuda-11.8-c++11-libc++.test' RESULTS **********
exec_time: 0.0000
hash: "293d0eb9282156edc5422e7a8c9268e3"
**********
FAIL: test-suite :: External/CUDA/cmath-cuda-11.8-c++11-libc++.test (5 of 12)
```
llvm:main
← frederick-vs-ja:cwg-dr-in-23
LLVM Buildbot has detected a new failure on builder `clang-cuda-t4` running on `… cuda-t4-0` while building `clang` at step 3 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/69/builds/563
Here is the relevant piece of the build log for the reference:
```
Step 3 (annotate) failure: '/buildbot/cuda-build --jobs=' (failure)
...
[ RUN ] LlvmLibcBlockStoreTest.Empty
[ OK ] LlvmLibcBlockStoreTest.Empty (62 us)
Ran 9 tests. PASS: 9 FAIL: 0
[559/1022] Linking CXX executable libc/test/src/math/smoke/libc.test.src.math.smoke.sqrt_test.__hermetic__.__build__
[560/1022] Linking CXX executable libc/test/src/math/smoke/libc.test.src.math.smoke.generic_sqrtf_test.__hermetic__.__build__
[561/1022] Linking CXX executable libc/test/src/math/smoke/libc.test.src.math.smoke.fmax_test.__hermetic__.__build__
[562/1022] Linking CXX executable libc/test/src/math/smoke/libc.test.src.math.smoke.sqrtf_test.__hermetic__.__build__
[563/1022] Linking CXX executable libc/test/src/math/smoke/libc.test.src.math.smoke.generic_sqrt_test.__hermetic__.__build__
[564/1022] Linking CXX executable libc/test/src/math/smoke/libc.test.src.math.smoke.fma_test.__hermetic__.__build__
[565/1022] Running hermetic test libc.test.src.__support.freelist_test.__hermetic__
FAILED: libc/test/src/__support/CMakeFiles/libc.test.src.__support.freelist_test.__hermetic__ /buildbot/cuda-t4-0/work/clang-cuda-t4/build-libc/libc/test/src/__support/CMakeFiles/libc.test.src.__support.freelist_test.__hermetic__
cd /buildbot/cuda-t4-0/work/clang-cuda-t4/build-libc/libc/test/src/__support && /buildbot/cuda-t4-0/work/clang-cuda-t4/clang/bin/nvptx-loader /buildbot/cuda-t4-0/work/clang-cuda-t4/build-libc/libc/test/src/__support/libc.test.src.__support.freelist_test.__hermetic__.__build__
[==========] Running 9 tests from 1 test suite.
[ RUN ] LlvmLibcFreeList.EmptyListHasNoMembers
[ OK ] LlvmLibcFreeList.EmptyListHasNoMembers (7 us)
[ RUN ] LlvmLibcFreeList.CanRetrieveAddedMember
[ OK ] LlvmLibcFreeList.CanRetrieveAddedMember (14 us)
[ RUN ] LlvmLibcFreeList.CanRetrieveAddedMemberForSmallerSize
[ OK ] LlvmLibcFreeList.CanRetrieveAddedMemberForSmallerSize (13 us)
[ RUN ] LlvmLibcFreeList.CanRemoveItem
[ OK ] LlvmLibcFreeList.CanRemoveItem (11 us)
[ RUN ] LlvmLibcFreeList.FindReturnsSmallestChunk
[ OK ] LlvmLibcFreeList.FindReturnsSmallestChunk (31 us)
[ RUN ] LlvmLibcFreeList.FindReturnsCorrectChunkInSameBucket
[ OK ] LlvmLibcFreeList.FindReturnsCorrectChunkInSameBucket (15 us)
[ RUN ] LlvmLibcFreeList.FindCanMoveUpThroughBuckets
/ssd/cuda-builder/work/llvm-project/libc/utils/gpu/loader/nvptx/Loader.cpp:339:0: Error: misaligned address
[566/1022] Linking CXX executable libc/test/src/math/smoke/libc.test.src.math.smoke.generic_sqrtl_test.__hermetic__.__build__
[567/1022] Linking CXX executable libc/test/src/math/smoke/libc.test.src.math.smoke.nearbyintf_test.__hermetic__.__build__
[568/1022] Linking CXX executable libc/test/src/math/smoke/libc.test.src.math.smoke.nearbyint_test.__hermetic__.__build__
[569/1022] Linking CXX executable libc/test/src/math/smoke/libc.test.src.math.smoke.asinhf_test.__hermetic__.__build__
[570/1022] Linking CXX executable libc/test/src/stdbit/libc.test.src.stdbit.stdc_leading_zeros_us_test.__hermetic__.__build__
[571/1022] Linking CXX executable libc/test/src/stdbit/libc.test.src.stdbit.stdc_leading_zeros_uc_test.__hermetic__.__build__
[572/1022] Linking CXX executable libc/test/src/stdbit/libc.test.src.stdbit.stdc_leading_zeros_ull_test.__hermetic__.__build__
[573/1022] Linking CXX executable libc/test/src/stdbit/libc.test.src.stdbit.stdc_leading_zeros_ui_test.__hermetic__.__build__
[574/1022] Linking CXX executable libc/test/src/stdbit/libc.test.src.stdbit.stdc_leading_zeros_ul_test.__hermetic__.__build__
ninja: build stopped: subcommand failed.
++ err=1
++ echo PID 75441: subprocess exited with error 1
++ exit 1
PID 75441: subprocess exited with error 1
+ step_failure
+ echo @@@STEP_FAILURE@@@
@@@STEP_FAILURE@@@
Step 12 (Testing GPU libc) failure: (failure)
...
[ RUN ] LlvmLibcBlockStoreTest.Empty
[ OK ] LlvmLibcBlockStoreTest.Empty (62 us)
Ran 9 tests. PASS: 9 FAIL: 0
[559/1022] Linking CXX executable libc/test/src/math/smoke/libc.test.src.math.smoke.sqrt_test.__hermetic__.__build__
[560/1022] Linking CXX executable libc/test/src/math/smoke/libc.test.src.math.smoke.generic_sqrtf_test.__hermetic__.__build__
[561/1022] Linking CXX executable libc/test/src/math/smoke/libc.test.src.math.smoke.fmax_test.__hermetic__.__build__
[562/1022] Linking CXX executable libc/test/src/math/smoke/libc.test.src.math.smoke.sqrtf_test.__hermetic__.__build__
[563/1022] Linking CXX executable libc/test/src/math/smoke/libc.test.src.math.smoke.generic_sqrt_test.__hermetic__.__build__
[564/1022] Linking CXX executable libc/test/src/math/smoke/libc.test.src.math.smoke.fma_test.__hermetic__.__build__
[565/1022] Running hermetic test libc.test.src.__support.freelist_test.__hermetic__
FAILED: libc/test/src/__support/CMakeFiles/libc.test.src.__support.freelist_test.__hermetic__ /buildbot/cuda-t4-0/work/clang-cuda-t4/build-libc/libc/test/src/__support/CMakeFiles/libc.test.src.__support.freelist_test.__hermetic__
cd /buildbot/cuda-t4-0/work/clang-cuda-t4/build-libc/libc/test/src/__support && /buildbot/cuda-t4-0/work/clang-cuda-t4/clang/bin/nvptx-loader /buildbot/cuda-t4-0/work/clang-cuda-t4/build-libc/libc/test/src/__support/libc.test.src.__support.freelist_test.__hermetic__.__build__
[==========] Running 9 tests from 1 test suite.
[ RUN ] LlvmLibcFreeList.EmptyListHasNoMembers
[ OK ] LlvmLibcFreeList.EmptyListHasNoMembers (7 us)
[ RUN ] LlvmLibcFreeList.CanRetrieveAddedMember
[ OK ] LlvmLibcFreeList.CanRetrieveAddedMember (14 us)
[ RUN ] LlvmLibcFreeList.CanRetrieveAddedMemberForSmallerSize
[ OK ] LlvmLibcFreeList.CanRetrieveAddedMemberForSmallerSize (13 us)
[ RUN ] LlvmLibcFreeList.CanRemoveItem
[ OK ] LlvmLibcFreeList.CanRemoveItem (11 us)
[ RUN ] LlvmLibcFreeList.FindReturnsSmallestChunk
[ OK ] LlvmLibcFreeList.FindReturnsSmallestChunk (31 us)
[ RUN ] LlvmLibcFreeList.FindReturnsCorrectChunkInSameBucket
[ OK ] LlvmLibcFreeList.FindReturnsCorrectChunkInSameBucket (15 us)
[ RUN ] LlvmLibcFreeList.FindCanMoveUpThroughBuckets
/ssd/cuda-builder/work/llvm-project/libc/utils/gpu/loader/nvptx/Loader.cpp:339:0: Error: misaligned address
[566/1022] Linking CXX executable libc/test/src/math/smoke/libc.test.src.math.smoke.generic_sqrtl_test.__hermetic__.__build__
[567/1022] Linking CXX executable libc/test/src/math/smoke/libc.test.src.math.smoke.nearbyintf_test.__hermetic__.__build__
[568/1022] Linking CXX executable libc/test/src/math/smoke/libc.test.src.math.smoke.nearbyint_test.__hermetic__.__build__
[569/1022] Linking CXX executable libc/test/src/math/smoke/libc.test.src.math.smoke.asinhf_test.__hermetic__.__build__
[570/1022] Linking CXX executable libc/test/src/stdbit/libc.test.src.stdbit.stdc_leading_zeros_us_test.__hermetic__.__build__
[571/1022] Linking CXX executable libc/test/src/stdbit/libc.test.src.stdbit.stdc_leading_zeros_uc_test.__hermetic__.__build__
[572/1022] Linking CXX executable libc/test/src/stdbit/libc.test.src.stdbit.stdc_leading_zeros_ull_test.__hermetic__.__build__
[573/1022] Linking CXX executable libc/test/src/stdbit/libc.test.src.stdbit.stdc_leading_zeros_ui_test.__hermetic__.__build__
[574/1022] Linking CXX executable libc/test/src/stdbit/libc.test.src.stdbit.stdc_leading_zeros_ul_test.__hermetic__.__build__
ninja: build stopped: subcommand failed.
++ err=1
++ echo PID 75441: subprocess exited with error 1
++ exit 1
PID 75441: subprocess exited with error 1
+ step_failure
+ echo @@@STEP_FAILURE@@@
program finished with exit code 0
elapsedTime=582.072780
```
llvm:main
← frederick-vs-ja:cwg-dr-in-23
LLVM Buildbot has detected a new failure on builder `clang-cuda-p4` running on `… cuda-p4-0` while building `clang` at step 3 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/15/builds/582
Here is the relevant piece of the build log for the reference:
```
Step 3 (annotate) failure: '/buildbot/cuda-build --jobs=' (failure)
...
Ran 9 tests. PASS: 9 FAIL: 0
[638/1022] Linking CXX executable libc/test/src/stdlib/libc.test.src.stdlib.strtold_test.__hermetic__.__build__
[639/1022] Linking CXX executable libc/test/src/stdlib/libc.test.src.stdlib.strtof_test.__hermetic__.__build__
[640/1022] Linking CXX executable libc/test/src/stdlib/libc.test.src.stdlib.strtol_test.__hermetic__.__build__
[641/1022] Linking CXX executable libc/test/src/stdlib/libc.test.src.stdlib.strtoll_test.__hermetic__.__build__
[642/1022] Linking CXX executable libc/test/src/stdlib/libc.test.src.stdlib.strtoul_test.__hermetic__.__build__
[643/1022] Linking CXX executable libc/test/src/stdlib/libc.test.src.stdlib.strtoull_test.__hermetic__.__build__
[644/1022] Building CXX object libc/test/src/stdlib/CMakeFiles/libc.test.src.stdlib.labs_test.__hermetic__.__build__.dir/labs_test.cpp.o
[645/1022] Linking CXX executable libc/test/src/stdlib/libc.test.src.stdlib.labs_test.__hermetic__.__build__
[646/1022] Running hermetic test libc.test.src.__support.freelist_test.__hermetic__
FAILED: libc/test/src/__support/CMakeFiles/libc.test.src.__support.freelist_test.__hermetic__ /buildbot/cuda-p4-0/work/clang-cuda-p4/build-libc/libc/test/src/__support/CMakeFiles/libc.test.src.__support.freelist_test.__hermetic__
cd /buildbot/cuda-p4-0/work/clang-cuda-p4/build-libc/libc/test/src/__support && /buildbot/cuda-p4-0/work/clang-cuda-p4/clang/bin/nvptx-loader /buildbot/cuda-p4-0/work/clang-cuda-p4/build-libc/libc/test/src/__support/libc.test.src.__support.freelist_test.__hermetic__.__build__
[==========] Running 9 tests from 1 test suite.
[ RUN ] LlvmLibcFreeList.EmptyListHasNoMembers
[ OK ] LlvmLibcFreeList.EmptyListHasNoMembers (7 us)
[ RUN ] LlvmLibcFreeList.CanRetrieveAddedMember
[ OK ] LlvmLibcFreeList.CanRetrieveAddedMember (15 us)
[ RUN ] LlvmLibcFreeList.CanRetrieveAddedMemberForSmallerSize
[ OK ] LlvmLibcFreeList.CanRetrieveAddedMemberForSmallerSize (13 us)
[ RUN ] LlvmLibcFreeList.CanRemoveItem
[ OK ] LlvmLibcFreeList.CanRemoveItem (13 us)
[ RUN ] LlvmLibcFreeList.FindReturnsSmallestChunk
[ OK ] LlvmLibcFreeList.FindReturnsSmallestChunk (34 us)
[ RUN ] LlvmLibcFreeList.FindReturnsCorrectChunkInSameBucket
[ OK ] LlvmLibcFreeList.FindReturnsCorrectChunkInSameBucket (15 us)
[ RUN ] LlvmLibcFreeList.FindCanMoveUpThroughBuckets
/ssd/cuda-builder/work/llvm-project/libc/utils/gpu/loader/nvptx/Loader.cpp:339:0: Error: misaligned address
[647/1022] Building CXX object libc/test/src/stdlib/CMakeFiles/libc.test.src.stdlib.abs_test.__hermetic__.__build__.dir/abs_test.cpp.o
[648/1022] Building CXX object libc/test/src/stdlib/CMakeFiles/libc.test.src.stdlib.llabs_test.__hermetic__.__build__.dir/llabs_test.cpp.o
[649/1022] Building CXX object libc/test/src/stdlib/CMakeFiles/libc.test.src.stdlib.lldiv_test.__hermetic__.__build__.dir/lldiv_test.cpp.o
[650/1022] Building CXX object libc/test/src/stdlib/CMakeFiles/libc.test.src.stdlib.div_test.__hermetic__.__build__.dir/div_test.cpp.o
[651/1022] Building CXX object libc/test/src/stdlib/CMakeFiles/libc.test.src.stdlib.ldiv_test.__hermetic__.__build__.dir/ldiv_test.cpp.o
[652/1022] Building CXX object libc/test/src/stdlib/CMakeFiles/libc.test.src.stdlib.bsearch_test.__hermetic__.__build__.dir/bsearch_test.cpp.o
[653/1022] Building CXX object libc/test/src/stdlib/CMakeFiles/libc.test.src.stdlib.rand_test.__hermetic__.__build__.dir/rand_test.cpp.o
[654/1022] Building CXX object libc/test/src/stdlib/CMakeFiles/libc.test.src.stdlib.qsort_r_test.__hermetic__.__build__.dir/qsort_r_test.cpp.o
[655/1022] Building CXX object libc/test/src/stdlib/CMakeFiles/libc.test.src.stdlib.qsort_test.__hermetic__.__build__.dir/qsort_test.cpp.o
ninja: build stopped: subcommand failed.
++ err=1
++ echo PID 383376: subprocess exited with error 1
++ exit 1
PID 383376: subprocess exited with error 1
+ step_failure
+ echo @@@STEP_FAILURE@@@
@@@STEP_FAILURE@@@
Step 12 (Testing GPU libc) failure: (failure)
...
Ran 9 tests. PASS: 9 FAIL: 0
[638/1022] Linking CXX executable libc/test/src/stdlib/libc.test.src.stdlib.strtold_test.__hermetic__.__build__
[639/1022] Linking CXX executable libc/test/src/stdlib/libc.test.src.stdlib.strtof_test.__hermetic__.__build__
[640/1022] Linking CXX executable libc/test/src/stdlib/libc.test.src.stdlib.strtol_test.__hermetic__.__build__
[641/1022] Linking CXX executable libc/test/src/stdlib/libc.test.src.stdlib.strtoll_test.__hermetic__.__build__
[642/1022] Linking CXX executable libc/test/src/stdlib/libc.test.src.stdlib.strtoul_test.__hermetic__.__build__
[643/1022] Linking CXX executable libc/test/src/stdlib/libc.test.src.stdlib.strtoull_test.__hermetic__.__build__
[644/1022] Building CXX object libc/test/src/stdlib/CMakeFiles/libc.test.src.stdlib.labs_test.__hermetic__.__build__.dir/labs_test.cpp.o
[645/1022] Linking CXX executable libc/test/src/stdlib/libc.test.src.stdlib.labs_test.__hermetic__.__build__
[646/1022] Running hermetic test libc.test.src.__support.freelist_test.__hermetic__
FAILED: libc/test/src/__support/CMakeFiles/libc.test.src.__support.freelist_test.__hermetic__ /buildbot/cuda-p4-0/work/clang-cuda-p4/build-libc/libc/test/src/__support/CMakeFiles/libc.test.src.__support.freelist_test.__hermetic__
cd /buildbot/cuda-p4-0/work/clang-cuda-p4/build-libc/libc/test/src/__support && /buildbot/cuda-p4-0/work/clang-cuda-p4/clang/bin/nvptx-loader /buildbot/cuda-p4-0/work/clang-cuda-p4/build-libc/libc/test/src/__support/libc.test.src.__support.freelist_test.__hermetic__.__build__
[==========] Running 9 tests from 1 test suite.
[ RUN ] LlvmLibcFreeList.EmptyListHasNoMembers
[ OK ] LlvmLibcFreeList.EmptyListHasNoMembers (7 us)
[ RUN ] LlvmLibcFreeList.CanRetrieveAddedMember
[ OK ] LlvmLibcFreeList.CanRetrieveAddedMember (15 us)
[ RUN ] LlvmLibcFreeList.CanRetrieveAddedMemberForSmallerSize
[ OK ] LlvmLibcFreeList.CanRetrieveAddedMemberForSmallerSize (13 us)
[ RUN ] LlvmLibcFreeList.CanRemoveItem
[ OK ] LlvmLibcFreeList.CanRemoveItem (13 us)
[ RUN ] LlvmLibcFreeList.FindReturnsSmallestChunk
[ OK ] LlvmLibcFreeList.FindReturnsSmallestChunk (34 us)
[ RUN ] LlvmLibcFreeList.FindReturnsCorrectChunkInSameBucket
[ OK ] LlvmLibcFreeList.FindReturnsCorrectChunkInSameBucket (15 us)
[ RUN ] LlvmLibcFreeList.FindCanMoveUpThroughBuckets
/ssd/cuda-builder/work/llvm-project/libc/utils/gpu/loader/nvptx/Loader.cpp:339:0: Error: misaligned address
[647/1022] Building CXX object libc/test/src/stdlib/CMakeFiles/libc.test.src.stdlib.abs_test.__hermetic__.__build__.dir/abs_test.cpp.o
[648/1022] Building CXX object libc/test/src/stdlib/CMakeFiles/libc.test.src.stdlib.llabs_test.__hermetic__.__build__.dir/llabs_test.cpp.o
[649/1022] Building CXX object libc/test/src/stdlib/CMakeFiles/libc.test.src.stdlib.lldiv_test.__hermetic__.__build__.dir/lldiv_test.cpp.o
[650/1022] Building CXX object libc/test/src/stdlib/CMakeFiles/libc.test.src.stdlib.div_test.__hermetic__.__build__.dir/div_test.cpp.o
[651/1022] Building CXX object libc/test/src/stdlib/CMakeFiles/libc.test.src.stdlib.ldiv_test.__hermetic__.__build__.dir/ldiv_test.cpp.o
[652/1022] Building CXX object libc/test/src/stdlib/CMakeFiles/libc.test.src.stdlib.bsearch_test.__hermetic__.__build__.dir/bsearch_test.cpp.o
[653/1022] Building CXX object libc/test/src/stdlib/CMakeFiles/libc.test.src.stdlib.rand_test.__hermetic__.__build__.dir/rand_test.cpp.o
[654/1022] Building CXX object libc/test/src/stdlib/CMakeFiles/libc.test.src.stdlib.qsort_r_test.__hermetic__.__build__.dir/qsort_r_test.cpp.o
[655/1022] Building CXX object libc/test/src/stdlib/CMakeFiles/libc.test.src.stdlib.qsort_test.__hermetic__.__build__.dir/qsort_test.cpp.o
ninja: build stopped: subcommand failed.
++ err=1
++ echo PID 383376: subprocess exited with error 1
++ exit 1
PID 383376: subprocess exited with error 1
+ step_failure
+ echo @@@STEP_FAILURE@@@
program finished with exit code 0
elapsedTime=617.200128
```
Is anybody looking at the issue?
I believe @Artem-B maintains that bot, but he’s on vacation for the month last I heard.
I’ll make those builders silent then.
We can always make them reporting failures again once they are reliable.
WDYT about changing the test output a bit on the bots to improve the signal/noise ratio on test failures? Something like:
diff --git a/llvm/utils/lit/lit/cl_arguments.py b/llvm/utils/lit/lit/cl_arguments.py
index b9122d07afd8..1c334c328153 100644
--- a/llvm/utils/lit/lit/cl_arguments.py
+++ b/llvm/utils/lit/lit/cl_arguments.py
@@ -84,6 +84,13 @@ def parse_args():
help="Deprecated alias for -v.",
action="store_true",
)
+ format_group.add_argument(
+ "-m",
+ dest="minimalOutput",
+ help="Minimize output."
+ " Prints a '.' for each passing test to minimize output for CI jobs",
+ action="store_true",
+ )
format_group.add_argument(
"-a",
"--show-all",
diff --git a/llvm/utils/lit/lit/display.py b/llvm/utils/lit/lit/display.py
index 7de5a298d230..809bfbd117ab 100644
--- a/llvm/utils/lit/lit/display.py
+++ b/llvm/utils/lit/lit/display.py
@@ -84,6 +84,7 @@ class Display(object):
self.progress_predictor = ProgressPredictor(tests) if progress_bar else None
self.progress_bar = progress_bar
self.completed = 0
+ self.last_was_minimal = False
def print_header(self):
if self.header:
@@ -115,6 +116,16 @@ class Display(object):
self.progress_bar.clear(interrupted)
def print_result(self, test):
+ if self.opts.minimalOutput and not test.isFailure():
+ sys.stdout.write('.')
+ sys.stdout.flush()
+ self.last_was_minimal = True
+ return
+
+ if self.last_was_minimal:
+ print("")
+ self.last_was_minimal = False
+
# Show the test result line.
test_name = test.getFullName()
print(
Failures would stick out a lot better in a sea of dots, and we could even tune that to print only every Nth pass so as to stay under buildkite’s 2MB display limit.
1 Like
nikic
July 2, 2024, 9:12am
11
This issue is not specific to just the GitHub reporting, but also the emails: I think that currently buildbot sends a mail/comment if the build failed, but builds for previous commits have not yet finished. This means that even though a failure was actually introduced in a previous commit, you’ll still get notified.
This is possible only for builders with multiple workers right? Otherwise builds are always in-order.
nikic
July 2, 2024, 10:08am
13
Yes-ish. There also appears to be a variant of this issue where builds get started in the wrong order. For example for Buildbot and Buildbot the build order is inverted from the commit order.
2 Likes
Thanks for mentioning this, Nikita. Looks like a bug in buildbot. We will take a look. Buildbot could run builds on a single worker in order different to the order of commits · Issue #219 · llvm/llvm-zorg · GitHub .
As of the case of multiple workers, not sure how much we can do about that. The only thing that comes to mind is to delay the reporting… I’ll think of it. Though, for now, we can either live with this issue or disable reporting for multiple workers. I prefer live with this issue, not strongly, though.
dyung
July 15, 2024, 8:29am
15
I reverted a change and created a PR for the revert (PR#98851 ), but just now noticed that when it was reapplied (by reverting my change), a buildbot failure of the revert of my revert caused a notification to appear in the PR I had created (see the linked PR). The two “failures” mentioned in the PR are not actually from my revert, but the revert of my revert.
Thanks for mentioning this, @dyung . I’ll take a look.