Projet

Général

Profil

Tâche #31031

Mis à jour par Fabrice Barconnière il y a plus de 3 ans

h3. Pas №1

Il faut revoir la façon dont on récupère l'ID Zéphir dans les tests car :
* la commande python est susceptible d'appeler du python2
* des lignes de debug ont été ajoutées

Je n'ai pas mis le test en rouge car tout le monde sait que la réponse est *33* !

<pre>
root@scribe:~# . /mnt/eole-ci-tests/scripts/getVMContext.sh
TEMPLATE : VM_ONE=one, VM_ID=436781, VM_OWNER=jojo, VM_DAEMON=once, VM_MACHINE=etb1.scribe
TEMPLATE : VM_VERSIONMAJEUR=2.8.0, VM_MAJAUTO=RC
USER : IP_GW=80, GW=192.168.230.80, IP_UTILISATEUR=, MAIL=joel.cuissinat@ac-dijon.fr
FI : IMAGE=scribe-2.8.0b1-amd64.fi, ISO=eole-2.8.0b1-amd64.iso, MODULE=scribe
DAILY : DATE=2020-11-04 19:38, MAJAUTO=RC
MODELE : VM_MODULE=scribe, VM_CONTAINER=non, VM_ETABLISSEMENT=etb1
ETH0 : NAME=dmz1, DHCP=non, IP=10.1.3.5, GW=10.1.3.1, DNS=10.1.3.1
root@scribe:~# ID=$(python /mnt/eole-ci-tests/scripts/monitor3/get_id_zephir.py)
Version: 2.8.0
Machine: etb1.scribe
Configuration: default
etb1.scribe-default-2.8.0: 33
root@scribe:~# echo $ID
monitor_eole_ci4: zephir {'_ServerProxy__transport': <xmlrpclib.SafeTransport instance at 0x7fc9228d4c80>, '_ServerProxy__handler': '/RPC2', '_ServerProxy__host': 'admin_zephir:eole@zephir.ac-test.fr:7080', '_ServerProxy__verbose': 0, '_ServerProxy__allow_none': 0, '_ServerProxy__encoding': None} monitor_eole_ci4: fin initZephir ================================================================ 33
</pre>

h3. Exécution Squash-TM

* https://dev-eole.ac-dijon.fr/squash/executions/11166 https://dev-eole.ac-dijon.fr/squash/executions/11157

Retour