Project

General

Profile

Scénario #30519

Nombreux "DeprecationWarning" dans pyeole.log signalés sur EOLE 2.8

Added by Joël Cuissinat about 3 years ago. Updated about 3 years ago.

Status:
Terminé (Sprint)
Priority:
Normal
Assigned To:
Category:
-
Start date:
08/21/2020
Due date:
09/25/2020
% Done:

100%

Story points:
2.0
Remaining (hours):
0.00 hour
Velocity based estimate:
Release:
Release relationship:
Auto

Description

Plusieurs avertissements sont signalés à la fin de l'exécution des tests :
https://dev-eole.ac-dijon.fr/jenkins/job/2.8.0/job/test-moduletests-eolebase-2.8.0-amd64/

l'objectif est de mettre à niveau nos codes (pas ceux venant d'Ubuntu)

NB : il y a aussi quelques warnings qui concernent tiramisu.


Subtasks

Tâche #30591: Répertorier le code obsolèteFerméBenjamin Bohard

Tâche #30645: pyeole.httprequest n'est pas compatible avec python3FerméJoël Cuissinat

Tâche #30684: D'après les tests Jenkins, le rapport d'importation /var/lib/eole/reports/importation.txt n'est plus généréFerméBenjamin Bohard


Related issues

Related to Distribution EOLE - Tâche #30634: Validation du scénario Nombreux "DeprecationWarning" dans pyeole.log signalés sur EOLE 2.8 Fermé 09/14/2020

History

#1 Updated by Joël Cuissinat about 3 years ago

  • Parent task changed from #30411 to #30539

#2 Updated by Gilles Grandgérard about 3 years ago

  • Parent task deleted (#30539)

#3 Updated by Gilles Grandgérard about 3 years ago

  • Tracker changed from Tâche to Scénario
  • Due date set to 09/18/2020
  • Story points set to 2.0

#4 Updated by Gilles Grandgérard about 3 years ago

  • Description updated (diff)

#5 Updated by Gilles Grandgérard about 3 years ago

  • Target version changed from sprint 2020 36-39 Equipe MENSR to Prestation Cadoles MEN 37-39

#6 Updated by Joël Cuissinat about 3 years ago

  • Description updated (diff)
  • Release set to EOLE 2.8.0

#7 Updated by Emmanuel GARETTE about 3 years ago

  • Assigned To set to Benjamin Bohard

#8 Updated by Benjamin Bohard about 3 years ago

En plus des avertissements d’obsolescence, il y a un nombre non négligeable d’avertissement sur une mauvaise gestion des fichiers (fichiers non fermés) :

/usr/lib/python3/dist-packages/creole/client.py:50: ResourceWarning: unclosed file
/usr/lib/python3/dist-packages/creole/fonctionseole.py:88: ResourceWarning: unclosed file
/usr/lib/python3/dist-packages/creole/reconfigure.py:738: ResourceWarning: unclosed file
/usr/lib/python3/dist-packages/creole/cert.py:286: ResourceWarning: unclosed file
/usr/lib/python3/dist-packages/creole/cert.py:251: ResourceWarning: unclosed file
/usr/lib/python3/dist-packages/creole/cert.py:535: ResourceWarning: unclosed file
/usr/lib/python3/dist-packages/creole/cert.py:481: ResourceWarning: unclosed file
/usr/lib/python3/dist-packages/creole/client.py:50: ResourceWarning: unclosed file

#9 Updated by Joël Cuissinat about 3 years ago

  • Related to Tâche #30634: Validation du scénario Nombreux "DeprecationWarning" dans pyeole.log signalés sur EOLE 2.8 added

#10 Updated by Joël Cuissinat about 3 years ago

Sur les tests "de base", les DeprecationWarning restants sont uniquement ceux levés par "pyudev" :o

#11 Updated by Joël Cuissinat about 3 years ago

  • Status changed from Nouveau to Terminé (Sprint)

Also available in: Atom PDF