Skip to content

AllocationQuantumIsNotAnIssueForNetCore21Plus tests randomly failed on macos (arm64) #2779

Closed
@filzrev

Description

@filzrev

AllocationQuantumIsNotAnIssueForNetCore21Plus test is recently enabled by PR #2562

But it's randomly failed on CI.
Because extra memory allocation is reported.
Currently it's confirmed only on macos(arm64) environment . (But it might be occurred on another arm64 images on windows/linux)

Error Log

2025-06-15T05:07:55.9366620Z [xUnit.net 00:09:48.63]     AllocationQuantumIsNotAnIssueForNetCore21Plus(toolchain: .NET 8.0) [FAIL]
2025-06-15T05:07:55.9368370Z [xUnit.net 00:09:48.63]       Assert.Equal() Failure: Values differ
2025-06-15T05:07:55.9368720Z [xUnit.net 00:09:48.63]       Expected: 88
2025-06-15T05:07:55.9368990Z [xUnit.net 00:09:48.63]       Actual:   760
...
2025-06-15T05:07:55.9500980Z [xUnit.net 00:09:48.63]         | Method              | Mean     | Error | Allocated |
2025-06-15T05:07:55.9501490Z [xUnit.net 00:09:48.63]         |-------------------- |---------:|------:|----------:|
2025-06-15T05:07:55.9502130Z [xUnit.net 00:09:48.63]         | SixtyFourBytesArray | 551.2 ms |    NA |     760 B |

If it can't determine root cause of this memory allocation issue.
This test should be temporary skipped for ARM64 environment.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions