Skip to content

Conversation

jayfoad
Copy link
Contributor

@jayfoad jayfoad commented Jun 6, 2024

This allows a few more tests to use lit's internal shell.

This allows a few more tests to use lit's internal shell.
@llvmbot
Copy link
Member

llvmbot commented Jun 6, 2024

@llvm/pr-subscribers-debuginfo

Author: Jay Foad (jayfoad)

Changes

This allows a few more tests to use lit's internal shell.


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

4 Files Affected:

  • (modified) llvm/test/tools/llvm-dwarfutil/ELF/X86/mirror-permissions-unix.test (-1)
  • (modified) llvm/test/tools/llvm-objcopy/ELF/mirror-permissions-unix.test (-1)
  • (modified) llvm/test/tools/llvm-objcopy/ELF/respect-umask.test (-1)
  • (modified) llvm/utils/lit/lit/TestRunner.py (+17-2)
diff --git a/llvm/test/tools/llvm-dwarfutil/ELF/X86/mirror-permissions-unix.test b/llvm/test/tools/llvm-dwarfutil/ELF/X86/mirror-permissions-unix.test
index a95d1c0aafa21..fdcba4dcd666b 100644
--- a/llvm/test/tools/llvm-dwarfutil/ELF/X86/mirror-permissions-unix.test
+++ b/llvm/test/tools/llvm-dwarfutil/ELF/X86/mirror-permissions-unix.test
@@ -3,7 +3,6 @@
 ## Setting the umask to 0 ensures deterministic permissions across
 ## test environments.
 # UNSUPPORTED: system-windows
-# REQUIRES: shell
 
 # RUN: touch %t
 # RUN: chmod 0777 %t
diff --git a/llvm/test/tools/llvm-objcopy/ELF/mirror-permissions-unix.test b/llvm/test/tools/llvm-objcopy/ELF/mirror-permissions-unix.test
index 8f4993f4f3d29..66a481a2230d1 100644
--- a/llvm/test/tools/llvm-objcopy/ELF/mirror-permissions-unix.test
+++ b/llvm/test/tools/llvm-objcopy/ELF/mirror-permissions-unix.test
@@ -6,7 +6,6 @@
 ## Setting the umask to 0 ensures deterministic permissions across
 ## test environments.
 # UNSUPPORTED: system-windows
-# REQUIRES: shell
 
 # RUN: touch %t
 # RUN: chmod 0777 %t
diff --git a/llvm/test/tools/llvm-objcopy/ELF/respect-umask.test b/llvm/test/tools/llvm-objcopy/ELF/respect-umask.test
index 376e33a217819..f4d3099056168 100644
--- a/llvm/test/tools/llvm-objcopy/ELF/respect-umask.test
+++ b/llvm/test/tools/llvm-objcopy/ELF/respect-umask.test
@@ -4,7 +4,6 @@
 ## Windows has no umask so this test makes no sense, nor would
 ## it work because there is no umask(1) in a Windows environment
 # UNSUPPORTED: system-windows
-# REQUIRES: shell
 
 # RUN: rm -f %t
 # RUN: touch %t
diff --git a/llvm/utils/lit/lit/TestRunner.py b/llvm/utils/lit/lit/TestRunner.py
index da7fa86fd3917..d2627728eb09e 100644
--- a/llvm/utils/lit/lit/TestRunner.py
+++ b/llvm/utils/lit/lit/TestRunner.py
@@ -87,10 +87,11 @@ class ShellEnvironment(object):
     we maintain a dir stack for pushd/popd.
     """
 
-    def __init__(self, cwd, env):
+    def __init__(self, cwd, env, umask=-1):
         self.cwd = cwd
         self.env = dict(env)
         self.dirStack = []
+        self.umask = umask
 
     def change_dir(self, newdir):
         if os.path.isabs(newdir):
@@ -565,6 +566,18 @@ class SHFILEOPSTRUCTW(Structure):
     return ShellCommandResult(cmd, "", stderr.getvalue(), exitCode, False)
 
 
+def executeBuiltinUmask(cmd, shenv):
+    """executeBuiltinUmask - Change the current umask."""
+    if len(cmd.args) != 2:
+        raise InternalShellError(cmd, "'umask' supports only one argument")
+    try:
+        # Update the umask in the parent environment.
+        shenv.umask = int(cmd.args[1], 8)
+    except ValueError as err:
+        raise InternalShellError(cmd, "Error: 'umask': %s" % str(err))
+    return ShellCommandResult(cmd, "", "", 0, False)
+
+
 def executeBuiltinColon(cmd, cmd_shenv):
     """executeBuiltinColon - Discard arguments and exit with status 0."""
     return ShellCommandResult(cmd, "", "", 0, False)
@@ -719,6 +732,7 @@ def _executeShCmd(cmd, shenv, results, timeoutHelper):
         "popd": executeBuiltinPopd,
         "pushd": executeBuiltinPushd,
         "rm": executeBuiltinRm,
+        "umask": executeBuiltinUmask,
         ":": executeBuiltinColon,
     }
     # To avoid deadlock, we use a single stderr stream for piped
@@ -740,7 +754,7 @@ def _executeShCmd(cmd, shenv, results, timeoutHelper):
                 #   env FOO=1 llc < %s | env BAR=2 llvm-mc | FileCheck %s
                 #   env FOO=1 %{another_env_plus_cmd} | FileCheck %s
                 if cmd_shenv is shenv:
-                    cmd_shenv = ShellEnvironment(shenv.cwd, shenv.env)
+                    cmd_shenv = ShellEnvironment(shenv.cwd, shenv.env, shenv.umask)
                 args = updateEnv(cmd_shenv, args)
                 if not args:
                     raise InternalShellError(j, "Error: 'env' requires a" " subcommand")
@@ -884,6 +898,7 @@ def _executeShCmd(cmd, shenv, results, timeoutHelper):
                     close_fds=kUseCloseFDs,
                     universal_newlines=True,
                     errors="replace",
+                    umask=cmd_shenv.umask,
                 )
             )
             proc_not_counts.append(not_count)

@llvmbot
Copy link
Member

llvmbot commented Jun 6, 2024

@llvm/pr-subscribers-testing-tools

Author: Jay Foad (jayfoad)

Changes

This allows a few more tests to use lit's internal shell.


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

4 Files Affected:

  • (modified) llvm/test/tools/llvm-dwarfutil/ELF/X86/mirror-permissions-unix.test (-1)
  • (modified) llvm/test/tools/llvm-objcopy/ELF/mirror-permissions-unix.test (-1)
  • (modified) llvm/test/tools/llvm-objcopy/ELF/respect-umask.test (-1)
  • (modified) llvm/utils/lit/lit/TestRunner.py (+17-2)
diff --git a/llvm/test/tools/llvm-dwarfutil/ELF/X86/mirror-permissions-unix.test b/llvm/test/tools/llvm-dwarfutil/ELF/X86/mirror-permissions-unix.test
index a95d1c0aafa21..fdcba4dcd666b 100644
--- a/llvm/test/tools/llvm-dwarfutil/ELF/X86/mirror-permissions-unix.test
+++ b/llvm/test/tools/llvm-dwarfutil/ELF/X86/mirror-permissions-unix.test
@@ -3,7 +3,6 @@
 ## Setting the umask to 0 ensures deterministic permissions across
 ## test environments.
 # UNSUPPORTED: system-windows
-# REQUIRES: shell
 
 # RUN: touch %t
 # RUN: chmod 0777 %t
diff --git a/llvm/test/tools/llvm-objcopy/ELF/mirror-permissions-unix.test b/llvm/test/tools/llvm-objcopy/ELF/mirror-permissions-unix.test
index 8f4993f4f3d29..66a481a2230d1 100644
--- a/llvm/test/tools/llvm-objcopy/ELF/mirror-permissions-unix.test
+++ b/llvm/test/tools/llvm-objcopy/ELF/mirror-permissions-unix.test
@@ -6,7 +6,6 @@
 ## Setting the umask to 0 ensures deterministic permissions across
 ## test environments.
 # UNSUPPORTED: system-windows
-# REQUIRES: shell
 
 # RUN: touch %t
 # RUN: chmod 0777 %t
diff --git a/llvm/test/tools/llvm-objcopy/ELF/respect-umask.test b/llvm/test/tools/llvm-objcopy/ELF/respect-umask.test
index 376e33a217819..f4d3099056168 100644
--- a/llvm/test/tools/llvm-objcopy/ELF/respect-umask.test
+++ b/llvm/test/tools/llvm-objcopy/ELF/respect-umask.test
@@ -4,7 +4,6 @@
 ## Windows has no umask so this test makes no sense, nor would
 ## it work because there is no umask(1) in a Windows environment
 # UNSUPPORTED: system-windows
-# REQUIRES: shell
 
 # RUN: rm -f %t
 # RUN: touch %t
diff --git a/llvm/utils/lit/lit/TestRunner.py b/llvm/utils/lit/lit/TestRunner.py
index da7fa86fd3917..d2627728eb09e 100644
--- a/llvm/utils/lit/lit/TestRunner.py
+++ b/llvm/utils/lit/lit/TestRunner.py
@@ -87,10 +87,11 @@ class ShellEnvironment(object):
     we maintain a dir stack for pushd/popd.
     """
 
-    def __init__(self, cwd, env):
+    def __init__(self, cwd, env, umask=-1):
         self.cwd = cwd
         self.env = dict(env)
         self.dirStack = []
+        self.umask = umask
 
     def change_dir(self, newdir):
         if os.path.isabs(newdir):
@@ -565,6 +566,18 @@ class SHFILEOPSTRUCTW(Structure):
     return ShellCommandResult(cmd, "", stderr.getvalue(), exitCode, False)
 
 
+def executeBuiltinUmask(cmd, shenv):
+    """executeBuiltinUmask - Change the current umask."""
+    if len(cmd.args) != 2:
+        raise InternalShellError(cmd, "'umask' supports only one argument")
+    try:
+        # Update the umask in the parent environment.
+        shenv.umask = int(cmd.args[1], 8)
+    except ValueError as err:
+        raise InternalShellError(cmd, "Error: 'umask': %s" % str(err))
+    return ShellCommandResult(cmd, "", "", 0, False)
+
+
 def executeBuiltinColon(cmd, cmd_shenv):
     """executeBuiltinColon - Discard arguments and exit with status 0."""
     return ShellCommandResult(cmd, "", "", 0, False)
@@ -719,6 +732,7 @@ def _executeShCmd(cmd, shenv, results, timeoutHelper):
         "popd": executeBuiltinPopd,
         "pushd": executeBuiltinPushd,
         "rm": executeBuiltinRm,
+        "umask": executeBuiltinUmask,
         ":": executeBuiltinColon,
     }
     # To avoid deadlock, we use a single stderr stream for piped
@@ -740,7 +754,7 @@ def _executeShCmd(cmd, shenv, results, timeoutHelper):
                 #   env FOO=1 llc < %s | env BAR=2 llvm-mc | FileCheck %s
                 #   env FOO=1 %{another_env_plus_cmd} | FileCheck %s
                 if cmd_shenv is shenv:
-                    cmd_shenv = ShellEnvironment(shenv.cwd, shenv.env)
+                    cmd_shenv = ShellEnvironment(shenv.cwd, shenv.env, shenv.umask)
                 args = updateEnv(cmd_shenv, args)
                 if not args:
                     raise InternalShellError(j, "Error: 'env' requires a" " subcommand")
@@ -884,6 +898,7 @@ def _executeShCmd(cmd, shenv, results, timeoutHelper):
                     close_fds=kUseCloseFDs,
                     universal_newlines=True,
                     errors="replace",
+                    umask=cmd_shenv.umask,
                 )
             )
             proc_not_counts.append(not_count)

@llvmbot
Copy link
Member

llvmbot commented Jun 6, 2024

@llvm/pr-subscribers-llvm-binary-utilities

Author: Jay Foad (jayfoad)

Changes

This allows a few more tests to use lit's internal shell.


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

4 Files Affected:

  • (modified) llvm/test/tools/llvm-dwarfutil/ELF/X86/mirror-permissions-unix.test (-1)
  • (modified) llvm/test/tools/llvm-objcopy/ELF/mirror-permissions-unix.test (-1)
  • (modified) llvm/test/tools/llvm-objcopy/ELF/respect-umask.test (-1)
  • (modified) llvm/utils/lit/lit/TestRunner.py (+17-2)
diff --git a/llvm/test/tools/llvm-dwarfutil/ELF/X86/mirror-permissions-unix.test b/llvm/test/tools/llvm-dwarfutil/ELF/X86/mirror-permissions-unix.test
index a95d1c0aafa21..fdcba4dcd666b 100644
--- a/llvm/test/tools/llvm-dwarfutil/ELF/X86/mirror-permissions-unix.test
+++ b/llvm/test/tools/llvm-dwarfutil/ELF/X86/mirror-permissions-unix.test
@@ -3,7 +3,6 @@
 ## Setting the umask to 0 ensures deterministic permissions across
 ## test environments.
 # UNSUPPORTED: system-windows
-# REQUIRES: shell
 
 # RUN: touch %t
 # RUN: chmod 0777 %t
diff --git a/llvm/test/tools/llvm-objcopy/ELF/mirror-permissions-unix.test b/llvm/test/tools/llvm-objcopy/ELF/mirror-permissions-unix.test
index 8f4993f4f3d29..66a481a2230d1 100644
--- a/llvm/test/tools/llvm-objcopy/ELF/mirror-permissions-unix.test
+++ b/llvm/test/tools/llvm-objcopy/ELF/mirror-permissions-unix.test
@@ -6,7 +6,6 @@
 ## Setting the umask to 0 ensures deterministic permissions across
 ## test environments.
 # UNSUPPORTED: system-windows
-# REQUIRES: shell
 
 # RUN: touch %t
 # RUN: chmod 0777 %t
diff --git a/llvm/test/tools/llvm-objcopy/ELF/respect-umask.test b/llvm/test/tools/llvm-objcopy/ELF/respect-umask.test
index 376e33a217819..f4d3099056168 100644
--- a/llvm/test/tools/llvm-objcopy/ELF/respect-umask.test
+++ b/llvm/test/tools/llvm-objcopy/ELF/respect-umask.test
@@ -4,7 +4,6 @@
 ## Windows has no umask so this test makes no sense, nor would
 ## it work because there is no umask(1) in a Windows environment
 # UNSUPPORTED: system-windows
-# REQUIRES: shell
 
 # RUN: rm -f %t
 # RUN: touch %t
diff --git a/llvm/utils/lit/lit/TestRunner.py b/llvm/utils/lit/lit/TestRunner.py
index da7fa86fd3917..d2627728eb09e 100644
--- a/llvm/utils/lit/lit/TestRunner.py
+++ b/llvm/utils/lit/lit/TestRunner.py
@@ -87,10 +87,11 @@ class ShellEnvironment(object):
     we maintain a dir stack for pushd/popd.
     """
 
-    def __init__(self, cwd, env):
+    def __init__(self, cwd, env, umask=-1):
         self.cwd = cwd
         self.env = dict(env)
         self.dirStack = []
+        self.umask = umask
 
     def change_dir(self, newdir):
         if os.path.isabs(newdir):
@@ -565,6 +566,18 @@ class SHFILEOPSTRUCTW(Structure):
     return ShellCommandResult(cmd, "", stderr.getvalue(), exitCode, False)
 
 
+def executeBuiltinUmask(cmd, shenv):
+    """executeBuiltinUmask - Change the current umask."""
+    if len(cmd.args) != 2:
+        raise InternalShellError(cmd, "'umask' supports only one argument")
+    try:
+        # Update the umask in the parent environment.
+        shenv.umask = int(cmd.args[1], 8)
+    except ValueError as err:
+        raise InternalShellError(cmd, "Error: 'umask': %s" % str(err))
+    return ShellCommandResult(cmd, "", "", 0, False)
+
+
 def executeBuiltinColon(cmd, cmd_shenv):
     """executeBuiltinColon - Discard arguments and exit with status 0."""
     return ShellCommandResult(cmd, "", "", 0, False)
@@ -719,6 +732,7 @@ def _executeShCmd(cmd, shenv, results, timeoutHelper):
         "popd": executeBuiltinPopd,
         "pushd": executeBuiltinPushd,
         "rm": executeBuiltinRm,
+        "umask": executeBuiltinUmask,
         ":": executeBuiltinColon,
     }
     # To avoid deadlock, we use a single stderr stream for piped
@@ -740,7 +754,7 @@ def _executeShCmd(cmd, shenv, results, timeoutHelper):
                 #   env FOO=1 llc < %s | env BAR=2 llvm-mc | FileCheck %s
                 #   env FOO=1 %{another_env_plus_cmd} | FileCheck %s
                 if cmd_shenv is shenv:
-                    cmd_shenv = ShellEnvironment(shenv.cwd, shenv.env)
+                    cmd_shenv = ShellEnvironment(shenv.cwd, shenv.env, shenv.umask)
                 args = updateEnv(cmd_shenv, args)
                 if not args:
                     raise InternalShellError(j, "Error: 'env' requires a" " subcommand")
@@ -884,6 +898,7 @@ def _executeShCmd(cmd, shenv, results, timeoutHelper):
                     close_fds=kUseCloseFDs,
                     universal_newlines=True,
                     errors="replace",
+                    umask=cmd_shenv.umask,
                 )
             )
             proc_not_counts.append(not_count)

def executeBuiltinUmask(cmd, shenv):
"""executeBuiltinUmask - Change the current umask."""
if len(cmd.args) != 2:
raise InternalShellError(cmd, "'umask' supports only one argument")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
raise InternalShellError(cmd, "'umask' supports only one argument")
raise InternalShellError(cmd, "'umask' requires exactly one argument")

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In this patch I was just being consistent with the other builtins that check the number of arguments. I have no objection to changing the wording for all of them, in a different patch.

Copy link
Collaborator

@pogo59 pogo59 Jun 6, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consistency is good. I don't feel strongly enough about it to request a separate comment-fix patch.

Comment on lines 4 to 5
## Windows has no umask so this test makes no sense, nor would
## it work because there is no umask(1) in a Windows environment
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
## Windows has no umask so this test makes no sense, nor would
## it work because there is no umask(1) in a Windows environment
## Windows has no umask so this test makes no sense.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems fine to me. I didn't write the original comment. Perhaps it was trying to explain that Windows has neither umask(1) nor umask(2) ?!

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably it was. But that's not relevant anymore now that the internal shell has umask.

@pogo59
Copy link
Collaborator

pogo59 commented Jun 6, 2024

You probably want to add something within lit's own test suite to exercise the umask function. Might also want to show it fails cleanly on Windows.

@jayfoad jayfoad requested a review from MaskRay June 11, 2024 12:19
@jayfoad
Copy link
Contributor Author

jayfoad commented Jun 12, 2024

You probably want to add something within lit's own test suite to exercise the umask function.

Done.

Might also want to show it fails cleanly on Windows.

My umask implementation in lit just builds on the "umask" argument to Python's subprocess.Popen. I doubt that has any useful effect on Windows, but I don't explicitly check for that. It's still up to anyone who writes a test using umask to add something like UNSUPPORTED: system-windows.

@pogo59
Copy link
Collaborator

pogo59 commented Jun 12, 2024

It's still up to anyone who writes a test using umask to add something like UNSUPPORTED: system-windows.

That's not friendly to test writers IMO. If we know it won't work, we might as well just fail saying so up front, and save people having to research and diagnose mystery failures on Windows when they don't have Windows locally to try it on.

@jayfoad
Copy link
Contributor Author

jayfoad commented Jun 12, 2024

It's still up to anyone who writes a test using umask to add something like UNSUPPORTED: system-windows.

That's not friendly to test writers IMO. If we know it won't work, we might as well just fail saying so up front, and save people having to research and diagnose mystery failures on Windows when they don't have Windows locally to try it on.

I don't understand what kind of diagnostic you want. If I'm on Linux and I write a test that uses umask, I do not want it to fail with "error: this would not work on Windows".

@jayfoad
Copy link
Contributor Author

jayfoad commented Jun 12, 2024

It's still up to anyone who writes a test using umask to add something like UNSUPPORTED: system-windows.

That's not friendly to test writers IMO. If we know it won't work, we might as well just fail saying so up front, and save people having to research and diagnose mystery failures on Windows when they don't have Windows locally to try it on.

I don't understand what kind of diagnostic you want. If I'm on Linux and I write a test that uses umask, I do not want it to fail with "error: this would not work on Windows".

Also note I'm not changing the status quo in this regard. People already write tests that use umask, and don't immediately find out that they won't work on Windows.

@pogo59
Copy link
Collaborator

pogo59 commented Jun 12, 2024

No, the umask implementation should say something like if onWindows: die("umask doesn't work on Windows")
Not that I know how to check for Windows or how to spell die in Pythonic. But you get the idea.

@pogo59
Copy link
Collaborator

pogo59 commented Jun 12, 2024

The status quo is that any test using umask needs REQUIRES: shell and already won't be running on Windows. So you are changing the status quo.

@jayfoad
Copy link
Contributor Author

jayfoad commented Jun 12, 2024

No, the umask implementation should say something like if onWindows: die("umask doesn't work on Windows") Not that I know how to check for Windows or how to spell die in Pythonic. But you get the idea.

I see. Done.

Copy link
Collaborator

@pogo59 pogo59 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you can, run the umask test on Windows, I'm pretty sure you want the change I marked.
Otherwise LGTM.

# CHECK: # | 'umask' supports only one argument

# CHECK: Total Discovered Tests: 3
# CHECK: {{Passed|Unresolved}}: 1 {{\([0-9]*\.[0-9]*%\)}}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# CHECK: {{Passed|Unresolved}}: 1 {{\([0-9]*\.[0-9]*%\)}}
# CHECK: {{Passed|Unsupported}}: 1 {{\([0-9]*\.[0-9]*%\)}}

"Unresolved" means something else.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I think you're right, but then I don't understand why CI testing for this PR passed on Windows.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does CI run the lit tests? I downloaded the log and I don't see "shtest-umask" in it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see, thanks, it runs ninja check-clang check-clang-tools check-lld check-llvm check-mlir check-polly but that does not include check-lit :-(

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Working on getting the test to work in my environment. Taking longer than I expected.


config.name = "shtest-umask"
config.suffixes = [".txt"]
config.test_format = lit.formats.ShTest(execute_external=False)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You'll need to add this:

if sys.platform.startswith("win") or sys.platform.startswith("cygwin"):
    config.available_features.add("system-windows")

because this sandboxed configuration doesn't run the parent lit.cfg. But with that, and changing the expectation in shtest-umask.py to Unsupported, it should work. (A hacked-up version does work in my Windows environment.)

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still needs this suggested change, otherwise good to go.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done. Can you please verify that it works? It's pretty annoying that the bots do not run check-lit and I have no access to a Windows box that can build LLVM.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bots not running check-lit does seem like an oversight. I will apply your patch and try it out tomorrow.

Comment on lines 93 to 94
self.dirStack = []
self.umask = umask
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is just a nit but I'd reorder these two fields to match the order of arguments.

Suggested change
self.dirStack = []
self.umask = umask
self.umask = umask
self.dirStack = []

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done, thanks.

@pogo59
Copy link
Collaborator

pogo59 commented Jul 9, 2024

Just to confirm: are you happy for me to commit this patch as-is?

Yes.

@jayfoad jayfoad merged commit 9f6dd1f into llvm:main Jul 9, 2024
@jayfoad jayfoad deleted the lit-umask branch July 9, 2024 16:14
@llvm-ci
Copy link
Collaborator

llvm-ci commented Jul 9, 2024

LLVM Buildbot has detected a new failure on builder ppc64le-mlir-rhel-clang running on ppc64le-mlir-rhel-test while building llvm at step 6 "test-build-check-mlir-build-only-check-mlir".

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

Here is the relevant piece of the build log for the reference:

Step 6 (test-build-check-mlir-build-only-check-mlir) failure: test (failure)
0.000 [0/1/0] Running the MLIR regression tests
-- Testing: 2850 tests, 256 workers --
UNRESOLVED: MLIR :: Analysis/DataFlow/test-last-modified.mlir (1 of 2850)
******************** TEST 'MLIR :: Analysis/DataFlow/test-last-modified.mlir' FAILED ********************
Exception during script execution:
Traceback (most recent call last):
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-mlir-rhel-test/ppc64le-mlir-rhel-clang-build/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 "/home/buildbots/llvm-external-buildbots/workers/ppc64le-mlir-rhel-test/ppc64le-mlir-rhel-clang-build/llvm-project/llvm/utils/lit/lit/formats/shtest.py", line 29, in execute
    return lit.TestRunner.executeShTest(
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-mlir-rhel-test/ppc64le-mlir-rhel-clang-build/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 2295, in executeShTest
    return _runShTest(test, litConfig, useExternalSh, script, tmpBase)
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-mlir-rhel-test/ppc64le-mlir-rhel-clang-build/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 2239, in _runShTest
    res = runOnce(execdir)
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-mlir-rhel-test/ppc64le-mlir-rhel-clang-build/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 2215, in runOnce
    res = executeScriptInternal(
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-mlir-rhel-test/ppc64le-mlir-rhel-clang-build/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 1091, in executeScriptInternal
    exitCode, timeoutInfo = executeShCmd(
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-mlir-rhel-test/ppc64le-mlir-rhel-clang-build/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 205, in executeShCmd
    finalExitCode = _executeShCmd(cmd, shenv, results, timeoutHelper)
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-mlir-rhel-test/ppc64le-mlir-rhel-clang-build/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 712, in _executeShCmd
    res = _executeShCmd(cmd.rhs, shenv, results, timeoutHelper)
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-mlir-rhel-test/ppc64le-mlir-rhel-clang-build/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 892, in _executeShCmd
    subprocess.Popen(
TypeError: __init__() got an unexpected keyword argument 'umask'


********************
UNRESOLVED: MLIR :: Analysis/DataFlow/test-dead-code-analysis.mlir (2 of 2850)
******************** TEST 'MLIR :: Analysis/DataFlow/test-dead-code-analysis.mlir' FAILED ********************
Exception during script execution:
Traceback (most recent call last):
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-mlir-rhel-test/ppc64le-mlir-rhel-clang-build/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 "/home/buildbots/llvm-external-buildbots/workers/ppc64le-mlir-rhel-test/ppc64le-mlir-rhel-clang-build/llvm-project/llvm/utils/lit/lit/formats/shtest.py", line 29, in execute
    return lit.TestRunner.executeShTest(
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-mlir-rhel-test/ppc64le-mlir-rhel-clang-build/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 2295, in executeShTest
    return _runShTest(test, litConfig, useExternalSh, script, tmpBase)
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-mlir-rhel-test/ppc64le-mlir-rhel-clang-build/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 2239, in _runShTest
    res = runOnce(execdir)
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-mlir-rhel-test/ppc64le-mlir-rhel-clang-build/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 2215, in runOnce
    res = executeScriptInternal(
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-mlir-rhel-test/ppc64le-mlir-rhel-clang-build/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 1091, in executeScriptInternal
    exitCode, timeoutInfo = executeShCmd(
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-mlir-rhel-test/ppc64le-mlir-rhel-clang-build/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 205, in executeShCmd
    finalExitCode = _executeShCmd(cmd, shenv, results, timeoutHelper)
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-mlir-rhel-test/ppc64le-mlir-rhel-clang-build/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 712, in _executeShCmd
    res = _executeShCmd(cmd.rhs, shenv, results, timeoutHelper)
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-mlir-rhel-test/ppc64le-mlir-rhel-clang-build/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 892, in _executeShCmd
    subprocess.Popen(

@llvm-ci
Copy link
Collaborator

llvm-ci commented Jul 9, 2024

LLVM Buildbot has detected a new failure on builder mlir-nvidia running on mlir-nvidia while building llvm at step 6 "test-build-check-mlir-build-only-check-mlir".

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

Here is the relevant piece of the build log for the reference:

Step 6 (test-build-check-mlir-build-only-check-mlir) failure: test (failure)
0.000 [0/1/0] Running the MLIR regression tests
-- Testing: 2419 tests, 16 workers --
UNRESOLVED: MLIR :: Analysis/DataFlow/test-liveness-analysis.mlir (1 of 2419)
******************** TEST 'MLIR :: Analysis/DataFlow/test-liveness-analysis.mlir' FAILED ********************
Exception during script execution:
Traceback (most recent call last):
  File "/vol/worker/mlir-nvidia/mlir-nvidia/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 "/vol/worker/mlir-nvidia/mlir-nvidia/llvm.src/llvm/utils/lit/lit/formats/shtest.py", line 29, in execute
    return lit.TestRunner.executeShTest(
  File "/vol/worker/mlir-nvidia/mlir-nvidia/llvm.src/llvm/utils/lit/lit/TestRunner.py", line 2295, in executeShTest
    return _runShTest(test, litConfig, useExternalSh, script, tmpBase)
  File "/vol/worker/mlir-nvidia/mlir-nvidia/llvm.src/llvm/utils/lit/lit/TestRunner.py", line 2239, in _runShTest
    res = runOnce(execdir)
  File "/vol/worker/mlir-nvidia/mlir-nvidia/llvm.src/llvm/utils/lit/lit/TestRunner.py", line 2215, in runOnce
    res = executeScriptInternal(
  File "/vol/worker/mlir-nvidia/mlir-nvidia/llvm.src/llvm/utils/lit/lit/TestRunner.py", line 1091, in executeScriptInternal
    exitCode, timeoutInfo = executeShCmd(
  File "/vol/worker/mlir-nvidia/mlir-nvidia/llvm.src/llvm/utils/lit/lit/TestRunner.py", line 205, in executeShCmd
    finalExitCode = _executeShCmd(cmd, shenv, results, timeoutHelper)
  File "/vol/worker/mlir-nvidia/mlir-nvidia/llvm.src/llvm/utils/lit/lit/TestRunner.py", line 712, in _executeShCmd
    res = _executeShCmd(cmd.rhs, shenv, results, timeoutHelper)
  File "/vol/worker/mlir-nvidia/mlir-nvidia/llvm.src/llvm/utils/lit/lit/TestRunner.py", line 892, in _executeShCmd
    subprocess.Popen(
TypeError: __init__() got an unexpected keyword argument 'umask'


********************
UNRESOLVED: MLIR :: Analysis/invalid.mlir (2 of 2419)
******************** TEST 'MLIR :: Analysis/invalid.mlir' FAILED ********************
Exception during script execution:
Traceback (most recent call last):
  File "/vol/worker/mlir-nvidia/mlir-nvidia/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 "/vol/worker/mlir-nvidia/mlir-nvidia/llvm.src/llvm/utils/lit/lit/formats/shtest.py", line 29, in execute
    return lit.TestRunner.executeShTest(
  File "/vol/worker/mlir-nvidia/mlir-nvidia/llvm.src/llvm/utils/lit/lit/TestRunner.py", line 2295, in executeShTest
    return _runShTest(test, litConfig, useExternalSh, script, tmpBase)
  File "/vol/worker/mlir-nvidia/mlir-nvidia/llvm.src/llvm/utils/lit/lit/TestRunner.py", line 2239, in _runShTest
    res = runOnce(execdir)
  File "/vol/worker/mlir-nvidia/mlir-nvidia/llvm.src/llvm/utils/lit/lit/TestRunner.py", line 2215, in runOnce
    res = executeScriptInternal(
  File "/vol/worker/mlir-nvidia/mlir-nvidia/llvm.src/llvm/utils/lit/lit/TestRunner.py", line 1091, in executeScriptInternal
    exitCode, timeoutInfo = executeShCmd(
  File "/vol/worker/mlir-nvidia/mlir-nvidia/llvm.src/llvm/utils/lit/lit/TestRunner.py", line 205, in executeShCmd
    finalExitCode = _executeShCmd(cmd, shenv, results, timeoutHelper)
  File "/vol/worker/mlir-nvidia/mlir-nvidia/llvm.src/llvm/utils/lit/lit/TestRunner.py", line 712, in _executeShCmd
    res = _executeShCmd(cmd.rhs, shenv, results, timeoutHelper)
  File "/vol/worker/mlir-nvidia/mlir-nvidia/llvm.src/llvm/utils/lit/lit/TestRunner.py", line 892, in _executeShCmd
    subprocess.Popen(

@llvm-ci
Copy link
Collaborator

llvm-ci commented Jul 9, 2024

LLVM Buildbot has detected a new failure on builder mlir-s390x-linux running on systemz-1 while building llvm at step 6 "test-build-unified-tree-check-mlir".

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

Here is the relevant piece of the build log for the reference:

Step 6 (test-build-unified-tree-check-mlir) failure: test (failure)
...
4.757 [1/7/127] Linking CXX executable tools/mlir/unittests/TableGen/MLIRTableGenTests
8.609 [1/6/128] Linking CXX executable tools/mlir/unittests/Target/LLVM/MLIRTargetLLVMTests
14.891 [1/5/129] Linking CXX executable bin/mlir-capi-translation-test
16.128 [1/4/130] Linking CXX executable tools/mlir/unittests/ExecutionEngine/MLIRExecutionEngineTests
16.305 [1/3/131] Linking CXX executable bin/mlir-capi-ir-test
16.368 [1/2/132] Linking CXX executable bin/mlir-capi-pass-test
17.440 [1/1/133] Linking CXX executable bin/mlir-capi-execution-engine-test
17.440 [0/1/133] Running the MLIR regression tests
-- Testing: 2476 tests, 4 workers --
UNRESOLVED: MLIR :: Analysis/DataFlow/test-dead-code-analysis.mlir (1 of 2476)
******************** TEST 'MLIR :: Analysis/DataFlow/test-dead-code-analysis.mlir' FAILED ********************
Exception during script execution:
Traceback (most recent call last):
  File "/home/uweigand/sandbox/buildbot/mlir-s390x-linux/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 "/home/uweigand/sandbox/buildbot/mlir-s390x-linux/llvm-project/llvm/utils/lit/lit/formats/shtest.py", line 29, in execute
    return lit.TestRunner.executeShTest(
  File "/home/uweigand/sandbox/buildbot/mlir-s390x-linux/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 2295, in executeShTest
    return _runShTest(test, litConfig, useExternalSh, script, tmpBase)
  File "/home/uweigand/sandbox/buildbot/mlir-s390x-linux/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 2239, in _runShTest
    res = runOnce(execdir)
  File "/home/uweigand/sandbox/buildbot/mlir-s390x-linux/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 2215, in runOnce
    res = executeScriptInternal(
  File "/home/uweigand/sandbox/buildbot/mlir-s390x-linux/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 1091, in executeScriptInternal
    exitCode, timeoutInfo = executeShCmd(
  File "/home/uweigand/sandbox/buildbot/mlir-s390x-linux/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 205, in executeShCmd
    finalExitCode = _executeShCmd(cmd, shenv, results, timeoutHelper)
  File "/home/uweigand/sandbox/buildbot/mlir-s390x-linux/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 712, in _executeShCmd
    res = _executeShCmd(cmd.rhs, shenv, results, timeoutHelper)
  File "/home/uweigand/sandbox/buildbot/mlir-s390x-linux/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 892, in _executeShCmd
    subprocess.Popen(
TypeError: __init__() got an unexpected keyword argument 'umask'


********************
UNRESOLVED: MLIR :: Analysis/DataFlow/test-liveness-analysis.mlir (2 of 2476)
******************** TEST 'MLIR :: Analysis/DataFlow/test-liveness-analysis.mlir' FAILED ********************
Exception during script execution:
Traceback (most recent call last):
  File "/home/uweigand/sandbox/buildbot/mlir-s390x-linux/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 "/home/uweigand/sandbox/buildbot/mlir-s390x-linux/llvm-project/llvm/utils/lit/lit/formats/shtest.py", line 29, in execute
    return lit.TestRunner.executeShTest(
  File "/home/uweigand/sandbox/buildbot/mlir-s390x-linux/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 2295, in executeShTest
    return _runShTest(test, litConfig, useExternalSh, script, tmpBase)
  File "/home/uweigand/sandbox/buildbot/mlir-s390x-linux/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 2239, in _runShTest
    res = runOnce(execdir)
  File "/home/uweigand/sandbox/buildbot/mlir-s390x-linux/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 2215, in runOnce
    res = executeScriptInternal(

@llvm-ci
Copy link
Collaborator

llvm-ci commented Jul 9, 2024

LLVM Buildbot has detected a new failure on builder mlir-rocm-mi200 running on mi200-buildbot while building llvm at step 6 "test-build-check-mlir-build-only-check-mlir".

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

Here is the relevant piece of the build log for the reference:

Step 6 (test-build-check-mlir-build-only-check-mlir) failure: test (failure)
0.000 [0/1/0] Running the MLIR regression tests
-- Testing: 2668 tests, 56 workers --
UNRESOLVED: MLIR :: Analysis/DataFlow/test-dead-code-analysis.mlir (1 of 2668)
******************** TEST 'MLIR :: Analysis/DataFlow/test-dead-code-analysis.mlir' FAILED ********************
Exception during script execution:
Traceback (most recent call last):
  File "/vol/worker/mi200-buildbot/mlir-rocm-mi200/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 "/vol/worker/mi200-buildbot/mlir-rocm-mi200/llvm-project/llvm/utils/lit/lit/formats/shtest.py", line 29, in execute
    return lit.TestRunner.executeShTest(
  File "/vol/worker/mi200-buildbot/mlir-rocm-mi200/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 2295, in executeShTest
    return _runShTest(test, litConfig, useExternalSh, script, tmpBase)
  File "/vol/worker/mi200-buildbot/mlir-rocm-mi200/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 2239, in _runShTest
    res = runOnce(execdir)
  File "/vol/worker/mi200-buildbot/mlir-rocm-mi200/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 2215, in runOnce
    res = executeScriptInternal(
  File "/vol/worker/mi200-buildbot/mlir-rocm-mi200/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 1091, in executeScriptInternal
    exitCode, timeoutInfo = executeShCmd(
  File "/vol/worker/mi200-buildbot/mlir-rocm-mi200/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 205, in executeShCmd
    finalExitCode = _executeShCmd(cmd, shenv, results, timeoutHelper)
  File "/vol/worker/mi200-buildbot/mlir-rocm-mi200/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 712, in _executeShCmd
    res = _executeShCmd(cmd.rhs, shenv, results, timeoutHelper)
  File "/vol/worker/mi200-buildbot/mlir-rocm-mi200/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 892, in _executeShCmd
    subprocess.Popen(
TypeError: __init__() got an unexpected keyword argument 'umask'


********************
UNRESOLVED: MLIR :: Analysis/DataFlow/test-last-modified.mlir (2 of 2668)
******************** TEST 'MLIR :: Analysis/DataFlow/test-last-modified.mlir' FAILED ********************
Exception during script execution:
Traceback (most recent call last):
  File "/vol/worker/mi200-buildbot/mlir-rocm-mi200/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 "/vol/worker/mi200-buildbot/mlir-rocm-mi200/llvm-project/llvm/utils/lit/lit/formats/shtest.py", line 29, in execute
    return lit.TestRunner.executeShTest(
  File "/vol/worker/mi200-buildbot/mlir-rocm-mi200/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 2295, in executeShTest
    return _runShTest(test, litConfig, useExternalSh, script, tmpBase)
  File "/vol/worker/mi200-buildbot/mlir-rocm-mi200/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 2239, in _runShTest
    res = runOnce(execdir)
  File "/vol/worker/mi200-buildbot/mlir-rocm-mi200/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 2215, in runOnce
    res = executeScriptInternal(
  File "/vol/worker/mi200-buildbot/mlir-rocm-mi200/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 1091, in executeScriptInternal
    exitCode, timeoutInfo = executeShCmd(
  File "/vol/worker/mi200-buildbot/mlir-rocm-mi200/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 205, in executeShCmd
    finalExitCode = _executeShCmd(cmd, shenv, results, timeoutHelper)
  File "/vol/worker/mi200-buildbot/mlir-rocm-mi200/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 712, in _executeShCmd
    res = _executeShCmd(cmd.rhs, shenv, results, timeoutHelper)
  File "/vol/worker/mi200-buildbot/mlir-rocm-mi200/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 892, in _executeShCmd
    subprocess.Popen(

jayfoad added a commit that referenced this pull request Jul 9, 2024
jayfoad added a commit that referenced this pull request Jul 9, 2024
This reverts commit 9f6dd1f.

Reverting to investigate buildbot failures e.g.:
"new failure on builder ppc64le-mlir-rhel-clang running on ppc64le-mlir-rhel-test"
@jayfoad
Copy link
Contributor Author

jayfoad commented Jul 9, 2024

Ugh. I have reverted to investigate the buildbot failures.

@llvm-ci
Copy link
Collaborator

llvm-ci commented Jul 9, 2024

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

@llvm-ci
Copy link
Collaborator

llvm-ci commented Jul 9, 2024

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)

@llvm-ci
Copy link
Collaborator

llvm-ci commented Jul 9, 2024

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

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

Here is the relevant piece of the build log for the reference:

Step 6 (test-openmp) failure: test (failure)
...


-- check-runtimes does nothing.
-- Configuring done
-- Generating done
-- Build files have been written to: /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-amdgcn-amd-amdhsa-bins
[5/6] cd /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-bins && /usr/local/cmake/bin/cmake --build /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/ --target check-openmp --config Release
[0/1] Running OpenMP tests
-- Testing: 405 tests, 32 workers --
UNRESOLVED: libomp :: affinity/kmp-affinity-reset.c (1 of 405)
******************** TEST 'libomp :: affinity/kmp-affinity-reset.c' FAILED ********************
Exception during script execution:
Traceback (most recent call last):
  File "/home/ompworker/bbot/openmp-offload-libc-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-libc-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-libc-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-libc-amdgpu-runtime/llvm.src/llvm/utils/lit/lit/TestRunner.py", line 2239, in _runShTest
    res = runOnce(execdir)
  File "/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/llvm/utils/lit/lit/TestRunner.py", line 2215, in runOnce
    res = executeScriptInternal(
  File "/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/llvm/utils/lit/lit/TestRunner.py", line 1091, in executeScriptInternal
    exitCode, timeoutInfo = executeShCmd(
  File "/home/ompworker/bbot/openmp-offload-libc-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-libc-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-libc-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-libc-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: libomp :: affinity/format/nested.c (2 of 405)
******************** TEST 'libomp :: affinity/format/nested.c' FAILED ********************
Exception during script execution:
Traceback (most recent call last):
  File "/home/ompworker/bbot/openmp-offload-libc-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-libc-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-libc-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-libc-amdgpu-runtime/llvm.src/llvm/utils/lit/lit/TestRunner.py", line 2239, in _runShTest
    res = runOnce(execdir)
Step 7 (Add check check-clang) failure: test (failure)
...
PASS: Clang :: Analysis/dynamic_type_check.m (790 of 20464)
PASS: Clang :: Analysis/egraph-asm-goto-no-crash.cpp (791 of 20464)
PASS: Clang :: Analysis/elementtype.c (792 of 20464)
PASS: Clang :: Analysis/end-function-return-stmt.cpp (793 of 20464)
PASS: Clang :: Analysis/diagnostics/undef-value-param.m (794 of 20464)
PASS: Clang :: Analysis/dispatch-once.m (795 of 20464)
PASS: Clang :: Analysis/dtor-cxx11.cpp (796 of 20464)
PASS: Clang :: Analysis/diagnostics/implicit-cxx-std-suppression.cpp (797 of 20464)
PASS: Clang :: Analysis/dynamic-cast.cpp (798 of 20464)
UNRESOLVED: Clang :: Analysis/exploded-graph-rewriter/checker_messages.dot (799 of 20464)
******************** TEST 'Clang :: Analysis/exploded-graph-rewriter/checker_messages.dot' FAILED ********************
Exception during script execution:
Traceback (most recent call last):
  File "/home/ompworker/bbot/openmp-offload-libc-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-libc-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-libc-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-libc-amdgpu-runtime/llvm.src/llvm/utils/lit/lit/TestRunner.py", line 2239, in _runShTest
    res = runOnce(execdir)
  File "/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/llvm/utils/lit/lit/TestRunner.py", line 2215, in runOnce
    res = executeScriptInternal(
  File "/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/llvm/utils/lit/lit/TestRunner.py", line 1091, in executeScriptInternal
    exitCode, timeoutInfo = executeShCmd(
  File "/home/ompworker/bbot/openmp-offload-libc-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-libc-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-libc-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: Clang :: Analysis/exploded-graph-rewriter/checker_messages_diff.dot (800 of 20464)
******************** TEST 'Clang :: Analysis/exploded-graph-rewriter/checker_messages_diff.dot' FAILED ********************
Exception during script execution:
Traceback (most recent call last):
  File "/home/ompworker/bbot/openmp-offload-libc-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-libc-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-libc-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-libc-amdgpu-runtime/llvm.src/llvm/utils/lit/lit/TestRunner.py", line 2239, in _runShTest
    res = runOnce(execdir)
  File "/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/llvm/utils/lit/lit/TestRunner.py", line 2215, in runOnce
    res = executeScriptInternal(
Step 8 (Add check check-llvm) failure: test (failure)
...
PASS: LLVM :: Feature/ppcld.ll (29276 of 54013)
PASS: LLVM :: Feature/properties.ll (29277 of 54013)
PASS: LLVM :: Feature/simplecalltest.ll (29278 of 54013)
PASS: LLVM :: Feature/small.ll (29279 of 54013)
PASS: LLVM :: Feature/prototype.ll (29280 of 54013)
PASS: LLVM :: Feature/sparcld.ll (29281 of 54013)
PASS: LLVM :: Feature/seh-nounwind.ll (29282 of 54013)
PASS: LLVM :: Feature/smallest.ll (29283 of 54013)
PASS: LLVM :: Feature/terminators.ll (29284 of 54013)
UNRESOLVED: LLVM :: FileCheck/check-b-a-has-b.txt (29285 of 54013)
******************** TEST 'LLVM :: FileCheck/check-b-a-has-b.txt' FAILED ********************
Exception during script execution:
Traceback (most recent call last):
  File "/home/ompworker/bbot/openmp-offload-libc-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-libc-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-libc-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-libc-amdgpu-runtime/llvm.src/llvm/utils/lit/lit/TestRunner.py", line 2239, in _runShTest
    res = runOnce(execdir)
  File "/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/llvm/utils/lit/lit/TestRunner.py", line 2215, in runOnce
    res = executeScriptInternal(
  File "/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/llvm/utils/lit/lit/TestRunner.py", line 1091, in executeScriptInternal
    exitCode, timeoutInfo = executeShCmd(
  File "/home/ompworker/bbot/openmp-offload-libc-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-libc-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-libc-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: LLVM :: FileCheck/check-a-b-has-b.txt (29286 of 54013)
******************** TEST 'LLVM :: FileCheck/check-a-b-has-b.txt' FAILED ********************
Exception during script execution:
Traceback (most recent call last):
  File "/home/ompworker/bbot/openmp-offload-libc-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-libc-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-libc-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-libc-amdgpu-runtime/llvm.src/llvm/utils/lit/lit/TestRunner.py", line 2239, in _runShTest
    res = runOnce(execdir)
  File "/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/llvm/utils/lit/lit/TestRunner.py", line 2215, in runOnce
    res = executeScriptInternal(
Step 10 (Add check check-offload) failure: test (failure)
...
-- Generating done
-- Build files have been written to: /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-amdgcn-amd-amdhsa-bins
[5/6] cd /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-bins && /usr/local/cmake/bin/cmake --build /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/ --target check-offload --config Release
[0/1] Running libomptarget tests
-- Testing: 786 tests, 32 workers --
UNSUPPORTED: libomptarget :: amdgcn-amd-amdhsa :: api/is_initial_device.c (1 of 786)
UNSUPPORTED: libomptarget :: amdgcn-amd-amdhsa :: api/omp_dynamic_shared_memory_mixed_nvptx.c (2 of 786)
UNSUPPORTED: libomptarget :: amdgcn-amd-amdhsa :: env/base_ptr_ref_count.c (3 of 786)
UNSUPPORTED: libomptarget :: amdgcn-amd-amdhsa :: env/omp_target_debug.c (4 of 786)
UNRESOLVED: libomptarget :: amdgcn-amd-amdhsa :: api/omp_get_num_procs.c (5 of 786)
******************** TEST 'libomptarget :: amdgcn-amd-amdhsa :: api/omp_get_num_procs.c' FAILED ********************
Exception during script execution:
Traceback (most recent call last):
  File "/home/ompworker/bbot/openmp-offload-libc-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-libc-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-libc-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-libc-amdgpu-runtime/llvm.src/llvm/utils/lit/lit/TestRunner.py", line 2239, in _runShTest
    res = runOnce(execdir)
  File "/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/llvm/utils/lit/lit/TestRunner.py", line 2215, in runOnce
    res = executeScriptInternal(
  File "/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/llvm/utils/lit/lit/TestRunner.py", line 1091, in executeScriptInternal
    exitCode, timeoutInfo = executeShCmd(
  File "/home/ompworker/bbot/openmp-offload-libc-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-libc-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-libc-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-libc-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 :: libc/malloc.c (6 of 786)
******************** TEST 'libomptarget :: amdgcn-amd-amdhsa :: libc/malloc.c' FAILED ********************
Exception during script execution:
Traceback (most recent call last):
  File "/home/ompworker/bbot/openmp-offload-libc-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-libc-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-libc-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-libc-amdgpu-runtime/llvm.src/llvm/utils/lit/lit/TestRunner.py", line 2239, in _runShTest
    res = runOnce(execdir)

@llvm-ci
Copy link
Collaborator

llvm-ci commented Jul 9, 2024

LLVM Buildbot has detected a new failure on builder llvm-clang-x86_64-sie-win running on sie-win-worker while building llvm at step 7 "test-build-unified-tree-check-all".

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

Here is the relevant piece of the build log for the reference:

Step 7 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'lit :: shtest-umask.py' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 3
not env -u FILECHECK_OPTS "C:\Program Files\Python310\python.exe" Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\utils\lit\lit.py -j1 --order=lexical -a -v Inputs/shtest-umask | FileCheck -match-full-lines Z:\b\llvm-clang-x86_64-sie-win\build\utils\lit\tests\shtest-umask.py
# executed command: not env -u FILECHECK_OPTS 'C:\Program Files\Python310\python.exe' 'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\utils\lit\lit.py' -j1 --order=lexical -a -v Inputs/shtest-umask
# executed command: FileCheck -match-full-lines 'Z:\b\llvm-clang-x86_64-sie-win\build\utils\lit\tests\shtest-umask.py'
# .---command stderr------------
# | �[1mZ:\b\llvm-clang-x86_64-sie-win\build\utils\lit\tests\shtest-umask.py:9:10: �[0m�[0;1;31merror: �[0m�[1mCHECK: expected string not found in input
# | �[0m# CHECK: # | Error: 'umask': invalid literal {{.*}}
# | �[0;1;32m         ^
# | �[0m�[1m<stdin>:9:10: �[0m�[0;1;30mnote: �[0m�[1mscanning from here
# | �[0mumask bad
# | �[0;1;32m         ^
# | �[0m�[1m<stdin>:10:7: �[0m�[0;1;30mnote: �[0m�[1mpossible intended match here
# | �[0m# executed command: umask bad
# | �[0;1;32m      ^
# | �[0m�[1mZ:\b\llvm-clang-x86_64-sie-win\build\utils\lit\tests\shtest-umask.py:13:10: �[0m�[0;1;31merror: �[0m�[1mCHECK: expected string not found in input
# | �[0m# CHECK: # | 'umask' supports only one argument
# | �[0;1;32m         ^
# | �[0m�[1m<stdin>:29:10: �[0m�[0;1;30mnote: �[0m�[1mscanning from here
# | �[0mumask 0 0
# | �[0;1;32m         ^
# | �[0m�[1m<stdin>:32:1: �[0m�[0;1;30mnote: �[0m�[1mpossible intended match here
# | �[0m# | 'umask' not supported on this system
# | �[0;1;32m^
# | �[0m
# | Input file: <stdin>
# | Check file: Z:\b\llvm-clang-x86_64-sie-win\build\utils\lit\tests\shtest-umask.py
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# | �[1m�[0m�[0;1;30m            1: �[0m�[1m�[0;1;46m�[0m-- Testing: 3 tests, 1 workers --�[0;1;46m �[0m
# | �[0;1;32mcheck:5        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | �[0m�[0;1;30m            2: �[0m�[1m�[0;1;46m�[0mFAIL: shtest-umask :: umask-bad-arg.txt (1 of 3)�[0;1;46m �[0m
# | �[0;1;32mlabel:7'0      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | �[0m�[0;1;32mlabel:7'1      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | �[0m�[0;1;30m            3: �[0m�[1m�[0;1;46m******************** TEST 'shtest-umask :: umask-bad-arg.txt' FAILED ******************** �[0m
# | �[0;1;30m            4: �[0m�[1m�[0;1;46mExit Code: 127 �[0m
# | �[0;1;30m            5: �[0m�[1m�[0;1;46m �[0m
# | �[0;1;30m            6: �[0m�[1m�[0;1;46mCommand Output (stdout): �[0m
# | �[0;1;30m            7: �[0m�[1m�[0;1;46m-- �[0m
# | �[0;1;30m            8: �[0m�[1m�[0;1;46m# RUN: at line 1 �[0m
# | �[0;1;30m            9: �[0m�[1m�[0;1;46m�[0mumask bad�[0;1;46m �[0m
# | �[0;1;32mcheck:8        ^~~~~~~~~
# | �[0m�[0;1;31mcheck:9'0               X error: no match found
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Jul 9, 2024

LLVM Buildbot has detected a new failure on builder llvm-clang-x86_64-gcc-ubuntu running on sie-linux-worker3 while building llvm at step 6 "test-build-unified-tree-check-all".

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

Here is the relevant piece of the build log for the reference:

Step 6 (test-build-unified-tree-check-all) failure: test (failure)
...
PASS: AddressSanitizer-x86_64-linux :: TestCases/leaks.cpp (863 of 84300)
PASS: Clang :: CodeGen/aarch64-sve-intrinsics/acle_sve_rev-bfloat.c (864 of 84300)
PASS: cfi-devirt-lld-x86_64 :: base-derived-destructor.cpp (865 of 84300)
PASS: Clang :: CodeGen/aarch64-sve-intrinsics/acle_sve_trn2-bfloat.c (866 of 84300)
PASS: Clang :: CodeGen/aarch64-sve-intrinsics/acle_sve_pfirst.c (867 of 84300)
PASS: Clang :: CodeGen/aarch64-sme2-intrinsics/acle_sme2_cvtn.c (868 of 84300)
PASS: MemorySanitizer-X86_64 :: readdir64.cpp (869 of 84300)
PASS: Clang :: OpenMP/declare_variant_device_kind_codegen.cpp (870 of 84300)
PASS: UBSan-ThreadSanitizer-x86_64 :: TestCases/Pointer/align-assume-attribute-align_value-on-paramvar.cpp (871 of 84300)
UNRESOLVED: Clang :: utils/update_cc_test_checks/generated-funcs.test (872 of 84300)
******************** TEST 'Clang :: utils/update_cc_test_checks/generated-funcs.test' FAILED ********************
Exception during script execution:
Traceback (most recent call last):
  File "/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/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 "/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/utils/lit/lit/formats/shtest.py", line 29, in execute
    return lit.TestRunner.executeShTest(
  File "/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 2295, in executeShTest
    return _runShTest(test, litConfig, useExternalSh, script, tmpBase)
  File "/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 2239, in _runShTest
    res = runOnce(execdir)
  File "/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 2215, in runOnce
    res = executeScriptInternal(
  File "/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 1091, in executeScriptInternal
    exitCode, timeoutInfo = executeShCmd(
  File "/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 205, in executeShCmd
    finalExitCode = _executeShCmd(cmd, shenv, results, timeoutHelper)
  File "/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 707, in _executeShCmd
    res = _executeShCmd(cmd.lhs, shenv, results, timeoutHelper)
  File "/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 707, in _executeShCmd
    res = _executeShCmd(cmd.lhs, shenv, results, timeoutHelper)
  File "/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 707, in _executeShCmd
    res = _executeShCmd(cmd.lhs, shenv, results, timeoutHelper)
  [Previous line repeated 13 more times]
  File "/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 712, in _executeShCmd
    res = _executeShCmd(cmd.rhs, shenv, results, timeoutHelper)
  File "/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 892, in _executeShCmd
    subprocess.Popen(
TypeError: __init__() got an unexpected keyword argument 'umask'


********************
PASS: Clang :: Driver/clang-translation.c (873 of 84300)
PASS: Clang :: CodeGen/aarch64-sme2-intrinsics/acle_sme2_vdot.c (874 of 84300)
PASS: Clang :: CodeGen/aarch64-sve-intrinsics/acle_sve_ldff1ub.c (875 of 84300)
PASS: Clang :: CodeGen/aarch64-sve-intrinsics/acle_sve_ld4-bfloat.c (876 of 84300)
PASS: Clang :: CodeGen/aarch64-sve-intrinsics/acle_sve_uzp2.c (877 of 84300)
PASS: UBSan-AddressSanitizer-lld-x86_64 :: TestCases/Pointer/nullptr-and-nonzero-offset-variable.cpp (878 of 84300)
PASS: LLVM :: tools/llvm-readobj/ELF/file-header-machine-types.test (879 of 84300)

@jayfoad
Copy link
Contributor Author

jayfoad commented Jul 9, 2024

I have reverted to investigate the buildbot failures.

LLVM can be built with Python 3.8, but the umask argument to subprocess.Popen is only available from Python 3.9.

@llvm-ci
Copy link
Collaborator

llvm-ci commented Jul 9, 2024

LLVM Buildbot has detected a new failure on builder clang-armv8-quick running on linaro-clang-armv8-quick while building llvm at step 5 "ninja check 1".

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

Here is the relevant piece of the build log for the reference:

Step 5 (ninja check 1) failure: stage 1 checked (failure)
...
[82/83] Linking CXX executable tools/clang/unittests/Interpreter/ClangReplInterpreterTests
[82/83] Running all regression tests
-- Testing: 80109 tests, 160 workers --
llvm-lit: /home/tcwg-buildbot/worker/clang-armv8-quick/llvm/llvm/utils/lit/lit/llvm/config.py:508: note: using split-file: /home/tcwg-buildbot/worker/clang-armv8-quick/stage1/bin/split-file
llvm-lit: /home/tcwg-buildbot/worker/clang-armv8-quick/llvm/llvm/utils/lit/lit/llvm/config.py:508: note: using yaml2obj: /home/tcwg-buildbot/worker/clang-armv8-quick/stage1/bin/yaml2obj
llvm-lit: /home/tcwg-buildbot/worker/clang-armv8-quick/llvm/llvm/utils/lit/lit/llvm/config.py:508: note: using llvm-objcopy: /home/tcwg-buildbot/worker/clang-armv8-quick/stage1/bin/llvm-objcopy
llvm-lit: /home/tcwg-buildbot/worker/clang-armv8-quick/llvm/llvm/utils/lit/lit/llvm/config.py:508: note: using clang: /home/tcwg-buildbot/worker/clang-armv8-quick/stage1/bin/clang
llvm-lit: /home/tcwg-buildbot/worker/clang-armv8-quick/llvm/llvm/utils/lit/lit/llvm/config.py:508: note: using clang: /home/tcwg-buildbot/worker/clang-armv8-quick/stage1/bin/clang
llvm-lit: /home/tcwg-buildbot/worker/clang-armv8-quick/llvm/llvm/utils/lit/lit/llvm/config.py:508: note: using clang: /home/tcwg-buildbot/worker/clang-armv8-quick/stage1/bin/clang
UNRESOLVED: Clang :: utils/update_cc_test_checks/generated-funcs.test (1 of 80109)
******************** TEST 'Clang :: utils/update_cc_test_checks/generated-funcs.test' FAILED ********************
Exception during script execution:
Traceback (most recent call last):
  File "/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/llvm/utils/lit/lit/worker.py", line 76, in _execute_test_handle_errors
    result = test.config.test_format.execute(test, lit_config)
  File "/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/llvm/utils/lit/lit/formats/shtest.py", line 29, in execute
    return lit.TestRunner.executeShTest(
  File "/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/llvm/utils/lit/lit/TestRunner.py", line 2295, in executeShTest
    return _runShTest(test, litConfig, useExternalSh, script, tmpBase)
  File "/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/llvm/utils/lit/lit/TestRunner.py", line 2239, in _runShTest
    res = runOnce(execdir)
  File "/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/llvm/utils/lit/lit/TestRunner.py", line 2215, in runOnce
    res = executeScriptInternal(
  File "/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/llvm/utils/lit/lit/TestRunner.py", line 1091, in executeScriptInternal
    exitCode, timeoutInfo = executeShCmd(
  File "/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/llvm/utils/lit/lit/TestRunner.py", line 205, in executeShCmd
    finalExitCode = _executeShCmd(cmd, shenv, results, timeoutHelper)
  File "/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/llvm/utils/lit/lit/TestRunner.py", line 707, in _executeShCmd
    res = _executeShCmd(cmd.lhs, shenv, results, timeoutHelper)
  File "/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/llvm/utils/lit/lit/TestRunner.py", line 707, in _executeShCmd
    res = _executeShCmd(cmd.lhs, shenv, results, timeoutHelper)
  File "/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/llvm/utils/lit/lit/TestRunner.py", line 707, in _executeShCmd
    res = _executeShCmd(cmd.lhs, shenv, results, timeoutHelper)
  [Previous line repeated 13 more times]
  File "/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/llvm/utils/lit/lit/TestRunner.py", line 712, in _executeShCmd
    res = _executeShCmd(cmd.rhs, shenv, results, timeoutHelper)
  File "/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/llvm/utils/lit/lit/TestRunner.py", line 892, in _executeShCmd
    subprocess.Popen(
TypeError: __init__() got an unexpected keyword argument 'umask'


********************
UNRESOLVED: Clang :: utils/update_cc_test_checks/check-globals.test (2 of 80109)
******************** TEST 'Clang :: utils/update_cc_test_checks/check-globals.test' FAILED ********************
Exception during script execution:
Traceback (most recent call last):
  File "/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/llvm/utils/lit/lit/worker.py", line 76, in _execute_test_handle_errors
    result = test.config.test_format.execute(test, lit_config)
  File "/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/llvm/utils/lit/lit/formats/shtest.py", line 29, in execute

@llvm-ci
Copy link
Collaborator

llvm-ci commented Jul 9, 2024

LLVM Buildbot has detected a new failure on builder clang-aarch64-quick running on linaro-clang-aarch64-quick while building llvm at step 5 "ninja check 1".

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

Here is the relevant piece of the build log for the reference:

Step 5 (ninja check 1) failure: stage 1 checked (failure)
...
-- Testing: 80127 tests, 160 workers --
llvm-lit: /home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/llvm/utils/lit/lit/llvm/config.py:508: note: using split-file: /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/bin/split-file
llvm-lit: /home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/llvm/utils/lit/lit/llvm/config.py:508: note: using yaml2obj: /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/bin/yaml2obj
llvm-lit: /home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/llvm/utils/lit/lit/llvm/config.py:508: note: using llvm-objcopy: /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/bin/llvm-objcopy
llvm-lit: /home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/llvm/utils/lit/lit/llvm/config.py:508: note: using clang: /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/bin/clang
llvm-lit: /home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/llvm/utils/lit/lit/llvm/config.py:508: note: using clang: /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/bin/clang
llvm-lit: /home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/llvm/utils/lit/lit/llvm/config.py:508: note: using clang: /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/bin/clang
PASS: LLVM :: Transforms/Inline/2007-04-15-InlineEH.ll (1 of 80127)
PASS: Clang :: Analysis/ctu-onego-indirect.cpp (2 of 80127)
UNRESOLVED: Clang :: utils/update_cc_test_checks/generated-funcs.test (3 of 80127)
******************** TEST 'Clang :: utils/update_cc_test_checks/generated-funcs.test' FAILED ********************
Exception during script execution:
Traceback (most recent call last):
  File "/home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/llvm/utils/lit/lit/worker.py", line 76, in _execute_test_handle_errors
    result = test.config.test_format.execute(test, lit_config)
  File "/home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/llvm/utils/lit/lit/formats/shtest.py", line 29, in execute
    return lit.TestRunner.executeShTest(
  File "/home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/llvm/utils/lit/lit/TestRunner.py", line 2295, in executeShTest
    return _runShTest(test, litConfig, useExternalSh, script, tmpBase)
  File "/home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/llvm/utils/lit/lit/TestRunner.py", line 2239, in _runShTest
    res = runOnce(execdir)
  File "/home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/llvm/utils/lit/lit/TestRunner.py", line 2215, in runOnce
    res = executeScriptInternal(
  File "/home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/llvm/utils/lit/lit/TestRunner.py", line 1091, in executeScriptInternal
    exitCode, timeoutInfo = executeShCmd(
  File "/home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/llvm/utils/lit/lit/TestRunner.py", line 205, in executeShCmd
    finalExitCode = _executeShCmd(cmd, shenv, results, timeoutHelper)
  File "/home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/llvm/utils/lit/lit/TestRunner.py", line 707, in _executeShCmd
    res = _executeShCmd(cmd.lhs, shenv, results, timeoutHelper)
  File "/home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/llvm/utils/lit/lit/TestRunner.py", line 707, in _executeShCmd
    res = _executeShCmd(cmd.lhs, shenv, results, timeoutHelper)
  File "/home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/llvm/utils/lit/lit/TestRunner.py", line 707, in _executeShCmd
    res = _executeShCmd(cmd.lhs, shenv, results, timeoutHelper)
  [Previous line repeated 13 more times]
  File "/home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/llvm/utils/lit/lit/TestRunner.py", line 712, in _executeShCmd
    res = _executeShCmd(cmd.rhs, shenv, results, timeoutHelper)
  File "/home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/llvm/utils/lit/lit/TestRunner.py", line 892, in _executeShCmd
    subprocess.Popen(
TypeError: __init__() got an unexpected keyword argument 'umask'


********************
UNRESOLVED: LLVM :: tools/UpdateTestChecks/update_test_checks/various_ir_values.test (4 of 80127)
******************** TEST 'LLVM :: tools/UpdateTestChecks/update_test_checks/various_ir_values.test' FAILED ********************
Exception during script execution:
Traceback (most recent call last):
  File "/home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/llvm/utils/lit/lit/worker.py", line 76, in _execute_test_handle_errors
    result = test.config.test_format.execute(test, lit_config)
  File "/home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/llvm/utils/lit/lit/formats/shtest.py", line 29, in execute

@llvm-ci
Copy link
Collaborator

llvm-ci commented Jul 9, 2024

LLVM Buildbot has detected a new failure on builder clang-ppc64be-linux-test-suite running on ppc64be-clang-test-suite while building llvm at step 6 "test-build-unified-tree-check-all".

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

Here is the relevant piece of the build log for the reference:

Step 6 (test-build-unified-tree-check-all) failure: test (failure)
...
llvm-lit: /home/buildbots/llvm-external-buildbots/workers/ppc64be-clang-test-suite/clang-ppc64be-test-suite/llvm-project/llvm/utils/lit/lit/llvm/config.py:508: note: using yaml2obj: /home/buildbots/llvm-external-buildbots/workers/ppc64be-clang-test-suite/clang-ppc64be-test-suite/build/bin/yaml2obj
llvm-lit: /home/buildbots/llvm-external-buildbots/workers/ppc64be-clang-test-suite/clang-ppc64be-test-suite/llvm-project/llvm/utils/lit/lit/llvm/config.py:508: note: using llvm-objcopy: /home/buildbots/llvm-external-buildbots/workers/ppc64be-clang-test-suite/clang-ppc64be-test-suite/build/bin/llvm-objcopy
llvm-lit: /home/buildbots/llvm-external-buildbots/workers/ppc64be-clang-test-suite/clang-ppc64be-test-suite/llvm-project/llvm/utils/lit/lit/llvm/config.py:508: note: using clang: /home/buildbots/llvm-external-buildbots/workers/ppc64be-clang-test-suite/clang-ppc64be-test-suite/build/bin/clang
llvm-lit: /home/buildbots/llvm-external-buildbots/workers/ppc64be-clang-test-suite/clang-ppc64be-test-suite/llvm-project/llvm/utils/lit/lit/llvm/config.py:508: note: using clang: /home/buildbots/llvm-external-buildbots/workers/ppc64be-clang-test-suite/clang-ppc64be-test-suite/build/bin/clang
llvm-lit: /home/buildbots/llvm-external-buildbots/workers/ppc64be-clang-test-suite/clang-ppc64be-test-suite/llvm-project/llvm/utils/lit/lit/llvm/config.py:508: note: using clang: /home/buildbots/llvm-external-buildbots/workers/ppc64be-clang-test-suite/clang-ppc64be-test-suite/build/bin/clang
llvm-lit: /home/buildbots/llvm-external-buildbots/workers/ppc64be-clang-test-suite/clang-ppc64be-test-suite/llvm-project/llvm/utils/lit/lit/discovery.py:276: warning: input '/home/buildbots/llvm-external-buildbots/workers/ppc64be-clang-test-suite/clang-ppc64be-test-suite/build/runtimes/runtimes-bins/compiler-rt/test/interception/Unit' contained no tests
llvm-lit: /home/buildbots/llvm-external-buildbots/workers/ppc64be-clang-test-suite/clang-ppc64be-test-suite/llvm-project/llvm/utils/lit/lit/discovery.py:276: warning: input '/home/buildbots/llvm-external-buildbots/workers/ppc64be-clang-test-suite/clang-ppc64be-test-suite/build/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/Unit' contained no tests
llvm-lit: /home/buildbots/llvm-external-buildbots/workers/ppc64be-clang-test-suite/clang-ppc64be-test-suite/build/utils/lit/tests/lit.cfg:111: warning: Setting a timeout per test not supported. Requires the Python psutil module but it could not be found. Try installing it via pip or via your operating system's package manager.
 Some tests will be skipped and the --timeout command line argument will not work.
UNRESOLVED: LLVM :: FileCheck/dump-input/annotations.txt (1 of 84531)
******************** TEST 'LLVM :: FileCheck/dump-input/annotations.txt' FAILED ********************
Exception during script execution:
Traceback (most recent call last):
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64be-clang-test-suite/clang-ppc64be-test-suite/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 "/home/buildbots/llvm-external-buildbots/workers/ppc64be-clang-test-suite/clang-ppc64be-test-suite/llvm-project/llvm/utils/lit/lit/formats/shtest.py", line 29, in execute
    return lit.TestRunner.executeShTest(
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64be-clang-test-suite/clang-ppc64be-test-suite/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 2295, in executeShTest
    return _runShTest(test, litConfig, useExternalSh, script, tmpBase)
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64be-clang-test-suite/clang-ppc64be-test-suite/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 2239, in _runShTest
    res = runOnce(execdir)
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64be-clang-test-suite/clang-ppc64be-test-suite/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 2215, in runOnce
    res = executeScriptInternal(
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64be-clang-test-suite/clang-ppc64be-test-suite/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 1091, in executeScriptInternal
    exitCode, timeoutInfo = executeShCmd(
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64be-clang-test-suite/clang-ppc64be-test-suite/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 205, in executeShCmd
    finalExitCode = _executeShCmd(cmd, shenv, results, timeoutHelper)
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64be-clang-test-suite/clang-ppc64be-test-suite/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 707, in _executeShCmd
    res = _executeShCmd(cmd.lhs, shenv, results, timeoutHelper)
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64be-clang-test-suite/clang-ppc64be-test-suite/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 707, in _executeShCmd
    res = _executeShCmd(cmd.lhs, shenv, results, timeoutHelper)
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64be-clang-test-suite/clang-ppc64be-test-suite/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 707, in _executeShCmd
    res = _executeShCmd(cmd.lhs, shenv, results, timeoutHelper)
  [Previous line repeated 156 more times]
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64be-clang-test-suite/clang-ppc64be-test-suite/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 712, in _executeShCmd
    res = _executeShCmd(cmd.rhs, shenv, results, timeoutHelper)
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64be-clang-test-suite/clang-ppc64be-test-suite/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 712, in _executeShCmd
    res = _executeShCmd(cmd.rhs, shenv, results, timeoutHelper)
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64be-clang-test-suite/clang-ppc64be-test-suite/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 892, in _executeShCmd
    subprocess.Popen(
TypeError: __init__() got an unexpected keyword argument 'umask'


********************
PASS: AddressSanitizer-Unit :: ./Asan-powerpc64-calls-Test/63/95 (2 of 84531)
PASS: UBSan-AddressSanitizer-powerpc64 :: TestCases/Pointer/align-assume-attribute-alloc_align-on-function-variable.cpp (3 of 84531)
PASS: UBSan-MemorySanitizer-powerpc64 :: TestCases/ImplicitConversion/integer-conversion-incdec.c (4 of 84531)
PASS: AddressSanitizer-Unit :: ./Asan-powerpc64-inline-Test/63/95 (5 of 84531)
PASS: UBSan-AddressSanitizer-powerpc64 :: TestCases/Pointer/align-assume-attribute-alloc_align-on-function.cpp (6 of 84531)

@llvm-ci
Copy link
Collaborator

llvm-ci commented Jul 9, 2024

LLVM Buildbot has detected a new failure on builder clang-ppc64le-linux-test-suite running on ppc64le-clang-test-suite while building llvm at step 6 "test-build-unified-tree-check-all".

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

Here is the relevant piece of the build log for the reference:

Step 6 (test-build-unified-tree-check-all) failure: test (failure)
...
llvm-lit: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/utils/lit/lit/llvm/config.py:508: note: using yaml2obj: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/yaml2obj
llvm-lit: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/utils/lit/lit/llvm/config.py:508: note: using llvm-objcopy: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/llvm-objcopy
llvm-lit: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/utils/lit/lit/llvm/config.py:508: note: using clang: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/clang
llvm-lit: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/utils/lit/lit/llvm/config.py:508: note: using clang: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/clang
llvm-lit: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/utils/lit/lit/llvm/config.py:508: note: using clang: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/clang
llvm-lit: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/utils/lit/lit/discovery.py:276: warning: input '/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/runtimes/runtimes-bins/compiler-rt/test/interception/Unit' contained no tests
llvm-lit: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/utils/lit/lit/discovery.py:276: warning: input '/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/Unit' contained no tests
llvm-lit: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/utils/lit/tests/lit.cfg:111: warning: Setting a timeout per test not supported. Requires the Python psutil module but it could not be found. Try installing it via pip or via your operating system's package manager.
 Some tests will be skipped and the --timeout command line argument will not work.
UNRESOLVED: mlgo-utils :: corpus/extract_ir_script.test (1 of 96350)
******************** TEST 'mlgo-utils :: corpus/extract_ir_script.test' FAILED ********************
Exception during script execution:
Traceback (most recent call last):
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/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 "/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/utils/lit/lit/formats/shtest.py", line 29, in execute
    return lit.TestRunner.executeShTest(
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 2295, in executeShTest
    return _runShTest(test, litConfig, useExternalSh, script, tmpBase)
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 2239, in _runShTest
    res = runOnce(execdir)
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 2215, in runOnce
    res = executeScriptInternal(
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 1091, in executeScriptInternal
    exitCode, timeoutInfo = executeShCmd(
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 205, in executeShCmd
    finalExitCode = _executeShCmd(cmd, shenv, results, timeoutHelper)
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 707, in _executeShCmd
    res = _executeShCmd(cmd.lhs, shenv, results, timeoutHelper)
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 707, in _executeShCmd
    res = _executeShCmd(cmd.lhs, shenv, results, timeoutHelper)
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 707, in _executeShCmd
    res = _executeShCmd(cmd.lhs, shenv, results, timeoutHelper)
  [Previous line repeated 2 more times]
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 712, in _executeShCmd
    res = _executeShCmd(cmd.rhs, shenv, results, timeoutHelper)
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 712, in _executeShCmd
    res = _executeShCmd(cmd.rhs, shenv, results, timeoutHelper)
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 892, in _executeShCmd
    subprocess.Popen(
TypeError: __init__() got an unexpected keyword argument 'umask'


********************
UNRESOLVED: Clang :: utils/update_cc_test_checks/generated-funcs.test (2 of 96350)
******************** TEST 'Clang :: utils/update_cc_test_checks/generated-funcs.test' FAILED ********************
Exception during script execution:
Traceback (most recent call last):
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/utils/lit/lit/worker.py", line 76, in _execute_test_handle_errors

@llvm-ci
Copy link
Collaborator

llvm-ci commented Jul 9, 2024

LLVM Buildbot has detected a new failure on builder ppc64le-lld-multistage-test running on ppc64le-lld-multistage-test while building llvm at step 7 "test-build-stage1-unified-tree-check-all".

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

Here is the relevant piece of the build log for the reference:

Step 7 (test-build-stage1-unified-tree-check-all) failure: test (failure)
...
llvm-lit: /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/utils/lit/lit/llvm/config.py:508: note: using ld64.lld: /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/bin/ld64.lld
llvm-lit: /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/utils/lit/lit/llvm/config.py:508: note: using wasm-ld: /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/bin/wasm-ld
llvm-lit: /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/utils/lit/tests/lit.cfg:111: warning: Setting a timeout per test not supported. Requires the Python psutil module but it could not be found. Try installing it via pip or via your operating system's package manager.
 Some tests will be skipped and the --timeout command line argument will not work.
llvm-lit: /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/utils/lit/lit/llvm/config.py:508: note: using ld.lld: /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/bin/ld.lld
llvm-lit: /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/utils/lit/lit/llvm/config.py:508: note: using lld-link: /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/bin/lld-link
llvm-lit: /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/utils/lit/lit/llvm/config.py:508: note: using ld64.lld: /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/bin/ld64.lld
llvm-lit: /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/utils/lit/lit/llvm/config.py:508: note: using wasm-ld: /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/bin/wasm-ld
Testing: 
UNRESOLVED: mlgo-utils :: corpus/extract_ir_script.test (1 of 92255)
******************** TEST 'mlgo-utils :: corpus/extract_ir_script.test' FAILED ********************
Exception during script execution:
Traceback (most recent call last):
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/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 "/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/utils/lit/lit/formats/shtest.py", line 29, in execute
    return lit.TestRunner.executeShTest(
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 2295, in executeShTest
    return _runShTest(test, litConfig, useExternalSh, script, tmpBase)
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 2239, in _runShTest
    res = runOnce(execdir)
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 2215, in runOnce
    res = executeScriptInternal(
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 1091, in executeScriptInternal
    exitCode, timeoutInfo = executeShCmd(
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 205, in executeShCmd
    finalExitCode = _executeShCmd(cmd, shenv, results, timeoutHelper)
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 707, in _executeShCmd
    res = _executeShCmd(cmd.lhs, shenv, results, timeoutHelper)
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 707, in _executeShCmd
    res = _executeShCmd(cmd.lhs, shenv, results, timeoutHelper)
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 707, in _executeShCmd
    res = _executeShCmd(cmd.lhs, shenv, results, timeoutHelper)
  [Previous line repeated 2 more times]
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 712, in _executeShCmd
    res = _executeShCmd(cmd.rhs, shenv, results, timeoutHelper)
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 712, in _executeShCmd
    res = _executeShCmd(cmd.rhs, shenv, results, timeoutHelper)
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 892, in _executeShCmd
    subprocess.Popen(
TypeError: __init__() got an unexpected keyword argument 'umask'


********************
Testing:  0.. 10.. 20
UNRESOLVED: Clang :: utils/update_cc_test_checks/mangled_names.test (716 of 92255)
******************** TEST 'Clang :: utils/update_cc_test_checks/mangled_names.test' FAILED ********************
Exception during script execution:
Traceback (most recent call last):
Step 13 (test-build-stage2-unified-tree-check-all) failure: test (failure)
...
llvm-lit: /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/utils/lit/lit/llvm/config.py:508: note: using ld64.lld: /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/bin/ld64.lld
llvm-lit: /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/utils/lit/lit/llvm/config.py:508: note: using wasm-ld: /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/bin/wasm-ld
llvm-lit: /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/utils/lit/tests/lit.cfg:111: warning: Setting a timeout per test not supported. Requires the Python psutil module but it could not be found. Try installing it via pip or via your operating system's package manager.
 Some tests will be skipped and the --timeout command line argument will not work.
llvm-lit: /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/utils/lit/lit/llvm/config.py:508: note: using ld.lld: /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/bin/ld.lld
llvm-lit: /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/utils/lit/lit/llvm/config.py:508: note: using lld-link: /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/bin/lld-link
llvm-lit: /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/utils/lit/lit/llvm/config.py:508: note: using ld64.lld: /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/bin/ld64.lld
llvm-lit: /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/utils/lit/lit/llvm/config.py:508: note: using wasm-ld: /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/bin/wasm-ld
Testing: 
UNRESOLVED: Clang :: Analysis/exploded-graph-rewriter/checker_messages_diff.dot (585 of 92255)
******************** TEST 'Clang :: Analysis/exploded-graph-rewriter/checker_messages_diff.dot' FAILED ********************
Exception during script execution:
Traceback (most recent call last):
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/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 "/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/utils/lit/lit/formats/shtest.py", line 29, in execute
    return lit.TestRunner.executeShTest(
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 2295, in executeShTest
    return _runShTest(test, litConfig, useExternalSh, script, tmpBase)
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 2239, in _runShTest
    res = runOnce(execdir)
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 2215, in runOnce
    res = executeScriptInternal(
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 1091, in executeScriptInternal
    exitCode, timeoutInfo = executeShCmd(
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 205, in executeShCmd
    finalExitCode = _executeShCmd(cmd, shenv, results, timeoutHelper)
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 712, in _executeShCmd
    res = _executeShCmd(cmd.rhs, shenv, results, timeoutHelper)
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 892, in _executeShCmd
    subprocess.Popen(
TypeError: __init__() got an unexpected keyword argument 'umask'


********************
Testing: 
UNRESOLVED: Clang :: Analysis/exploded-graph-rewriter/initializers_under_construction.cpp (589 of 92255)
******************** TEST 'Clang :: Analysis/exploded-graph-rewriter/initializers_under_construction.cpp' FAILED ********************
Exception during script execution:
Traceback (most recent call last):
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/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 "/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/utils/lit/lit/formats/shtest.py", line 29, in execute
    return lit.TestRunner.executeShTest(
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 2295, in executeShTest
    return _runShTest(test, litConfig, useExternalSh, script, tmpBase)
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 2239, in _runShTest
    res = runOnce(execdir)
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 2215, in runOnce

@llvm-ci
Copy link
Collaborator

llvm-ci commented Jul 9, 2024

LLVM Buildbot has detected a new failure on builder clang-aarch64-global-isel running on linaro-clang-aarch64-global-isel while building llvm at step 7 "ninja check 1".

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

Here is the relevant piece of the build log for the reference:

Step 7 (ninja check 1) failure: stage 1 checked (failure)
...
PASS: Clang :: CodeGen/aarch64-sve-intrinsics/acle_sve_rintn.c (321 of 74686)
PASS: Clang :: CodeGen/aarch64-sve-intrinsics/acle_sve_cmpeq.c (322 of 74686)
PASS: LLVM :: CodeGen/AMDGPU/memory-legalizer-local-system.ll (323 of 74686)
PASS: Clang :: OpenMP/target_simd_codegen.cpp (324 of 74686)
PASS: Clang :: CodeGen/PowerPC/ppc-emmintrin.c (325 of 74686)
PASS: LLVM :: CodeGen/RISCV/reserved-regs.ll (326 of 74686)
PASS: LLVM :: CodeGen/AArch64/Atomics/aarch64_be-atomicrmw-outline_atomics.ll (327 of 74686)
PASS: Clang :: CodeGen/aarch64-sve-intrinsics/acle_sve_nor.c (328 of 74686)
PASS: Clang :: CodeGen/aarch64-sve-intrinsics/acle_sve_prfh.c (329 of 74686)
UNRESOLVED: Clang :: utils/update_cc_test_checks/generated-funcs.test (330 of 74686)
******************** TEST 'Clang :: utils/update_cc_test_checks/generated-funcs.test' FAILED ********************
Exception during script execution:
Traceback (most recent call last):
  File "/home/tcwg-buildbot/worker/clang-aarch64-global-isel/llvm/llvm/utils/lit/lit/worker.py", line 76, in _execute_test_handle_errors
    result = test.config.test_format.execute(test, lit_config)
  File "/home/tcwg-buildbot/worker/clang-aarch64-global-isel/llvm/llvm/utils/lit/lit/formats/shtest.py", line 29, in execute
    return lit.TestRunner.executeShTest(
  File "/home/tcwg-buildbot/worker/clang-aarch64-global-isel/llvm/llvm/utils/lit/lit/TestRunner.py", line 2295, in executeShTest
    return _runShTest(test, litConfig, useExternalSh, script, tmpBase)
  File "/home/tcwg-buildbot/worker/clang-aarch64-global-isel/llvm/llvm/utils/lit/lit/TestRunner.py", line 2239, in _runShTest
    res = runOnce(execdir)
  File "/home/tcwg-buildbot/worker/clang-aarch64-global-isel/llvm/llvm/utils/lit/lit/TestRunner.py", line 2215, in runOnce
    res = executeScriptInternal(
  File "/home/tcwg-buildbot/worker/clang-aarch64-global-isel/llvm/llvm/utils/lit/lit/TestRunner.py", line 1091, in executeScriptInternal
    exitCode, timeoutInfo = executeShCmd(
  File "/home/tcwg-buildbot/worker/clang-aarch64-global-isel/llvm/llvm/utils/lit/lit/TestRunner.py", line 205, in executeShCmd
    finalExitCode = _executeShCmd(cmd, shenv, results, timeoutHelper)
  File "/home/tcwg-buildbot/worker/clang-aarch64-global-isel/llvm/llvm/utils/lit/lit/TestRunner.py", line 707, in _executeShCmd
    res = _executeShCmd(cmd.lhs, shenv, results, timeoutHelper)
  File "/home/tcwg-buildbot/worker/clang-aarch64-global-isel/llvm/llvm/utils/lit/lit/TestRunner.py", line 707, in _executeShCmd
    res = _executeShCmd(cmd.lhs, shenv, results, timeoutHelper)
  File "/home/tcwg-buildbot/worker/clang-aarch64-global-isel/llvm/llvm/utils/lit/lit/TestRunner.py", line 707, in _executeShCmd
    res = _executeShCmd(cmd.lhs, shenv, results, timeoutHelper)
  [Previous line repeated 13 more times]
  File "/home/tcwg-buildbot/worker/clang-aarch64-global-isel/llvm/llvm/utils/lit/lit/TestRunner.py", line 712, in _executeShCmd
    res = _executeShCmd(cmd.rhs, shenv, results, timeoutHelper)
  File "/home/tcwg-buildbot/worker/clang-aarch64-global-isel/llvm/llvm/utils/lit/lit/TestRunner.py", line 892, in _executeShCmd
    subprocess.Popen(
TypeError: __init__() got an unexpected keyword argument 'umask'


********************
PASS: Clang :: CodeGen/aarch64-sve-intrinsics/acle_sve_aclt.c (331 of 74686)
PASS: Clang :: CodeGen/aarch64-sve-intrinsics/acle_sve_recps.c (332 of 74686)
PASS: Clang :: CodeGen/aarch64-sve-intrinsics/acle_sve_asr.c (333 of 74686)
PASS: Clang :: OpenMP/target_teams_distribute_parallel_for_simd_schedule_codegen.cpp (334 of 74686)
PASS: Clang :: CodeGen/aarch64-sme2-intrinsics/acle_sme2_unpkx4.c (335 of 74686)
PASS: Clang :: CodeGen/aarch64-sve-intrinsics/acle_sve_trn1.c (336 of 74686)
PASS: Clang :: Analysis/use-after-move.cpp (337 of 74686)

@llvm-ci
Copy link
Collaborator

llvm-ci commented Jul 9, 2024

LLVM Buildbot has detected a new failure on builder clang-ppc64le-linux-multistage running on ppc64le-clang-multistage-test while building llvm at step 5 "ninja check 1".

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

Here is the relevant piece of the build log for the reference:

Step 5 (ninja check 1) failure: stage 1 checked (failure)
...
llvm-lit: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/utils/lit/lit/llvm/config.py:508: note: using clang: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/bin/clang
llvm-lit: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/utils/lit/lit/llvm/config.py:508: note: using clang: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/bin/clang
llvm-lit: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/utils/lit/lit/discovery.py:276: warning: input '/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/runtimes/runtimes-bins/compiler-rt/test/interception/Unit' contained no tests
llvm-lit: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/utils/lit/lit/discovery.py:276: warning: input '/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/Unit' contained no tests
llvm-lit: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/utils/lit/tests/lit.cfg:111: warning: Setting a timeout per test not supported. Requires the Python psutil module but it could not be found. Try installing it via pip or via your operating system's package manager.
 Some tests will be skipped and the --timeout command line argument will not work.
PASS: LLVM :: MC/X86/apx/rcl-att.s (1 of 96349)
PASS: LLVM :: CodeGen/ARM/zextload_demandedbits.ll (2 of 96349)
PASS: LLVM :: DebugInfo/X86/InlinedFnLocalVar.ll (3 of 96349)
UNRESOLVED: Clang :: utils/update_cc_test_checks/generated-funcs.test (4 of 96349)
******************** TEST 'Clang :: utils/update_cc_test_checks/generated-funcs.test' FAILED ********************
Exception during script execution:
Traceback (most recent call last):
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/utils/lit/lit/worker.py", line 76, in _execute_test_handle_errors
    result = test.config.test_format.execute(test, lit_config)
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/utils/lit/lit/formats/shtest.py", line 29, in execute
    return lit.TestRunner.executeShTest(
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/utils/lit/lit/TestRunner.py", line 2295, in executeShTest
    return _runShTest(test, litConfig, useExternalSh, script, tmpBase)
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/utils/lit/lit/TestRunner.py", line 2239, in _runShTest
    res = runOnce(execdir)
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/utils/lit/lit/TestRunner.py", line 2215, in runOnce
    res = executeScriptInternal(
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/utils/lit/lit/TestRunner.py", line 1091, in executeScriptInternal
    exitCode, timeoutInfo = executeShCmd(
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/utils/lit/lit/TestRunner.py", line 205, in executeShCmd
    finalExitCode = _executeShCmd(cmd, shenv, results, timeoutHelper)
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/utils/lit/lit/TestRunner.py", line 707, in _executeShCmd
    res = _executeShCmd(cmd.lhs, shenv, results, timeoutHelper)
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/utils/lit/lit/TestRunner.py", line 707, in _executeShCmd
    res = _executeShCmd(cmd.lhs, shenv, results, timeoutHelper)
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/utils/lit/lit/TestRunner.py", line 707, in _executeShCmd
    res = _executeShCmd(cmd.lhs, shenv, results, timeoutHelper)
  [Previous line repeated 13 more times]
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/utils/lit/lit/TestRunner.py", line 712, in _executeShCmd
    res = _executeShCmd(cmd.rhs, shenv, results, timeoutHelper)
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/utils/lit/lit/TestRunner.py", line 892, in _executeShCmd
    subprocess.Popen(
TypeError: __init__() got an unexpected keyword argument 'umask'


********************
PASS: LLVM :: CodeGen/RISCV/GlobalISel/legalizer/legalize-icmp-rv64.mir (5 of 96349)
PASS: Clang :: ExtractAPI/enum.c (6 of 96349)
PASS: LLVM :: CodeGen/NVPTX/vector-select.ll (7 of 96349)
PASS: LLVM :: CodeGen/X86/pr63975.ll (8 of 96349)
UNRESOLVED: mlgo-utils :: corpus/extract_ir_script.test (9 of 96349)
******************** TEST 'mlgo-utils :: corpus/extract_ir_script.test' FAILED ********************
Exception during script execution:
Step 11 (ninja check 2) failure: stage 2 checked (failure)
...
PASS: AddressSanitizer-Unit :: ./Asan-powerpc64le-calls-Test/82/95 (3880 of 96349)
PASS: AddressSanitizer-Unit :: ./Asan-powerpc64le-calls-Test/89/95 (3881 of 96349)
PASS: AddressSanitizer-powerpc64le-linux-dynamic :: TestCases/strncpy-overflow.cpp (3882 of 96349)
UNSUPPORTED: ThreadSanitizer-powerpc64le :: libdispatch/blocks.c (3883 of 96349)
PASS: SanitizerCommon-tsan-powerpc64le-Linux :: Linux/signal_name.c (3884 of 96349)
UNSUPPORTED: AddressSanitizer-powerpc64le-linux-dynamic :: TestCases/Windows/msvc/dll_control_c.cpp (3885 of 96349)
PASS: AddressSanitizer-powerpc64le-linux-dynamic :: TestCases/global-underflow.cpp (3886 of 96349)
PASS: Clang :: APINotes/instancetype.m (3887 of 96349)
PASS: AddressSanitizer-powerpc64le-linux :: TestCases/Posix/wait4.cpp (3888 of 96349)
UNRESOLVED: Clang :: Analysis/exploded-graph-rewriter/dynamic_types.cpp (3889 of 96349)
******************** TEST 'Clang :: Analysis/exploded-graph-rewriter/dynamic_types.cpp' FAILED ********************
Exception during script execution:
Traceback (most recent call last):
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/utils/lit/lit/worker.py", line 76, in _execute_test_handle_errors
    result = test.config.test_format.execute(test, lit_config)
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/utils/lit/lit/formats/shtest.py", line 29, in execute
    return lit.TestRunner.executeShTest(
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/utils/lit/lit/TestRunner.py", line 2295, in executeShTest
    return _runShTest(test, litConfig, useExternalSh, script, tmpBase)
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/utils/lit/lit/TestRunner.py", line 2239, in _runShTest
    res = runOnce(execdir)
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/utils/lit/lit/TestRunner.py", line 2215, in runOnce
    res = executeScriptInternal(
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/utils/lit/lit/TestRunner.py", line 1091, in executeScriptInternal
    exitCode, timeoutInfo = executeShCmd(
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/utils/lit/lit/TestRunner.py", line 205, in executeShCmd
    finalExitCode = _executeShCmd(cmd, shenv, results, timeoutHelper)
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/utils/lit/lit/TestRunner.py", line 707, in _executeShCmd
    res = _executeShCmd(cmd.lhs, shenv, results, timeoutHelper)
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/utils/lit/lit/TestRunner.py", line 712, in _executeShCmd
    res = _executeShCmd(cmd.rhs, shenv, results, timeoutHelper)
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/utils/lit/lit/TestRunner.py", line 892, in _executeShCmd
    subprocess.Popen(
TypeError: __init__() got an unexpected keyword argument 'umask'


********************
UNRESOLVED: Clang :: Analysis/exploded-graph-rewriter/environment.dot (3890 of 96349)
******************** TEST 'Clang :: Analysis/exploded-graph-rewriter/environment.dot' FAILED ********************
Exception during script execution:
Traceback (most recent call last):
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/utils/lit/lit/worker.py", line 76, in _execute_test_handle_errors
    result = test.config.test_format.execute(test, lit_config)
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/utils/lit/lit/formats/shtest.py", line 29, in execute
    return lit.TestRunner.executeShTest(
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/utils/lit/lit/TestRunner.py", line 2295, in executeShTest
    return _runShTest(test, litConfig, useExternalSh, script, tmpBase)
  File "/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/utils/lit/lit/TestRunner.py", line 2239, in _runShTest
    res = runOnce(execdir)

aaryanshukla pushed a commit to aaryanshukla/llvm-project that referenced this pull request Jul 14, 2024
This allows a few more tests to use lit's internal shell.
aaryanshukla pushed a commit to aaryanshukla/llvm-project that referenced this pull request Jul 14, 2024
This reverts commit 9f6dd1f.

Reverting to investigate buildbot failures e.g.:
"new failure on builder ppc64le-mlir-rhel-clang running on ppc64le-mlir-rhel-test"
qiaojbao pushed a commit to GPUOpen-Drivers/llvm-project that referenced this pull request Aug 13, 2024
…e986d8413

Local branch amd-gfx b65e986 Merged main:997e5e870337e4a25b82be5b01e8f7675c350070 into amd-gfx:47ff60c4c995
Remote branch main faa4e35 Revert "[lit] Implement builtin umask (llvm#94621)"
boomanaiden154 added a commit to boomanaiden154/llvm-project that referenced this pull request Aug 28, 2025
This reverts commit faa4e35.

This was originally reverted because it was using a Python 3.9 feature
(umask in subprocess.Popen) when LLVM only requires Python 3.8. This
patch uses os.umask instead, which has been around for longer.
boomanaiden154 added a commit that referenced this pull request Aug 29, 2025
This reverts commit faa4e35.

This was originally reverted because it was using a Python 3.9 feature
(umask in subprocess.Popen) when LLVM only requires Python 3.8. This
patch uses os.umask instead, which has been around for longer.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants