Tâche #29369
Scénario #29284: Traitement express MEN (48-50)
Les tests creole 2.7 sont tous en erreur (containers.disknods.disknod0.minor)
Début:
09/12/2019
Echéance:
% réalisé:
100%
Restant à faire (heures):
0.0
Description
Exemple : http://jenkins.eole.lan/jenkins/job/2.7.1/job/test-moduletests-eolebase-2.7.1-amd64/229/console
10:28:53 _____________________ test_dictionary[70container_disknod] _____________________
10:28:53 test_dir = '/usr/share/creole/tests/flattener_dicos/70container_disknod'
10:28:53 def test_dictionary(test_dir):
10:28:53 test_dir = join(dico_dirs, test_dir)
10:28:53 > launch_flattener(test_dir)
10:28:53 tests/test_makedict.py:102:
10:28:53 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
10:28:53 test_dir = '/usr/share/creole/tests/flattener_dicos/70container_disknod'
10:28:53 def launch_flattener(test_dir):
10:28:53 dirs = [test_dir]
[ ... ]
10:28:53 if not isfile(makedict_file):
10:28:53 if not isdir(makedict_dir):
10:28:53 mkdir(makedict_dir)
10:28:53 with open(makedict_file, 'w') as fh:
10:28:53 dump(config.make_dict(), fh)
10:28:53 with open(makedict_file, 'r') as fh:
10:28:53 > assert load(fh) == loads(dumps(config.make_dict()))
10:28:53 E AssertionError: assert {'containers....7.0.0.1', ...} == {'containers.c...7.0.0.1', ...}
10:28:53 E Omitting 50 identical items, use -vv to show
10:28:53 E Differing items:
10:28:53 E {'containers.disknods.disknod0.minor': 0} != {'containers.disknods.disknod0.minor': 1}
10:28:53 E Full diff:
10:28:53 E {u'containers.containers.container0.container_group': u'root',
10:28:53 E u'containers.containers.container0.group': u'root',
10:28:53 E u'containers.containers.container0.id': 1,...
10:28:53 E
10:28:53 E ...Full output truncated (52 lines hidden), use '-vv' to show
10:28:53 tests/test_makedict.py:79: AssertionError
Visiblement la valeur a changé d'un coup, sans doute suite à une mise à jour Ubuntu ?
Demandes liées
Révisions associées
Modify containers.disknods.disknod0.minor in EOLE 2.7 tests
Ref: #29369
Historique
#1 Mis à jour par Joël Cuissinat il y a plus de 6 ans
- Statut changé de Nouveau à En cours
#2 Mis à jour par Joël Cuissinat il y a plus de 6 ans
- Assigné à mis à Joël Cuissinat
#3 Mis à jour par Joël Cuissinat il y a plus de 6 ans
- Statut changé de En cours à Résolu
- % réalisé changé de 0 à 100
#4 Mis à jour par Daniel Dehennin il y a plus de 6 ans
Les tests sont verts.
#5 Mis à jour par Daniel Dehennin il y a plus de 6 ans
- Statut changé de Résolu à Fermé
- Restant à faire (heures) mis à 0.0
#6 Mis à jour par Joël Cuissinat il y a environ 2 ans
- Lié à Tâche #35766: EOLE 2.10 : remplacer py.test par pytest dans tous les tests unitaires ajouté
#7 Mis à jour par Joël Cuissinat il y a presque 2 ans
- Lié à Tâche #35940: EOLE 2.10 : certaines valeurs de "containers.disknods.disknod0" ont changé ajouté