TestProject Forum

Unable to run Jobs on Testproject agent 3.10

Hi Team,

I am getting the following error while trying to run my job which has 82 testcase.

2021-07-27 08:16:20.768 ERROR pool-16-thread- i.t.a.m.w.b                              Failed to submit execution KJGsNrE-u0iQku-reSggvw worker #0 to executor
java.util.concurrent.CompletionException: io.grpc.StatusRuntimeException: CANCELLED: HTTP/2 error code: CANCEL
Received Rst Stream
        at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:314)
        at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:319)
        at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1810)
        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:830)
Caused by: io.grpc.StatusRuntimeException: CANCELLED: HTTP/2 error code: CANCEL
Received Rst Stream
        at io.grpc.Status.asRuntimeException(Status.java:533)
        at io.grpc.stub.ClientCalls$BlockingResponseStream.hasNext(ClientCalls.java:629)
        at io.testproject.agent.managers.worker.d.a(TestProjectAgent:282)
        at io.testproject.agent.managers.worker.b.a(TestProjectAgent:588)
        at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1807)
        ... 3 common frames omitted
2021-07-27 08:16:20.782 INFO  Thread-52       i.t.a.b.b.c                              Reporting execution state 'Done' for package KJGsNrE-u0iQku-reSggvw
2021-07-27 08:16:20.799 INFO  Thread-52       i.t.a.m.w.b                              All 1 Agents Workers finished executing package KJGsNrE-u0iQku-reSggvw
2021-07-27 08:16:20.800 WARN  Thread-52       i.t.a.m.w.b                              No attachments file was found for execution KJGsNrE-u0iQku-reSggvw/1
2021-07-27 08:16:20.801 WARN  Thread-52       i.t.a.m.w.b                              No report file was found for execution KJGsNrE-u0iQku-reSggvw/1
2021-07-27 08:16:20.802 WARN  Thread-52       i.t.a.m.w.b                              No report file was found for execution KJGsNrE-u0iQku-reSggvw/1
2021-07-27 08:16:20.802 ERROR Thread-52       i.t.a.m.w.b                              Failed to create combined report for execution KJGsNrE-u0iQku-reSggvw
2021-07-27 08:16:20.802 INFO  Thread-52       i.t.a.m.w.b                              Starting reports uploading...
2021-07-27 08:16:20.810 INFO  pool-3-thread-7 i.t.a.m.d.p                              There are 1 execution reports pending to be uploaded
2021-07-27 08:16:20.817 INFO  pool-3-thread-7 i.t.a.m.d.p                              Initiating upload for execution report KJGsNrE-u0iQku-reSggvw
2021-07-27 08:16:20.819 INFO  pool-3-thread-7 i.t.a.m.d.p                              Finished reporting task
2021-07-27 08:16:20.820 ERROR pool-3-thread-8 i.t.a.m.d.p                              Failed loading execution KJGsNrE-u0iQku-reSggvw report for uploading: Execution KJGsNrE-u0iQku-reSggvw report file is missing
java.io.FileNotFoundException: Execution KJGsNrE-u0iQku-reSggvw report file is missing
        at io.testproject.agent.managers.d.p.<init>(TestProjectAgent:130)
        at io.testproject.agent.managers.d.p.a(TestProjectAgent:3261)
        at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at io.testproject.agent.c.d.run(TestProjectAgent:33)
        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:830)
2021-07-27 08:16:20.820 INFO  pool-3-thread-8 i.t.a.m.d.p                              Deleting execution folder KJGsNrE-u0iQku-reSggvw
2021-07-27 08:16:21.042 INFO  jersey-client-a i.t.a.b.a.d                              PUT https://api.testproject.io/api/v1/executions/KJGsNrE-u0iQku-reSggvw/state - 200 (q2GEcr9P): State was updated


Can anyone please help.

Hi,
I’m assuming that you can run a small Job and that’s why you specify the number of test cases? Am I right?
If so, try to reduce the number of tests in each job and run it again.
We have a known issue that has been fixed in the next Agent version, we will update here once it will be released
This is the task id: 16299

Yup, I recently discovered, that Jobs with less testcases are running fine…Thanks for the headsup, As of now I shall degrade my agent to 2.xx as we cannot disturb our job configuration…we will wait for the new version where this issue us addressed.

Thanks

1 Like

Hey,
This issue was fixed on Agent version 3.2.0.
This version will be released soon.