Skip to content

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

@MUsman1992

Description

@MUsman1992

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



Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions