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

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


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-ve-ninja` running on `hpce-ve-main` while building `llvm` at step 4 "annotate".

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

Here is the relevant piece of the build log for the reference:
```
Step 4 (annotate) failure: 'python ../llvm-zorg/zorg/buildbot/builders/annotated/ve-linux.py ...' (failure)
...
[302/307] Linking CXX executable tools/clang/unittests/CodeGen/ClangCodeGenTests
[303/307] Linking CXX executable tools/clang/unittests/Frontend/FrontendTests
[304/307] Linking CXX executable tools/clang/unittests/Tooling/ToolingTests
[305/307] Linking CXX executable tools/clang/unittests/Interpreter/ExceptionTests/ClangReplInterpreterExceptionTests
[306/307] Linking CXX executable tools/clang/unittests/Interpreter/ClangReplInterpreterTests
[306/307] Running the Clang regression tests
-- Testing: 20772 tests, 48 workers --
llvm-lit: /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/utils/lit/lit/llvm/config.py:508: note: using clang: /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/clang
Testing:  0
UNRESOLVED: Clang :: Analysis/exploded-graph-rewriter/constraints_diff.dot (786 of 20772)
******************** TEST 'Clang :: Analysis/exploded-graph-rewriter/constraints_diff.dot' FAILED ********************
Exception during script execution:
Traceback (most recent call last):
  File "/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/utils/lit/lit/worker.py", line 76, in _execute_test_handle_errors
    result = test.config.test_format.execute(test, lit_config)
  File "/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/utils/lit/lit/formats/shtest.py", line 29, in execute
    return lit.TestRunner.executeShTest(
  File "/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 2295, in executeShTest
    return _runShTest(test, litConfig, useExternalSh, script, tmpBase)
  File "/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 2239, in _runShTest
    res = runOnce(execdir)
  File "/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 2215, in runOnce
    res = executeScriptInternal(
  File "/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 1091, in executeScriptInternal
    exitCode, timeoutInfo = executeShCmd(
  File "/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 205, in executeShCmd
    finalExitCode = _executeShCmd(cmd, shenv, results, timeoutHelper)
  File "/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 712, in _executeShCmd
    res = _executeShCmd(cmd.rhs, shenv, results, timeoutHelper)
  File "/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 892, in _executeShCmd
    subprocess.Popen(
TypeError: __init__() got an unexpected keyword argument 'umask'


********************
Testing:  0
UNRESOLVED: Clang :: Analysis/exploded-graph-rewriter/constraints.dot (787 of 20772)
******************** TEST 'Clang :: Analysis/exploded-graph-rewriter/constraints.dot' FAILED ********************
Exception during script execution:
Traceback (most recent call last):
  File "/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/utils/lit/lit/worker.py", line 76, in _execute_test_handle_errors
    result = test.config.test_format.execute(test, lit_config)
  File "/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/utils/lit/lit/formats/shtest.py", line 29, in execute
    return lit.TestRunner.executeShTest(
  File "/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 2295, in executeShTest
    return _runShTest(test, litConfig, useExternalSh, script, tmpBase)
  File "/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 2239, in _runShTest
    res = runOnce(execdir)
  File "/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 2215, in runOnce
Step 8 (check-llvm) failure: check-llvm (failure)
...
[302/307] Linking CXX executable tools/clang/unittests/CodeGen/ClangCodeGenTests
[303/307] Linking CXX executable tools/clang/unittests/Frontend/FrontendTests
[304/307] Linking CXX executable tools/clang/unittests/Tooling/ToolingTests
[305/307] Linking CXX executable tools/clang/unittests/Interpreter/ExceptionTests/ClangReplInterpreterExceptionTests
[306/307] Linking CXX executable tools/clang/unittests/Interpreter/ClangReplInterpreterTests
[306/307] Running the Clang regression tests
-- Testing: 20772 tests, 48 workers --
llvm-lit: /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/utils/lit/lit/llvm/config.py:508: note: using clang: /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/clang
Testing:  0
UNRESOLVED: Clang :: Analysis/exploded-graph-rewriter/constraints_diff.dot (786 of 20772)
******************** TEST 'Clang :: Analysis/exploded-graph-rewriter/constraints_diff.dot' FAILED ********************
Exception during script execution:
Traceback (most recent call last):
  File "/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/utils/lit/lit/worker.py", line 76, in _execute_test_handle_errors
    result = test.config.test_format.execute(test, lit_config)
  File "/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/utils/lit/lit/formats/shtest.py", line 29, in execute
    return lit.TestRunner.executeShTest(
  File "/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 2295, in executeShTest
    return _runShTest(test, litConfig, useExternalSh, script, tmpBase)
  File "/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 2239, in _runShTest
    res = runOnce(execdir)
  File "/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 2215, in runOnce
    res = executeScriptInternal(
  File "/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 1091, in executeScriptInternal
    exitCode, timeoutInfo = executeShCmd(
  File "/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 205, in executeShCmd
    finalExitCode = _executeShCmd(cmd, shenv, results, timeoutHelper)
  File "/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 712, in _executeShCmd
    res = _executeShCmd(cmd.rhs, shenv, results, timeoutHelper)
  File "/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 892, in _executeShCmd
    subprocess.Popen(
TypeError: __init__() got an unexpected keyword argument 'umask'


********************
Testing:  0
UNRESOLVED: Clang :: Analysis/exploded-graph-rewriter/constraints.dot (787 of 20772)
******************** TEST 'Clang :: Analysis/exploded-graph-rewriter/constraints.dot' FAILED ********************
Exception during script execution:
Traceback (most recent call last):
  File "/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/utils/lit/lit/worker.py", line 76, in _execute_test_handle_errors
    result = test.config.test_format.execute(test, lit_config)
  File "/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/utils/lit/lit/formats/shtest.py", line 29, in execute
    return lit.TestRunner.executeShTest(
  File "/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 2295, in executeShTest
    return _runShTest(test, litConfig, useExternalSh, script, tmpBase)
  File "/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 2239, in _runShTest
    res = runOnce(execdir)
  File "/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 2215, in runOnce

```

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


More information about the llvm-commits mailing list