Project

General

Profile

Tâche #30254

Scénario #30064: ZE-T06-001, #9, erreur python à l'execution du script (régression Zéphir 2.7.2)

Ce sont maintenant les serveurs 2.5 qui lèvent une erreur...

Added by Joël Cuissinat over 1 year ago. Updated over 1 year ago.

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

100%

Remaining (hours):
0.0

Description

Je viens de re-tester avec le serveur aca.zephir-2.7.2b1-AvecConf du jour et j'obtiens désormais le résultat inverse !

29 OK
925 KO
816 KO
710 OK
559 OK
402 OK
253 OK
139 OK

Dans /var/log/rsyslog/local/zephir_backend/zephir_backend.alert.log, le traceback est le suivant :

2020-06-03T17:09:08.496038+02:00 zephir.ac-test.fr zephir_backend: [_GenericHTTPChannelProtocol,5,127.0.0.1] #011Traceback (most recent call last):
2020-06-03T17:09:08.504038+02:00 zephir.ac-test.fr zephir_backend: [_GenericHTTPChannelProtocol,5,127.0.0.1] #011  File "/usr/lib/python2.7/dist-packages/twisted/web/server.py", line 195, in process
2020-06-03T17:09:08.508031+02:00 zephir.ac-test.fr zephir_backend: [_GenericHTTPChannelProtocol,5,127.0.0.1] #011    self.render(resrc)
2020-06-03T17:09:08.516026+02:00 zephir.ac-test.fr zephir_backend: [_GenericHTTPChannelProtocol,5,127.0.0.1] #011  File "/usr/lib/python2.7/dist-packages/twisted/web/server.py", line 255, in render
2020-06-03T17:09:08.548077+02:00 zephir.ac-test.fr zephir_backend: [_GenericHTTPChannelProtocol,5,127.0.0.1] #011    body = resrc.render(self)
2020-06-03T17:09:08.564859+02:00 zephir.ac-test.fr zephir_backend: [_GenericHTTPChannelProtocol,5,127.0.0.1] #011  File "/usr/lib/python2.7/dist-packages/twisted/web/resource.py", line 250, in render
2020-06-03T17:09:08.572047+02:00 zephir.ac-test.fr zephir_backend: [_GenericHTTPChannelProtocol,5,127.0.0.1] #011    return m(request)
2020-06-03T17:09:08.577253+02:00 zephir.ac-test.fr zephir_backend: [_GenericHTTPChannelProtocol,5,127.0.0.1] #011  File "/usr/lib/python2.7/dist-packages/zephir/backend/xmlrpceole.py", line 202, in render_POST
2020-06-03T17:09:08.585435+02:00 zephir.ac-test.fr zephir_backend: [_GenericHTTPChannelProtocol,5,127.0.0.1] #011    d = defer.maybeDeferred(function, cred_user, *args)
2020-06-03T17:09:08.595627+02:00 zephir.ac-test.fr zephir_backend: [_GenericHTTPChannelProtocol,5,127.0.0.1] #011--- <exception caught here> ---
2020-06-03T17:09:08.600733+02:00 zephir.ac-test.fr zephir_backend: [_GenericHTTPChannelProtocol,5,127.0.0.1] #011  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 150, in maybeDeferred
2020-06-03T17:09:08.604027+02:00 zephir.ac-test.fr zephir_backend: [_GenericHTTPChannelProtocol,5,127.0.0.1] #011    result = f(*args, **kw)
2020-06-03T17:09:08.625916+02:00 zephir.ac-test.fr zephir_backend: [_GenericHTTPChannelProtocol,5,127.0.0.1] #011  File "/usr/lib/python2.7/dist-packages/zephir/backend/serveurs_rpc.py", line 1876, in xmlrpc_set_groupe_var
2020-06-03T17:09:08.626115+02:00 zephir.ac-test.fr zephir_backend: [_GenericHTTPChannelProtocol,5,127.0.0.1] #011    check_slaves(serv, var, slaves)
2020-06-03T17:09:08.629696+02:00 zephir.ac-test.fr zephir_backend: [_GenericHTTPChannelProtocol,5,127.0.0.1] #011  File "/usr/lib/python2.7/dist-packages/zephir/backend/serveurs_rpc.py", line 1856, in check_slaves
2020-06-03T17:09:08.636046+02:00 zephir.ac-test.fr zephir_backend: [_GenericHTTPChannelProtocol,5,127.0.0.1] #011    assert opt in option.impl_get_master_slaves().getslaves(option), """{} n'est pas une variable esclave de la variable maitre {}""".format(slave, var)
2020-06-03T17:09:08.661352+02:00 zephir.ac-test.fr zephir_backend: [_GenericHTTPChannelProtocol,5,127.0.0.1] #011exceptions.AttributeError: 'tuple' object has no attribute 'getslaves'

Associated revisions

Revision b33dab46 (diff)
Added by Emmanuel GARETTE over 1 year ago

gestion des variables masterslaves sur les modules inférieur à 2.6.0 (ref #30254)

History

#1 Updated by Emmanuel GARETTE over 1 year ago

  • Status changed from Nouveau to Résolu
  • Assigned To set to Emmanuel GARETTE
  • % Done changed from 0 to 100

#2 Updated by Joël Cuissinat over 1 year ago

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

Je viens de tester avec les paquets 2.7.2-17, cela semble OK :

29 OK
925 OK
816 OK
710 OK
559 OK
402 OK
253 OK
139 OK

Also available in: Atom PDF