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_arm64/workspace
[workspace] $ /bin/sh -xe /tmp/jenkins14222711760091428652.sh
+ /srv/jenkins/bin/reproducible_scheduler.py arm64
/srv/jenkins/bin/reproducible_scheduler.py:15: DeprecationWarning: please use 'debian.deb822' instead
  import deb822
[2024-06-29 00:00:01] INFO: Starting at 2024-06-29 00:00:01.779318
[2024-06-29 00:00:01] INFO: Updating sources tables for all suites.
[2024-06-29 00:00:01] INFO: Downloading sources file for unstable: http://deb.debian.org/debian/dists/unstable/main/source/Sources.xz
[2024-06-29 00:00:03] INFO: Updating sources db for unstable/arm64...
/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 00:00:23] INFO: Pushing 35 updated packages to the database...
[2024-06-29 00:00:23] INFO: Now inserting 8 new sources in the database: [{'name': 'timescaledb', 'version': '2.15.2+dfsg-1', 'suite': 'unstable', 'architecture': 'arm64'}, {'name': 'kind', 'version': '0.23.0-1', 'suite': 'unstable', 'architecture': 'arm64'}, {'name': 'zope.deferredimport', 'version': '5.0-1', 'suite': 'unstable', 'architecture': 'arm64'}, {'name': 'protobuild', 'version': '0.3.0-1', 'suite': 'unstable', 'architecture': 'arm64'}, {'name': 'libtypec', 'version': '0.5.1-1', 'suite': 'unstable', 'architecture': 'arm64'}, {'name': 'rust-unicode-general-category', 'version': '0.6.0-1', 'suite': 'unstable', 'architecture': 'arm64'}, {'name': 'freespeech', 'version': '1.0m-1', 'suite': 'unstable', 'architecture': 'arm64'}, {'name': 'spnavcfg', 'version': '1.1-1', 'suite': 'unstable', 'architecture': 'arm64'}]
[2024-06-29 00:00:57] INFO: Now deleting 0 removed packages: []
[2024-06-29 00:00:57] INFO: Building pages for the new packages
[2024-06-29 00:00:57] INFO: Generating the pages of 8 package(s)
[2024-06-29 00:00:58] INFO: DB update done for unstable/arm64 done at 2024-06-29 00:00:58.
[2024-06-29 00:00:58] INFO: Sources for suite unstable/arm64 updated at 2024-06-29 00:00:58.
[2024-06-29 00:00:58] INFO: Removing old pages from unstable/arm64.
[2024-06-29 00:00:58] INFO: Removing old pages from unstable/arm64/diffoscope-results/.
[2024-06-29 00:00:58] INFO: Downloading sources file for trixie: http://deb.debian.org/debian/dists/trixie/main/source/Sources.xz
[2024-06-29 00:01:00] INFO: Updating sources db for trixie/arm64...
[2024-06-29 00:01:18] INFO: Pushing 1 updated packages to the database...
[2024-06-29 00:01:18] INFO: Now inserting 1 new sources in the database: [{'name': 'bpack', 'version': '1.1.0-2', 'suite': 'trixie', 'architecture': 'arm64'}]
[2024-06-29 00:01:48] INFO: Now deleting 3 removed packages: ['r-cran-transformr', 'r-cran-stars', 'r-cran-sf']
[2024-06-29 00:01:48] INFO: Building pages for the new packages
[2024-06-29 00:01:48] INFO: Generating the pages of 1 package(s)
[2024-06-29 00:01:48] INFO: DB update done for trixie/arm64 done at 2024-06-29 00:01:48.
[2024-06-29 00:01:48] INFO: Sources for suite trixie/arm64 updated at 2024-06-29 00:01:48.
[2024-06-29 00:01:48] INFO: Removing old pages from trixie/arm64.
[2024-06-29 00:01:49] INFO: There is no package named r-cran-sf from trixie/arm64 in the database. Removing old page.
[2024-06-29 00:01:49] INFO: There is no package named r-cran-stars from trixie/arm64 in the database. Removing old page.
[2024-06-29 00:01:49] INFO: There is no package named r-cran-transformr from trixie/arm64 in the database. Removing old page.
[2024-06-29 00:01:49] INFO: Removing old pages from trixie/arm64/diffoscope-results/.
[2024-06-29 00:01:49] INFO: Downloading sources file for bookworm: http://deb.debian.org/debian/dists/bookworm/main/source/Sources.xz
[2024-06-29 00:01:50] INFO: Updating sources db for bookworm/arm64...
[2024-06-29 00:02:09] INFO: Pushing 0 updated packages to the database...
[2024-06-29 00:02:36] INFO: Now deleting 0 removed packages: []
[2024-06-29 00:02:36] INFO: DB update done for bookworm/arm64 done at 2024-06-29 00:02:36.
[2024-06-29 00:02:36] INFO: Sources for suite bookworm/arm64 updated at 2024-06-29 00:02:36.
[2024-06-29 00:02:36] INFO: Removing old pages from bookworm/arm64.
[2024-06-29 00:02:36] INFO: Removing old pages from bookworm/arm64/diffoscope-results/.
[2024-06-29 00:02:36] INFO: Downloading sources file for bullseye: http://deb.debian.org/debian/dists/bullseye/main/source/Sources.xz
[2024-06-29 00:02:38] INFO: Updating sources db for bullseye/arm64...
[2024-06-29 00:02:54] INFO: Pushing 0 updated packages to the database...
[2024-06-29 00:03:12] INFO: Now deleting 0 removed packages: []
[2024-06-29 00:03:12] INFO: DB update done for bullseye/arm64 done at 2024-06-29 00:03:12.
[2024-06-29 00:03:12] INFO: Sources for suite bullseye/arm64 updated at 2024-06-29 00:03:12.
[2024-06-29 00:03:12] INFO: Removing old pages from bullseye/arm64.
[2024-06-29 00:03:12] INFO: Removing old pages from bullseye/arm64/diffoscope-results/.
[2024-06-29 00:03:12] INFO: Downloading sources file for experimental: http://deb.debian.org/debian/dists/experimental/main/source/Sources.xz
[2024-06-29 00:03:12] INFO: Updating sources db for experimental/arm64...
[2024-06-29 00:03:13] INFO: Pushing 3 updated packages to the database...
[2024-06-29 00:03:13] INFO: Now inserting 2 new sources in the database: [{'name': 'plasma-activities', 'version': '6.1.0-1', 'suite': 'experimental', 'architecture': 'arm64'}, {'name': 'oxygen', 'version': '4:6.1.0-1', 'suite': 'experimental', 'architecture': 'arm64'}]
[2024-06-29 00:03:13] INFO: Now deleting 19 removed packages: ['nbsphinx', 'rustc', 'rocdbgapi', 'rust-http', 'linux-signed-amd64', 'krita', 'sphinx-autoapi', 'vamp-plugin-sdk', 'linux-signed-arm64', 'hwloc', 'firebird3.0', 'jpeg-xl', 'sparql-wrapper-python', 'linux', 'alglib', 'wasi-libc', 'rust-nalgebra-macros', 'nghttp3', 'isa-support']
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, arm64) 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, arm64) already exists.

[SQL: INSERT INTO removed_packages (name, suite, architecture) VALUES (%(name)s, %(suite)s, %(architecture)s)]
[parameters: ({'name': 'nbsphinx', 'suite': 'experimental', 'architecture': 'arm64'}, {'name': 'rustc', 'suite': 'experimental', 'architecture': 'arm64'}, {'name': 'rocdbgapi', 'suite': 'experimental', 'architecture': 'arm64'}, {'name': 'rust-http', 'suite': 'experimental', 'architecture': 'arm64'}, {'name': 'linux-signed-amd64', 'suite': 'experimental', 'architecture': 'arm64'}, {'name': 'krita', 'suite': 'experimental', 'architecture': 'arm64'}, {'name': 'sphinx-autoapi', 'suite': 'experimental', 'architecture': 'arm64'}, {'name': 'vamp-plugin-sdk', 'suite': 'experimental', 'architecture': 'arm64'}  ... displaying 10 of 19 total bound parameter sets ...  {'name': 'nghttp3', 'suite': 'experimental', 'architecture': 'arm64'}, {'name': 'isa-support', 'suite': 'experimental', 'architecture': 'arm64'})]
(Background on this error at: https://sqlalche.me/e/14/gkpj)
[2024-06-29 00:03:13] INFO: Finished at 2024-06-29 00:03:13.882153, took: 0:03:12.102840
Build step 'Execute shell' marked build as failure
Sending e-mails to: qa-jenkins-scm@lists.alioth.debian.org
Finished: FAILURE