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

tests: Fix RT tests sporadic failures #9538

Merged
merged 1 commit into from
Feb 26, 2025

Conversation

arno-lunarg
Copy link
Contributor

No description provided.

@arno-lunarg arno-lunarg requested a review from a team as a code owner February 26, 2025 14:36
@ci-tester-lunarg
Copy link
Collaborator

CI Vulkan-ValidationLayers build queued with queue ID 381516.

@ci-tester-lunarg
Copy link
Collaborator

CI Vulkan-ValidationLayers build # 19207 running.

@@ -1870,7 +1870,7 @@ TEST_F(NegativeRayTracing, AccelerationStructuresOverlappingMemory) {
// of elements in `build_infos`
// => due to validation code optimisations, not *all* overlaps will be detected,
// but if there is *at least one*, it will *always+ be detected.
m_errorMonitor->SetDesiredError("VUID-vkCmdBuildAccelerationStructuresKHR-dstAccelerationStructure-03702", 2);
m_errorMonitor->SetAllowedFailureMsg("VUID-vkCmdBuildAccelerationStructuresKHR-dstAccelerationStructure-03702");
Copy link
Contributor

Choose a reason for hiding this comment

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

What is the point of this test if everything is SetAllowedFailureMsg

It basically means "sometimes this tests passes, sometimes it falis"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The emitted errors are un-predictable, it is just the nature of validation: it will depend on the addresses the driver returns, and the order in which memory overlaps are found

Copy link
Contributor

Choose a reason for hiding this comment

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

Then just add a comment about the TEST_F saying this for the next person to not go "wait, wtf"

@ci-tester-lunarg
Copy link
Collaborator

CI Vulkan-ValidationLayers build # 19207 failed.

@arno-lunarg arno-lunarg force-pushed the arno-rt-test-failures branch from 84baa41 to 4b1d4a1 Compare February 26, 2025 17:07
@ci-tester-lunarg
Copy link
Collaborator

CI Vulkan-ValidationLayers build queued with queue ID 381709.

@ci-tester-lunarg
Copy link
Collaborator

CI Vulkan-ValidationLayers build # 19210 running.

@ci-tester-lunarg
Copy link
Collaborator

CI Vulkan-ValidationLayers build # 19210 passed.

@arno-lunarg arno-lunarg merged commit 4e7b0c9 into KhronosGroup:main Feb 26, 2025
21 checks passed
@arno-lunarg arno-lunarg deleted the arno-rt-test-failures branch February 26, 2025 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants