Problème connexion à Mantis BUG TRACKER pour déclaration anomalie
Publié : lun. août 21, 2017 3:34 pm
Bonjour à tous,
BUG : impossible de se connecter à Mantis BUG TRACKER depuis squash TM pour la déclaration d'anomalie
configuration : Les machines sont en linux centos.
- Mantis version 2.1.0 - sur machine linux1 (en DMZ)
- squash TM 1.14.0 - sur machine linux2
plugins installés squash TM :
report.books.requirements-1.8.3.RELEASE.jar
report.books.requirements-2.1.0.RELEASE.jar
report.books.testcases-1.8.3.RELEASE.jar
report.books.testcases-2.1.0.RELEASE.jar
report.qualitativecoverage-1.7.0.RELEASE.jar
parametrage squash :
Dans administration
- sur bugtracker, déclaration de l'url du site Mantis bug tracker
---> cela fonctionne
- sur utilisateur
nom utilsateur identique et mot de passe identique sous mantis et squash
exemple "cneau" et "password"
- sur projet
* declaration nom projet (nom identiQUE au projet sous mantis Bug tracker)
* assignation au bugtracker (nom du projet identique sous bug tracker)
--> mon nom de projet comprend des espaces et tirets exemples "DTI 931 - Evolutions Flottes 2017" ou "DTI 0977 - Migration Mantis"
- dans fichier de configuration de squash (squash.tm.cfg.properties)
# SQUASH TM CONFIGURATION FILE
##############################
# IMPORTANT : Configuration properties are resolved in this order :
# 1. command line args ( --my.option )
# 2. java system properties ( -Dmy.option )
# 3. shell environment variables ( MY_OPTION )
# 4. squash.tm.cfg.properties file (in 'config' folder)
# 5. internal defaults
# ANY SETTING IN THIS FILE WILL NOT BE APPLIED IF IT'S ALREADY DEFINED AS A CLI ARG / SYSTEM PROP IN THE STARTUP SCRIPT!
# Below are some Squash TM settings which can be changed
# Datasource config should be set in 'application-.properties' files. There MUST also be a
# 'spring.profiles.active=' CLI arg / system property for the right config to be applied
# EMBEDDED SERVER CONFIGURATION
###############################
server.session-timeout=28800
#server.tomcat.access-log-enabled=true
#server.tomcat.basedir=${squash.path.root}/tomcat-work
# SQUASH TM PATHS
#################
#spring.config.location=../config
#squash.path.root=${spring.config.location}/..
#squash.path.bundles-path=${squash.path.root}/bundles
#squash.path.plugins-path=${squash.path.root}/plugins
#squash.path.languages-path=${spring.config.location}/lang
#hibernate.search.default.indexBase=${squash.path.root}/luceneindexes
# TM-TA CONFIGURATION
#####################
#tm.test.automation.pollinterval.millis=3000
#tm.test.automation.server.callbackurl=http://localhost:8080/squash
# REPORTS
#########
# does project pickers in report workspace allow multiple selection or not ?
# if undefined, defaults to "false"
report.criteria.project.multiselect=false
# BUGTRACKER CONNECTORS
#######################
# sets the timeout (in seconds) when the server tries to reach a bugtracker, before
# aborting the failed request
squashtm.bugtracker.timeout=3600
--------------------------------------------
********* ce qui ne marche pas *************
--------------------------------------------
- quand je vais sur espace cas de test ou espace campagnes, il y a un onglet Anomalies connues.
sur cette interface, je n'arrive pas à me connecter au mantis bug tracker.
* sur l'ecran DE CONNEXION, une erreur est survenue : nested exception is: java.net.connectExceoption connection time out.
* dans le fichier de log,
user=cneau]--- org.squashtest.tm.web.internal.exceptionresolver.HandlerExceptionLogger: An exception occured while processing request : http://LINUX2.DOMAINE.FR:8081/squash/se ... entication
org.squashtest.csp.core.bugtracker.core.BugTrackerRemoteException: Une erreur est survenue : ; nested exception is:
java.net.ConnectException: Connection timed out
at org.squashtest.csp.core.bugtracker.internal.mantis.MantisExceptionConverter.setUnknownException(MantisExceptionConverter.java :191)
Avez vous une idée ?
BUG : impossible de se connecter à Mantis BUG TRACKER depuis squash TM pour la déclaration d'anomalie
configuration : Les machines sont en linux centos.
- Mantis version 2.1.0 - sur machine linux1 (en DMZ)
- squash TM 1.14.0 - sur machine linux2
plugins installés squash TM :
report.books.requirements-1.8.3.RELEASE.jar
report.books.requirements-2.1.0.RELEASE.jar
report.books.testcases-1.8.3.RELEASE.jar
report.books.testcases-2.1.0.RELEASE.jar
report.qualitativecoverage-1.7.0.RELEASE.jar
parametrage squash :
Dans administration
- sur bugtracker, déclaration de l'url du site Mantis bug tracker
---> cela fonctionne
- sur utilisateur
nom utilsateur identique et mot de passe identique sous mantis et squash
exemple "cneau" et "password"
- sur projet
* declaration nom projet (nom identiQUE au projet sous mantis Bug tracker)
* assignation au bugtracker (nom du projet identique sous bug tracker)
--> mon nom de projet comprend des espaces et tirets exemples "DTI 931 - Evolutions Flottes 2017" ou "DTI 0977 - Migration Mantis"
- dans fichier de configuration de squash (squash.tm.cfg.properties)
# SQUASH TM CONFIGURATION FILE
##############################
# IMPORTANT : Configuration properties are resolved in this order :
# 1. command line args ( --my.option )
# 2. java system properties ( -Dmy.option )
# 3. shell environment variables ( MY_OPTION )
# 4. squash.tm.cfg.properties file (in 'config' folder)
# 5. internal defaults
# ANY SETTING IN THIS FILE WILL NOT BE APPLIED IF IT'S ALREADY DEFINED AS A CLI ARG / SYSTEM PROP IN THE STARTUP SCRIPT!
# Below are some Squash TM settings which can be changed
# Datasource config should be set in 'application-.properties' files. There MUST also be a
# 'spring.profiles.active=' CLI arg / system property for the right config to be applied
# EMBEDDED SERVER CONFIGURATION
###############################
server.session-timeout=28800
#server.tomcat.access-log-enabled=true
#server.tomcat.basedir=${squash.path.root}/tomcat-work
# SQUASH TM PATHS
#################
#spring.config.location=../config
#squash.path.root=${spring.config.location}/..
#squash.path.bundles-path=${squash.path.root}/bundles
#squash.path.plugins-path=${squash.path.root}/plugins
#squash.path.languages-path=${spring.config.location}/lang
#hibernate.search.default.indexBase=${squash.path.root}/luceneindexes
# TM-TA CONFIGURATION
#####################
#tm.test.automation.pollinterval.millis=3000
#tm.test.automation.server.callbackurl=http://localhost:8080/squash
# REPORTS
#########
# does project pickers in report workspace allow multiple selection or not ?
# if undefined, defaults to "false"
report.criteria.project.multiselect=false
# BUGTRACKER CONNECTORS
#######################
# sets the timeout (in seconds) when the server tries to reach a bugtracker, before
# aborting the failed request
squashtm.bugtracker.timeout=3600
--------------------------------------------
********* ce qui ne marche pas *************
--------------------------------------------
- quand je vais sur espace cas de test ou espace campagnes, il y a un onglet Anomalies connues.
sur cette interface, je n'arrive pas à me connecter au mantis bug tracker.
* sur l'ecran DE CONNEXION, une erreur est survenue : nested exception is: java.net.connectExceoption connection time out.
* dans le fichier de log,
user=cneau]--- org.squashtest.tm.web.internal.exceptionresolver.HandlerExceptionLogger: An exception occured while processing request : http://LINUX2.DOMAINE.FR:8081/squash/se ... entication
org.squashtest.csp.core.bugtracker.core.BugTrackerRemoteException: Une erreur est survenue : ; nested exception is:
java.net.ConnectException: Connection timed out
at org.squashtest.csp.core.bugtracker.internal.mantis.MantisExceptionConverter.setUnknownException(MantisExceptionConverter.java :191)
Avez vous une idée ?