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

Errors in multi-step run not propagated #37

Open
jerboaa opened this issue Apr 29, 2021 · 1 comment
Open

Errors in multi-step run not propagated #37

jerboaa opened this issue Apr 29, 2021 · 1 comment
Assignees

Comments

@jerboaa
Copy link
Collaborator

jerboaa commented Apr 29, 2021

I've just tried to run the imageio test locally and when looking at the build-and-run.log file I see this:

[INFO] ------------------------------------------------------------------------
Command: java -agentlib:native-image-agent=config-output-dir=src/main/resources/META-INF/native-image -jar target/imageio.jar
Error occurred during initialization of VM
Could not find agent library native-image-agent on the library path, with error: libnative-image-agent.so: cannot open shared object file: No such file or directory
Command: jar uf target/imageio.jar -C src/main/resources/ META-INF
Command: native-image -H:IncludeResources=Grace_M._Hopper.jp2,MyFreeMono.ttf,MyFreeSerif.ttf --no-fallback -jar target/imageio.jar target/imageio
[target/imageio:16901]    classlist:   1,305.26 ms,  0.96 GB
[target/imageio:16901]        (cap):     461.44 ms,  0.96 GB
[target/imageio:16901]        setup:   1,941.41 ms,  0.96 GB
[target/imageio:16901]     (clinit):     414.05 ms,  2.32 GB

Note that running the java agent failed. At that point the test should have aborted. This makes me believe the errors in a multi-step command aren't properly propagated.

@jerboaa
Copy link
Collaborator Author

jerboaa commented Apr 29, 2021

/cc @Karm

@Karm Karm self-assigned this Feb 9, 2023
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

2 participants