Build failed in Jenkins: reproducible_html_breakages #4354

jenkins at jenkins.debian.net jenkins at jenkins.debian.net
Tue Nov 7 12:37:33 GMT 2023


See <https://jenkins.debian.net/job/reproducible_html_breakages/4354/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/jenkins10192949167138762721.sh
+ /srv/jenkins/bin/reproducible_html_breakages.py
[2023-11-07 12:37:32] INFO: Starting at 2023-11-07 12:37:32.912934
[2023-11-07 12:37:32] INFO: running unrep_with_dbd_issues check...
[2023-11-07 12:37:32] INFO: SELECT s.name, r.version, s.suite, s.architectureFROM sources AS s JOIN results AS r ON r.package_id=s.idWHERE r.status='FTBR'AND s.distribution = (SELECT id FROM distributions WHERE name = 'debian')AND s.suite NOT IN ({})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.SyntaxError: syntax error at or near "AS"
LINE 1: ...e, r.version, s.suite, s.architectureFROM sources AS s JOIN ...
                                                             ^


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)
              ^^^^^^^^^^^^^^^
  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.SyntaxError) syntax error at or near "AS"
LINE 1: ...e, r.version, s.suite, s.architectureFROM sources AS s JOIN ...
                                                             ^

[SQL: SELECT s.name, r.version, s.suite, s.architectureFROM sources AS s JOIN results AS r ON r.package_id=s.idWHERE r.status='FTBR'AND s.distribution = (SELECT id FROM distributions WHERE name = 'debian')AND s.suite NOT IN ({})ORDER BY s.name ASC, s.suite DESC, s.architecture ASC]
(Background on this error at: https://sqlalche.me/e/14/f405)
[2023-11-07 12:37:33] INFO: Finished at 2023-11-07 12:37:33.045537, took: 0:00:00.132609
Build step 'Execute shell' marked build as failure



More information about the Qa-jenkins-scm mailing list