Bug #81005
Test lancé (afterjob) sur une fiche suppimée depuis
Début:
08 septembre 2023
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Non
Planning:
Non
Description
https://sentry.entrouvert.org/entrouvert/grenoble/issues/114999/
FileNotFoundError: [Errno 2] No such file or directory: b'/var/lib/wcs/tenants/demarches-test.grenoble.iziici.fr/carddefs/36' File "wcs/qommon/storage.py", line 575, in get_filename fd = open(force_bytes(filename, 'utf-8'), 'rb') # pylint: disable=consider-using-with KeyError: File "wcs/qommon/afterjobs.py", line 124, in run self.execute() File "wcs/admin/tests.py", line 481, in execute objectdef = self.kwargs['objectdef_class'].get(self.kwargs['objectdef_id']) File "wcs/qommon/storage.py", line 471, in get return cls.get_filename( File "wcs/qommon/storage.py", line 580, in get_filename raise KeyError()
Révisions associées
Historique
Mis à jour par Nicolas Roche il y a 8 mois
- Projet changé de Suivi des traces à w.c.s.
J'imagine que le test pointait cette fiche
https://demarches-test.grenoble.iziici.fr/backoffice/cards/36
et qu'elle a été supprimée avant qu'il soit lancé
intervenant@vm1srv-grctest:/var/lib/wcs/tenants/demarches-test.grenoble.iziici.fr/carddefs$ ls 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 37 38 40 41 42 43 44 45 46 47 48 49 51 52 53 55 56 57 58 59
Mis à jour par Robot Gitea il y a 8 mois
- Statut changé de Nouveau à Solution proposée
- Assigné à mis à Frédéric Péters
Frédéric Péters (fpeters) a ouvert une pull request sur Gitea concernant cette demande :
- URL : https://git.entrouvert.org/entrouvert/wcs/pulls/662
- Titre : misc: do not run unit tests if carddef/formdef is no longer available (#81005)
- Modifications : https://git.entrouvert.org/entrouvert/wcs/pulls/662/files
Mis à jour par Robot Gitea il y a 8 mois
- Statut changé de Solution proposée à Solution validée
Thomas NOËL (tnoel) a approuvé une pull request sur Gitea concernant cette demande :
Mis à jour par Robot Gitea il y a 8 mois
- Statut changé de Solution validée à Résolu (à déployer)
Frédéric Péters (fpeters) a mergé une pull request sur Gitea concernant cette demande :
- URL : https://git.entrouvert.org/entrouvert/wcs/pulls/662
- Titre : misc: do not run unit tests if carddef/formdef is no longer available (#81005)
- Modifications : https://git.entrouvert.org/entrouvert/wcs/pulls/662/files
Mis à jour par Transition automatique il y a 8 mois
- Statut changé de Résolu (à déployer) à Solution déployée
misc: do not run unit tests if carddef/formdef is no longer available (#81005)