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

FAILED: 282 - code_api|tool.drcachesim.scattergather (Failed) Required regular expression not found. #5747

Open
prasun3 opened this issue Nov 21, 2022 · 0 comments

Comments

@prasun3
Copy link
Contributor

prasun3 commented Nov 21, 2022

Describe the bug
The code_api|tool.drcachesim.scattergather test fails with the error Failed Required regular expression not found.. On inspection, I noticed that the test output was missing this statement AVX2/AVX-512 scatter/gather checks ok.

Test output

282: Test updating the AVX2 gather mask register upon translation events
282: Test restoring the AVX2 gather scratch xmm register upon a fault
282: ---- <application exited with code 139> ----

Expected

Test updating the AVX2 gather mask register upon translation events
Test restoring the AVX2 gather scratch xmm register upon a fault
AVX2/AVX-512 scatter/gather checks ok
---- <application exited with code 0> ----

To Reproduce
Run this on an x86-32 build

ctest -V -R 'tool.drcachesim.scattergather'

The test passes if the following lines are commented out in suite/tests/client-interface/drx-scattergather.c

    intercept_signal(SIGSEGV, (handler_3_t)&signal_handler_check_xmm3, false);
    test_idx32_vec[1] = 0xefffffff;
    if (SIGSETJMP(mark) == 0) {
        test_avx2_restore_gather_scratch_xmm_fault(ref_idx32_val32_xmm_ymm_zmm,
                                                   test_idx32_vec, scratch_xmm_val);
        print("ERROR: Expected a fault\n");
    }

Please also answer these questions:

Expected behavior
Test should pass

Screenshots or Pasted Text

Versions
11bf678

Additional context

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

No branches or pull requests

1 participant