Project

General

Profile

Tâche #29369

Scénario #29284: Traitement express MEN (48-50)

Les tests creole 2.7 sont tous en erreur (containers.disknods.disknod0.minor)

Added by Joël Cuissinat over 1 year ago. Updated over 1 year ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
12/09/2019
Due date:
% Done:

100%

Remaining (hours):
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 ?

Associated revisions

Revision 346d0512 (diff)
Added by Joël Cuissinat over 1 year ago

Modify containers.disknods.disknod0.minor in EOLE 2.7 tests

Ref: #29369

History

#1 Updated by Joël Cuissinat over 1 year ago

  • Status changed from Nouveau to En cours

#2 Updated by Joël Cuissinat over 1 year ago

  • Assigned To set to Joël Cuissinat

#3 Updated by Joël Cuissinat over 1 year ago

  • Status changed from En cours to Résolu
  • % Done changed from 0 to 100

#4 Updated by Daniel Dehennin over 1 year ago

Les tests sont verts.

#5 Updated by Daniel Dehennin over 1 year ago

  • Status changed from Résolu to Fermé
  • Remaining (hours) set to 0.0

Also available in: Atom PDF