Project

General

Profile

Tâche #29557

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

Les tests unitaires Scribe et Horus 2.6.2 sont en erreur

Added by Joël Cuissinat 2 months ago. Updated about 2 months ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
02/03/2020
Due date:
% Done:

100%

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

Associated revisions

Revision f46d05dc (diff)
Added by Joël Cuissinat 2 months ago

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

Ref: #29557

Revision d8429dd1 (diff)
Added by Joël Cuissinat 2 months ago

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

Ref: #29557

History

#1 Updated by Joël Cuissinat 2 months ago

  • Status changed from Nouveau to En cours
  • Assigned To set to Joël Cuissinat
  • % Done changed from 0 to 100
  • scribe-backend 2.6.2-35
  • horus-backend 2.6.2-4

#2 Updated by Joël Cuissinat 2 months ago

  • Status changed from En cours to Résolu

#3 Updated by Joël Cuissinat about 2 months ago

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

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

Also available in: Atom PDF