[llvm] [lit] Implement builtin umask (PR #94621)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 9 09:21:30 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `openmp-offload-amdgpu-runtime` running on `omp-vega20-0` while building `llvm` at step 6 "test-openmp".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/30/builds/1573

Here is the relevant piece of the build log for the reference:
```
Step 6 (test-openmp) failure: test (failure)
...
-- Configuring done
-- Generating done
-- Build files have been written to: /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins
[4/5] cd /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins && /usr/local/cmake/bin/cmake --build /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/ --target check-openmp --config Release
[1/3] Generating exported symbols for clang_rt.tsan_cxx-x86_64
[2/3] Generating exported symbols for clang_rt.tsan-x86_64
[2/3] Running OpenMP tests
-- Testing: 389 tests, 32 workers --
llvm-lit: /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/llvm/utils/lit/lit/main.py:72: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 100 seconds was requested on the command line. Forcing timeout to be 100 seconds.
UNRESOLVED: OMPT multiplex :: print/print.c (1 of 389)
******************** TEST 'OMPT multiplex :: print/print.c' FAILED ********************
Exception during script execution:
Traceback (most recent call last):
  File "/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/llvm/utils/lit/lit/worker.py", line 76, in _execute_test_handle_errors
    result = test.config.test_format.execute(test, lit_config)
  File "/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/llvm/utils/lit/lit/formats/shtest.py", line 29, in execute
    return lit.TestRunner.executeShTest(
  File "/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/llvm/utils/lit/lit/TestRunner.py", line 2295, in executeShTest
    return _runShTest(test, litConfig, useExternalSh, script, tmpBase)
  File "/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/llvm/utils/lit/lit/TestRunner.py", line 2239, in _runShTest
    res = runOnce(execdir)
  File "/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/llvm/utils/lit/lit/TestRunner.py", line 2215, in runOnce
    res = executeScriptInternal(
  File "/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/llvm/utils/lit/lit/TestRunner.py", line 1091, in executeScriptInternal
    exitCode, timeoutInfo = executeShCmd(
  File "/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/llvm/utils/lit/lit/TestRunner.py", line 205, in executeShCmd
    finalExitCode = _executeShCmd(cmd, shenv, results, timeoutHelper)
  File "/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/llvm/utils/lit/lit/TestRunner.py", line 707, in _executeShCmd
    res = _executeShCmd(cmd.lhs, shenv, results, timeoutHelper)
  File "/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/llvm/utils/lit/lit/TestRunner.py", line 707, in _executeShCmd
    res = _executeShCmd(cmd.lhs, shenv, results, timeoutHelper)
  File "/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/llvm/utils/lit/lit/TestRunner.py", line 707, in _executeShCmd
    res = _executeShCmd(cmd.lhs, shenv, results, timeoutHelper)
  File "/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/llvm/utils/lit/lit/TestRunner.py", line 712, in _executeShCmd
    res = _executeShCmd(cmd.rhs, shenv, results, timeoutHelper)
  File "/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/llvm/utils/lit/lit/TestRunner.py", line 892, in _executeShCmd
    subprocess.Popen(
TypeError: __init__() got an unexpected keyword argument 'umask'


********************
UNRESOLVED: libarcher :: parallel/parallel-firstprivate.c (2 of 389)
******************** TEST 'libarcher :: parallel/parallel-firstprivate.c' FAILED ********************
Exception during script execution:
Traceback (most recent call last):
  File "/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/llvm/utils/lit/lit/worker.py", line 76, in _execute_test_handle_errors
    result = test.config.test_format.execute(test, lit_config)
  File "/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/llvm/utils/lit/lit/formats/shtest.py", line 29, in execute
    return lit.TestRunner.executeShTest(
Step 7 (Add check check-offload) failure: test (failure)
...
UNSUPPORTED: libomptarget :: amdgcn-amd-amdhsa :: env/base_ptr_ref_count.c (5 of 786)
UNSUPPORTED: libomptarget :: amdgcn-amd-amdhsa :: env/omp_target_debug.c (6 of 786)
UNSUPPORTED: libomptarget :: amdgcn-amd-amdhsa :: libc/host_call.c (7 of 786)
UNSUPPORTED: libomptarget :: amdgcn-amd-amdhsa :: libc/assert.c (8 of 786)
UNSUPPORTED: libomptarget :: amdgcn-amd-amdhsa :: libc/malloc.c (9 of 786)
UNSUPPORTED: libomptarget :: amdgcn-amd-amdhsa :: libc/puts.c (10 of 786)
UNSUPPORTED: libomptarget :: amdgcn-amd-amdhsa :: mapping/auto_zero_copy.cpp (11 of 786)
UNSUPPORTED: libomptarget :: amdgcn-amd-amdhsa :: mapping/auto_zero_copy_apu.cpp (12 of 786)
UNSUPPORTED: libomptarget :: amdgcn-amd-amdhsa :: mapping/auto_zero_copy_globals.cpp (13 of 786)
UNRESOLVED: libomptarget :: amdgcn-amd-amdhsa :: api/omp_indirect_call.c (14 of 786)
******************** TEST 'libomptarget :: amdgcn-amd-amdhsa :: api/omp_indirect_call.c' FAILED ********************
Exception during script execution:
Traceback (most recent call last):
  File "/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/llvm/utils/lit/lit/worker.py", line 76, in _execute_test_handle_errors
    result = test.config.test_format.execute(test, lit_config)
  File "/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/llvm/utils/lit/lit/formats/shtest.py", line 29, in execute
    return lit.TestRunner.executeShTest(
  File "/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/llvm/utils/lit/lit/TestRunner.py", line 2295, in executeShTest
    return _runShTest(test, litConfig, useExternalSh, script, tmpBase)
  File "/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/llvm/utils/lit/lit/TestRunner.py", line 2239, in _runShTest
    res = runOnce(execdir)
  File "/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/llvm/utils/lit/lit/TestRunner.py", line 2215, in runOnce
    res = executeScriptInternal(
  File "/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/llvm/utils/lit/lit/TestRunner.py", line 1091, in executeScriptInternal
    exitCode, timeoutInfo = executeShCmd(
  File "/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/llvm/utils/lit/lit/TestRunner.py", line 205, in executeShCmd
    finalExitCode = _executeShCmd(cmd, shenv, results, timeoutHelper)
  File "/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/llvm/utils/lit/lit/TestRunner.py", line 707, in _executeShCmd
    res = _executeShCmd(cmd.lhs, shenv, results, timeoutHelper)
  File "/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/llvm/utils/lit/lit/TestRunner.py", line 712, in _executeShCmd
    res = _executeShCmd(cmd.rhs, shenv, results, timeoutHelper)
  File "/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/llvm/utils/lit/lit/TestRunner.py", line 892, in _executeShCmd
    subprocess.Popen(
TypeError: __init__() got an unexpected keyword argument 'umask'


********************
UNRESOLVED: libomptarget :: amdgcn-amd-amdhsa :: api/omp_get_device_num.c (15 of 786)
******************** TEST 'libomptarget :: amdgcn-amd-amdhsa :: api/omp_get_device_num.c' FAILED ********************
Exception during script execution:
Traceback (most recent call last):
  File "/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/llvm/utils/lit/lit/worker.py", line 76, in _execute_test_handle_errors
    result = test.config.test_format.execute(test, lit_config)
  File "/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/llvm/utils/lit/lit/formats/shtest.py", line 29, in execute
    return lit.TestRunner.executeShTest(
  File "/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/llvm/utils/lit/lit/TestRunner.py", line 2295, in executeShTest
    return _runShTest(test, litConfig, useExternalSh, script, tmpBase)
  File "/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/llvm/utils/lit/lit/TestRunner.py", line 2239, in _runShTest
    res = runOnce(execdir)

```

https://github.com/llvm/llvm-project/pull/94621


More information about the llvm-commits mailing list