[Qa-jenkins-scm] Build failed in Jenkins: reproducible_html_live_status #439792

jenkins at jenkins.debian.net jenkins at jenkins.debian.net
Thu Jul 7 19:56:04 BST 2022


See <https://jenkins.debian.net/job/reproducible_html_live_status/439792/display/redirect>

Changes:


------------------------------------------
Started by timer
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building on the built-in node in workspace <https://jenkins.debian.net/job/reproducible_html_live_status/ws/>
[workspace] $ /bin/sh -xe /tmp/jenkins5411926168230439975.sh
+ /srv/jenkins/bin/reproducible_html_live_status.py
[2022-07-07 18:37:00] INFO: Starting at 2022-07-07 18:37:00.661967
[2022-07-07 18:37:00] INFO: Building the schedule index page for amd64...
[2022-07-07 18:40:20] INFO: Finding out which usertagged bugs have been closed or at least have patches
[2022-07-07 18:40:21] INFO: Page generated at https://tests.reproducible-builds.org/debian/index_amd64_scheduled.html
[2022-07-07 18:40:21] INFO: Building the oldies page for amd64...
[2022-07-07 18:40:24] INFO: Page generated at https://tests.reproducible-builds.org/debian/index_amd64_oldies.html
[2022-07-07 18:40:24] INFO: Building the schedule index page for i386...
[2022-07-07 18:42:34] INFO: Page generated at https://tests.reproducible-builds.org/debian/index_i386_scheduled.html
[2022-07-07 18:42:34] INFO: Building the oldies page for i386...
[2022-07-07 18:42:38] INFO: Page generated at https://tests.reproducible-builds.org/debian/index_i386_oldies.html
[2022-07-07 18:42:38] INFO: Building the schedule index page for arm64...
[2022-07-07 18:46:14] INFO: Page generated at https://tests.reproducible-builds.org/debian/index_arm64_scheduled.html
[2022-07-07 18:46:14] INFO: Building the oldies page for arm64...
[2022-07-07 18:46:18] INFO: Page generated at https://tests.reproducible-builds.org/debian/index_arm64_oldies.html
[2022-07-07 18:46:18] INFO: Building the schedule index page for armhf...
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 1276, in _execute_context
    self.dialect.do_execute(
  File "/usr/lib/python3/dist-packages/sqlalchemy/engine/default.py", line 609, in do_execute
    cursor.execute(statement, parameters)
psycopg2.OperationalError: server closed the connection unexpectedly
	This probably means the server terminated abnormally
	before or while processing the request.


The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/srv/jenkins/bin/rblib/__init__.py", line 43, in query_db
    result = conn_db.execute(query, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 1011, in execute
    return meth(self, multiparams, params)
  File "/usr/lib/python3/dist-packages/sqlalchemy/sql/elements.py", line 298, in _execute_on_connection
    return connection._execute_clauseelement(self, multiparams, params)
  File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 1124, in _execute_clauseelement
    ret = self._execute_context(
  File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 1316, in _execute_context
    self._handle_dbapi_exception(
  File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 1510, in _handle_dbapi_exception
    util.raise_(
  File "/usr/lib/python3/dist-packages/sqlalchemy/util/compat.py", line 182, in raise_
    raise exception
  File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 1276, in _execute_context
    self.dialect.do_execute(
  File "/usr/lib/python3/dist-packages/sqlalchemy/engine/default.py", line 609, in do_execute
    cursor.execute(statement, parameters)
sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) server closed the connection unexpectedly
	This probably means the server terminated abnormally
	before or while processing the request.

[SQL: SELECT count(results.id) AS count_1 
FROM results JOIN sources ON sources.id = results.package_id 
WHERE sources.distribution = %(distribution_1)s AND sources.suite = %(suite)s AND sources.architecture = %(arch)s]
[parameters: {'distribution_1': 1, 'suite': 'unstable', 'arch': 'armhf'}]
(Background on this error at: http://sqlalche.me/e/13/e3q8)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/srv/jenkins/bin/reproducible_html_live_status.py", line 210, in <module>
    generate_schedule(arch)
  File "/srv/jenkins/bin/reproducible_html_live_status.py", line 81, in generate_schedule
    html += build_leading_text_section({'text': text}, rows, defaultsuite, arch)
  File "/srv/jenkins/bin/reproducible_html_indexes.py", line 686, in build_leading_text_section
    count_total = int(query_db(queries['count_total'].params({'suite': suite, 'arch': arch}))[0][0])
  File "/srv/jenkins/bin/rblib/__init__.py", line 45, in query_db
    print_critical_message('Error executing this query:\n' + query)
TypeError: can only concatenate str (not "Select") to str
[2022-07-07 18:53:16] INFO: Finished at 2022-07-07 18:53:16.277583, took: 0:16:15.624087
Build step 'Execute shell' marked build as failure



More information about the Qa-jenkins-scm mailing list