** Description changed:

- Autopkgtest command1 fails for ARM64 for resolute and stonking while
+ * Autopkgtest command1 fails for ARM64 for resolute and stonking while
  testing OpenMP support:
  
  384s not ok 21 Test OpenMP support
  384s # (in test file debian/qualify-clang.sh, line 375)
  384s #   `assert_success' failed
  384s #
  384s # -- command failed --
  384s # status : 134
  384s # output (3 lines):
  384s #   Assertion failure at kmp_affinity.cpp(3341): num_avail > 0.
  384s #   OMP: Error #13: Assertion failure at kmp_affinity.cpp(3341).
  384s #   OMP: Hint Please submit a bug report with this message, compile and 
run commands used, and machine configuration info including native compiler and 
operating system versions. Faster response will be obtained by including all 
program sources. For information on submitting this issue, please see 
https://github.com/llvm/llvm-project/issues/.
  384s # --
+ 
+ * This also occurs for the openmp_tools.c regression suite:
+ 
+ 478s FAIL: LLVM regression suite :: openmp_tools.c (30 of 52)
+ 478s ******************** TEST 'LLVM regression suite :: openmp_tools.c' 
FAILED ********************
+ 478s Exit Code: 1
+ 478s 
+ 478s Command Output (stderr):
+ 478s --
+ 478s RUN: at line 2: /usr/bin/clang-20 -fopenmp -DTOOLS 
/tmp/autopkgtest.qgNszS/autopkgtest_tmp/tests/openmp_tools.c -shared -o 
/tmp/autopkgtest.qgNszS/autopkgtest_tmp/build/tests/Output/openmp_tools.c.tmp_Tools.so
+ 478s + /usr/bin/clang-20 -fopenmp -DTOOLS 
/tmp/autopkgtest.qgNszS/autopkgtest_tmp/tests/openmp_tools.c -shared -o 
/tmp/autopkgtest.qgNszS/autopkgtest_tmp/build/tests/Output/openmp_tools.c.tmp_Tools.so
+ 478s RUN: at line 3: /usr/bin/clang-20 -fopenmp -UTOOLS 
/tmp/autopkgtest.qgNszS/autopkgtest_tmp/tests/openmp_tools.c -o 
/tmp/autopkgtest.qgNszS/autopkgtest_tmp/build/tests/Output/openmp_tools.c.tmp
+ 478s + /usr/bin/clang-20 -fopenmp -UTOOLS 
/tmp/autopkgtest.qgNszS/autopkgtest_tmp/tests/openmp_tools.c -o 
/tmp/autopkgtest.qgNszS/autopkgtest_tmp/build/tests/Output/openmp_tools.c.tmp
+ 478s RUN: at line 4: 
OMP_TOOL_LIBRARIES=/tmp/autopkgtest.qgNszS/autopkgtest_tmp/build/tests/Output/openmp_tools.c.tmp_Tools.so
 /tmp/autopkgtest.qgNszS/autopkgtest_tmp/build/tests/Output/openmp_tools.c.tmp 
| grep "INIT"
+ 478s + 
OMP_TOOL_LIBRARIES=/tmp/autopkgtest.qgNszS/autopkgtest_tmp/build/tests/Output/openmp_tools.c.tmp_Tools.so
+ 478s + 
/tmp/autopkgtest.qgNszS/autopkgtest_tmp/build/tests/Output/openmp_tools.c.tmp
+ 478s + grep INIT
+ 478s Assertion failure at kmp_affinity.cpp(3814): num_avail == 
(unsigned)__kmp_avail_proc.
+ 478s OMP: Error #13: Assertion failure at kmp_affinity.cpp(3814).
+ 478s OMP: Hint Please submit a bug report with this message, compile and run 
commands used, and machine configuration info including native compiler and 
operating system versions. Faster response will be obtained by including all 
program sources. For information on submitting this issue, please see 
https://github.com/llvm/llvm-project/issues/.
+ 478s 
+ 478s --
+ 478s 
+ 478s ********************
+ 
+ * This error has an open upstream bug: https://github.com/llvm/llvm-
+ project/issues/137136
+ 
+ * This error has been happening since Circle CI migrated their docker
+ containers to cgroupv2. It happens for cgroupv2, docker, and LXD
+ containers on ARM64 systems.
+ 
+ * It happens because OpenMP's topology detection yields 0 available CPUs
+ when in constrained container environments.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2169043

Title:
  autopkgtests OpenMP assertion failure at kmp_affinity.cpp(3341)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-18/+bug/2169043/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to