Build failed in Jenkins: reproducible_scheduler_i386 #1609

jenkins at jenkins.debian.net jenkins at jenkins.debian.net
Sat Jun 29 19:08:35 BST 2024


See <https://jenkins.debian.net/job/reproducible_scheduler_i386/1609/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_scheduler_i386/ws/>
[workspace] $ /bin/sh -xe /tmp/jenkins1179987534725593674.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 18:05:01] INFO: Starting at 2024-06-29 18:05:01.481783
[2024-06-29 18:05:01] INFO: Updating sources tables for all suites.
[2024-06-29 18:05:01] INFO: Downloading sources file for unstable: http://deb.debian.org/debian/dists/unstable/main/source/Sources.xz
[2024-06-29 18: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 18:05:28] INFO: Pushing 54 updated packages to the database...
[2024-06-29 18:06:07] INFO: Now deleting 0 removed packages: []
[2024-06-29 18:06:07] INFO: DB update done for unstable/i386 done at 2024-06-29 18:06:07.
[2024-06-29 18:06:07] INFO: Sources for suite unstable/i386 updated at 2024-06-29 18:06:07.
[2024-06-29 18:06:07] INFO: Removing old pages from unstable/i386.
[2024-06-29 18:06:08] INFO: Removing old pages from unstable/i386/diffoscope-results/.
[2024-06-29 18:06:08] INFO: Downloading sources file for trixie: http://deb.debian.org/debian/dists/trixie/main/source/Sources.xz
[2024-06-29 18:06:09] INFO: Updating sources db for trixie/i386...
[2024-06-29 18:06:34] INFO: Pushing 4 updated packages to the database...
[2024-06-29 18:07:06] INFO: Now deleting 0 removed packages: []
[2024-06-29 18:07:06] INFO: DB update done for trixie/i386 done at 2024-06-29 18:07:06.
[2024-06-29 18:07:06] INFO: Sources for suite trixie/i386 updated at 2024-06-29 18:07:06.
[2024-06-29 18:07:06] INFO: Removing old pages from trixie/i386.
[2024-06-29 18:07:07] INFO: Removing old pages from trixie/i386/diffoscope-results/.
[2024-06-29 18:07:07] INFO: Downloading sources file for bookworm: http://deb.debian.org/debian/dists/bookworm/main/source/Sources.xz
[2024-06-29 18:07:08] INFO: Updating sources db for bookworm/i386...
[2024-06-29 18:07:27] INFO: Pushing 0 updated packages to the database...
[2024-06-29 18:07:55] INFO: Now deleting 0 removed packages: []
[2024-06-29 18:07:55] INFO: DB update done for bookworm/i386 done at 2024-06-29 18:07:55.
[2024-06-29 18:07:55] INFO: Sources for suite bookworm/i386 updated at 2024-06-29 18:07:55.
[2024-06-29 18:07:55] INFO: Removing old pages from bookworm/i386.
[2024-06-29 18:07:55] INFO: Removing old pages from bookworm/i386/diffoscope-results/.
[2024-06-29 18:07:55] INFO: Downloading sources file for bullseye: http://deb.debian.org/debian/dists/bullseye/main/source/Sources.xz
[2024-06-29 18:07:56] INFO: Updating sources db for bullseye/i386...
[2024-06-29 18:08:12] INFO: Pushing 0 updated packages to the database...
[2024-06-29 18:08:34] INFO: Now deleting 0 removed packages: []
[2024-06-29 18:08:34] INFO: DB update done for bullseye/i386 done at 2024-06-29 18:08:34.
[2024-06-29 18:08:34] INFO: Sources for suite bullseye/i386 updated at 2024-06-29 18:08:34.
[2024-06-29 18:08:34] INFO: Removing old pages from bullseye/i386.
[2024-06-29 18:08:34] INFO: Removing old pages from bullseye/i386/diffoscope-results/.
[2024-06-29 18:08:34] INFO: Downloading sources file for experimental: http://deb.debian.org/debian/dists/experimental/main/source/Sources.xz
[2024-06-29 18:08:34] INFO: Updating sources db for experimental/i386...
[2024-06-29 18:08:35] INFO: Pushing 1 updated packages to the database...
[2024-06-29 18:08:35] INFO: Now inserting 4 new sources in the database: [{'name': 'wacomtablet', 'version': '6.1.0-1', 'suite': 'experimental', 'architecture': 'i386'}, {'name': 'firefox-esr-mobile-config', 'version': '4.3.2-1', 'suite': 'experimental', 'architecture': 'i386'}, {'name': 'bluedevil', 'version': '4:6.1.0-1', 'suite': 'experimental', 'architecture': 'i386'}, {'name': 'libksba', 'version': '1.6.7-1', 'suite': 'experimental', 'architecture': 'i386'}]
[2024-06-29 18:08:35] INFO: Now deleting 22 removed packages: ['linux', 'phoc', 'sphinx-autoapi', 'nbsphinx', 'qgis', 'alglib', 'roc-toolkit', 'sparql-wrapper-python', 'linux-signed-amd64', 'rustc', 'krita', 'nghttp3', 'firebird3.0', 'linux-signed-arm64', 'isa-support', 'hwloc', 'vamp-plugin-sdk', 'rocdbgapi', 'jpeg-xl', 'rust-http', 'wasi-libc', 'rust-nalgebra-macros']
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': 'linux', 'suite': 'experimental', 'architecture': 'i386'}, {'name': 'phoc', 'suite': 'experimental', 'architecture': 'i386'}, {'name': 'sphinx-autoapi', 'suite': 'experimental', 'architecture': 'i386'}, {'name': 'nbsphinx', 'suite': 'experimental', 'architecture': 'i386'}, {'name': 'qgis', 'suite': 'experimental', 'architecture': 'i386'}, {'name': 'alglib', 'suite': 'experimental', 'architecture': 'i386'}, {'name': 'roc-toolkit', 'suite': 'experimental', 'architecture': 'i386'}, {'name': 'sparql-wrapper-python', 'suite': 'experimental', 'architecture': 'i386'}  ... displaying 10 of 22 total bound parameter sets ...  {'name': 'wasi-libc', 'suite': 'experimental', 'architecture': 'i386'}, {'name': 'rust-nalgebra-macros', 'suite': 'experimental', 'architecture': 'i386'})]
(Background on this error at: https://sqlalche.me/e/14/gkpj)
[2024-06-29 18:08:35] INFO: Finished at 2024-06-29 18:08:35.582849, took: 0:03:34.101073
Build step 'Execute shell' marked build as failure



More information about the Qa-jenkins-scm mailing list