Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more debug output to the builders for a moment. #83508

Closed
wants to merge 5 commits into from

Conversation

EricWF
Copy link
Member

@EricWF EricWF commented Mar 1, 2024

No description provided.

@EricWF EricWF requested a review from a team as a code owner March 1, 2024 00:21
@llvmbot llvmbot added the libc++ libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi. label Mar 1, 2024
@llvmbot
Copy link
Collaborator

llvmbot commented Mar 1, 2024

@llvm/pr-subscribers-testing-tools

@llvm/pr-subscribers-libcxx

Author: Eric (EricWF)

Changes

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

1 Files Affected:

  • (modified) libcxx/utils/ci/run-buildbot (+1-1)
diff --git a/libcxx/utils/ci/run-buildbot b/libcxx/utils/ci/run-buildbot
index 2905745355b68e..e0760c5e285aa7 100755
--- a/libcxx/utils/ci/run-buildbot
+++ b/libcxx/utils/ci/run-buildbot
@@ -127,7 +127,7 @@ function generate-cmake-base() {
           -DLIBCXXABI_ENABLE_WERROR=YES \
           -DLIBUNWIND_ENABLE_WERROR=YES \
           -DLIBCXX_ENABLE_CLANG_TIDY=${ENABLE_CLANG_TIDY} \
-          -DLLVM_LIT_ARGS="-sv --xunit-xml-output test-results.xml --timeout=1500 --time-tests" \
+          -DLLVM_LIT_ARGS="-v --xunit-xml-output test-results.xml --timeout=1500 --time-tests" \
           "${@}"
 }
 

Copy link

github-actions bot commented Mar 2, 2024

⚠️ Python code formatter, darker found issues in your code. ⚠️

You can test this locally with the following command:
darker --check --diff -r 5b058709536dd883980722ee000bb7b8c7b2cd8b...587d92bfdb9a38ec1f04f8b22f49f0ab5f306325 libcxx/utils/run.py llvm/utils/lit/lit/run.py
View the diff from darker here.
--- llvm/utils/lit/lit/run.py	2024-03-02 16:37:40.000000 +0000
+++ llvm/utils/lit/lit/run.py	2024-03-02 16:40:05.513384 +0000
@@ -129,19 +129,20 @@
 
             soft_limit, hard_limit = resource.getrlimit(NPROC)
             asked_limit = desired_limit
             desired_limit = min(desired_limit, hard_limit)
             self.lit_config.warning(
-                "soft limit: %d\nhard limit: %d\ndesired limit: %d\nasked limit: %d" % (soft_limit, hard_limit, desired_limit, asked_limit)
+                "soft limit: %d\nhard limit: %d\ndesired limit: %d\nasked limit: %d"
+                % (soft_limit, hard_limit, desired_limit, asked_limit)
             )
             assert desired_limit > 0
             if soft_limit < desired_limit:
                 resource.setrlimit(NPROC, (desired_limit, hard_limit))
                 self.lit_config.note(
                     "Raised process limit from %d to %d" % (soft_limit, desired_limit)
                 )
         except AssertionError as assErr:
-            self.lit_config.warning('Tried to ')
+            self.lit_config.warning("Tried to ")
         except Exception as ex:
             # Warn, unless this is Windows, in which case this is expected.
             if os.name != "nt":
                 self.lit_config.warning("Failed to raise process limit: %s" % type(ex))

@EricWF EricWF closed this Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
libc++ libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi. llvm-lit testing-tools
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants