Nous avons fait l'installation et la configuration de Squash TM et Squash Autom. Tout semble ok, pourtant, à l'exécution d'un test automatisé Cypress, rien ne semble se passer du côté de l'orchestrateur.
Nous avons installé les plugins :
Code : Tout sélectionner
org.eclipse.jgit-5.1.2.201810061102-r.jar
plugin.api.rest.core-3.0.0.RELEASE.jar
plugin.api.rest.services-3.0.0.RELEASE.jar
plugin.bugtracker.redmine3rest-3.0.0.RELEASE.jar
plugin.requirement.redminerest-3.0.0.RELEASE.jar
plugin.requirement.xsquash4jira-3.0.0.RELEASE.jar
plugin.scm.git-3.0.0.RELEASE.jar
plugin.testautomation.squashautom.community-3.0.0.RELEASE.jar
redmine-java-api-1.24.jar
report.books.requirements.editable-3.0.0.RELEASE.jar
report.books.testcases.editable-3.0.0.RELEASE.jar
report.qualitativecoverage-3.0.0.RELEASE.jar
squash.tm.rest.result.publisher.community-3.0.0.RELEASE.jar
squash.tm.rest.test.plan.retriever.community-3.0.0.RELEASE.jar
Voici les logs côté Orchestrator :
Code : Tout sélectionner
[2022-06-10 06:42:42,449] INFO in eventbus: opentestfactory.org/v1alpha1/Workflow
[2022-06-10 06:42:42,458] INFO in eventbus: 127.0.0.1 - - [10/Jun/2022 06:42:42] "POST /publications HTTP/1.1" 200 -
[2022-06-10 06:42:42,461] INFO in receptionist: Workflow Workflow for Squash TM Suite with id 8a5803af8148104301814c59c08e0004 accepted (workflow_id=39a33989-f417-47de-850a-88a5b75dea04).
[2022-06-10 06:42:42,463] INFO in receptionist: 10.233.119.215 - - [10/Jun/2022 06:42:42] "[35m[1mPOST /workflows HTTP/1.0[0m" 201 -
[2022-06-10 06:42:42,643] INFO in observer: 127.0.0.1 - - [10/Jun/2022 06:42:42] "POST /inbox HTTP/1.1" 200 -
[2022-06-10 06:42:42,647] INFO in eventbus: squashtest.org/v1alpha1/ExpectedSuiteDefinition
[2022-06-10 06:42:42,668] INFO in eventbus: 10.233.119.215 - - [10/Jun/2022 06:42:42] "POST /publications HTTP/1.0" 200 -
[2022-06-10 06:42:42,751] INFO in arranger: 127.0.0.1 - - [10/Jun/2022 06:42:42] "POST /inbox HTTP/1.1" 200 -
[2022-06-10 06:42:42,766] INFO in eventbus: opentestfactory.org/v1alpha1/ExecutionCommand
[2022-06-10 06:42:42,773] INFO in eventbus: 127.0.0.1 - - [10/Jun/2022 06:42:42] "POST /publications HTTP/1.1" 200 -
[2022-06-10 06:42:42,811] INFO in observer: 127.0.0.1 - - [10/Jun/2022 06:42:42] "POST /inbox HTTP/1.1" 200 -
[2022-06-10 06:42:42,929] INFO in inceptionee: 127.0.0.1 - - [10/Jun/2022 06:42:42] "POST /inbox HTTP/1.1" 200 -
[2022-06-10 06:42:43,024] WARNING in agentchannel: Could not find environment matching request ['cypress'].
[2022-06-10 06:42:43,026] INFO in agentchannel: 127.0.0.1 - - [10/Jun/2022 06:42:43] "POST /inbox HTTP/1.1" 200 -
[2022-06-10 06:42:43,124] INFO in sshchannel: 127.0.0.1 - - [10/Jun/2022 06:42:43] "POST /inbox HTTP/1.1" 200 -
[2022-06-10 06:42:43,508] WARNING in sshchannel: Could not reach host 2101e792-6a20-42b8-8a16-0f9a4f5e5228: [Errno -2] Name or service not known
[2022-06-10 06:42:43,508] WARNING in sshchannel: Could not find valid candidate for job a16326e8-bf07-4935-aa57-e412b45e34bc
2022-06-10 06:42:49.911 INFO 71 --- [.0-10088-exec-1] o.o.s.c.v.JsonSchemaReaderInterceptor : Configuration : org.opentestfactory.plugins.result.aggregator.config.EndpointConfig$$EnhancerBySpringCGLIB$$ad6526f2@1a6ff402
2022-06-10 06:42:50.008 INFO 54 --- [.0-10066-exec-1] o.o.s.c.v.JsonSchemaReaderInterceptor : Configuration : org.squashtest.tf2.squashtm.publisher.config.EndpointConfig$$EnhancerBySpringCGLIB$$ea1b12fc@276655e3
2022-06-10 06:42:51.527 INFO 71 --- [.0-10088-exec-1] o.o.s.c.v.JsonSchemaReaderInterceptor : Schema resource name : /org/opentestfactory/json/schema/v1alpha1/ExecutionCommand.json
2022-06-10 06:42:51.659 INFO 54 --- [.0-10066-exec-1] o.o.s.c.v.JsonSchemaReaderInterceptor : Schema resource name : /org/squashtest/json/schema/v1alpha1/ExpectedSuiteDefinition.json
[2022-06-10 06:42:52,913] INFO in eventbus: squashtest.org/v1alpha1/SuiteDefinitionReceipt
[2022-06-10 06:42:52,920] INFO in eventbus: 127.0.0.1 - - [10/Jun/2022 06:42:52] "POST /publications HTTP/1.1" 200 -
2022-06-10 06:42:52.948 INFO 54 --- [pool-1-thread-1] s.t.s.p.a.SuiteDefinitionAcknowledgeTask : AutomatedSuite 8a5803af8148104301814c59c08e0004 test executions registered in SquashTMPublisher, waiting for their results.
[2022-06-10 06:42:53,521] INFO in eventbus: opentestfactory.org/v1alpha1/Notification
[2022-06-10 06:42:53,536] INFO in eventbus: 127.0.0.1 - - [10/Jun/2022 06:42:53] "POST /publications HTTP/1.1" 200 -
[2022-06-10 06:42:53,734] INFO in observer: 127.0.0.1 - - [10/Jun/2022 06:42:53] "POST /inbox HTTP/1.1" 200 -
2022-06-10 06:42:58.450 INFO 60 --- [.0-10065-exec-1] o.o.s.c.v.JsonSchemaReaderInterceptor : Configuration : org.squashtest.tf2.squashtm.generator.config.EndpointConfig$$EnhancerBySpringCGLIB$$b375b940@738a4574
2022-06-10 06:42:58.923 WARN 60 --- [.0-10065-exec-1] org.glassfish.jersey.internal.Errors : The following warnings have been detected: WARNING: Parameter 2 of type org.squashtest.tf2.squashtm.generator.model.TestPlanRequestBindingFactoryBase<R> from public org.squashtest.tf2.squashtm.generator.application.EventInbox(org.opentestfactory.services.components.bus.BusClientFactory,org.squashtest.tf2.squashtm.generator.model.TestPlanRequestBindingFactoryBase<R>,org.squashtest.tf2.squashtm.generator.application.GenerationTaskFactoryBase<R, C>) is not resolvable to a concrete type.
WARNING: Parameter 3 of type org.squashtest.tf2.squashtm.generator.application.GenerationTaskFactoryBase<R, C> from public org.squashtest.tf2.squashtm.generator.application.EventInbox(org.opentestfactory.services.components.bus.BusClientFactory,org.squashtest.tf2.squashtm.generator.model.TestPlanRequestBindingFactoryBase<R>,org.squashtest.tf2.squashtm.generator.application.GenerationTaskFactoryBase<R, C>) is not resolvable to a concrete type.
WARNING: Parameter 2 of type org.squashtest.tf2.squashtm.generator.model.TestPlanRequestBindingFactoryBase<R> from public org.squashtest.tf2.squashtm.generator.application.EventInbox(org.opentestfactory.services.components.bus.BusClientFactory,org.squashtest.tf2.squashtm.generator.model.TestPlanRequestBindingFactoryBase<R>,org.squashtest.tf2.squashtm.generator.application.GenerationTaskFactoryBase<R, C>) is not resolvable to a concrete type.
WARNING: Parameter 3 of type org.squashtest.tf2.squashtm.generator.application.GenerationTaskFactoryBase<R, C> from public org.squashtest.tf2.squashtm.generator.application.EventInbox(org.opentestfactory.services.components.bus.BusClientFactory,org.squashtest.tf2.squashtm.generator.model.TestPlanRequestBindingFactoryBase<R>,org.squashtest.tf2.squashtm.generator.application.GenerationTaskFactoryBase<R, C>) is not resolvable to a concrete type.
2022-06-10 06:42:59.337 INFO 60 --- [.0-10065-exec-1] o.o.s.c.v.JsonSchemaReaderInterceptor : Schema resource name : /org/squashtest/json/schema/v1alpha1/SuiteDefinitionReceipt.json
[2022-06-10 06:43:12,795] INFO in eventbus: opentestfactory.org/v1alpha1/ExecutionCommand
[2022-06-10 06:43:12,804] INFO in eventbus: 127.0.0.1 - - [10/Jun/2022 06:43:12] "POST /publications HTTP/1.1" 200 -
[2022-06-10 06:43:12,841] INFO in observer: 127.0.0.1 - - [10/Jun/2022 06:43:12] "POST /inbox HTTP/1.1" 200 -
[2022-06-10 06:43:12,880] INFO in inceptionee: 127.0.0.1 - - [10/Jun/2022 06:43:12] "POST /inbox HTTP/1.1" 200 -
[2022-06-10 06:43:12,924] WARNING in agentchannel: Could not find environment matching request ['cypress'].
[2022-06-10 06:43:12,925] INFO in agentchannel: 127.0.0.1 - - [10/Jun/2022 06:43:12] "POST /inbox HTTP/1.1" 200 -
[2022-06-10 06:43:12,957] INFO in sshchannel: 127.0.0.1 - - [10/Jun/2022 06:43:12] "POST /inbox HTTP/1.1" 200 -
[2022-06-10 06:43:13,015] WARNING in sshchannel: Could not reach host 2101e792-6a20-42b8-8a16-0f9a4f5e5228: [Errno -2] Name or service not known
[2022-06-10 06:43:13,015] WARNING in sshchannel: Could not find valid candidate for job a16326e8-bf07-4935-aa57-e412b45e34bc
2022-06-10 06:43:13.026 INFO 71 --- [.0-10088-exec-3] o.o.s.c.v.JsonSchemaReaderInterceptor : Schema resource name : /org/opentestfactory/json/schema/v1alpha1/ExecutionCommand.json
Voici les logs côté Squash TM :
Code : Tout sélectionner
[22-06-10 08:42:39.272] SquashTM - 886457 INFO [http-nio-8080-exec-10] [ServletWebRequest: uri=/squash/backend/automated-suites/create-and-execute;client=100.126.253.135;session=96A22420BC30363C3FBEE2091C31736F;user=caruso] --- org.squashtest.tm.service.testautomation.spi.TestAutomationConnector: START CREATING EXECUTIONS Fri Jun 10 08:42:39 CEST 2022
[22-06-10 08:42:39.392] SquashTM - 886457 INFO [http-nio-8080-exec-10] [ServletWebRequest: uri=/squash/backend/automated-suites/create-and-execute;client=100.126.253.135;session=96A22420BC30363C3FBEE2091C31736F;user=caruso] --- org.squashtest.tm.service.testautomation.spi.TestAutomationConnector: END CREATING EXECUTIONS Fri Jun 10 08:42:39 CEST 2022
[22-06-10 08:42:39.393] SquashTM - 886457 INFO [http-nio-8080-exec-10] [ServletWebRequest: uri=/squash/backend/automated-suites/create-and-execute;client=100.126.253.135;session=96A22420BC30363C3FBEE2091C31736F;user=caruso] --- org.squashtest.tm.service.testautomation.spi.TestAutomationConnector: START SENDING EXECUTIONS Fri Jun 10 08:42:39 CEST 2022
[22-06-10 08:42:41.539] SquashTM - 886457 INFO [http-nio-8080-exec-10] [ServletWebRequest: uri=/squash/backend/automated-suites/create-and-execute;client=100.126.253.135;session=96A22420BC30363C3FBEE2091C31736F;user=caruso] --- org.squashtest.tm.service.testautomation.spi.TestAutomationConnector: END SENDING EXECUTIONS Fri Jun 10 08:42:41 CEST 2022
Romain