[Qa-jenkins-scm] Build failed in Jenkins: reproducible_html_notes #7737

jenkins at jenkins.debian.net jenkins at jenkins.debian.net
Fri Jun 15 17:01:35 BST 2018


See <https://jenkins.debian.net/job/reproducible_html_notes/7737/display/redirect?page=changes>

Changes:

[lamby] Add patch for enigmail

[lamby] Tag tilix with buildpath_in_binaries_generated_by_d_compiler_ldc

[lamby] Add patch for log4cxx

------------------------------------------
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building on master in workspace <https://jenkins.debian.net/job/reproducible_html_notes/ws/>
Wiping out workspace first.
Cloning the remote Git repository
Cloning repository https://salsa.debian.org/reproducible-builds/reproducible-notes.git
 > git init <https://jenkins.debian.net/job/reproducible_html_notes/ws/> # timeout=10
Fetching upstream changes from https://salsa.debian.org/reproducible-builds/reproducible-notes.git
 > git --version # timeout=10
 > git fetch --tags --progress https://salsa.debian.org/reproducible-builds/reproducible-notes.git +refs/heads/*:refs/remotes/origin/*
 > git config remote.origin.url https://salsa.debian.org/reproducible-builds/reproducible-notes.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://salsa.debian.org/reproducible-builds/reproducible-notes.git # timeout=10
Fetching upstream changes from https://salsa.debian.org/reproducible-builds/reproducible-notes.git
 > git fetch --tags --progress https://salsa.debian.org/reproducible-builds/reproducible-notes.git +refs/heads/*:refs/remotes/origin/*
 > git rev-parse origin/master^{commit} # timeout=10
Checking out Revision db5819c84022bf7f8bfdc63c6b238d68b25c5301 (origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f db5819c84022bf7f8bfdc63c6b238d68b25c5301
Commit message: "Add patch for log4cxx"
 > git rev-list --no-walk adb7d2621cdc8507d1886ff665c8102e507946ba # timeout=10
[workspace] $ /bin/sh -xe /tmp/jenkins9292080920230111.sh
+ /srv/jenkins/bin/reproducible_notes.py
[2018-06-15 15:52:44] INFO: Starting at 2018-06-15 15:52:44.054427
[2018-06-15 15:54:07] INFO: notes loaded. There are 6266 packages listed
[2018-06-15 15:56:30] INFO: notes checked. There are 6266 packages listed
[2018-06-15 15:56:35] INFO: Issues loaded. There are 307 issues
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 1116, in _execute_context
    context)
  File "/usr/lib/python3/dist-packages/sqlalchemy/engine/default.py", line 447, in do_executemany
    cursor.executemany(statement, parameters)
psycopg2.IntegrityError: insert or update on table "notes" violates foreign key constraint "notes_package_id_fkey"
DETAIL:  Key (package_id)=(355502) is not present in table "sources".


The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/srv/jenkins/bin/reproducible_notes.py", line 182, in <module>
    store_notes()
  File "/srv/jenkins/bin/reproducible_notes.py", line 174, in store_notes
    conn_db.execute(notes_table.insert(), to_insert)
  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 1116, in _execute_context
    context)
  File "/usr/lib/python3/dist-packages/sqlalchemy/engine/default.py", line 447, in do_executemany
    cursor.executemany(statement, parameters)
sqlalchemy.exc.IntegrityError: (psycopg2.IntegrityError) insert or update on table "notes" violates foreign key constraint "notes_package_id_fkey"
DETAIL:  Key (package_id)=(355502) is not present in table "sources".
 [SQL: 'INSERT INTO notes (package_id, version, issues, bugs, comments) VALUES (%(package_id)s, %(version)s, %(issues)s, %(bugs)s, %(comments)s)'] [parameters: ({'package_id': 1, 'issues': '["gcc_captures_build_path"]', 'version': '0.0.20-2', 'bugs': '[]', 'comments': None}, {'package_id': 70813, 'issues': '["gcc_captures_build_path"]', 'version': '0.0.20-2', 'bugs': '[]', 'comments': None}, {'package_id': 131387, 'issues': '["gcc_captures_build_path"]', 'version': '0.0.20-2', 'bugs': '[]', 'comments': None}, {'package_id': 213430, 'issues': '["gcc_captures_build_path"]', 'version': '0.0.20-2', 'bugs': '[]', 'comments': None}, {'package_id': 171058, 'issues': '["gcc_captures_build_path"]', 'version': '0.0.20-2', 'bugs': '[]', 'comments': None}, {'package_id': 171079, 'issues': '["gcc_captures_build_path"]', 'version': '0.0.20-2', 'bugs': '[]', 'comments': None}, {'package_id': 171100, 'issues': '["gcc_captures_build_path"]', 'version': '0.0.20-2', 'bugs': '[]', 'comments': None}, {'package_id': 184295, 'issues': '["gcc_captures_build_path"]', 'version': '0.0.20-2', 'bugs': '[]', 'comments': None}  ... displaying 10 of 67325 total bound parameter sets ...  {'package_id': 156635, 'issues': '[]', 'version': '1.12.4-1', 'bugs': '[812243]', 'comments': None}, {'package_id': 223380, 'issues': '[]', 'version': '1.12.4-1', 'bugs': '[812243]', 'comments': None})]
[2018-06-15 15:59:24] INFO: Finished at 2018-06-15 15:59:24.171762, took: 0:06:40.117543
Build step 'Execute shell' marked build as failure



More information about the Qa-jenkins-scm mailing list