Build failed in Jenkins: reproducible_html_breakages #4365

jenkins at jenkins.debian.net jenkins at jenkins.debian.net
Tue Nov 7 13:05:18 GMT 2023


See <https://jenkins.debian.net/job/reproducible_html_breakages/4365/display/redirect>

Changes:


------------------------------------------
Started by user Holger Levsen
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building on the built-in node in workspace <https://jenkins.debian.net/job/reproducible_html_breakages/ws/>
[workspace] $ /bin/sh -xe /tmp/jenkins2252628108112667573.sh
+ /srv/jenkins/bin/reproducible_html_breakages.py
[2023-11-07 13:05:18] INFO: Starting at 2023-11-07 13:05:18.474572
[2023-11-07 13:05:18] INFO: running unrep_with_dbd_issues check...
[2023-11-07 13:05:18] INFO: SELECT s.name, r.version, s.suite, s.architecture
               FROM sources AS s JOIN results AS r ON r.package_id=s.id
               WHERE r.status='FTBR'
               AND s.distribution = (SELECT id FROM distributions WHERE name = 'debian')
               AND r.suite NOT IN ('buster', 'stretch')
               ORDER BY s.name ASC, s.suite DESC, s.architecture ASC
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 1900, in _execute_context
    self.dialect.do_execute(
  File "/usr/lib/python3/dist-packages/sqlalchemy/engine/default.py", line 736, in do_execute
    cursor.execute(statement, parameters)
psycopg2.errors.UndefinedColumn: column r.suite does not exist
LINE 5:                AND r.suite NOT IN ('''buster'', ''stretch'''...
                           ^
HINT:  Perhaps you meant to reference the column "s.suite".


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

Traceback (most recent call last):
  File "/srv/jenkins/bin/reproducible_html_breakages.py", line 423, in <module>
    breakages = gen_html()
                ^^^^^^^^^^
  File "/srv/jenkins/bin/reproducible_html_breakages.py", line 370, in gen_html
    without_dbd, bad_dbd, sources_without_dbd = unrep_with_dbd_issues()
                                                ^^^^^^^^^^^^^^^^^^^^^^^
  File "/srv/jenkins/bin/reproducible_html_breakages.py", line 46, in unrep_with_dbd_issues
    results = query_db(query, ', '.join(["'{}'".format(value) for value in ARCHIVED_SUITES]))
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/srv/jenkins/bin/rblib/__init__.py", line 43, in query_db
    result = conn_db.execute(query, *args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 1365, in execute
    return self._exec_driver_sql(
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 1669, in _exec_driver_sql
    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 1900, in _execute_context
    self.dialect.do_execute(
  File "/usr/lib/python3/dist-packages/sqlalchemy/engine/default.py", line 736, in do_execute
    cursor.execute(statement, parameters)
sqlalchemy.exc.ProgrammingError: (psycopg2.errors.UndefinedColumn) column r.suite does not exist
LINE 5:                AND r.suite NOT IN ('''buster'', ''stretch'''...
                           ^
HINT:  Perhaps you meant to reference the column "s.suite".

[SQL: SELECT s.name, r.version, s.suite, s.architecture
               FROM sources AS s JOIN results AS r ON r.package_id=s.id
               WHERE r.status='FTBR'
               AND s.distribution = (SELECT id FROM distributions WHERE name = 'debian')
               AND r.suite NOT IN (%s)
               ORDER BY s.name ASC, s.suite DESC, s.architecture ASC]
[parameters: ("'buster', 'stretch'",)]
(Background on this error at: https://sqlalche.me/e/14/f405)
[2023-11-07 13:05:18] INFO: Finished at 2023-11-07 13:05:18.554570, took: 0:00:00.080003
Build step 'Execute shell' marked build as failure



More information about the Qa-jenkins-scm mailing list