llvm / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
http://llvm.org
Other
28.61k stars 11.82k forks source link

[openmp] TEST 'libomp :: affinity/redetect.c' FAILED on s390x Ubuntu 23.10 #97716

Open iii-i opened 3 months ago

iii-i commented 3 months ago

The test fails 100% of the time:

llvm-project/build$ bin/llvm-lit -sv projects/openmp/runtime/test/affinity/redetect.c
FAIL: libomp :: affinity/redetect.c (1 of 1)
******************** TEST 'libomp :: affinity/redetect.c' FAILED ********************
Exit Code: 1       

Command Output (stdout): 
--                   
# RUN: at line 1                                                                                         
llvm-project/build/./bin/clang -fopenmp   -I llvm-project/build/projects/openmp/runtime/src -I llvm-project/openmp/runtime/test -L llvm-project/build/./lib  -fno-omit-frame-pointer -mbackchain -I llvm-project/openmp/runtime/test/ompt llvm-project/openmp/runtime/test/affinity/redetect.c -o llvm-project/build/projects/openmp/runtime/test/affinity/Output/redetect.c.tmp -l
m -latomic
# executed command: llvm-project/build/./bin/clang -fopenmp -I llvm-project/build/projects/openmp/runtime/src -I llvm-project/openmp/runtime/test -L llvm-project/build/./lib -fno-omit-frame-pointer -mbackchain -I llvm-project/openmp/runtime/test/ompt llvm-project/openmp/runtime/test/affinity/redetect.c -o llvm-project/build/projects/openmp/runtime/test/affinity/Output/redetect.c.tmp -lm -latomic
# RUN: at line 2
llvm-project/build/projects/openmp/runtime/test/affinity/Output/redetect.c.tmp
# executed command: llvm-project/build/projects/openmp/runtime/test/affinity/Output/redetect.c.tmp
# .---command stdout------------
# | Orignal Mask: {0-59}
# | Hello! Thread 48 executed single region in parent process
# | Hello! Thread 51 executed single region in child process
# | Orignal Mask: {0-59}
# | Hello! Thread 48 executed single region in parent process
# `-----------------------------
# .---command stderr------------
# | Original Mask = {1-59}
# | New Mask = {0-59}
# | Child affinity mask did not reset properly
# `-----------------------------
# error: command failed with exit status: 1
llvmbot commented 3 months ago

@llvm/issue-subscribers-openmp

Author: Ilya Leoshkevich (iii-i)

The test fails 100% of the time: ``` llvm-project/build$ bin/llvm-lit -sv projects/openmp/runtime/test/affinity/redetect.c FAIL: libomp :: affinity/redetect.c (1 of 1) ******************** TEST 'libomp :: affinity/redetect.c' FAILED ******************** Exit Code: 1 Command Output (stdout): -- # RUN: at line 1 llvm-project/build/./bin/clang -fopenmp -I llvm-project/build/projects/openmp/runtime/src -I llvm-project/openmp/runtime/test -L llvm-project/build/./lib -fno-omit-frame-pointer -mbackchain -I llvm-project/openmp/runtime/test/ompt llvm-project/openmp/runtime/test/affinity/redetect.c -o llvm-project/build/projects/openmp/runtime/test/affinity/Output/redetect.c.tmp -l m -latomic # executed command: llvm-project/build/./bin/clang -fopenmp -I llvm-project/build/projects/openmp/runtime/src -I llvm-project/openmp/runtime/test -L llvm-project/build/./lib -fno-omit-frame-pointer -mbackchain -I llvm-project/openmp/runtime/test/ompt llvm-project/openmp/runtime/test/affinity/redetect.c -o llvm-project/build/projects/openmp/runtime/test/affinity/Output/redetect.c.tmp -lm -latomic # RUN: at line 2 llvm-project/build/projects/openmp/runtime/test/affinity/Output/redetect.c.tmp # executed command: llvm-project/build/projects/openmp/runtime/test/affinity/Output/redetect.c.tmp # .---command stdout------------ # | Orignal Mask: {0-59} # | Hello! Thread 48 executed single region in parent process # | Hello! Thread 51 executed single region in child process # | Orignal Mask: {0-59} # | Hello! Thread 48 executed single region in parent process # `----------------------------- # .---command stderr------------ # | Original Mask = {1-59} # | New Mask = {0-59} # | Child affinity mask did not reset properly # `----------------------------- # error: command failed with exit status: 1 ```