Tâche #13708
Distribution EOLE - Scénario #13525: Finaliser la version 2.5.1 stable
Le test unitaire creoleservice/ntp plante dans l'environnement Jenkins
Status:
Fermé
Priority:
Normal
Assigned To:
Target version:
Remaining (hours):
0.0
Description
Machine aca.horus : creole-tests *********************************************************** ============================= test session starts ============================== platform linux2 -- Python 2.7.6 -- pytest-2.5.1 collected 39 items tests/test_creoleclient.py .... ....... tests/test_creolerun.py ...... tests/test_creoleservice.py F . tests/test_dicos.py .. tests/test_eosfunc.py ... tests/test_genconfig.py ........ tests/test_upgrade.py ....... =================================== FAILURES =================================== ______________________________ test_service_code _______________________________ def test_service_code(): """ test sur les codes retour de CreoleService """ if isfile('/etc/init.d/ntp'): assert system('CreoleService ntp stop') == 0 > assert system('CreoleService ntp status') != 0 E assert 0 != 0 E + where 0 = system('CreoleService ntp status') tests/test_creoleservice.py:12: AssertionError ------------------------------- Captured stdout -------------------------------- Stop System V service ntp [ OK ] Service ntp is running ===================== 1 failed, 38 passed in 13.85 seconds =====================
Visiblement, c'est le script d'init qui est mal fait, nous proposons d'utiliser un autre service (nginx ?) pour ce test
Associated revisions
Utilisation de nginx au lieu de ntp dans le test des services
- tests/test_creoleservice.py : remplacement du service
Ref: #13708 @1h
Utilisation de nginx au lieu de ntp dans le test des services
- tests/test_creoleservice.py : remplacement du service
Cherry-picked from creole:23d10ccd2d13f
Utilisation de nginx au lieu de ntp dans le test des services
- tests/test_creoleservice.py : remplacement du service
Cherry-picked from creole:23d10ccd2d13f
History
#1 Updated by Joël Cuissinat almost 8 years ago
- Status changed from Nouveau to En cours
#2 Updated by Joël Cuissinat almost 8 years ago
- % Done changed from 0 to 100
- Remaining (hours) changed from 2.0 to 0.5
#3 Updated by Joël Cuissinat almost 8 years ago
- Assigned To set to Joël Cuissinat
- Remaining (hours) changed from 0.5 to 2.0
#4 Updated by Scrum Master almost 8 years ago
- Status changed from En cours to Résolu
#5 Updated by Joël Cuissinat almost 8 years ago
- Status changed from Résolu to Fermé
- Remaining (hours) changed from 2.0 to 0.0
Ce test est désormais OK sur jenkins pour Scribe et Horus ;)