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

jenkins at jenkins.debian.net jenkins at jenkins.debian.net
Mon Jul 25 06:33:39 BST 2022


See <https://jenkins.debian.net/job/reproducible_scheduler/36231/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/jenkins14754616172536495963.sh
+ /srv/jenkins/bin/reproducible_scheduler.py
/srv/jenkins/bin/reproducible_scheduler.py:15: DeprecationWarning: please use 'debian.deb822' instead
  import deb822
[2022-07-25 05:23:00] INFO: Starting at 2022-07-25 05:23:00.632536
[2022-07-25 05:23:00] INFO: Updating sources tables for all suites.
[2022-07-25 05:23:00] INFO: Downloading sources file for stretch: http://deb.debian.org/debian/dists/stretch/main/source/Sources.xz
[2022-07-25 05: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-25 05:23:20] INFO: Pushing 0 updated packages to the database...
[2022-07-25 05:23:31] INFO: Now deleting 0 removed packages: []
[2022-07-25 05:23:31] INFO: DB update done for stretch/amd64 done at 2022-07-25 05:23:31.
[2022-07-25 05:23:31] INFO: Updating sources db for stretch/i386...
[2022-07-25 05:23:47] INFO: Pushing 0 updated packages to the database...
[2022-07-25 05:24:00] INFO: Now deleting 0 removed packages: []
[2022-07-25 05:24:00] INFO: DB update done for stretch/i386 done at 2022-07-25 05:24:00.
[2022-07-25 05:24:00] INFO: Updating sources db for stretch/arm64...
[2022-07-25 05:24:18] INFO: Pushing 0 updated packages to the database...
[2022-07-25 05:24:30] INFO: Now deleting 0 removed packages: []
[2022-07-25 05:24:30] INFO: DB update done for stretch/arm64 done at 2022-07-25 05:24:30.
[2022-07-25 05:24:30] INFO: Updating sources db for stretch/armhf...
[2022-07-25 05:24:46] INFO: Pushing 0 updated packages to the database...
[2022-07-25 05:24:58] INFO: Now deleting 0 removed packages: []
[2022-07-25 05:24:58] INFO: DB update done for stretch/armhf done at 2022-07-25 05:24:58.
[2022-07-25 05:24:58] INFO: Sources for suite stretch done at 2022-07-25 05:24:58.
[2022-07-25 05:24:58] INFO: Downloading sources file for buster: http://deb.debian.org/debian/dists/buster/main/source/Sources.xz
[2022-07-25 05:24:59] INFO: Updating sources db for buster/amd64...
[2022-07-25 05:25:19] INFO: Pushing 0 updated packages to the database...
[2022-07-25 05:25:38] INFO: Now deleting 0 removed packages: []
[2022-07-25 05:25:38] INFO: DB update done for buster/amd64 done at 2022-07-25 05:25:38.
[2022-07-25 05:25:38] INFO: Updating sources db for buster/i386...
[2022-07-25 05:25:57] INFO: Pushing 0 updated packages to the database...
[2022-07-25 05:26:15] INFO: Now deleting 0 removed packages: []
[2022-07-25 05:26:15] INFO: DB update done for buster/i386 done at 2022-07-25 05:26:15.
[2022-07-25 05:26:15] INFO: Updating sources db for buster/arm64...
[2022-07-25 05:26:35] INFO: Pushing 0 updated packages to the database...
[2022-07-25 05:26:51] INFO: Now deleting 0 removed packages: []
[2022-07-25 05:26:52] INFO: DB update done for buster/arm64 done at 2022-07-25 05:26:52.
[2022-07-25 05:26:52] INFO: Updating sources db for buster/armhf...
[2022-07-25 05:27:13] INFO: Pushing 0 updated packages to the database...
[2022-07-25 05:27:29] INFO: Now deleting 0 removed packages: []
[2022-07-25 05:27:29] INFO: DB update done for buster/armhf done at 2022-07-25 05:27:29.
[2022-07-25 05:27:29] INFO: Sources for suite buster done at 2022-07-25 05:27:29.
[2022-07-25 05:27:29] INFO: Downloading sources file for bullseye: http://deb.debian.org/debian/dists/bullseye/main/source/Sources.xz
[2022-07-25 05:27:32] INFO: Updating sources db for bullseye/amd64...
[2022-07-25 05:27:53] INFO: Pushing 0 updated packages to the database...
[2022-07-25 05:28:14] INFO: Now deleting 0 removed packages: []
[2022-07-25 05:28:14] INFO: DB update done for bullseye/amd64 done at 2022-07-25 05:28:14.
[2022-07-25 05:28:14] INFO: Updating sources db for bullseye/i386...
[2022-07-25 05:28:34] INFO: Pushing 0 updated packages to the database...
[2022-07-25 05:28:55] INFO: Now deleting 0 removed packages: []
[2022-07-25 05:28:55] INFO: DB update done for bullseye/i386 done at 2022-07-25 05:28:55.
[2022-07-25 05:28:55] INFO: Updating sources db for bullseye/arm64...
[2022-07-25 05:29:17] INFO: Pushing 0 updated packages to the database...
[2022-07-25 05:29:39] INFO: Now deleting 0 removed packages: []
[2022-07-25 05:29:39] INFO: DB update done for bullseye/arm64 done at 2022-07-25 05:29:39.
[2022-07-25 05:29:39] INFO: Updating sources db for bullseye/armhf...
[2022-07-25 05:30:00] INFO: Pushing 0 updated packages to the database...
[2022-07-25 05:30:20] INFO: Now deleting 0 removed packages: []
[2022-07-25 05:30:20] INFO: DB update done for bullseye/armhf done at 2022-07-25 05:30:20.
[2022-07-25 05:30:20] INFO: Sources for suite bullseye done at 2022-07-25 05:30:20.
[2022-07-25 05:30:20] INFO: Downloading sources file for bookworm: http://deb.debian.org/debian/dists/bookworm/main/source/Sources.xz
[2022-07-25 05:30:21] INFO: Updating sources db for bookworm/amd64...
[2022-07-25 05:30:44] INFO: Pushing 36 updated packages to the database...
[2022-07-25 05:30:44] INFO: Now inserting 7 new sources in the database: [{'name': 'libqapt', 'version': '3.0.5-1', 'suite': 'bookworm', 'architecture': 'amd64'}, {'name': 'jtreg6', 'version': '6.1+2-1', 'suite': 'bookworm', 'architecture': 'amd64'}, {'name': 'optimir', 'version': '1.2-1', 'suite': 'bookworm', 'architecture': 'amd64'}, {'name': 'deepin-deb-installer', 'version': '5.12.4-1', 'suite': 'bookworm', 'architecture': 'amd64'}, {'name': 'peptidebuilder', 'version': '1.1.0-3', 'suite': 'bookworm', 'architecture': 'amd64'}, {'name': 'muon', 'version': '4:5.8.0-2', 'suite': 'bookworm', 'architecture': 'amd64'}, {'name': 'numberstation', 'version': '1.0.1-2', 'suite': 'bookworm', 'architecture': 'amd64'}]
[2022-07-25 05:31:09] INFO: Now deleting 0 removed packages: []
[2022-07-25 05:31:10] INFO: Building pages for the new packages
[2022-07-25 05:31:10] INFO: Generating the pages of 7 package(s)
[2022-07-25 05:31:10] ERROR: Either /var/lib/jenkins/userContent/reproducible/debian/logs/unstable/amd64/libqapt_3.0.5-1.build2.log.gz or /var/lib/jenkins/userContent/reproducible/debian/logdiffs/unstable/amd64/libqapt_3.0.5-1.diff.gz is missing
[2022-07-25 05:31:10] ERROR: Either /var/lib/jenkins/userContent/reproducible/debian/logs/unstable/arm64/libqapt_3.0.5-1.build2.log.gz or /var/lib/jenkins/userContent/reproducible/debian/logdiffs/unstable/arm64/libqapt_3.0.5-1.diff.gz is missing
[2022-07-25 05:31:10] ERROR: Either /var/lib/jenkins/userContent/reproducible/debian/logs/unstable/armhf/libqapt_3.0.5-1.build2.log.gz or /var/lib/jenkins/userContent/reproducible/debian/logdiffs/unstable/armhf/libqapt_3.0.5-1.diff.gz is missing
[2022-07-25 05:31:11] INFO: DB update done for bookworm/amd64 done at 2022-07-25 05:31:11.
[2022-07-25 05:31:11] INFO: Updating sources db for bookworm/i386...
[2022-07-25 05:31:34] INFO: Pushing 36 updated packages to the database...
[2022-07-25 05:31:34] INFO: Now inserting 7 new sources in the database: [{'name': 'jtreg6', 'version': '6.1+2-1', 'suite': 'bookworm', 'architecture': 'i386'}, {'name': 'optimir', 'version': '1.2-1', 'suite': 'bookworm', 'architecture': 'i386'}, {'name': 'deepin-deb-installer', 'version': '5.12.4-1', 'suite': 'bookworm', 'architecture': 'i386'}, {'name': 'muon', 'version': '4:5.8.0-2', 'suite': 'bookworm', 'architecture': 'i386'}, {'name': 'peptidebuilder', 'version': '1.1.0-3', 'suite': 'bookworm', 'architecture': 'i386'}, {'name': 'libqapt', 'version': '3.0.5-1', 'suite': 'bookworm', 'architecture': 'i386'}, {'name': 'numberstation', 'version': '1.0.1-2', 'suite': 'bookworm', 'architecture': 'i386'}]
[2022-07-25 05:31:58] INFO: Now deleting 0 removed packages: []
[2022-07-25 05:31:58] INFO: Building pages for the new packages
[2022-07-25 05:31:58] INFO: Generating the pages of 7 package(s)
[2022-07-25 05:31:58] ERROR: Either /var/lib/jenkins/userContent/reproducible/debian/logs/unstable/amd64/libqapt_3.0.5-1.build2.log.gz or /var/lib/jenkins/userContent/reproducible/debian/logdiffs/unstable/amd64/libqapt_3.0.5-1.diff.gz is missing
[2022-07-25 05:31:58] ERROR: Either /var/lib/jenkins/userContent/reproducible/debian/logs/unstable/arm64/libqapt_3.0.5-1.build2.log.gz or /var/lib/jenkins/userContent/reproducible/debian/logdiffs/unstable/arm64/libqapt_3.0.5-1.diff.gz is missing
[2022-07-25 05:31:58] ERROR: Either /var/lib/jenkins/userContent/reproducible/debian/logs/unstable/armhf/libqapt_3.0.5-1.build2.log.gz or /var/lib/jenkins/userContent/reproducible/debian/logdiffs/unstable/armhf/libqapt_3.0.5-1.diff.gz is missing
[2022-07-25 05:31:59] INFO: DB update done for bookworm/i386 done at 2022-07-25 05:31:59.
[2022-07-25 05:31:59] INFO: Updating sources db for bookworm/arm64...
[2022-07-25 05:32:22] INFO: Pushing 36 updated packages to the database...
[2022-07-25 05:32:22] INFO: Now inserting 7 new sources in the database: [{'name': 'libqapt', 'version': '3.0.5-1', 'suite': 'bookworm', 'architecture': 'arm64'}, {'name': 'numberstation', 'version': '1.0.1-2', 'suite': 'bookworm', 'architecture': 'arm64'}, {'name': 'jtreg6', 'version': '6.1+2-1', 'suite': 'bookworm', 'architecture': 'arm64'}, {'name': 'optimir', 'version': '1.2-1', 'suite': 'bookworm', 'architecture': 'arm64'}, {'name': 'deepin-deb-installer', 'version': '5.12.4-1', 'suite': 'bookworm', 'architecture': 'arm64'}, {'name': 'peptidebuilder', 'version': '1.1.0-3', 'suite': 'bookworm', 'architecture': 'arm64'}, {'name': 'muon', 'version': '4:5.8.0-2', 'suite': 'bookworm', 'architecture': 'arm64'}]
[2022-07-25 05:32:48] INFO: Now deleting 0 removed packages: []
[2022-07-25 05:32:48] INFO: Building pages for the new packages
[2022-07-25 05:32:48] INFO: Generating the pages of 7 package(s)
[2022-07-25 05:32:48] ERROR: Either /var/lib/jenkins/userContent/reproducible/debian/logs/unstable/amd64/libqapt_3.0.5-1.build2.log.gz or /var/lib/jenkins/userContent/reproducible/debian/logdiffs/unstable/amd64/libqapt_3.0.5-1.diff.gz is missing
[2022-07-25 05:32:48] ERROR: Either /var/lib/jenkins/userContent/reproducible/debian/logs/unstable/arm64/libqapt_3.0.5-1.build2.log.gz or /var/lib/jenkins/userContent/reproducible/debian/logdiffs/unstable/arm64/libqapt_3.0.5-1.diff.gz is missing
[2022-07-25 05:32:48] ERROR: Either /var/lib/jenkins/userContent/reproducible/debian/logs/unstable/armhf/libqapt_3.0.5-1.build2.log.gz or /var/lib/jenkins/userContent/reproducible/debian/logdiffs/unstable/armhf/libqapt_3.0.5-1.diff.gz is missing
[2022-07-25 05:32:49] INFO: DB update done for bookworm/arm64 done at 2022-07-25 05:32:49.
[2022-07-25 05:32:49] INFO: Updating sources db for bookworm/armhf...
[2022-07-25 05:33:13] INFO: Pushing 36 updated packages to the database...
[2022-07-25 05:33:13] INFO: Now inserting 7 new sources in the database: [{'name': 'peptidebuilder', 'version': '1.1.0-3', 'suite': 'bookworm', 'architecture': 'armhf'}, {'name': 'muon', 'version': '4:5.8.0-2', 'suite': 'bookworm', 'architecture': 'armhf'}, {'name': 'libqapt', 'version': '3.0.5-1', 'suite': 'bookworm', 'architecture': 'armhf'}, {'name': 'numberstation', 'version': '1.0.1-2', 'suite': 'bookworm', 'architecture': 'armhf'}, {'name': 'jtreg6', 'version': '6.1+2-1', 'suite': 'bookworm', 'architecture': 'armhf'}, {'name': 'optimir', 'version': '1.2-1', 'suite': 'bookworm', 'architecture': 'armhf'}, {'name': 'deepin-deb-installer', 'version': '5.12.4-1', 'suite': 'bookworm', 'architecture': 'armhf'}]
[2022-07-25 05:33:39] INFO: Now deleting 3 removed packages: ['cwl-upgrader', 'python-schema-salad', 'rdflib']
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)=(cwl-upgrader, 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)=(cwl-upgrader, bookworm, armhf) already exists.

[SQL: INSERT INTO removed_packages (name, suite, architecture) VALUES (%(name)s, %(suite)s, %(architecture)s)]
[parameters: ({'name': 'cwl-upgrader', 'suite': 'bookworm', 'architecture': 'armhf'}, {'name': 'python-schema-salad', 'suite': 'bookworm', 'architecture': 'armhf'}, {'name': 'rdflib', 'suite': 'bookworm', 'architecture': 'armhf'})]
(Background on this error at: http://sqlalche.me/e/13/gkpj)
[2022-07-25 05:33:39] INFO: Finished at 2022-07-25 05:33:39.715252, took: 0:10:39.082723
Build step 'Execute shell' marked build as failure



More information about the Qa-jenkins-scm mailing list