Projet

Général

Profil

Tâche #29557

Scénario #29454: Traitement express MEN (04-06)

Les tests unitaires Scribe et Horus 2.6.2 sont en erreur

Ajouté par Joël Cuissinat il y a environ 4 ans. Mis à jour il y a environ 4 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Début:
03/02/2020
Echéance:
% réalisé:

100%

Restant à faire (heures):
0.0

Description

    def test_smb_perso_eleve():
        system('mkdir -p /tmp/home')
>       assert system('%s //%s/televe /tmp/home -o username=televe,password=tpass' % (mount_cmd, smb)) == 0
E       assert 8192 == 0
E        +  where 8192 = system(('%s //%s/televe /tmp/home -o username=televe,password=tpass' % ('mount -t cifs', '127.0.0.1')))

/usr/share/scribe/tests/test_scribe.py:98: AssertionError
---------------------------------------------------------------------------------------------- Captured stderr call -----------------------------------------------------------------------------------------------
mount error(112): Host is down
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

Visiblement, c'est lié à une nouvelle maj du noyau 4.15, il faut impérativement spécifier l'option vers=1.0

Révisions associées

Révision f46d05dc (diff)
Ajouté par Joël Cuissinat il y a environ 4 ans

test_scribe.py : add "vers" option in mount commands

Ref: #29557

Révision d8429dd1 (diff)
Ajouté par Joël Cuissinat il y a environ 4 ans

test_horus.py : add "vers" option in mount commands

Ref: #29557

Historique

#1 Mis à jour par Joël Cuissinat il y a environ 4 ans

  • Statut changé de Nouveau à En cours
  • Assigné à mis à Joël Cuissinat
  • % réalisé changé de 0 à 100
  • scribe-backend 2.6.2-35
  • horus-backend 2.6.2-4

#2 Mis à jour par Joël Cuissinat il y a environ 4 ans

  • Statut changé de En cours à Résolu

#3 Mis à jour par Joël Cuissinat il y a environ 4 ans

  • Statut changé de Résolu à Fermé
  • Restant à faire (heures) mis à 0.0

Tests re-passés 2 fois avec succès :)

Formats disponibles : Atom PDF