Build failed in Jenkins: reproducible_scheduler_arm64 #1141

jenkins at jenkins.debian.net jenkins at jenkins.debian.net
Tue Apr 9 01:03:38 BST 2024


See <https://jenkins.debian.net/job/reproducible_scheduler_arm64/1141/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_arm64/ws/>
[workspace] $ /bin/sh -xe /tmp/jenkins6330610806659990676.sh
+ /srv/jenkins/bin/reproducible_scheduler.py arm64
/srv/jenkins/bin/reproducible_scheduler.py:15: DeprecationWarning: please use 'debian.deb822' instead
  import deb822
[2024-04-09 00:00:03] INFO: Starting at 2024-04-09 00:00:03.800763
[2024-04-09 00:00:04] INFO: Updating sources tables for all suites.
[2024-04-09 00:00:04] INFO: Downloading sources file for unstable: http://deb.debian.org/debian/dists/unstable/main/source/Sources.xz
[2024-04-09 00:00:05] 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-04-09 00:00:26] INFO: Pushing 16 updated packages to the database...
[2024-04-09 00:00:26] INFO: Now inserting 21 new sources in the database: [{'name': 'golang-github-joshuarubin-go-sway', 'version': '1.2.0-1', 'suite': 'unstable', 'architecture': 'arm64'}, {'name': 'golang-github-eapache-go-resiliency', 'version': '1.6.0-1', 'suite': 'unstable', 'architecture': 'arm64'}, {'name': 'pgsql-http', 'version': '1.6.0-1', 'suite': 'unstable', 'architecture': 'arm64'}, {'name': 'pg-roaringbitmap', 'version': '0.5.4-1', 'suite': 'unstable', 'architecture': 'arm64'}, {'name': 'python-multivolumefile', 'version': '0.2.3-1', 'suite': 'unstable', 'architecture': 'arm64'}, {'name': 'golang-github-zitadel-schema', 'version': '1.3.0-1', 'suite': 'unstable', 'architecture': 'arm64'}, {'name': 'golang-github-joshuarubin-lifecycle', 'version': '1.1.4-1', 'suite': 'unstable', 'architecture': 'arm64'}, {'name': 'lua-struct', 'version': '0.3-1', 'suite': 'unstable', 'architecture': 'arm64'}, {'name': 'golang-github-zitadel-logging', 'version': '0.6.0-1', 'suite': 'unstable', 'architecture': 'arm64'}, {'name': 'golang-github-skeema-knownhosts', 'version': '1.2.2-1', 'suite': 'unstable', 'architecture': 'arm64'}, {'name': 'lua-cmsgpack', 'version': '0.4.0~git20230328.57b1f90-1', 'suite': 'unstable', 'architecture': 'arm64'}, {'name': 'pipewire-module-xrdp', 'version': '0.2-1', 'suite': 'unstable', 'architecture': 'arm64'}, {'name': 'golang-github-lmittmann-tint', 'version': '1.0.4-1', 'suite': 'unstable', 'architecture': 'arm64'}, {'name': 'pgfaceting', 'version': '0.2.0-1', 'suite': 'unstable', 'architecture': 'arm64'}, {'name': 'golang-github-pjbgf-sha1cd', 'version': '0.3.0-1', 'suite': 'unstable', 'architecture': 'arm64'}, {'name': 'golang-github-allan-simon-go-singleinstance', 'version': '1.0.0-1', 'suite': 'unstable', 'architecture': 'arm64'}, {'name': 'node-import-meta-resolve', 'version': '4.0.0-1', 'suite': 'unstable', 'architecture': 'arm64'}, {'name': 'python-undetected-chromedriver', 'version': '3.5.5-1', 'suite': 'unstable', 'architecture': 'arm64'}, {'name': 'lxml-html-clean', 'version': '0.1.0-1', 'suite': 'unstable', 'architecture': 'arm64'}, {'name': 'golang-github-crc-org-crc', 'version': '2.34.0+ds1-1', 'suite': 'unstable', 'architecture': 'arm64'}, {'name': 'golang-github-dlasky-gotk3-layershell', 'version': '0.0~git20230801.b0c42cd-1', 'suite': 'unstable', 'architecture': 'arm64'}]
[2024-04-09 00:01:02] INFO: Now deleting 0 removed packages: []
[2024-04-09 00:01:02] INFO: Building pages for the new packages
[2024-04-09 00:01:02] INFO: Generating the pages of 21 package(s)
[2024-04-09 00:01:03] INFO: DB update done for unstable/arm64 done at 2024-04-09 00:01:03.
[2024-04-09 00:01:03] INFO: Sources for suite unstable/arm64 updated at 2024-04-09 00:01:03.
[2024-04-09 00:01:03] INFO: Removing old pages from unstable/arm64.
[2024-04-09 00:01:04] INFO: Removing old pages from unstable/arm64/diffoscope-results/.
[2024-04-09 00:01:04] INFO: Downloading sources file for trixie: http://deb.debian.org/debian/dists/trixie/main/source/Sources.xz
[2024-04-09 00:01:05] INFO: Updating sources db for trixie/arm64...
[2024-04-09 00:01:24] INFO: Pushing 0 updated packages to the database...
[2024-04-09 00:01:54] INFO: Now deleting 0 removed packages: []
[2024-04-09 00:01:54] INFO: DB update done for trixie/arm64 done at 2024-04-09 00:01:54.
[2024-04-09 00:01:54] INFO: Sources for suite trixie/arm64 updated at 2024-04-09 00:01:54.
[2024-04-09 00:01:54] INFO: Removing old pages from trixie/arm64.
[2024-04-09 00:01:55] INFO: Removing old pages from trixie/arm64/diffoscope-results/.
[2024-04-09 00:01:55] INFO: Downloading sources file for bookworm: http://deb.debian.org/debian/dists/bookworm/main/source/Sources.xz
[2024-04-09 00:01:56] INFO: Updating sources db for bookworm/arm64...
[2024-04-09 00:02:15] INFO: Pushing 0 updated packages to the database...
[2024-04-09 00:02:48] INFO: Now deleting 0 removed packages: []
[2024-04-09 00:02:48] INFO: DB update done for bookworm/arm64 done at 2024-04-09 00:02:48.
[2024-04-09 00:02:48] INFO: Sources for suite bookworm/arm64 updated at 2024-04-09 00:02:48.
[2024-04-09 00:02:48] INFO: Removing old pages from bookworm/arm64.
[2024-04-09 00:02:48] INFO: Removing old pages from bookworm/arm64/diffoscope-results/.
[2024-04-09 00:02:48] INFO: Downloading sources file for bullseye: http://deb.debian.org/debian/dists/bullseye/main/source/Sources.xz
[2024-04-09 00:02:49] INFO: Updating sources db for bullseye/arm64...
[2024-04-09 00:03:07] INFO: Pushing 0 updated packages to the database...
[2024-04-09 00:03:32] INFO: Now deleting 0 removed packages: []
[2024-04-09 00:03:33] INFO: DB update done for bullseye/arm64 done at 2024-04-09 00:03:33.
[2024-04-09 00:03:33] INFO: Sources for suite bullseye/arm64 updated at 2024-04-09 00:03:33.
[2024-04-09 00:03:33] INFO: Removing old pages from bullseye/arm64.
[2024-04-09 00:03:33] INFO: Removing old pages from bullseye/arm64/diffoscope-results/.
[2024-04-09 00:03:33] INFO: Downloading sources file for experimental: http://deb.debian.org/debian/dists/experimental/main/source/Sources.xz
[2024-04-09 00:03:33] INFO: Updating sources db for experimental/arm64...
[2024-04-09 00:03:35] INFO: Pushing 1 updated packages to the database...
[2024-04-09 00:03:35] INFO: Now inserting 4 new sources in the database: [{'name': 'wolfssl', 'version': '5.7.0-0.1', 'suite': 'experimental', 'architecture': 'arm64'}, {'name': 'mbedtls', 'version': '3.6.0-1', 'suite': 'experimental', 'architecture': 'arm64'}, {'name': 'zydis', 'version': '4.1.0-1', 'suite': 'experimental', 'architecture': 'arm64'}, {'name': 'fenics-basix', 'version': '0.8.0~git20240321.0315c73-1', 'suite': 'experimental', 'architecture': 'arm64'}]
[2024-04-09 00:03:35] INFO: Now deleting 3 removed packages: ['sleuthkit', 'libguestfs', 'util-linux']
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 1000, in do_executemany
    cursor.executemany(statement, parameters)
psycopg2.errors.ForeignKeyViolation: update or delete on table "sources" violates foreign key constraint "notes_package_id_fkey" on table "notes"
DETAIL:  Key (id)=(4721043) is still referenced from table "notes".


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 408, in update_sources_db
    conn_db.execute(delete_sources_query, rmed_pkgs_id)
  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 1000, in do_executemany
    cursor.executemany(statement, parameters)
sqlalchemy.exc.IntegrityError: (psycopg2.errors.ForeignKeyViolation) update or delete on table "sources" violates foreign key constraint "notes_package_id_fkey" on table "notes"
DETAIL:  Key (id)=(4721043) is still referenced from table "notes".

[SQL: DELETE FROM sources WHERE sources.id = %(deleteid)s]
[parameters: ({'deleteid': 4722696}, {'deleteid': 4721043}, {'deleteid': 4790588})]
(Background on this error at: https://sqlalche.me/e/14/gkpj)
[2024-04-09 00:03:38] INFO: Finished at 2024-04-09 00:03:38.184238, took: 0:03:34.383486
Build step 'Execute shell' marked build as failure



More information about the Qa-jenkins-scm mailing list