Skip to content
Failed

Console Output

Started by timer
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_amd64/workspace
[workspace] $ /bin/sh -xe /tmp/jenkins11781270331612925962.sh
+ /srv/jenkins/bin/reproducible_scheduler.py amd64
/srv/jenkins/bin/reproducible_scheduler.py:15: DeprecationWarning: please use 'debian.deb822' instead
  import deb822
[2024-07-02 16:17:46] INFO: Starting at 2024-07-02 16:17:46.257394
[2024-07-02 16:17:46] INFO: Updating sources tables for all suites.
[2024-07-02 16:17:46] INFO: Downloading sources file for unstable: http://deb.debian.org/debian/dists/unstable/main/source/Sources.xz
[2024-07-02 16:17:48] INFO: Updating sources db for unstable/amd64...
/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-07-02 16:18:12] INFO: Pushing 41 updated packages to the database...
[2024-07-02 16:18:12] INFO: Now inserting 1 new sources in the database: [{'name': 'libtie-aliashash-perl', 'version': '1.02-1', 'suite': 'unstable', 'architecture': 'amd64'}]
[2024-07-02 16:18:50] INFO: Now deleting 0 removed packages: []
[2024-07-02 16:18:50] INFO: Building pages for the new packages
[2024-07-02 16:18:50] INFO: Generating the pages of 1 package(s)
[2024-07-02 16:18:50] INFO: DB update done for unstable/amd64 done at 2024-07-02 16:18:50.
[2024-07-02 16:18:50] INFO: Sources for suite unstable/amd64 updated at 2024-07-02 16:18:50.
[2024-07-02 16:18:50] INFO: Removing old pages from unstable/amd64.
[2024-07-02 16:18:51] INFO: Removing old pages from unstable/amd64/diffoscope-results/.
[2024-07-02 16:18:51] INFO: Downloading sources file for trixie: http://deb.debian.org/debian/dists/trixie/main/source/Sources.xz
[2024-07-02 16:18:53] INFO: Updating sources db for trixie/amd64...
[2024-07-02 16:19:18] INFO: Pushing 1 updated packages to the database...
[2024-07-02 16:20:03] INFO: Now deleting 1 removed packages: ['shc']
[2024-07-02 16:20:03] INFO: DB update done for trixie/amd64 done at 2024-07-02 16:20:03.
[2024-07-02 16:20:03] INFO: Sources for suite trixie/amd64 updated at 2024-07-02 16:20:03.
[2024-07-02 16:20:03] INFO: Removing old pages from trixie/amd64.
[2024-07-02 16:20:04] INFO: There is no package named shc from trixie/amd64 in the database. Removing old page.
[2024-07-02 16:20:04] INFO: Removing old pages from trixie/amd64/diffoscope-results/.
[2024-07-02 16:20:04] INFO: Downloading sources file for bookworm: http://deb.debian.org/debian/dists/bookworm/main/source/Sources.xz
[2024-07-02 16:20:06] INFO: Updating sources db for bookworm/amd64...
[2024-07-02 16:20:29] INFO: Pushing 0 updated packages to the database...
[2024-07-02 16:21:14] INFO: Now deleting 0 removed packages: []
[2024-07-02 16:21:15] INFO: DB update done for bookworm/amd64 done at 2024-07-02 16:21:15.
[2024-07-02 16:21:15] INFO: Sources for suite bookworm/amd64 updated at 2024-07-02 16:21:15.
[2024-07-02 16:21:15] INFO: Removing old pages from bookworm/amd64.
[2024-07-02 16:21:15] INFO: Removing old pages from bookworm/amd64/diffoscope-results/.
[2024-07-02 16:21:15] INFO: Downloading sources file for bullseye: http://deb.debian.org/debian/dists/bullseye/main/source/Sources.xz
[2024-07-02 16:21:17] INFO: Updating sources db for bullseye/amd64...
[2024-07-02 16:21:38] INFO: Pushing 0 updated packages to the database...
[2024-07-02 16:22:07] INFO: Now deleting 0 removed packages: []
[2024-07-02 16:22:07] INFO: DB update done for bullseye/amd64 done at 2024-07-02 16:22:07.
[2024-07-02 16:22:07] INFO: Sources for suite bullseye/amd64 updated at 2024-07-02 16:22:07.
[2024-07-02 16:22:07] INFO: Removing old pages from bullseye/amd64.
[2024-07-02 16:22:07] INFO: Removing old pages from bullseye/amd64/diffoscope-results/.
[2024-07-02 16:22:07] INFO: Downloading sources file for experimental: http://deb.debian.org/debian/dists/experimental/main/source/Sources.xz
[2024-07-02 16:22:07] INFO: Updating sources db for experimental/amd64...
[2024-07-02 16:22:09] INFO: Pushing 3 updated packages to the database...
[2024-07-02 16:22:09] INFO: Now inserting 2 new sources in the database: [{'name': 'node-mocha', 'version': '10.5.2+ds1+~cs33.1.11-1', 'suite': 'experimental', 'architecture': 'amd64'}, {'name': 'netplan.io', 'version': '1.0-6+exp1', 'suite': 'experimental', 'architecture': 'amd64'}]
[2024-07-02 16:22:09] INFO: Now deleting 37 removed packages: ['rust-json-event-parser', 'linux-signed-amd64', 'gdal', 'rust-http', 'krita', 'rocdbgapi', 'linux', 'hipify', 'phoc', 'jpeg-xl', 'nghttp3', 'rust-nalgebra-macros', 'armci-mpi', 'nbsphinx', 'firefox-esr-mobile-config', 'linux-signed-arm64', 'libksba', 'sparql-wrapper-python', 'pymupdf', 'golang-github-kubernetes-cri-api', 'sphinx-autoapi', 'isa-support', 'wicd', 'python-skbio', 'firebird3.0', 'hwloc', 'pipewire', 'qgis', 'golang-github-containerd-nri', 'alglib', 'libsysstat', 'unifrac', 'roc-toolkit', 'vamp-plugin-sdk', 'rustc', 'wasi-libc', 'ngtcp2']
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, amd64) 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, amd64) already exists.

[SQL: INSERT INTO removed_packages (name, suite, architecture) VALUES (%(name)s, %(suite)s, %(architecture)s)]
[parameters: ({'name': 'rust-json-event-parser', 'suite': 'experimental', 'architecture': 'amd64'}, {'name': 'linux-signed-amd64', 'suite': 'experimental', 'architecture': 'amd64'}, {'name': 'gdal', 'suite': 'experimental', 'architecture': 'amd64'}, {'name': 'rust-http', 'suite': 'experimental', 'architecture': 'amd64'}, {'name': 'krita', 'suite': 'experimental', 'architecture': 'amd64'}, {'name': 'rocdbgapi', 'suite': 'experimental', 'architecture': 'amd64'}, {'name': 'linux', 'suite': 'experimental', 'architecture': 'amd64'}, {'name': 'hipify', 'suite': 'experimental', 'architecture': 'amd64'}  ... displaying 10 of 37 total bound parameter sets ...  {'name': 'wasi-libc', 'suite': 'experimental', 'architecture': 'amd64'}, {'name': 'ngtcp2', 'suite': 'experimental', 'architecture': 'amd64'})]
(Background on this error at: https://sqlalche.me/e/14/gkpj)
[2024-07-02 16:22:09] INFO: Finished at 2024-07-02 16:22:09.349199, took: 0:04:23.091816
Build step 'Execute shell' marked build as failure
Sending e-mails to: qa-jenkins-scm@lists.alioth.debian.org
Finished: FAILURE