KEMBAR78
`VmstructsTests.jnienvAgent` fails on macOS sometimes · Issue #1510 · async-profiler/async-profiler · GitHub
Skip to content

VmstructsTests.jnienvAgent fails on macOS sometimes #1510

@fandreuz

Description

@fandreuz

Describe the bug

https://github.com/async-profiler/async-profiler/actions/runs/18001800418/job/51212683596#step:10:320

java.lang.AssertionError
	at test.vmstructs.VmstructsTests.jnienvAgent(VmstructsTests.java:26)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:569)
	at one.profiler.test.Runner.run(Runner.java:124)
	at one.profiler.test.Runner.main(Runner.java:188)

Expected vs. actual behavior

The test should ideally not fail.

Reproduction Steps

Only spotted in GHA for now.

Async-profiler version

master

Environment details

GHA

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions