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_armhf/workspace
[workspace] $ /bin/sh -xe /tmp/jenkins3773328845083165649.sh
+ /srv/jenkins/bin/reproducible_scheduler.py armhf
/srv/jenkins/bin/reproducible_scheduler.py:15: DeprecationWarning: please use 'debian.deb822' instead
  import deb822
[2024-07-02 21:10:23] INFO: Starting at 2024-07-02 21:10:23.819016
[2024-07-02 21:10:24] INFO: Updating sources tables for all suites.
[2024-07-02 21:10:24] INFO: Downloading sources file for unstable: http://deb.debian.org/debian/dists/unstable/main/source/Sources.xz
[2024-07-02 21:10:25] INFO: Updating sources db for unstable/armhf...
/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 21:10:46] INFO: Pushing 48 updated packages to the database...
[2024-07-02 21:10:46] INFO: Now inserting 5 new sources in the database: [{'name': 'rust-rust-apt', 'version': '0.7.0-1', 'suite': 'unstable', 'architecture': 'armhf'}, {'name': 'rust-simd-adler32', 'version': '0.3.7-1', 'suite': 'unstable', 'architecture': 'armhf'}, {'name': 'rust-cntr', 'version': '1.5.3-1', 'suite': 'unstable', 'architecture': 'armhf'}, {'name': 'rust-noise-rust-crypto', 'version': '0.6.2-1', 'suite': 'unstable', 'architecture': 'armhf'}, {'name': 'rust-swayipc', 'version': '3.0.2-1', 'suite': 'unstable', 'architecture': 'armhf'}]
[2024-07-02 21:11:25] INFO: Now deleting 0 removed packages: []
[2024-07-02 21:11:25] INFO: Building pages for the new packages
[2024-07-02 21:11:25] INFO: Generating the pages of 5 package(s)
[2024-07-02 21:11:26] INFO: DB update done for unstable/armhf done at 2024-07-02 21:11:26.
[2024-07-02 21:11:26] INFO: Sources for suite unstable/armhf updated at 2024-07-02 21:11:26.
[2024-07-02 21:11:26] INFO: Removing old pages from unstable/armhf.
[2024-07-02 21:11:26] INFO: Removing old pages from unstable/armhf/diffoscope-results/.
[2024-07-02 21:11:26] INFO: Downloading sources file for trixie: http://deb.debian.org/debian/dists/trixie/main/source/Sources.xz
[2024-07-02 21:11:28] INFO: Updating sources db for trixie/armhf...
[2024-07-02 21:11:48] INFO: Pushing 0 updated packages to the database...
[2024-07-02 21:12:20] INFO: Now deleting 0 removed packages: []
[2024-07-02 21:12:20] INFO: DB update done for trixie/armhf done at 2024-07-02 21:12:20.
[2024-07-02 21:12:20] INFO: Sources for suite trixie/armhf updated at 2024-07-02 21:12:20.
[2024-07-02 21:12:20] INFO: Removing old pages from trixie/armhf.
[2024-07-02 21:12:21] INFO: Removing old pages from trixie/armhf/diffoscope-results/.
[2024-07-02 21:12:21] INFO: Downloading sources file for bookworm: http://deb.debian.org/debian/dists/bookworm/main/source/Sources.xz
[2024-07-02 21:12:22] INFO: Updating sources db for bookworm/armhf...
[2024-07-02 21:12:47] INFO: Pushing 0 updated packages to the database...
[2024-07-02 21:13:17] INFO: Now deleting 0 removed packages: []
[2024-07-02 21:13:18] INFO: DB update done for bookworm/armhf done at 2024-07-02 21:13:18.
[2024-07-02 21:13:18] INFO: Sources for suite bookworm/armhf updated at 2024-07-02 21:13:18.
[2024-07-02 21:13:18] INFO: Removing old pages from bookworm/armhf.
[2024-07-02 21:13:18] INFO: Removing old pages from bookworm/armhf/diffoscope-results/.
[2024-07-02 21:13:18] INFO: Downloading sources file for bullseye: http://deb.debian.org/debian/dists/bullseye/main/source/Sources.xz
[2024-07-02 21:13:20] INFO: Updating sources db for bullseye/armhf...
[2024-07-02 21:13:37] INFO: Pushing 0 updated packages to the database...
[2024-07-02 21:13:58] INFO: Now deleting 0 removed packages: []
[2024-07-02 21:13:59] INFO: DB update done for bullseye/armhf done at 2024-07-02 21:13:59.
[2024-07-02 21:13:59] INFO: Sources for suite bullseye/armhf updated at 2024-07-02 21:13:59.
[2024-07-02 21:13:59] INFO: Removing old pages from bullseye/armhf.
[2024-07-02 21:13:59] INFO: Removing old pages from bullseye/armhf/diffoscope-results/.
[2024-07-02 21:13:59] INFO: Downloading sources file for experimental: http://deb.debian.org/debian/dists/experimental/main/source/Sources.xz
[2024-07-02 21:13:59] INFO: Updating sources db for experimental/armhf...
[2024-07-02 21:14:00] INFO: Pushing 1 updated packages to the database...
[2024-07-02 21:14:00] INFO: Now inserting 5 new sources in the database: [{'name': 'rust-numbat-cli', 'version': '1.9.0-1', 'suite': 'experimental', 'architecture': 'armhf'}, {'name': 'kwin', 'version': '4:6.1.0-1', 'suite': 'experimental', 'architecture': 'armhf'}, {'name': 'miniupnpc', 'version': '2.2.8-1', 'suite': 'experimental', 'architecture': 'armhf'}, {'name': 'rust-numbat', 'version': '1.9.0-1', 'suite': 'experimental', 'architecture': 'armhf'}, {'name': 'rust-gtk4-layer-shell-sys', 'version': '0.2.0-1', 'suite': 'experimental', 'architecture': 'armhf'}]
[2024-07-02 21:14:00] INFO: Now deleting 40 removed packages: ['rocdbgapi', 'firefox-esr-mobile-config', 'firebird3.0', 'nbsphinx', 'linux-signed-amd64', 'rust-concurrent-queue', 'unifrac', 'golang-github-kubernetes-cri-api', 'armci-mpi', 'python-skbio', 'phoc', 'jpeg-xl', 'hipify', 'linux-signed-arm64', 'libsysstat', 'sparql-wrapper-python', 'hwloc', 'wicd', 'rust-nalgebra', 'roc-toolkit', 'linux', 'libksba', 'nghttp3', 'pymupdf', 'rust-nalgebra-macros', 'krita', 'rustc', 'rust-json-event-parser', 'qgis', 'alglib', 'pipewire', 'sphinx-autoapi', 'wasi-libc', 'vsearch', 'gdal', 'vamp-plugin-sdk', 'ngtcp2', 'rust-http', 'isa-support', 'golang-github-containerd-nri']
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, armhf) 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, armhf) already exists.

[SQL: INSERT INTO removed_packages (name, suite, architecture) VALUES (%(name)s, %(suite)s, %(architecture)s)]
[parameters: ({'name': 'rocdbgapi', 'suite': 'experimental', 'architecture': 'armhf'}, {'name': 'firefox-esr-mobile-config', 'suite': 'experimental', 'architecture': 'armhf'}, {'name': 'firebird3.0', 'suite': 'experimental', 'architecture': 'armhf'}, {'name': 'nbsphinx', 'suite': 'experimental', 'architecture': 'armhf'}, {'name': 'linux-signed-amd64', 'suite': 'experimental', 'architecture': 'armhf'}, {'name': 'rust-concurrent-queue', 'suite': 'experimental', 'architecture': 'armhf'}, {'name': 'unifrac', 'suite': 'experimental', 'architecture': 'armhf'}, {'name': 'golang-github-kubernetes-cri-api', 'suite': 'experimental', 'architecture': 'armhf'}  ... displaying 10 of 40 total bound parameter sets ...  {'name': 'isa-support', 'suite': 'experimental', 'architecture': 'armhf'}, {'name': 'golang-github-containerd-nri', 'suite': 'experimental', 'architecture': 'armhf'})]
(Background on this error at: https://sqlalche.me/e/14/gkpj)
[2024-07-02 21:14:00] INFO: Finished at 2024-07-02 21:14:00.661974, took: 0:03:36.842967
Build step 'Execute shell' marked build as failure
Sending e-mails to: qa-jenkins-scm@lists.alioth.debian.org
Finished: FAILURE