Execution status/result not shown in TM

Avatar de l’utilisateur
bfranchet
Messages : 142
Inscription : jeu. nov. 22, 2012 1:36 pm

Execution status/result not shown in TM

Message par bfranchet »

Well we will check your jenkins conf from the beginning

1) Have you install all the required jenkins plugin ? You will find the list of required jenkins plugin for Squash TA Server 1.7.0 [url=https://sites.google.com/a/henix.fr/wik ... components]here[/url]

2) In "Managed Jenkins / Managed files", have you
[ul]
[li]Create a "global Maven setting.xml" config named "TaGlobalSettings" and adapt the maven repository path defined in this file to your needs ?[/li]
[li]Create a new config file of type "Custom file" with for name "conf.properties" ? (This file should contains your configuration for the TM-TA link)[/li]
[/ul]


3) Have you create the environment variable named CONF_HOME which point to the JENKINS_HOME directory ?

4) For the defenition of the job, create a directory named "templateSquashTAExecutionMavenJob" in the directory JENKINS_HOME/jobs. In this created directory put the template job that could download [url=https://bitbucket.org/nx/squash-ta-exec ... .0-RELEASE]here[/url]. Then compare your job configuration to this template job. You should have same thing except for Source Code Management part which is specific to your environment.

Regards,
Saleej
Messages : 43
Inscription : jeu. janv. 29, 2015 4:50 am

Execution status/result not shown in TM

Message par Saleej »

Please find my inline comments below


1) Have you install all the required jenkins plugin ? You will find the list of required jenkins plugin for Squash TA Server 1.7.0 here
[SAK]: Yes. Plugins mentioned in the link are already installed

2) In "Managed Jenkins / Managed files", have you
Create a "global Maven setting.xml" config named "TaGlobalSettings" and adapt the maven repository path defined in this file to your needs ?
[SAK]: TaGlobalSettings was also added but I haven't set any repository path in it. Is this required?

Create a new config file of type "Custom file" with for name "conf.properties" ? (This file should contains your configuration for the TM-TA link)
[SAK]: Conf. properties file was also added. And it reflects squash URL (mentioned in the tm.testautomation.conf.properties under squash-TM folder) and its user credentials



3) Have you create the environment variable named CONF_HOME which point to the JENKINS_HOME directory ?
[SAK]: CONF_HOME pointing to Jenkins Home Directory was also added to System Environment variables

4) For the defenition of the job, create a directory named "templateSquashTAExecutionMavenJob" in the directory JENKINS_HOME/jobs. In this created directory put the template job that could download here. Then compare your job configuration to this template job. You should have same thing except for Source Code Management part which is specific to your environment.
[SAK]: Yes. It was the same configuration except for source code management section. I had to remove -Dta.test.suite="${testList}" from the Goals and options to run the job succeffuly. Root POM was also modified to reflect the appropriate path
my.squash.ta.project/pom.xml


Error when including the test.suite

[ERROR] org.squashtest.ta.backbone.engine.impl.TestRunnerImpl - An error occurs while processing the json file (testsuite.json)
java.io.FileNotFoundException: testsuite.json (The system cannot find the file specified)
Saleej
Messages : 43
Inscription : jeu. janv. 29, 2015 4:50 am

Execution status/result not shown in TM

Message par Saleej »

Please find attached setup documentation with steps carried out at my side inorder to execute the automation script via TM


[attachment=269]SquashAutomationSetup.zip[/attachment]


Note: This is the same document which was shared with squash team support mail address few days back. Hopefully this can help figure out the issue / mistakes if any
Pièces jointes
SquashAutomationSetup.zip
(890.99 Kio) Téléchargé 145 fois
Répondre

Revenir à « Lien cas de test - tests automatisés / Test cases - automated tests link »