Projet

Général

Profil

Bug #27344

jenkins: erreur tests dpark

Ajouté par Emmanuel Cazenave il y a plus de 5 ans. Mis à jour il y a plus de 5 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Version cible:
-
Début:
15 octobre 2018
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Oui
Planning:

Description

https://jenkins2.entrouvert.org/job/passerelle/50

 assert pj_node.findall('Bloc_Fichiers')[3].find('TypeDocument').text == '73'
        from passerelle.utils.conversion import to_pdf
>       assert pj_node.findall('Bloc_Fichiers')[3].find('Fichier').text == base64.b64encode(to_pdf(JPEG_CONTENT))
E       AssertionError: assert 'JVBERi0xLjQK...xMjQ5CiUlRU9G' == 'JVBERi0xLjQKJ...xMjQ5CiUlRU9G'
E         Skipping 1600 identical leading characters in diff, use -v to show
E         Skipping 293 identical trailing characters in diff, use -v to show
E         - MTUyMTEzMDdaKQovTW9kRGF0ZSAoRDoyMDE4MTAxNTIxMTMwN1opCj4+ZW5
E         ?           ^                                     ^^
E         + MTUyMTEzMDhaKQovTW9kRGF0ZSAoRDoyMDE4MTAxNTIxMTMwOFopCj4+ZW5
E         ?           ^                 

Fichiers

Révisions associées

Révision 72ea1394 (diff)
Ajouté par Emmanuel Cazenave il y a plus de 5 ans

skip dpark test, temporary fix (#27344)

Révision 228ae019 (diff)
Ajouté par Benjamin Dauvergne il y a plus de 5 ans

dpark: freeze time in send-files test (#27344)

Historique

#1

Mis à jour par Emmanuel Cazenave il y a plus de 5 ans

commit 72ea13940aeae6097b6f4926cd31c40111e543fe
Author: Emmanuel Cazenave <ecazenave@entrouvert.com>
Date:   Thu Oct 18 15:59:32 2018 +0200

    skip dpark test, temporary fix (#27344)
#2

Mis à jour par Benjamin Dauvergne il y a plus de 5 ans

Ça vient de la version 5.3.0 de Pillow, notamment du traitement de ce ticket https://github.com/python-pillow/Pillow/pull/3274:

Add creation and modification dates. Defaults to the current time. This can be read and written as a time.struct_time object

:/

#3

Mis à jour par Benjamin Dauvergne il y a plus de 5 ans

#4

Mis à jour par Serghei Mihai (congés, retour 15/05) il y a plus de 5 ans

  • Statut changé de Solution proposée à Solution validée
#5

Mis à jour par Benjamin Dauvergne il y a plus de 5 ans

  • Statut changé de Solution validée à Résolu (à déployer)
commit 228ae019a811ac39d14e4d407cb9bb26f6a41774 (HEAD -> master, origin/master, origin/HEAD)
Author: Benjamin Dauvergne <bdauvergne@entrouvert.com>
Date:   Sun Oct 21 16:14:35 2018 +0200

    dpark: freeze time in send-files test (#27344)

#6

Mis à jour par Benjamin Dauvergne il y a plus de 5 ans

  • Statut changé de Résolu (à déployer) à Fermé

Formats disponibles : Atom PDF