Skip to content

[lldb-dap] Disable TestDAP_optimized under ASAN #111063

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

Merged
merged 1 commit into from
Oct 3, 2024

Conversation

augusto2112
Copy link
Contributor

@augusto2112 augusto2112 commented Oct 3, 2024

This test is failing on green dragon and I couldn't figure out why,
disabling it for now under ASAN to get the bot green.

Opened an issue (#111061) to track the problem.

@llvmbot
Copy link
Member

llvmbot commented Oct 3, 2024

@llvm/pr-subscribers-lldb

Author: Augusto Noronha (augusto2112)

Changes

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

1 Files Affected:

  • (modified) lldb/test/API/tools/lldb-dap/optimized/TestDAP_optimized.py (+1)
diff --git a/lldb/test/API/tools/lldb-dap/optimized/TestDAP_optimized.py b/lldb/test/API/tools/lldb-dap/optimized/TestDAP_optimized.py
index 42a95de309a08b..ae144ebdca46bd 100644
--- a/lldb/test/API/tools/lldb-dap/optimized/TestDAP_optimized.py
+++ b/lldb/test/API/tools/lldb-dap/optimized/TestDAP_optimized.py
@@ -28,6 +28,7 @@ def test_stack_frame_name(self):
         parent_frame = self.dap_server.get_stackFrame(frameIndex=1)
         self.assertTrue(parent_frame["name"].endswith(" [opt]"))
 
+    @skipIfAsan # On ASAN builds this test intermittently fails https://github.com/llvm/llvm-project/issues/111061
     @skipIfWindows
     def test_optimized_variable(self):
         """Test optimized variable value contains error."""

@augusto2112 augusto2112 changed the title Disable TestDAP_optimized under ASAN [lldb-dap] Disable TestDAP_optimized under ASAN Oct 3, 2024
This test is failing on green dragon and I couldn't figure out why,
disabling it for now under ASAN to get the bot green.

Opened an issue
(llvm#111061) to track the
problem.
@augusto2112 augusto2112 merged commit 47ff13b into llvm:main Oct 3, 2024
4 of 6 checks passed
Copy link

github-actions bot commented Oct 3, 2024

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

You can test this locally with the following command:
darker --check --diff -r 000e790be35b77a01872851646d54432a203542c...9f64a452745b070b610e583436f074b3f9a24f4f lldb/test/API/tools/lldb-dap/optimized/TestDAP_optimized.py
View the diff from darker here.
--- TestDAP_optimized.py	2024-10-03 20:45:49.000000 +0000
+++ TestDAP_optimized.py	2024-10-03 20:50:17.743555 +0000
@@ -26,11 +26,11 @@
         leaf_frame = self.dap_server.get_stackFrame(frameIndex=0)
         self.assertTrue(leaf_frame["name"].endswith(" [opt]"))
         parent_frame = self.dap_server.get_stackFrame(frameIndex=1)
         self.assertTrue(parent_frame["name"].endswith(" [opt]"))
 
-    @skipIfAsan # On ASAN builds this test intermittently fails https://github.com/llvm/llvm-project/issues/111061
+    @skipIfAsan  # On ASAN builds this test intermittently fails https://github.com/llvm/llvm-project/issues/111061
     @skipIfWindows
     def test_optimized_variable(self):
         """Test optimized variable value contains error."""
         program = self.getBuildArtifact("a.out")
         self.build_and_launch(program)

adrian-prantl pushed a commit to adrian-prantl/llvm-project that referenced this pull request Dec 20, 2024
This test is failing on green dragon and I couldn't figure out why,
disabling it for now under ASAN to get the bot green.

Opened an issue (llvm#111061) to
track the problem.

(cherry picked from commit 47ff13b)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants