[Qa-jenkins-scm] Build failed in Jenkins: reproducible_scheduler #36224

jenkins at jenkins.debian.net jenkins at jenkins.debian.net
Sun Jul 24 09:34:20 BST 2022


See <https://jenkins.debian.net/job/reproducible_scheduler/36224/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/ws/>
[workspace] $ /bin/sh -xe /tmp/jenkins4361912768278680904.sh
+ /srv/jenkins/bin/reproducible_scheduler.py
/srv/jenkins/bin/reproducible_scheduler.py:15: DeprecationWarning: please use 'debian.deb822' instead
  import deb822
[2022-07-24 08:23:00] INFO: Starting at 2022-07-24 08:23:00.358125
[2022-07-24 08:23:00] INFO: Updating sources tables for all suites.
[2022-07-24 08:23:00] INFO: Downloading sources file for stretch: http://deb.debian.org/debian/dists/stretch/main/source/Sources.xz
[2022-07-24 08:23:03] INFO: Updating sources db for stretch/amd64...
/usr/lib/python3/dist-packages/debian/deb822.py:748: UserWarning: Parsing of Deb822 data with python-apt's apt_pkg was requested but this cannot be done on non-file input.
  warnings.warn(msg)
[2022-07-24 08:23:21] INFO: Pushing 0 updated packages to the database...
[2022-07-24 08:23:32] INFO: Now deleting 0 removed packages: []
[2022-07-24 08:23:32] INFO: DB update done for stretch/amd64 done at 2022-07-24 08:23:32.
[2022-07-24 08:23:32] INFO: Updating sources db for stretch/i386...
[2022-07-24 08:23:48] INFO: Pushing 0 updated packages to the database...
[2022-07-24 08:23:59] INFO: Now deleting 0 removed packages: []
[2022-07-24 08:24:00] INFO: DB update done for stretch/i386 done at 2022-07-24 08:24:00.
[2022-07-24 08:24:00] INFO: Updating sources db for stretch/arm64...
[2022-07-24 08:24:17] INFO: Pushing 0 updated packages to the database...
[2022-07-24 08:24:28] INFO: Now deleting 0 removed packages: []
[2022-07-24 08:24:28] INFO: DB update done for stretch/arm64 done at 2022-07-24 08:24:28.
[2022-07-24 08:24:28] INFO: Updating sources db for stretch/armhf...
[2022-07-24 08:24:48] INFO: Pushing 0 updated packages to the database...
[2022-07-24 08:25:01] INFO: Now deleting 0 removed packages: []
[2022-07-24 08:25:01] INFO: DB update done for stretch/armhf done at 2022-07-24 08:25:01.
[2022-07-24 08:25:01] INFO: Sources for suite stretch done at 2022-07-24 08:25:01.
[2022-07-24 08:25:01] INFO: Downloading sources file for buster: http://deb.debian.org/debian/dists/buster/main/source/Sources.xz
[2022-07-24 08:25:03] INFO: Updating sources db for buster/amd64...
[2022-07-24 08:25:22] INFO: Pushing 0 updated packages to the database...
[2022-07-24 08:25:40] INFO: Now deleting 0 removed packages: []
[2022-07-24 08:25:40] INFO: DB update done for buster/amd64 done at 2022-07-24 08:25:40.
[2022-07-24 08:25:40] INFO: Updating sources db for buster/i386...
[2022-07-24 08:25:59] INFO: Pushing 0 updated packages to the database...
[2022-07-24 08:26:18] INFO: Now deleting 0 removed packages: []
[2022-07-24 08:26:18] INFO: DB update done for buster/i386 done at 2022-07-24 08:26:18.
[2022-07-24 08:26:18] INFO: Updating sources db for buster/arm64...
[2022-07-24 08:26:41] INFO: Pushing 0 updated packages to the database...
[2022-07-24 08:26:59] INFO: Now deleting 0 removed packages: []
[2022-07-24 08:27:00] INFO: DB update done for buster/arm64 done at 2022-07-24 08:27:00.
[2022-07-24 08:27:00] INFO: Updating sources db for buster/armhf...
[2022-07-24 08:27:22] INFO: Pushing 0 updated packages to the database...
[2022-07-24 08:27:42] INFO: Now deleting 0 removed packages: []
[2022-07-24 08:27:42] INFO: DB update done for buster/armhf done at 2022-07-24 08:27:42.
[2022-07-24 08:27:42] INFO: Sources for suite buster done at 2022-07-24 08:27:42.
[2022-07-24 08:27:42] INFO: Downloading sources file for bullseye: http://deb.debian.org/debian/dists/bullseye/main/source/Sources.xz
[2022-07-24 08:27:43] INFO: Updating sources db for bullseye/amd64...
[2022-07-24 08:28:05] INFO: Pushing 0 updated packages to the database...
[2022-07-24 08:28:28] INFO: Now deleting 0 removed packages: []
[2022-07-24 08:28:28] INFO: DB update done for bullseye/amd64 done at 2022-07-24 08:28:28.
[2022-07-24 08:28:28] INFO: Updating sources db for bullseye/i386...
[2022-07-24 08:28:50] INFO: Pushing 0 updated packages to the database...
[2022-07-24 08:29:14] INFO: Now deleting 0 removed packages: []
[2022-07-24 08:29:15] INFO: DB update done for bullseye/i386 done at 2022-07-24 08:29:15.
[2022-07-24 08:29:15] INFO: Updating sources db for bullseye/arm64...
[2022-07-24 08:29:39] INFO: Pushing 0 updated packages to the database...
[2022-07-24 08:30:02] INFO: Now deleting 0 removed packages: []
[2022-07-24 08:30:02] INFO: DB update done for bullseye/arm64 done at 2022-07-24 08:30:02.
[2022-07-24 08:30:02] INFO: Updating sources db for bullseye/armhf...
[2022-07-24 08:30:28] INFO: Pushing 0 updated packages to the database...
[2022-07-24 08:30:51] INFO: Now deleting 0 removed packages: []
[2022-07-24 08:30:51] INFO: DB update done for bullseye/armhf done at 2022-07-24 08:30:51.
[2022-07-24 08:30:51] INFO: Sources for suite bullseye done at 2022-07-24 08:30:51.
[2022-07-24 08:30:51] INFO: Downloading sources file for bookworm: http://deb.debian.org/debian/dists/bookworm/main/source/Sources.xz
[2022-07-24 08:30:53] INFO: Updating sources db for bookworm/amd64...
[2022-07-24 08:31:15] INFO: Pushing 0 updated packages to the database...
[2022-07-24 08:31:41] INFO: Now deleting 0 removed packages: []
[2022-07-24 08:31:41] INFO: DB update done for bookworm/amd64 done at 2022-07-24 08:31:41.
[2022-07-24 08:31:41] INFO: Updating sources db for bookworm/i386...
[2022-07-24 08:32:08] INFO: Pushing 0 updated packages to the database...
[2022-07-24 08:32:32] INFO: Now deleting 0 removed packages: []
[2022-07-24 08:32:32] INFO: DB update done for bookworm/i386 done at 2022-07-24 08:32:32.
[2022-07-24 08:32:32] INFO: Updating sources db for bookworm/arm64...
[2022-07-24 08:33:00] INFO: Pushing 0 updated packages to the database...
[2022-07-24 08:33:28] INFO: Now deleting 0 removed packages: []
[2022-07-24 08:33:28] INFO: DB update done for bookworm/arm64 done at 2022-07-24 08:33:28.
[2022-07-24 08:33:28] INFO: Updating sources db for bookworm/armhf...
[2022-07-24 08:33:52] INFO: Pushing 0 updated packages to the database...
[2022-07-24 08:34:20] INFO: Now deleting 6 removed packages: ['python-prov', 'python-pyrdfa', 'nipype', 'snakemake', 'heudiconv', 'ayatana-indicator-datetime']
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 1256, in _execute_context
    self.dialect.do_executemany(
  File "/usr/lib/python3/dist-packages/sqlalchemy/dialects/postgresql/psycopg2.py", line 898, in do_executemany
    cursor.executemany(statement, parameters)
psycopg2.errors.UniqueViolation: duplicate key value violates unique constraint "removed_packages_pkey"
DETAIL:  Key (name, suite, architecture)=(python-pyrdfa, bookworm, 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 798, in <module>
    update_sources(suite)
  File "/srv/jenkins/bin/reproducible_scheduler.py", line 304, in update_sources
    update_sources_db(suite, arch, sources)
  File "/srv/jenkins/bin/reproducible_scheduler.py", line 425, 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 1011, in execute
    return meth(self, multiparams, params)
  File "/usr/lib/python3/dist-packages/sqlalchemy/sql/elements.py", line 298, in _execute_on_connection
    return connection._execute_clauseelement(self, multiparams, params)
  File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 1124, in _execute_clauseelement
    ret = self._execute_context(
  File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 1316, in _execute_context
    self._handle_dbapi_exception(
  File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 1510, in _handle_dbapi_exception
    util.raise_(
  File "/usr/lib/python3/dist-packages/sqlalchemy/util/compat.py", line 182, in raise_
    raise exception
  File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 1256, in _execute_context
    self.dialect.do_executemany(
  File "/usr/lib/python3/dist-packages/sqlalchemy/dialects/postgresql/psycopg2.py", line 898, in do_executemany
    cursor.executemany(statement, parameters)
sqlalchemy.exc.IntegrityError: (psycopg2.errors.UniqueViolation) duplicate key value violates unique constraint "removed_packages_pkey"
DETAIL:  Key (name, suite, architecture)=(python-pyrdfa, bookworm, armhf) already exists.

[SQL: INSERT INTO removed_packages (name, suite, architecture) VALUES (%(name)s, %(suite)s, %(architecture)s)]
[parameters: ({'name': 'python-prov', 'suite': 'bookworm', 'architecture': 'armhf'}, {'name': 'python-pyrdfa', 'suite': 'bookworm', 'architecture': 'armhf'}, {'name': 'nipype', 'suite': 'bookworm', 'architecture': 'armhf'}, {'name': 'snakemake', 'suite': 'bookworm', 'architecture': 'armhf'}, {'name': 'heudiconv', 'suite': 'bookworm', 'architecture': 'armhf'}, {'name': 'ayatana-indicator-datetime', 'suite': 'bookworm', 'architecture': 'armhf'})]
(Background on this error at: http://sqlalche.me/e/13/gkpj)
[2022-07-24 08:34:20] INFO: Finished at 2022-07-24 08:34:20.710288, took: 0:11:20.352170
Build step 'Execute shell' marked build as failure



More information about the Qa-jenkins-scm mailing list