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

jenkins at jenkins.debian.net jenkins at jenkins.debian.net
Mon Aug 30 12:39:32 BST 2021


See <https://jenkins.debian.net/job/reproducible_scheduler/33433/display/redirect>

Changes:


------------------------------------------
Started by timer
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building on master in workspace <https://jenkins.debian.net/job/reproducible_scheduler/ws/>
[workspace] $ /bin/sh -xe /tmp/jenkins2997002892153274538.sh
+ /srv/jenkins/bin/reproducible_scheduler.py
/srv/jenkins/bin/reproducible_scheduler.py:15: DeprecationWarning: please use 'debian.deb822' instead
  import deb822
[2021-08-30 11:23:00] INFO: Starting at 2021-08-30 11:23:00.653727
[2021-08-30 11:23:00] INFO: Updating sources tables for all suites.
[2021-08-30 11:23:00] INFO: Downloading sources file for stretch: http://deb.debian.org/debian/dists/stretch/main/source/Sources.xz
[2021-08-30 11:23:01] 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)
[2021-08-30 11:23:20] INFO: Pushing 0 updated packages to the database...
[2021-08-30 11:23:36] INFO: Now deleting 0 removed packages: []
[2021-08-30 11:23:37] INFO: DB update done for stretch/amd64 done at 2021-08-30 11:23:37.
[2021-08-30 11:23:37] INFO: Updating sources db for stretch/i386...
[2021-08-30 11:23:57] INFO: Pushing 0 updated packages to the database...
[2021-08-30 11:24:11] INFO: Now deleting 0 removed packages: []
[2021-08-30 11:24:11] INFO: DB update done for stretch/i386 done at 2021-08-30 11:24:11.
[2021-08-30 11:24:11] INFO: Updating sources db for stretch/arm64...
[2021-08-30 11:24:28] INFO: Pushing 0 updated packages to the database...
[2021-08-30 11:24:42] INFO: Now deleting 0 removed packages: []
[2021-08-30 11:24:42] INFO: DB update done for stretch/arm64 done at 2021-08-30 11:24:42.
[2021-08-30 11:24:42] INFO: Updating sources db for stretch/armhf...
[2021-08-30 11:25:01] INFO: Pushing 0 updated packages to the database...
[2021-08-30 11:25:17] INFO: Now deleting 0 removed packages: []
[2021-08-30 11:25:17] INFO: DB update done for stretch/armhf done at 2021-08-30 11:25:17.
[2021-08-30 11:25:17] INFO: Sources for suite stretch done at 2021-08-30 11:25:17.
[2021-08-30 11:25:17] INFO: Downloading sources file for buster: http://deb.debian.org/debian/dists/buster/main/source/Sources.xz
[2021-08-30 11:25:18] INFO: Updating sources db for buster/amd64...
[2021-08-30 11:25:43] INFO: Pushing 0 updated packages to the database...
[2021-08-30 11:26:05] INFO: Now deleting 0 removed packages: []
[2021-08-30 11:26:05] INFO: DB update done for buster/amd64 done at 2021-08-30 11:26:05.
[2021-08-30 11:26:05] INFO: Updating sources db for buster/i386...
[2021-08-30 11:26:24] INFO: Pushing 0 updated packages to the database...
[2021-08-30 11:26:54] INFO: Now deleting 0 removed packages: []
[2021-08-30 11:26:54] INFO: DB update done for buster/i386 done at 2021-08-30 11:26:54.
[2021-08-30 11:26:54] INFO: Updating sources db for buster/arm64...
[2021-08-30 11:27:18] INFO: Pushing 0 updated packages to the database...
[2021-08-30 11:27:41] INFO: Now deleting 0 removed packages: []
[2021-08-30 11:27:41] INFO: DB update done for buster/arm64 done at 2021-08-30 11:27:41.
[2021-08-30 11:27:41] INFO: Updating sources db for buster/armhf...
[2021-08-30 11:28:03] INFO: Pushing 0 updated packages to the database...
[2021-08-30 11:28:21] INFO: Now deleting 0 removed packages: []
[2021-08-30 11:28:21] INFO: DB update done for buster/armhf done at 2021-08-30 11:28:21.
[2021-08-30 11:28:21] INFO: Sources for suite buster done at 2021-08-30 11:28:21.
[2021-08-30 11:28:21] INFO: Downloading sources file for bullseye: http://deb.debian.org/debian/dists/bullseye/main/source/Sources.xz
[2021-08-30 11:28:22] INFO: Updating sources db for bullseye/amd64...
[2021-08-30 11:28:43] INFO: Pushing 0 updated packages to the database...
[2021-08-30 11:29:08] INFO: Now deleting 0 removed packages: []
[2021-08-30 11:29:08] INFO: DB update done for bullseye/amd64 done at 2021-08-30 11:29:08.
[2021-08-30 11:29:08] INFO: Updating sources db for bullseye/i386...
[2021-08-30 11:29:34] INFO: Pushing 0 updated packages to the database...
[2021-08-30 11:29:58] INFO: Now deleting 0 removed packages: []
[2021-08-30 11:29:58] INFO: DB update done for bullseye/i386 done at 2021-08-30 11:29:58.
[2021-08-30 11:29:58] INFO: Updating sources db for bullseye/arm64...
[2021-08-30 11:30:23] INFO: Pushing 0 updated packages to the database...
[2021-08-30 11:30:52] INFO: Now deleting 0 removed packages: []
[2021-08-30 11:30:52] INFO: DB update done for bullseye/arm64 done at 2021-08-30 11:30:52.
[2021-08-30 11:30:52] INFO: Updating sources db for bullseye/armhf...
[2021-08-30 11:31:18] INFO: Pushing 0 updated packages to the database...
[2021-08-30 11:31:44] INFO: Now deleting 0 removed packages: []
[2021-08-30 11:31:45] INFO: DB update done for bullseye/armhf done at 2021-08-30 11:31:45.
[2021-08-30 11:31:45] INFO: Sources for suite bullseye done at 2021-08-30 11:31:45.
[2021-08-30 11:31:45] INFO: Downloading sources file for bookworm: http://deb.debian.org/debian/dists/bookworm/main/source/Sources.xz
[2021-08-30 11:31:46] INFO: Updating sources db for bookworm/amd64...
[2021-08-30 11:32:10] INFO: Pushing 0 updated packages to the database...
[2021-08-30 11:32:40] INFO: Now deleting 0 removed packages: []
[2021-08-30 11:32:40] INFO: DB update done for bookworm/amd64 done at 2021-08-30 11:32:40.
[2021-08-30 11:32:40] INFO: Updating sources db for bookworm/i386...
[2021-08-30 11:33:03] INFO: Pushing 0 updated packages to the database...
[2021-08-30 11:33:36] INFO: Now deleting 0 removed packages: []
[2021-08-30 11:33:36] INFO: DB update done for bookworm/i386 done at 2021-08-30 11:33:36.
[2021-08-30 11:33:36] INFO: Updating sources db for bookworm/arm64...
[2021-08-30 11:34:01] INFO: Pushing 0 updated packages to the database...
[2021-08-30 11:34:34] INFO: Now deleting 0 removed packages: []
[2021-08-30 11:34:34] INFO: DB update done for bookworm/arm64 done at 2021-08-30 11:34:34.
[2021-08-30 11:34:34] INFO: Updating sources db for bookworm/armhf...
[2021-08-30 11:35:02] INFO: Pushing 0 updated packages to the database...
[2021-08-30 11:35:29] INFO: Now deleting 0 removed packages: []
[2021-08-30 11:35:29] INFO: DB update done for bookworm/armhf done at 2021-08-30 11:35:29.
[2021-08-30 11:35:29] INFO: Sources for suite bookworm done at 2021-08-30 11:35:29.
[2021-08-30 11:35:29] INFO: Downloading sources file for unstable: http://deb.debian.org/debian/dists/unstable/main/source/Sources.xz
[2021-08-30 11:35:31] INFO: Updating sources db for unstable/amd64...
[2021-08-30 11:35:54] INFO: Pushing 0 updated packages to the database...
[2021-08-30 11:36:22] INFO: Now deleting 0 removed packages: []
[2021-08-30 11:36:23] INFO: DB update done for unstable/amd64 done at 2021-08-30 11:36:23.
[2021-08-30 11:36:23] INFO: Updating sources db for unstable/i386...
[2021-08-30 11:36:49] INFO: Pushing 0 updated packages to the database...
[2021-08-30 11:37:19] INFO: Now deleting 0 removed packages: []
[2021-08-30 11:37:19] INFO: DB update done for unstable/i386 done at 2021-08-30 11:37:19.
[2021-08-30 11:37:19] INFO: Updating sources db for unstable/arm64...
[2021-08-30 11:37:51] INFO: Pushing 0 updated packages to the database...
[2021-08-30 11:38:26] INFO: Now deleting 0 removed packages: []
[2021-08-30 11:38:26] INFO: DB update done for unstable/arm64 done at 2021-08-30 11:38:26.
[2021-08-30 11:38:26] INFO: Updating sources db for unstable/armhf...
[2021-08-30 11:38:59] INFO: Pushing 0 updated packages to the database...
[2021-08-30 11:39:29] INFO: Now deleting 0 removed packages: []
[2021-08-30 11:39:30] INFO: DB update done for unstable/armhf done at 2021-08-30 11:39:30.
[2021-08-30 11:39:30] INFO: Sources for suite unstable done at 2021-08-30 11:39:30.
[2021-08-30 11:39:30] INFO: Downloading sources file for experimental: http://deb.debian.org/debian/dists/experimental/main/source/Sources.xz
[2021-08-30 11:39:30] INFO: Updating sources db for experimental/amd64...
[2021-08-30 11:39:32] INFO: Pushing 0 updated packages to the database...
[2021-08-30 11:39:32] INFO: Now deleting 53 removed packages: ['ruby-ruby-magic-static', 'knotifyconfig', 'golang-gopkg-libgit2-git2go.v31', 'primesieve', 'kdav', 'qqc2-desktop-style', 'kdeclarative', 'kbookmarks', 'kquickcharts', 'purpose', 'osmnx', 'golang-github-containers-storage', 'kdelibs4support', 'baloo-kf5', 'golang-github-grpc-ecosystem-go-grpc-middleware', 'frameworkintegration', 'sip6', 'golang-github-openshift-imagebuilder', 'kdewebkit', 'ircii', 'monit', 'krunner', 'kross', 'kxmlrpcclient', 'ecflow', 'fonttools', 'kwallet-kf5', 'kparts', 'kxmlgui', 'kinit', 'khtml', 'runit', 'ruby-gollum-rugged-adapter', 'tree-sitter', 'mozjs78', 'kcmutils', 'gap-io', 'knewstuff', 'tightvnc', 'gap-grape', 'pgbackrest', 'golang-github-containers-buildah', 'plasma-framework', 'golang-github-spf13-cobra', 'kmediaplayer', 'ktexteditor', 'pango1.0', 'django-taggit', 'ruby-prometheus-client-mmap', 'libtraceevent', 'libtracefs', 'kio', 'bluez-qt']
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)=(kdeclarative, 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 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)=(kdeclarative, experimental, amd64) already exists.

[SQL: INSERT INTO removed_packages (name, suite, architecture) VALUES (%(name)s, %(suite)s, %(architecture)s)]
[parameters: ({'name': 'ruby-ruby-magic-static', 'suite': 'experimental', 'architecture': 'amd64'}, {'name': 'knotifyconfig', 'suite': 'experimental', 'architecture': 'amd64'}, {'name': 'golang-gopkg-libgit2-git2go.v31', 'suite': 'experimental', 'architecture': 'amd64'}, {'name': 'primesieve', 'suite': 'experimental', 'architecture': 'amd64'}, {'name': 'kdav', 'suite': 'experimental', 'architecture': 'amd64'}, {'name': 'qqc2-desktop-style', 'suite': 'experimental', 'architecture': 'amd64'}, {'name': 'kdeclarative', 'suite': 'experimental', 'architecture': 'amd64'}, {'name': 'kbookmarks', 'suite': 'experimental', 'architecture': 'amd64'}  ... displaying 10 of 53 total bound parameter sets ...  {'name': 'kio', 'suite': 'experimental', 'architecture': 'amd64'}, {'name': 'bluez-qt', 'suite': 'experimental', 'architecture': 'amd64'})]
(Background on this error at: http://sqlalche.me/e/13/gkpj)
[2021-08-30 11:39:32] INFO: Finished at 2021-08-30 11:39:32.243520, took: 0:16:31.589803
Build step 'Execute shell' marked build as failure



More information about the Qa-jenkins-scm mailing list