Iteration don't start?

blynker
Messages : 2
Inscription : mer. janv. 17, 2024 9:58 am

Iteration don't start?

Message par blynker »

Hello all, after starting my automated tests. I got the following message in my squash orchestrator.
Orchestrator is a docker container and Squash TM runs on my local machine. my bdd cucumber test runing well.
Please help, thank you.
Bernd

[2024-01-17 20:46:13,524] INFO in agentchannel: Could not find environment matching request ['cucumber5'] in namespace 'default'.
[2024-01-17 20:46:13,705] INFO in receptionist: Workflow Workflow for Squash TM iteration: ZMI > K1 > I1 accepted (workflow_id=ccb3fd7a-012b-418c-9d58-52c403afe6cb).
[2024-01-17 20:46:13,716] INFO in tm.publisher: Received expected automated suite definition 2c98d11f8d191b60018d192ca8110002 for job ccb3fd7a-012b-418c-9d58-52c403afe6cb in workflow ccb3fd7a-012b-418c-9d58-52c403afe6cb
Exception in thread "pool-6-thread-7" org.opentestfactory.services.components.http.exception.HttpClientException: A connection error occurred when init test status to http://localhost:8080/squash/api/rest/l ... nit-status
at org.squashtest.squash.automation.tm.publisher.model.StatusInitBinding.initSquashTMExecutionStateToRunning(StatusInitBinding.java:51)
at org.squashtest.squash.automation.tm.publisher.application.SuiteDefinitionAcknowledgeTask.initExecutionStatusToRunning(SuiteDefinitionAcknowledgeTask.java:92)
at org.squashtest.squash.automation.tm.publisher.application.SuiteDefinitionAcknowledgeTask.doTask(SuiteDefinitionAcknowledgeTask.java:84)
at org.opentestfactory.services.components.logger.WorkflowTask.run(WorkflowTask.java:36)
at java.base@17.0.7/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base@17.0.7/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base@17.0.7/java.lang.Thread.run(Thread.java:833)
at org.graalvm.nativeimage.builder/com.oracle.svm.core.thread.PlatformThreads.threadStartRoutine(PlatformThreads.java:807)
at org.graalvm.nativeimage.builder/com.oracle.svm.core.posix.thread.PosixPlatformThreads.pthreadStartRoutine(PosixPlatformThreads.java:210)
Caused by: org.apache.hc.client5.http.HttpHostConnectException: Connect to http://localhost:8080 [localhost/127.0.0.1] failed: Connection refused
lylybr
Messages : 3
Inscription : ven. juin 06, 2025 8:53 am

Re: Iteration don't start?

Message par lylybr »

blynker a écrit : mer. janv. 17, 2024 10:45 pm Hello all, after starting my automated tests. I got the following message in my squash orchestrator.
Orchestrator is a docker container and Squash TM runs on my local machine. my bdd cucumber test runing well.
Please help, thank you.
Bernd

[2024-01-17 20:46:13,524] INFO in agentchannel: Could not find environment matching request ['cucumber5'] in namespace 'default'.
[2024-01-17 20:46:13,705] INFO in receptionist: Workflow Workflow for Squash TM iteration: ZMI > K1 > I1 accepted (workflow_id=ccb3fd7a-012b-418c-9d58-52c403afe6cb).
[2024-01-17 20:46:13,716] INFO in tm.publisher: Received expected automated suite definition 2c98d11f8d191b60018d192ca8110002 for job ccb3fd7a-012b-418c-9d58-52c403afe6cb in workflow ccb3fd7a-012b-418c-9d58-52c403afe6cb
Exception in thread "pool-6-thread-7" org.opentestfactory.services.components.http.exception.HttpClientException: A connection error occurred when init test status to http://localhost:8080/squash/api/rest/l ... nit-status
at org.squashtest.squash.automation.tm.publisher.model.StatusInitBinding.initSquashTMExecutionStateToRunning(StatusInitBinding.java:51)
at org.squashtest.squash.automation.tm.publisher.application.SuiteDefinitionAcknowledgeTask.initExecutionStatusToRunning(SuiteDefinitionAcknowledgeTask.java:92)
at org.squashtest.squash.automation.tm.publisher.application.SuiteDefinitionAcknowledgeTask.doTask(SuiteDefinitionAcknowledgeTask.java:84)
at org.opentestfactory.services.components.logger.WorkflowTask.run(WorkflowTask.java:36)
at java.base@17.0.7/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base@17.0.7/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base@17.0.7/java.lang.Thread.run(Thread.java:833)
at org.graalvm.nativeimage.builder/com.oracle.svm.core.thread.PlatformThreads.threadStartRoutine(PlatformThreads.java:807)
at org.graalvm.nativeimage.builder/com.oracle.svm.core.posix.thread.PosixPlatformThreads.pthreadStartRoutine(PosixPlatformThreads.java:210)
Caused by: org.apache.hc.client5.http.HttpHostConnectException: Connect to http://localhost:8080 Pokerogue [localhost/127.0.0.1] failed: Connection refused
It appears that Squash Orchestrator is unable to connect to the Squash TM API at http://localhost:8080, resulting in the “Connection refused” error. You should check that:
  1. Squash TM is started and running on port 8080.
  • The Docker container Orchestrator can access the host’s localhost address (since in Docker, localhost is the container, not the host).
  • If Squash TM is running on the host, try using the host IP instead of localhost in the Orchestrator configuration.
Adjusting the connection configuration or ensuring the Squash TM service is running should resolve this error.
fefem
Messages : 1
Inscription : ven. juil. 25, 2025 9:55 am

Re: Iteration don't start?

Message par fefem »

blynker a écrit : mer. janv. 17, 2024 10:45 pm Hello all, after starting my automated tests. I got the following message in my squash orchestrator.
Orchestrator is a docker container and Squash TM runs on my local machine. my bdd cucumber test runing well.
Please help, thank you.
Bernd

[2024-01-17 20:46:13,524] INFO in agentchannel: Could not find environment matching request ['cucumber5'] in namespace 'default'.
[2024-01-17 20:46:13,705] INFO in receptionist: Workflow Workflow for Squash TM iteration: ZMI > K1 > I1 accepted (workflow_id=ccb3fd7a-012b-418c-9d58-52c403afe6cb).
[2024-01-17 20:46:13,716] INFO in tm.publisher: Received expected automated suite definition 2c98d11f8d191b60018d192ca8110002 for job ccb3fd7a-012b-418c-9d58-52c403afe6cb in workflow ccb3fd7a-012b-418c-9d58-52c403afe6cb
Exception in thread "pool-6-thread-7" org.opentestfactory.services.components.http.exception.HttpClientException: A connection error occurred when init test status to http://localhost:8080/squash/api/rest/l ... it-status/ wordle unlimited
Caused by: org.apache.hc.client5.http.HttpHostConnectException: Connect to http://localhost:8080 [localhost/127.0.0.1] failed: Connection refused
Good job
Répondre

Revenir à « Conception / Design »