Issue 233516
Summary [CI][MSan] MemorySanitizerOrigins.BinaryOp fails across multiple unrelated PRs
Labels infrastructure
Assignees
Reporter chichunchen
    Linux premerge CI is failing on the same two MemorySanitizer tests across
multiple unrelated PRs:

- Msan-x86_64-Test / MemorySanitizerOrigins.BinaryOp
- Msan-x86_64-with-call-Test / MemorySanitizerOrigins.BinaryOp

### Failing run

PR: #233480
Job: https://github.com/llvm/llvm-project/actions/runs/39291687771/job/118193961105

PR head: 3d78fba86e991f07f4a8c7e2e561bcf858f9f304
CI merge base: d4599c550b547561ef10e580344a9afb22315c8d

Compilation and the project checks completed successfully. The subsequent
check-compiler-rt step failed on these two tests.

### Failure

In compiler-rt/lib/msan/tests/msan_test.cpp:

```text
msan_test.cpp:187
Value of: __msan_origin_is_descendant_or_same((__msan_get_origin((void *)&t)), (origin))
  Actual: false
Expected: true

msan_test.cpp:4411
Value of: __msan_origin_is_descendant_or_same((__msan_get_origin(z)), (oy))
  Actual: false
Expected: true
```

The failing checks are in the binary-operation test case where x is
initialized and y is poisoned. The result is expected to retain an origin
derived from y.

### Matching failures on unrelated PRs

- #233289:
 https://github.com/llvm/llvm-project/pull/233289#issuecomment-6255315092
- #232611:
 https://github.com/llvm/llvm-project/pull/232611#issuecomment-6258664053

Both reports show the same two failing tests and assertion locations,
predating the run for #233480.

### Reproduction on the CI build

Run each MSan test executable with:

```text
--gtest_filter=MemorySanitizerOrigins.BinaryOp
```
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to