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

Getting Error when I try to run the trust-framework-policies-gaiax-participant-2206 extension test cases #12

Open
MUsman1992 opened this issue May 9, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@MUsman1992
Copy link

MUsman1992 commented May 9, 2023

When I try to run the trust-framework-policies-gaiax-participant-2206 extension test cases, I get this error that can be seen below: I am able to run the test cases of other extension trust-framework-policies-core successfully but when I try to execute the test cases of this extension trust-framework-policies-gaiax-participant-2206 I am getting the above error Does anyone know what is causing this issue ?


> Task :extensions:common:trust-framework-policies:trust-framework-policies-core:compileJava UP-TO-DATE
> Task :extensions:common:trust-framework-policies:trust-framework-policies-core:processResources NO-SOURCE
> Task :extensions:common:trust-framework-policies:trust-framework-policies-core:classes UP-TO-DATE
> Task :extensions:common:trust-framework-policies:trust-framework-policies-core:jar UP-TO-DATE
> Task :extensions:common:trust-framework-policies:trust-framework-policies-gaiax-participant-2206:compileJava UP-TO-DATE
> Task :extensions:common:trust-framework-policies:trust-framework-policies-gaiax-participant-2206:processResources UP-TO-DATE
> Task :extensions:common:trust-framework-policies:trust-framework-policies-gaiax-participant-2206:classes UP-TO-DATE
> Task :extensions:common:trust-framework-policies:trust-framework-policies-gaiax-participant-2206:compileTestJava UP-TO-DATE
> Task :extensions:common:trust-framework-policies:trust-framework-policies-gaiax-participant-2206:processTestResources UP-TO-DATE
> Task :extensions:common:trust-framework-policies:trust-framework-policies-gaiax-participant-2206:testClasses UP-TO-DATE
Could not write standard input to Gradle Test Executor 4.
java.io.IOException: The pipe is being closed
    at java.base/java.io.FileOutputStream.writeBytes(Native Method)
    at java.base/java.io.FileOutputStream.write(FileOutputStream.java:354)
    at java.base/java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:81)
    at java.base/java.io.BufferedOutputStream.flush(BufferedOutputStream.java:142)
    at org.gradle.process.internal.streams.ExecOutputHandleRunner.forwardContent(ExecOutputHandleRunner.java:68)
    at org.gradle.process.internal.streams.ExecOutputHandleRunner.run(ExecOutputHandleRunner.java:53)
    at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
    at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:49)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at java.base/java.lang.Thread.run(Thread.java:834)
> Task :extensions:common:trust-framework-policies:trust-framework-policies-gaiax-participant-2206:test FAILED
Unexpected error (103) returned by AddToSystemClassLoaderSearch
FATAL ERROR in native method: processing of -javaagent failed
Unable to add build/tmp/expandedArchives/org.jacoco.agent-0.8.8.jar_a33b649e552c51298e5a242c2f0d0e3c/jacocoagent.jar to system class path - the system class loader does not define the appendToClassPathForInstrumentation method or the method failed

---------------------------------------------------------------
|  Results: SUCCESS (0 tests, 0 passed, 0 failed, 0 skipped)  |
---------------------------------------------------------------
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':extensions:common:trust-framework-policies:trust-framework-policies-gaiax-participant-2206:test'.
> Process 'Gradle Test Executor 4' finished with non-zero exit value 1
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 532ms
7 actionable tasks: 1 executed, 6 up-to-date



@MUsman1992 MUsman1992 added the bug Something isn't working label May 9, 2023
@github-actions
Copy link

github-actions bot commented May 9, 2023

Thanks for your contribution 🔥 We will take a look asap 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant