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

jenkins at jenkins.debian.net jenkins at jenkins.debian.net
Thu Nov 8 21:33:50 GMT 2018


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

------------------------------------------
Started by timer
[EnvInject] - Loading node environment variables.
Building on master in workspace <https://jenkins.debian.net/job/reproducible_scheduler/ws/>
[workspace] $ /bin/sh -xe /tmp/jenkins4008340294072774650.sh
+ /srv/jenkins/bin/reproducible_scheduler.py
[2018-11-08 21:23:01] INFO: Starting at 2018-11-08 21:23:01.241485
[2018-11-08 21:23:01] INFO: Updating sources tables for all suites.
[2018-11-08 21:23:01] INFO: Downloading sources file for stretch: http://deb.debian.org/debian/dists/stretch/main/source/Sources.xz
[2018-11-08 21:23:03] INFO: Updating sources db for stretch/amd64...
[2018-11-08 21:23:29] INFO: Pushing 0 updated packages to the database...
[2018-11-08 21:23:47] INFO: Now deleting 0 removed packages: []
[2018-11-08 21:23:47] INFO: DB update done for stretch/amd64 done at 2018-11-08 21:23:47.
[2018-11-08 21:23:47] INFO: Updating sources db for stretch/i386...
[2018-11-08 21:24:12] INFO: Pushing 0 updated packages to the database...
[2018-11-08 21:24:26] INFO: Now deleting 0 removed packages: []
[2018-11-08 21:24:27] INFO: DB update done for stretch/i386 done at 2018-11-08 21:24:27.
[2018-11-08 21:24:27] INFO: Updating sources db for stretch/arm64...
[2018-11-08 21:24:53] INFO: Pushing 0 updated packages to the database...
[2018-11-08 21:25:08] INFO: Now deleting 0 removed packages: []
[2018-11-08 21:25:08] INFO: DB update done for stretch/arm64 done at 2018-11-08 21:25:08.
[2018-11-08 21:25:08] INFO: Updating sources db for stretch/armhf...
[2018-11-08 21:25:32] INFO: Pushing 0 updated packages to the database...
[2018-11-08 21:25:48] INFO: Now deleting 0 removed packages: []
[2018-11-08 21:25:48] INFO: DB update done for stretch/armhf done at 2018-11-08 21:25:48.
[2018-11-08 21:25:49] INFO: Sources for suite stretch done at 2018-11-08 21:25:49.
[2018-11-08 21:25:49] INFO: Downloading sources file for buster: http://deb.debian.org/debian/dists/buster/main/source/Sources.xz
[2018-11-08 21:25:50] INFO: Updating sources db for buster/amd64...
[2018-11-08 21:26:20] INFO: Pushing 1 updated packages to the database...
[2018-11-08 21:26:42] INFO: Now deleting 0 removed packages: []
[2018-11-08 21:26:42] INFO: DB update done for buster/amd64 done at 2018-11-08 21:26:42.
[2018-11-08 21:26:42] INFO: Updating sources db for buster/i386...
[2018-11-08 21:27:15] INFO: Pushing 1 updated packages to the database...
[2018-11-08 21:27:32] INFO: Now deleting 0 removed packages: []
[2018-11-08 21:27:32] INFO: DB update done for buster/i386 done at 2018-11-08 21:27:32.
[2018-11-08 21:27:32] INFO: Updating sources db for buster/arm64...
[2018-11-08 21:28:07] INFO: Pushing 1 updated packages to the database...
[2018-11-08 21:28:29] INFO: Now deleting 0 removed packages: []
[2018-11-08 21:28:29] INFO: DB update done for buster/arm64 done at 2018-11-08 21:28:29.
[2018-11-08 21:28:29] INFO: Updating sources db for buster/armhf...
[2018-11-08 21:29:01] INFO: Pushing 1 updated packages to the database...
[2018-11-08 21:29:21] INFO: Now deleting 0 removed packages: []
[2018-11-08 21:29:22] INFO: DB update done for buster/armhf done at 2018-11-08 21:29:22.
[2018-11-08 21:29:22] INFO: Sources for suite buster done at 2018-11-08 21:29:22.
[2018-11-08 21:29:22] INFO: Downloading sources file for unstable: http://deb.debian.org/debian/dists/unstable/main/source/Sources.xz
[2018-11-08 21:29:23] INFO: Updating sources db for unstable/amd64...
[2018-11-08 21:30:01] INFO: Pushing 25 updated packages to the database...
[2018-11-08 21:30:27] INFO: Now deleting 0 removed packages: []
[2018-11-08 21:30:27] INFO: DB update done for unstable/amd64 done at 2018-11-08 21:30:27.
[2018-11-08 21:30:27] INFO: Updating sources db for unstable/i386...
[2018-11-08 21:31:05] INFO: Pushing 25 updated packages to the database...
[2018-11-08 21:31:29] INFO: Now deleting 0 removed packages: []
[2018-11-08 21:31:29] INFO: DB update done for unstable/i386 done at 2018-11-08 21:31:29.
[2018-11-08 21:31:29] INFO: Updating sources db for unstable/arm64...
[2018-11-08 21:32:08] INFO: Pushing 25 updated packages to the database...
[2018-11-08 21:32:37] INFO: Now deleting 0 removed packages: []
[2018-11-08 21:32:38] INFO: DB update done for unstable/arm64 done at 2018-11-08 21:32:38.
[2018-11-08 21:32:38] INFO: Updating sources db for unstable/armhf...
[2018-11-08 21:33:16] INFO: Pushing 25 updated packages to the database...
[2018-11-08 21:33:48] INFO: Now deleting 0 removed packages: []
[2018-11-08 21:33:48] INFO: DB update done for unstable/armhf done at 2018-11-08 21:33:48.
[2018-11-08 21:33:48] INFO: Sources for suite unstable done at 2018-11-08 21:33:48.
[2018-11-08 21:33:48] INFO: Downloading sources file for experimental: http://deb.debian.org/debian/dists/experimental/main/source/Sources.xz
[2018-11-08 21:33:49] INFO: Updating sources db for experimental/amd64...
[2018-11-08 21:33:50] INFO: Pushing 1 updated packages to the database...
[2018-11-08 21:33:50] INFO: Now deleting 1 removed packages: ['llvm-toolchain-7']
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 1139, in _execute_context
    context)
  File "/usr/lib/python3/dist-packages/sqlalchemy/engine/default.py", line 450, in do_execute
    cursor.execute(statement, parameters)
psycopg2.IntegrityError: duplicate key value violates unique constraint "removed_packages_pkey"
DETAIL:  Key (name, suite, architecture)=(llvm-toolchain-7, 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 760, in <module>
    update_sources(suite)
  File "/srv/jenkins/bin/reproducible_scheduler.py", line 266, in update_sources
    update_sources_db(suite, arch, sources)
  File "/srv/jenkins/bin/reproducible_scheduler.py", line 387, 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 914, in execute
    return meth(self, multiparams, params)
  File "/usr/lib/python3/dist-packages/sqlalchemy/sql/elements.py", line 323, in _execute_on_connection
    return connection._execute_clauseelement(self, multiparams, params)
  File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 1010, in _execute_clauseelement
    compiled_sql, distilled_params
  File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 1146, in _execute_context
    context)
  File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 1341, in _handle_dbapi_exception
    exc_info
  File "/usr/lib/python3/dist-packages/sqlalchemy/util/compat.py", line 202, in raise_from_cause
    reraise(type(exception), exception, tb=exc_tb, cause=cause)
  File "/usr/lib/python3/dist-packages/sqlalchemy/util/compat.py", line 185, in reraise
    raise value.with_traceback(tb)
  File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 1139, in _execute_context
    context)
  File "/usr/lib/python3/dist-packages/sqlalchemy/engine/default.py", line 450, in do_execute
    cursor.execute(statement, parameters)
sqlalchemy.exc.IntegrityError: (psycopg2.IntegrityError) duplicate key value violates unique constraint "removed_packages_pkey"
DETAIL:  Key (name, suite, architecture)=(llvm-toolchain-7, experimental, amd64) already exists.
 [SQL: 'INSERT INTO removed_packages (name, suite, architecture) VALUES (%(name)s, %(suite)s, %(architecture)s)'] [parameters: {'name': 'llvm-toolchain-7', 'architecture': 'amd64', 'suite': 'experimental'}]
[2018-11-08 21:33:50] INFO: Finished at 2018-11-08 21:33:50.155108, took: 0:10:48.913673
Build step 'Execute shell' marked build as failure



More information about the Qa-jenkins-scm mailing list