Project

General

Profile

Tâche #8400

Bogue dans la fonction TestWeb de FonctionsEoleNg 2.3.13

Added by Yann Michineau almost 9 years ago. Updated almost 9 years ago.

Status:
Fermé
Priority:
Haut
Target version:
Start date:
09/05/2014
Due date:
06/20/2014
% Done:

100%

Estimated time:
1.50 h
Spent time:
Remaining (hours):
0.0

Description

Bonjour,
Dans la version 2.3.13 du fichier /usr/share/eole/FonctionsEoleNg, il y a une petite erreur dans le test "TestWeb".
Typiquement lors d'un diagnose, dans les services distants, le proxy est en erreur :

*** Services Distants
.     Passerelle 10.113.2.241 => Ok
.            DNS 10.40.26.193 => Ok
.            DNS 10.40.26.194 => Ok
.            NTP 195.83.253.7 => Ok
.               Serveur Proxy => Erreur
Erreur

Problème présent à priori sur tous les modules (j'ai testé sur Amon, Horus et Scribe).

En fait TestWeb fait deux fois appel à la valeur "PROXY:"

Version actuelle :

TestWeb() {
WGET_OPTIONS="-t2 -T3 --delete-after" 
WARN_MSG="" 
PROXIES_TESTS="PROXY:" 
if [ "$activer_proxy_client" == "oui" ]
then
    PROXIES_TESTS="$PROXIES_TESTS PROXY:http://$proxy_client_adresse:$proxy_client_port" 

Le fait d'enlever l'appel à $PROXIES_TESTS dans le test résoud le problème.

Version corrigée :

TestWeb() {
WGET_OPTIONS="-t2 -T3 --delete-after" 
WARN_MSG="" 
PROXIES_TESTS="PROXY:" 
if [ "$activer_proxy_client" == "oui" ]
then
    PROXIES_TESTS="PROXY:http://$proxy_client_adresse:$proxy_client_port" 

Le diagnose est alors bon :

*** Services Distants
.     Passerelle 10.113.2.241 => Ok
.            DNS 10.40.26.193 => Ok
.            DNS 10.40.26.194 => Ok
.            NTP 195.83.253.7 => Ok
.               Serveur Proxy => Ok
.               Accès distant => Ok


Related issues

Related to zephir-client - Tâche #7720: pb enregistrement_zephir si paquets supplémentaires et plusieurs proxys parents Fermé 07/31/2014
Related to creole - Anomalie #8134: erreur proxy dans le test diagnose 2.4 Fermé 06/20/2014
Duplicated by Scribe - Anomalie #8404: erreur du proxy dans le diagnose Fermé

Associated revisions

Revision 2facf552 (diff)
Added by Fabrice Barconnière almost 9 years ago

Correction du test proxy dans TestWeb (FonctionsEoleNg)

fixes #8400 @2h

History

#1 Updated by Joël Cuissinat almost 9 years ago

  • Description updated (diff)

#2 Updated by Joël Cuissinat almost 9 years ago

  • Status changed from Nouveau to A étudier
  • Assigned To set to Fabrice Barconnière
  • Priority changed from Normal to Haut
  • Target version changed from Mises à jour 2.3.13 to sprint 2014 36-37
  • Estimated time set to 1.50 h

A étudier pour un éventuel "hotfix".

#3 Updated by Fabrice Barconnière almost 9 years ago

  • Status changed from A étudier to Résolu
  • % Done changed from 0 to 100

#4 Updated by Joël Cuissinat almost 9 years ago

  • Due date set to 06/20/2014

#5 Updated by Joël Cuissinat almost 9 years ago

Paquet creole (2.3-eole185) en eole-2.3-security sur test.

#6 Updated by Joël Cuissinat almost 9 years ago

  • Status changed from Résolu to Fermé

Correction validée par les collègues d'Orléans-Tours et Aix-Marseille.

Diffusion prévue cette après-midi (24/06/2014).

#7 Updated by Luc Bourdot almost 9 years ago

  • Tracker changed from Anomalie to Tâche
  • Start date set to 09/05/2014
  • Remaining (hours) set to 0.0
  • Release set to Mises à jour 2.3.14

Also available in: Atom PDF