Project

General

Profile

Scénario #31764

Traceback dans Zephir 2.7.2

Added by Gilles Grandgérard 7 months ago. Updated 5 months ago.

Status:
Terminé (Sprint)
Priority:
Normal
Assigned To:
Category:
-
Start date:
04/09/2021
Due date:
04/23/2021
% Done:

100%

Story points:
1.0
Remaining (hours):
0.00 hour
Velocity based estimate:
0 days
Release:
Release relationship:
Auto

Description

Erreur régulière dans les log jenkins :

00:07:23.051             Traceback (most recent call last):
00:07:23.051               File "init_base.py", line 108, in <module>
00:07:23.051                 init_data(EoleProxy('http://%s:%s@localhost:%d' % (admin_zephir, passwd, int(PORT_ZEPHIR) + 1)))
00:07:23.051               File "init_bas
00:07:23.051             MONITOR: traceback action:$TRACEBACK
00:07:23.051             e.py", line 38, in init_data
00:07:23.051                 z.etabs.add_type(libelle)
00:07:23.051               File "/usr/lib/python2.7/xmlrpclib.py", line 1243, in __call__
00:07:23.059                 return self.__send(self.__name, args)
00:07:23.059               File "/usr/lib/python2.7/dist-packages/zephir/eolerpclib.py", line 99, in __request
00:07:23.061                 verbose=self.__verbose
00:07:23.061               File "/usr/lib/python2.7/xmlrpclib.py", line 1283, in request
00:07:23.061                 return self.single_request(host, handler, request_body, verbose)
00:07:23.061               File "/usr/lib/python2.7/xmlrpclib.py", line 1311, in single_request
00:07:23.061                 self.send_content(h, request_body)
00:07:23.061               File "/usr/lib/python2.7/xmlrpclib.py", line 1459, in send_content
00:07:23.061                 connection.endheaders(request_body)
00:07:23.061               File "/usr/lib/python2.7/httplib.py", line 1095, in endheaders
00:07:23.061                 self._send_output(message_body)
00:07:23.061               File "/usr/lib/python2.7/httplib.py", line 898, in _send_output
00:07:23.061                 self.send(msg)
00:07:23.061               File "/usr/lib/python2.7/httplib.py", line 860, in send
00:07:23.061                 self.connect()
00:07:23.061               File "/usr/lib/python2.7/httplib.py", line 837, in connect
00:07:23.061                 self.timeout, self.source_address)
00:07:23.061               File "/usr/lib/python2.7/socket.py", line 575, in create_connection
00:07:23.061                 raise err
00:07:23.061             socket.error: [Errno 111] Connection refused

Mais, Vu dans https://dev-eole.ac-dijon.fr/jenkins/job/2.7.2/job/test-sauvegarde-sh-zephir-restauration-from-262-2.7.2-amd64/ws/ws/aca.zephir-514328/systemd-journalctl-apres-daily.log

févr. 27 04:31:49 zephir zephir_backend[5909]: Traceback (most recent call last):
févr. 27 04:31:49 zephir zephir_backend[5909]:   File "/usr/share/zephir/utils/parse_logs.py", line 19, in <module>
févr. 27 04:31:49 zephir zephir_backend[5909]:     cx = PgSQL.connect(database=DB_NAME,user=DB_USER,password=DB_PASSWD)
févr. 27 04:31:49 zephir zephir_backend[5909]:   File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 130, in connect
févr. 27 04:31:49 zephir zephir_backend[5909]:     conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
févr. 27 04:31:49 zephir zephir_backend[5909]: psycopg2.OperationalError: could not connect to server: No such file or directory
févr. 27 04:31:49 zephir zephir_backend[5909]:         Is the server running locally and accepting
févr. 27 04:31:49 zephir zephir_backend[5909]:         connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?

voir manque 'sudo ln -s /tmp/.s.PGSQL.5432 /var/run/postgresql/.s.PGSQL.5432' ?


Subtasks

Tâche #32090: Etude du problèmeFerméEmmanuel GARETTE

Tâche #32173: Correctement supprimer /var/lib/postgresql/10/main/pg_stat'FerméEmmanuel GARETTE


Related issues

Related to Distribution EOLE - Tâche #32074: Valider le scénario Traceback dans Zephir 2.7.2 Fermé 04/08/2021

History

#1 Updated by Joël Cuissinat 6 months ago

  • Tracker changed from Demande to Scénario
  • Due date set to 04/23/2021
  • Target version set to Prestation Cadoles MEN 2021 14-16
  • Release set to EOLE 2.7.2
  • Story points set to 1.0

#3 Updated by Emmanuel GARETTE 6 months ago

  • Assigned To set to Emmanuel GARETTE

#4 Updated by Joël Cuissinat 5 months ago

  • Related to Tâche #32074: Valider le scénario Traceback dans Zephir 2.7.2 added

#5 Updated by Emmanuel GARETTE 5 months ago

  • Status changed from Nouveau to Résolu

#6 Updated by Joël Cuissinat 5 months ago

  • Status changed from Résolu to Terminé (Sprint)

Also available in: Atom PDF