[Qa-jenkins-scm] Build failed in Jenkins: reproducible_html_live_status #176277

jenkins at jenkins.debian.net jenkins at jenkins.debian.net
Fri Aug 19 12:58:53 UTC 2016


See <https://jenkins.debian.net/job/reproducible_html_live_status/176277/>

------------------------------------------
Started by timer
[EnvInject] - Loading node environment variables.
Building on master in workspace <https://jenkins.debian.net/job/reproducible_html_live_status/ws/>
[workspace] $ /bin/sh -xe /tmp/hudson365022440253469710.sh
+ /srv/jenkins/bin/reproducible_html_live_status.py
INFO: Starting at 2016-08-19 12:58:46.139989
INFO: finding out which usertagged bugs have been closed or at least have patches
INFO: finding out which usertagged bugs have been closed or at least have patches
INFO: Building the schedule index page for amd64...
CRITICAL: Error executing this query:
CRITICAL: SELECT sch.date_scheduled, s.suite, s.architecture, s.name, r.status, r.build_duration, (SELECT coalesce(AVG(h.build_duration), 0) FROM stats_build AS h WHERE h.status IN ("reproducible", "unreproducible") AND h.name=s.name AND h.suite=s.suite AND h.architecture=s.architecture) FROM schedule AS sch JOIN sources AS s ON sch.package_id=s.id LEFT JOIN results AS r ON s.id=r.package_id WHERE sch.date_build_started IS NULL AND s.architecture="amd64" ORDER BY sch.date_scheduled








Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 951, in _execute_context
    context)
  File "/usr/lib/python3/dist-packages/sqlalchemy/engine/default.py", line 436, in do_execute
    cursor.execute(statement, parameters)
sqlite3.OperationalError: database is locked

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

Traceback (most recent call last):
  File "/srv/jenkins/bin/reproducible_html_live_status.py", line 136, in <module>
    generate_schedule(arch)
  File "/srv/jenkins/bin/reproducible_html_live_status.py", line 37, in generate_schedule
    rows = query_db(query.format(arch=arch))
  File "/srv/jenkins/bin/reproducible_common.py", line 386, in query_db
    result = conn_db.execute(query)
  File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 721, in execute
    return self._execute_text(object, multiparams, params)
  File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 870, in _execute_text
    statement, parameters
  File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 958, in _execute_context
    context)
  File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 1159, in _handle_dbapi_exception
    exc_info
  File "/usr/lib/python3/dist-packages/sqlalchemy/util/compat.py", line 188, in raise_from_cause
    reraise(type(exception), exception, tb=exc_tb, cause=exc_value)
  File "/usr/lib/python3/dist-packages/sqlalchemy/util/compat.py", line 181, in reraise
    raise value.with_traceback(tb)
  File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 951, in _execute_context
    context)
  File "/usr/lib/python3/dist-packages/sqlalchemy/engine/default.py", line 436, in do_execute
    cursor.execute(statement, parameters)
sqlalchemy.exc.OperationalError: (OperationalError) database is locked 'SELECT sch.date_scheduled, s.suite, s.architecture, s.name, r.status, r.build_duration, (SELECT coalesce(AVG(h.build_duration), 0) FROM stats_build AS h WHERE h.status IN ("reproducible", "unreproducible") AND h.name=s.name AND h.suite=s.suite AND h.architecture=s.architecture) FROM schedule AS sch JOIN sources AS s ON sch.package_id=s.id LEFT JOIN results AS r ON s.id=r.package_id WHERE sch.date_build_started IS NULL AND s.architecture="amd64" ORDER BY sch.date_scheduled' ()
INFO: Finished at 2016-08-19 12:58:53.605805, took: 0:00:07.465846
Build step 'Execute shell' marked build as failure



More information about the Qa-jenkins-scm mailing list