Skip to content
Failed

Console Output

Started by timer
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building on the built-in node in workspace /var/lib/jenkins/jobs/reproducible_scheduler_i386/workspace
[workspace] $ /bin/sh -xe /tmp/jenkins574444635423803735.sh
+ /srv/jenkins/bin/reproducible_scheduler.py i386
/srv/jenkins/bin/reproducible_scheduler.py:15: DeprecationWarning: please use 'debian.deb822' instead
  import deb822
[2024-06-29 22:05:01] INFO: Starting at 2024-06-29 22:05:01.423591
[2024-06-29 22:05:01] INFO: Updating sources tables for all suites.
[2024-06-29 22:05:01] INFO: Downloading sources file for unstable: http://deb.debian.org/debian/dists/unstable/main/source/Sources.xz
[2024-06-29 22:05:03] INFO: Updating sources db for unstable/i386...
/usr/lib/python3/dist-packages/debian/deb822.py:734: UserWarning: Parsing of Deb822 data with python3-apt's apt_pkg was requested but this cannot be done on non-file input.
  warnings.warn(msg)
[2024-06-29 22:05:24] INFO: Pushing 31 updated packages to the database...
[2024-06-29 22:05:24] INFO: Now inserting 12 new sources in the database: [{'name': 'anytree', 'version': '2.12.1-1', 'suite': 'unstable', 'architecture': 'i386'}, {'name': 'lsix', 'version': '1.9.1-1', 'suite': 'unstable', 'architecture': 'i386'}, {'name': 'lomiri-online-accounts', 'version': '0.12-1', 'suite': 'unstable', 'architecture': 'i386'}, {'name': 'golang-github-goccy-go-json', 'version': '0.10.3-1', 'suite': 'unstable', 'architecture': 'i386'}, {'name': 'golang-github-shenwei356-stable', 'version': '0.1.7-1', 'suite': 'unstable', 'architecture': 'i386'}, {'name': 'yubihsm-shell', 'version': '2.5.0-1', 'suite': 'unstable', 'architecture': 'i386'}, {'name': 'golang-github-elliotwutingfeng-asciiset', 'version': '0.0~git20240214.24af97c-1', 'suite': 'unstable', 'architecture': 'i386'}, {'name': 'golang-github-protonmail-go-mbox', 'version': '1.1.0-1', 'suite': 'unstable', 'architecture': 'i386'}, {'name': 'lomiri-abook2cal-syncd', 'version': '1.0.0-1', 'suite': 'unstable', 'architecture': 'i386'}, {'name': 'rosbags', 'version': '0.10.3-1', 'suite': 'unstable', 'architecture': 'i386'}, {'name': 'golang-github-zmap-zlint', 'version': '3.6.2-2', 'suite': 'unstable', 'architecture': 'i386'}, {'name': 'golang-github-dsnet-compress', 'version': '0.0.2~git20230904.39efe44+dfsg1-1', 'suite': 'unstable', 'architecture': 'i386'}]
[2024-06-29 22:05:58] INFO: Now deleting 0 removed packages: []
[2024-06-29 22:05:58] INFO: Building pages for the new packages
[2024-06-29 22:05:58] INFO: Generating the pages of 12 package(s)
[2024-06-29 22:05:58] INFO: DB update done for unstable/i386 done at 2024-06-29 22:05:58.
[2024-06-29 22:05:58] INFO: Sources for suite unstable/i386 updated at 2024-06-29 22:05:58.
[2024-06-29 22:05:58] INFO: Removing old pages from unstable/i386.
[2024-06-29 22:05:59] INFO: Removing old pages from unstable/i386/diffoscope-results/.
[2024-06-29 22:05:59] INFO: Downloading sources file for trixie: http://deb.debian.org/debian/dists/trixie/main/source/Sources.xz
[2024-06-29 22:06:00] INFO: Updating sources db for trixie/i386...
[2024-06-29 22:06:21] INFO: Pushing 9 updated packages to the database...
[2024-06-29 22:06:52] INFO: Now deleting 1 removed packages: ['docker-pycreds']
[2024-06-29 22:06:52] INFO: DB update done for trixie/i386 done at 2024-06-29 22:06:52.
[2024-06-29 22:06:52] INFO: Sources for suite trixie/i386 updated at 2024-06-29 22:06:52.
[2024-06-29 22:06:52] INFO: Removing old pages from trixie/i386.
[2024-06-29 22:06:52] INFO: There is no package named docker-pycreds from trixie/i386 in the database. Removing old page.
[2024-06-29 22:06:52] INFO: Removing old pages from trixie/i386/diffoscope-results/.
[2024-06-29 22:06:52] INFO: Downloading sources file for bookworm: http://deb.debian.org/debian/dists/bookworm/main/source/Sources.xz
[2024-06-29 22:06:54] INFO: Updating sources db for bookworm/i386...
[2024-06-29 22:07:12] INFO: Pushing 0 updated packages to the database...
[2024-06-29 22:07:42] INFO: Now deleting 0 removed packages: []
[2024-06-29 22:07:42] INFO: DB update done for bookworm/i386 done at 2024-06-29 22:07:42.
[2024-06-29 22:07:42] INFO: Sources for suite bookworm/i386 updated at 2024-06-29 22:07:42.
[2024-06-29 22:07:42] INFO: Removing old pages from bookworm/i386.
[2024-06-29 22:07:43] INFO: Removing old pages from bookworm/i386/diffoscope-results/.
[2024-06-29 22:07:43] INFO: Downloading sources file for bullseye: http://deb.debian.org/debian/dists/bullseye/main/source/Sources.xz
[2024-06-29 22:07:44] INFO: Updating sources db for bullseye/i386...
[2024-06-29 22:08:00] INFO: Pushing 0 updated packages to the database...
[2024-06-29 22:08:24] INFO: Now deleting 0 removed packages: []
[2024-06-29 22:08:24] INFO: DB update done for bullseye/i386 done at 2024-06-29 22:08:24.
[2024-06-29 22:08:24] INFO: Sources for suite bullseye/i386 updated at 2024-06-29 22:08:24.
[2024-06-29 22:08:24] INFO: Removing old pages from bullseye/i386.
[2024-06-29 22:08:25] INFO: Removing old pages from bullseye/i386/diffoscope-results/.
[2024-06-29 22:08:25] INFO: Downloading sources file for experimental: http://deb.debian.org/debian/dists/experimental/main/source/Sources.xz
[2024-06-29 22:08:25] INFO: Updating sources db for experimental/i386...
[2024-06-29 22:08:26] INFO: Pushing 1 updated packages to the database...
[2024-06-29 22:08:26] INFO: Now inserting 1 new sources in the database: [{'name': 'openjdk-24', 'version': '24~4ea-1', 'suite': 'experimental', 'architecture': 'i386'}]
[2024-06-29 22:08:26] INFO: Now deleting 25 removed packages: ['hwloc', 'rust-http', 'nghttp3', 'python-skbio', 'firebird3.0', 'jpeg-xl', 'rocdbgapi', 'krita', 'linux-signed-arm64', 'sphinx-autoapi', 'nbsphinx', 'qgis', 'linux-signed-amd64', 'rust-nalgebra-macros', 'linux', 'vamp-plugin-sdk', 'isa-support', 'wasi-libc', 'unifrac', 'ngtcp2', 'phoc', 'rustc', 'roc-toolkit', 'alglib', 'sparql-wrapper-python']
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 1880, in _execute_context
    self.dialect.do_executemany(
  File "/usr/lib/python3/dist-packages/sqlalchemy/dialects/postgresql/psycopg2.py", line 982, in do_executemany
    context._psycopg2_fetched_rows = xtras.execute_values(
                                     ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/psycopg2/extras.py", line 1299, in execute_values
    cur.execute(b''.join(parts))
psycopg2.errors.UniqueViolation: duplicate key value violates unique constraint "removed_packages_pkey"
DETAIL:  Key (name, suite, architecture)=(rustc, experimental, i386) already exists.


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

Traceback (most recent call last):
  File "/srv/jenkins/bin/reproducible_scheduler.py", line 830, in <module>
    update_sources(suite, arch)
  File "/srv/jenkins/bin/reproducible_scheduler.py", line 284, in update_sources
    update_sources_db(suite, arch, sources)
  File "/srv/jenkins/bin/reproducible_scheduler.py", line 409, in update_sources_db
    conn_db.execute(removed_packages_table.insert(), pkgs_to_rm)
  File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 1380, in execute
    return meth(self, multiparams, params, _EMPTY_EXECUTION_OPTS)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/sqlalchemy/sql/elements.py", line 334, in _execute_on_connection
    return connection._execute_clauseelement(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 1572, in _execute_clauseelement
    ret = self._execute_context(
          ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 1943, in _execute_context
    self._handle_dbapi_exception(
  File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 2124, in _handle_dbapi_exception
    util.raise_(
  File "/usr/lib/python3/dist-packages/sqlalchemy/util/compat.py", line 211, in raise_
    raise exception
  File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 1880, in _execute_context
    self.dialect.do_executemany(
  File "/usr/lib/python3/dist-packages/sqlalchemy/dialects/postgresql/psycopg2.py", line 982, in do_executemany
    context._psycopg2_fetched_rows = xtras.execute_values(
                                     ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/psycopg2/extras.py", line 1299, in execute_values
    cur.execute(b''.join(parts))
sqlalchemy.exc.IntegrityError: (psycopg2.errors.UniqueViolation) duplicate key value violates unique constraint "removed_packages_pkey"
DETAIL:  Key (name, suite, architecture)=(rustc, experimental, i386) already exists.

[SQL: INSERT INTO removed_packages (name, suite, architecture) VALUES (%(name)s, %(suite)s, %(architecture)s)]
[parameters: ({'name': 'hwloc', 'suite': 'experimental', 'architecture': 'i386'}, {'name': 'rust-http', 'suite': 'experimental', 'architecture': 'i386'}, {'name': 'nghttp3', 'suite': 'experimental', 'architecture': 'i386'}, {'name': 'python-skbio', 'suite': 'experimental', 'architecture': 'i386'}, {'name': 'firebird3.0', 'suite': 'experimental', 'architecture': 'i386'}, {'name': 'jpeg-xl', 'suite': 'experimental', 'architecture': 'i386'}, {'name': 'rocdbgapi', 'suite': 'experimental', 'architecture': 'i386'}, {'name': 'krita', 'suite': 'experimental', 'architecture': 'i386'}  ... displaying 10 of 25 total bound parameter sets ...  {'name': 'alglib', 'suite': 'experimental', 'architecture': 'i386'}, {'name': 'sparql-wrapper-python', 'suite': 'experimental', 'architecture': 'i386'})]
(Background on this error at: https://sqlalche.me/e/14/gkpj)
[2024-06-29 22:08:26] INFO: Finished at 2024-06-29 22:08:26.453465, took: 0:03:25.029881
Build step 'Execute shell' marked build as failure
Sending e-mails to: qa-jenkins-scm@lists.alioth.debian.org
Finished: FAILURE