Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Packit 500 (another one) #3443

Closed
praiskup opened this issue Oct 2, 2024 · 1 comment · Fixed by #3444
Closed

Packit 500 (another one) #3443

praiskup opened this issue Oct 2, 2024 · 1 comment · Fixed by #3444

Comments

@praiskup
Copy link
Member

praiskup commented Oct 2, 2024

[Wed Oct 02 13:01:41.082060 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398] (Background on this error at: https://sqlalche.me/e/14/gkpj) (Background on this error at: https://sqlalche.me/e/14/7s2a)
[Wed Oct 02 13:01:41.082081 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]
[Wed Oct 02 13:01:41.082090 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398] During handling of the above exception, another exception occurred:
[Wed Oct 02 13:01:41.082098 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]
[Wed Oct 02 13:01:41.082112 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398] Traceback (most recent call last):
[Wed Oct 02 13:01:41.083004 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib/python3.12/site-packages/flask/app.py", line 2552, in __call__
[Wed Oct 02 13:01:41.083027 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     return self.wsgi_app(environ, start_response)
[Wed Oct 02 13:01:41.083037 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.083058 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib/python3.12/site-packages/flask/app.py", line 2532, in wsgi_app
[Wed Oct 02 13:01:41.083068 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     response = self.handle_exception(e)
[Wed Oct 02 13:01:41.083078 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]                ^^^^^^^^^^^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.083095 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib/python3.12/site-packages/flask_restx/api.py", line 673, in error_router
[Wed Oct 02 13:01:41.083105 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     return original_handler(f)
[Wed Oct 02 13:01:41.083114 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]            ^^^^^^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.083132 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib/python3.12/site-packages/flask/app.py", line 1721, in handle_exception
[Wed Oct 02 13:01:41.083143 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     self.log_exception(exc_info)
[Wed Oct 02 13:01:41.083162 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib/python3.12/site-packages/flask/app.py", line 1744, in log_exception
[Wed Oct 02 13:01:41.083173 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     self.logger.error(
[Wed Oct 02 13:01:41.083191 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/logging/__init__.py", line 1568, in error
[Wed Oct 02 13:01:41.083202 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     self._log(ERROR, msg, args, **kwargs)
[Wed Oct 02 13:01:41.083219 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/logging/__init__.py", line 1684, in _log
[Wed Oct 02 13:01:41.083230 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     self.handle(record)
[Wed Oct 02 13:01:41.083248 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/logging/__init__.py", line 1695, in handle
[Wed Oct 02 13:01:41.083259 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     maybe_record = self.filter(record)
[Wed Oct 02 13:01:41.083268 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]                    ^^^^^^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.083287 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/logging/__init__.py", line 858, in filter
[Wed Oct 02 13:01:41.083298 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     result = f.filter(record)
[Wed Oct 02 13:01:41.083357 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]              ^^^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.083384 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/share/copr/coprs_frontend/coprs/log.py", line 33, in filter
[Wed Oct 02 13:01:41.083395 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     record.user = self._user()
[Wed Oct 02 13:01:41.083404 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]                   ^^^^^^^^^^^^
[Wed Oct 02 13:01:41.083421 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/share/copr/coprs_frontend/coprs/log.py", line 41, in _user
[Wed Oct 02 13:01:41.083431 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     return flask.g.user.name
[Wed Oct 02 13:01:41.083441 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]            ^^^^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.083458 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/share/copr/coprs_frontend/coprs/models.py", line 136, in name
[Wed Oct 02 13:01:41.083468 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     return self.username 
[Wed Oct 02 13:01:41.083478 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]            ^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.083495 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/orm/attributes.py", line 487, in __get__
[Wed Oct 02 13:01:41.083505 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     return self.impl.get(state, dict_)
[Wed Oct 02 13:01:41.083515 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.083532 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/orm/attributes.py", line 959, in get
[Wed Oct 02 13:01:41.083542 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     value = self._fire_loader_callables(state, key, passive)
[Wed Oct 02 13:01:41.083552 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.083569 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/orm/attributes.py", line 990, in _fire_loader_callables
[Wed Oct 02 13:01:41.083580 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     return state._load_expired(state, passive)
[Wed Oct 02 13:01:41.083589 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.083606 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/orm/state.py", line 712, in _load_expired
[Wed Oct 02 13:01:41.083616 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     self.manager.expired_attribute_loader(self, toload, passive)
[Wed Oct 02 13:01:41.083632 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/orm/loading.py", line 1451, in load_scalar_attributes
[Wed Oct 02 13:01:41.083643 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     result = load_on_ident(
@praiskup
Copy link
Member Author

praiskup commented Oct 2, 2024

Huh, actually:

[Wed Oct 02 13:01:41.073944 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398] Traceback (most recent call last):
[Wed Oct 02 13:01:41.074175 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 1910, in _execute_context
[Wed Oct 02 13:01:41.074199 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     self.dialect.do_execute(
[Wed Oct 02 13:01:41.074221 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/engine/default.py", line 736, in do_execute
[Wed Oct 02 13:01:41.074232 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     cursor.execute(statement, parameters)
[Wed Oct 02 13:01:41.074295 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398] psycopg2.errors.UniqueViolation: duplicate key value violates unique constraint "copr_name_for_user_uniq"
[Wed Oct 02 13:01:41.074310 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398] DETAIL:  Key (user_id, name)=(5576, containers-buildah-5765) already exists.
[Wed Oct 02 13:01:41.074320 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398] 
[Wed Oct 02 13:01:41.074708 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398] 
[Wed Oct 02 13:01:41.074728 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398] The above exception was the direct cause of the following exception:
[Wed Oct 02 13:01:41.074736 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398] 
[Wed Oct 02 13:01:41.074754 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398] Traceback (most recent call last):
[Wed Oct 02 13:01:41.075476 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/share/copr/coprs_frontend/coprs/views/apiv3_ns/apiv3_projects.py", line 238, in post
[Wed Oct 02 13:01:41.075494 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     copr = CoprsLogic.add(
[Wed Oct 02 13:01:41.075502 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]            ^^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.075517 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/share/copr/coprs_frontend/coprs/logic/coprs_logic.py", line 328, in add
[Wed Oct 02 13:01:41.075526 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     CoprChrootsLogic.new_from_names(
[Wed Oct 02 13:01:41.075540 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/share/copr/coprs_frontend/coprs/logic/coprs_logic.py", line 1002, in new_from_names
[Wed Oct 02 13:01:41.075548 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     for mock_chroot in cls.mock_chroots_from_names(names):
[Wed Oct 02 13:01:41.075556 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.075570 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/share/copr/coprs_frontend/coprs/logic/coprs_logic.py", line 954, in mock_chroots_from_names
[Wed Oct 02 13:01:41.075578 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     db_chroots = models.MockChroot.query.all()
[Wed Oct 02 13:01:41.075586 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.075599 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/orm/query.py", line 2773, in all
[Wed Oct 02 13:01:41.075607 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     return self._iter().all()
[Wed Oct 02 13:01:41.075615 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]            ^^^^^^^^^^^^
[Wed Oct 02 13:01:41.075628 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/orm/query.py", line 2916, in _iter
[Wed Oct 02 13:01:41.075636 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     result = self.session.execute(
[Wed Oct 02 13:01:41.075644 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]              ^^^^^^^^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.075657 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/orm/session.py", line 1665, in execute
[Wed Oct 02 13:01:41.075665 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     ) = compile_state_cls.orm_pre_session_exec(
[Wed Oct 02 13:01:41.075690 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.075705 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/orm/context.py", line 312, in orm_pre_session_exec
[Wed Oct 02 13:01:41.075713 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     session._autoflush()
[Wed Oct 02 13:01:41.075727 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/orm/session.py", line 2264, in _autoflush
[Wed Oct 02 13:01:41.075735 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     util.raise_(e, with_traceback=sys.exc_info()[2])
[Wed Oct 02 13:01:41.075748 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/util/compat.py", line 211, in raise_
[Wed Oct 02 13:01:41.075756 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     raise exception
[Wed Oct 02 13:01:41.075769 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/orm/session.py", line 2253, in _autoflush
[Wed Oct 02 13:01:41.075777 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     self.flush()
[Wed Oct 02 13:01:41.075790 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/orm/session.py", line 3449, in flush
[Wed Oct 02 13:01:41.075798 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     self._flush(objects)
[Wed Oct 02 13:01:41.075811 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/orm/session.py", line 3588, in _flush
[Wed Oct 02 13:01:41.075819 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     with util.safe_reraise():
[Wed Oct 02 13:01:41.075831 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
[Wed Oct 02 13:01:41.075840 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     compat.raise_(
[Wed Oct 02 13:01:41.075852 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/util/compat.py", line 211, in raise_
[Wed Oct 02 13:01:41.075860 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     raise exception
[Wed Oct 02 13:01:41.075873 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/orm/session.py", line 3549, in _flush
[Wed Oct 02 13:01:41.075881 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     flush_context.execute()
[Wed Oct 02 13:01:41.075894 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/orm/unitofwork.py", line 456, in execute
[Wed Oct 02 13:01:41.075902 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     rec.execute(self)
[Wed Oct 02 13:01:41.075914 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/orm/unitofwork.py", line 630, in execute
[Wed Oct 02 13:01:41.075922 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     util.preloaded.orm_persistence.save_obj(
[Wed Oct 02 13:01:41.075935 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/orm/persistence.py", line 245, in save_obj
[Wed Oct 02 13:01:41.075943 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     _emit_insert_statements(
[Wed Oct 02 13:01:41.075956 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/orm/persistence.py", line 1238, in _emit_insert_statements
[Wed Oct 02 13:01:41.075976 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     result = connection._execute_20(
[Wed Oct 02 13:01:41.075984 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]              ^^^^^^^^^^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.075998 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 1710, in _execute_20
[Wed Oct 02 13:01:41.076007 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     return meth(self, args_10style, kwargs_10style, execution_options)
[Wed Oct 02 13:01:41.076014 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.076028 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/sql/elements.py", line 334, in _execute_on_connection
[Wed Oct 02 13:01:41.076037 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     return connection._execute_clauseelement(
[Wed Oct 02 13:01:41.076044 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.076057 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 1577, in _execute_clauseelement
[Wed Oct 02 13:01:41.076066 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     ret = self._execute_context(
[Wed Oct 02 13:01:41.076073 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]           ^^^^^^^^^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.076086 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 1953, in _execute_context
[Wed Oct 02 13:01:41.076094 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     self._handle_dbapi_exception(
[Wed Oct 02 13:01:41.076107 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 2134, in _handle_dbapi_exception
[Wed Oct 02 13:01:41.076115 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     util.raise_(
[Wed Oct 02 13:01:41.076127 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/util/compat.py", line 211, in raise_
[Wed Oct 02 13:01:41.076135 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     raise exception
[Wed Oct 02 13:01:41.076148 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 1910, in _execute_context
[Wed Oct 02 13:01:41.076156 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     self.dialect.do_execute(
[Wed Oct 02 13:01:41.076169 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/engine/default.py", line 736, in do_execute
[Wed Oct 02 13:01:41.076177 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     cursor.execute(statement, parameters)
[Wed Oct 02 13:01:41.076209 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398] sqlalchemy.exc.IntegrityError: (raised as a result of Query-invoked autoflush; consider using a session.no_autoflush block if this flush is occurring prematurely)
[Wed Oct 02 13:01:41.076218 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398] (psycopg2.errors.UniqueViolation) duplicate key value violates unique constraint "copr_name_for_user_uniq"
[Wed Oct 02 13:01:41.076226 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398] DETAIL:  Key (user_id, name)=(5576, containers-buildah-5765) already exists.
[Wed Oct 02 13:01:41.076245 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398] 
[Wed Oct 02 13:01:41.076254 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398] [SQL: INSERT INTO copr (name, homepage, contact, repos, created_on, description, instructions, deleted, playground, auto_createrepo, user_id, group_id, forked_from_id, build_enable_net, unlisted_on_hp, latest_indexed_data_update, persistent, auto_prune, isolation, bootstrap, follow_fedora_branching, scm_repo_url, scm_api_type, delete_after, multilib, module_hotfixes, runtime_dependencies, fedora_review, appstream, packit_forge_projects_allowed, repo_priority) VALUES (%(name)s, %(homepage)s, %(contact)s, %(repos)s, %(created_on)s, %(description)s, %(instructions)s, %(deleted)s, %(playground)s, %(auto_createrepo)s, %(user_id)s, %(group_id)s, %(forked_from_id)s, %(build_enable_net)s, %(unlisted_on_hp)s, %(latest_indexed_data_update)s, %(persistent)s, %(auto_prune)s, %(isolation)s, %(bootstrap)s, %(follow_fedora_branching)s, %(scm_repo_url)s, %(scm_api_type)s, %(delete_after)s, %(multilib)s, %(module_hotfixes)s, %(runtime_dependencies)s, %(fedora_review)s, %(appstream)s, %(packit_forge_projects_allowed)s, %(repo_priority)s) RETURNING copr.id]
[Wed Oct 02 13:01:41.076265 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398] [parameters: {'name': 'containers-buildah-5765', 'homepage': None, 'contact': 'https://github.com/packit/packit/issues', 'repos': '', 'created_on': 1727874100, 'description': 'Continuous builds initiated by Packit service.\\nFor more info check out https://packit.dev/', 'instructions': 'You can check out the upstream project https://github.com/containers/buildah.git to find out how to consume these builds. This copr project is created and handled by the Packit project (https://packit.dev/).', 'deleted': False, 'playground': False, 'auto_createrepo': True, 'user_id': 5576, 'group_id': None, 'forked_from_id': None, 'build_enable_net': False, 'unlisted_on_hp': True, 'latest_indexed_data_update': None, 'persistent': False, 'auto_prune': True, 'isolation': 'default', 'bootstrap': 'default', 'follow_fedora_branching': False, 'scm_repo_url': None, 'scm_api_type': None, 'delete_after': datetime.datetime(2024, 12, 2, 0, 0), 'multilib': False, 'module_hotfixes': False, 'runtime_dependencies': '', 'fedora_review': False, 'appstream': False, 'packit_forge_projects_allowed': '', 'repo_priority': None}]
[Wed Oct 02 13:01:41.076276 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398] (Background on this error at: https://sqlalche.me/e/14/gkpj)
[Wed Oct 02 13:01:41.076299 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398] 
[Wed Oct 02 13:01:41.076308 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398] During handling of the above exception, another exception occurred:
[Wed Oct 02 13:01:41.076316 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398] 
[Wed Oct 02 13:01:41.076354 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398] Traceback (most recent call last):
[Wed Oct 02 13:01:41.076777 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib/python3.12/site-packages/flask/app.py", line 1823, in full_dispatch_request
[Wed Oct 02 13:01:41.076793 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     rv = self.dispatch_request()
[Wed Oct 02 13:01:41.076816 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]          ^^^^^^^^^^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.076833 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib/python3.12/site-packages/flask/app.py", line 1799, in dispatch_request
[Wed Oct 02 13:01:41.076842 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
[Wed Oct 02 13:01:41.076849 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.076878 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib/python3.12/site-packages/flask_restx/api.py", line 404, in wrapper
[Wed Oct 02 13:01:41.076887 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     resp = resource(*args, **kwargs)
[Wed Oct 02 13:01:41.076894 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]            ^^^^^^^^^^^^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.076908 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib/python3.12/site-packages/flask/views.py", line 107, in view
[Wed Oct 02 13:01:41.076916 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     return current_app.ensure_sync(self.dispatch_request)(**kwargs)
[Wed Oct 02 13:01:41.076924 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.076937 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib/python3.12/site-packages/flask_restx/resource.py", line 46, in dispatch_request
[Wed Oct 02 13:01:41.076946 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     resp = meth(*args, **kwargs)
[Wed Oct 02 13:01:41.076953 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]            ^^^^^^^^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.076966 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/share/copr/coprs_frontend/coprs/views/misc.py", line 330, in check_if_api_login_is_required
[Wed Oct 02 13:01:41.076975 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     return endpoint_method(self, *args, **kwargs)
[Wed Oct 02 13:01:41.076982 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.076996 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/share/copr/coprs_frontend/coprs/views/apiv3_ns/__init__.py", line 364, in convert_query_parameters_of_endpoint_method
[Wed Oct 02 13:01:41.077005 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     return endpoint_method(self, *args, **kwargs)
[Wed Oct 02 13:01:41.077012 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.077025 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib/python3.12/site-packages/flask_restx/marshalling.py", line 244, in wrapper
[Wed Oct 02 13:01:41.077034 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     resp = f(*args, **kwargs)
[Wed Oct 02 13:01:41.077041 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]            ^^^^^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.077054 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/share/copr/coprs_frontend/coprs/views/apiv3_ns/apiv3_projects.py", line 270, in post
[Wed Oct 02 13:01:41.077062 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     app.log.debug("Racy attempt to create %s/%s", ownername, projectname)
[Wed Oct 02 13:01:41.077070 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     ^^^^^^^
[Wed Oct 02 13:01:41.077089 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398] AttributeError: 'Flask' object has no attribute 'log'
[Wed Oct 02 13:01:41.077109 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398] 
[Wed Oct 02 13:01:41.077117 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398] During handling of the above exception, another exception occurred:
[Wed Oct 02 13:01:41.077125 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398] 
[Wed Oct 02 13:01:41.077151 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398] Traceback (most recent call last):
[Wed Oct 02 13:01:41.077762 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib/python3.12/site-packages/flask_restx/api.py", line 671, in error_router
[Wed Oct 02 13:01:41.077779 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     return self.handle_error(e)
[Wed Oct 02 13:01:41.077787 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]            ^^^^^^^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.077802 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib/python3.12/site-packages/flask_restx/api.py", line 718, in handle_error
[Wed Oct 02 13:01:41.077810 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     result = handler(e)
[Wed Oct 02 13:01:41.077818 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]              ^^^^^^^^^^
[Wed Oct 02 13:01:41.077831 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/share/copr/coprs_frontend/coprs/__init__.py", line 229, in handle_exceptions_api
[Wed Oct 02 13:01:41.077839 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     return handler.handle_error(error)
[Wed Oct 02 13:01:41.077847 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.077860 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/share/copr/coprs_frontend/coprs/error_handlers.py", line 151, in handle_error
[Wed Oct 02 13:01:41.077868 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     body, code, headers = super().handle_error(error)
[Wed Oct 02 13:01:41.077876 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.077889 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/share/copr/coprs_frontend/coprs/error_handlers.py", line 39, in handle_error
[Wed Oct 02 13:01:41.077897 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     message = self.message(error)
[Wed Oct 02 13:01:41.077905 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]               ^^^^^^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.077917 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/share/copr/coprs_frontend/coprs/error_handlers.py", line 97, in message
[Wed Oct 02 13:01:41.077926 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     self._log_admin_only_exception()
[Wed Oct 02 13:01:41.077938 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/share/copr/coprs_frontend/coprs/error_handlers.py", line 105, in _log_admin_only_exception
[Wed Oct 02 13:01:41.077946 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     flask.g.user.name if flask.g.user else None)
[Wed Oct 02 13:01:41.077954 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     ^^^^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.077968 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/share/copr/coprs_frontend/coprs/models.py", line 136, in name
[Wed Oct 02 13:01:41.077976 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     return self.username
[Wed Oct 02 13:01:41.077983 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]            ^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.077996 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/orm/attributes.py", line 487, in __get__
[Wed Oct 02 13:01:41.078004 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     return self.impl.get(state, dict_)
[Wed Oct 02 13:01:41.078012 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.078039 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/orm/attributes.py", line 959, in get
[Wed Oct 02 13:01:41.078048 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     value = self._fire_loader_callables(state, key, passive)
[Wed Oct 02 13:01:41.078055 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.078069 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/orm/attributes.py", line 990, in _fire_loader_callables
[Wed Oct 02 13:01:41.078077 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     return state._load_expired(state, passive)
[Wed Oct 02 13:01:41.078085 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.078098 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/orm/state.py", line 712, in _load_expired
[Wed Oct 02 13:01:41.078106 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     self.manager.expired_attribute_loader(self, toload, passive)
[Wed Oct 02 13:01:41.078119 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/orm/loading.py", line 1451, in load_scalar_attributes
[Wed Oct 02 13:01:41.078127 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     result = load_on_ident(
[Wed Oct 02 13:01:41.078135 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]              ^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.078148 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/orm/loading.py", line 407, in load_on_ident
[Wed Oct 02 13:01:41.078156 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     return load_on_pk_identity(
[Wed Oct 02 13:01:41.078164 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]            ^^^^^^^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.078176 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/orm/loading.py", line 530, in load_on_pk_identity
[Wed Oct 02 13:01:41.078184 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     session.execute(
[Wed Oct 02 13:01:41.079090 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/orm/session.py", line 1716, in execute
[Wed Oct 02 13:01:41.079111 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     conn = self._connection_for_bind(bind)
[Wed Oct 02 13:01:41.079119 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.079136 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/orm/session.py", line 1555, in _connection_for_bind
[Wed Oct 02 13:01:41.079144 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     return self._transaction._connection_for_bind(
[Wed Oct 02 13:01:41.079152 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.079165 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/orm/session.py", line 724, in _connection_for_bind
[Wed Oct 02 13:01:41.079173 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     self._assert_active()
[Wed Oct 02 13:01:41.079186 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/orm/session.py", line 604, in _assert_active
[Wed Oct 02 13:01:41.079209 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     raise sa_exc.PendingRollbackError(
[Wed Oct 02 13:01:41.079243 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398] sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (raised as a result of Query-invoked autoflush; consider using a session.no_autoflush block if this flush is occurring prematurely)
[Wed Oct 02 13:01:41.079254 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398] (psycopg2.errors.UniqueViolation) duplicate key value violates unique constraint "copr_name_for_user_uniq"
[Wed Oct 02 13:01:41.079262 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398] DETAIL:  Key (user_id, name)=(5576, containers-buildah-5765) already exists.
[Wed Oct 02 13:01:41.079270 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398] 
[Wed Oct 02 13:01:41.079278 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398] [SQL: INSERT INTO copr (name, homepage, contact, repos, created_on, description, instructions, deleted, playground, auto_createrepo, user_id, group_id, forked_from_id, build_enable_net, unlisted_on_hp, latest_indexed_data_update, persistent, auto_prune, isolation, bootstrap, follow_fedora_branching, scm_repo_url, scm_api_type, delete_after, multilib, module_hotfixes, runtime_dependencies, fedora_review, appstream, packit_forge_projects_allowed, repo_priority) VALUES (%(name)s, %(homepage)s, %(contact)s, %(repos)s, %(created_on)s, %(description)s, %(instructions)s, %(deleted)s, %(playground)s, %(auto_createrepo)s, %(user_id)s, %(group_id)s, %(forked_from_id)s, %(build_enable_net)s, %(unlisted_on_hp)s, %(latest_indexed_data_update)s, %(persistent)s, %(auto_prune)s, %(isolation)s, %(bootstrap)s, %(follow_fedora_branching)s, %(scm_repo_url)s, %(scm_api_type)s, %(delete_after)s, %(multilib)s, %(module_hotfixes)s, %(runtime_dependencies)s, %(fedora_review)s, %(appstream)s, %(packit_forge_projects_allowed)s, %(repo_priority)s) RETURNING copr.id]
[Wed Oct 02 13:01:41.079289 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398] [parameters: {'name': 'containers-buildah-5765', 'homepage': None, 'contact': 'https://github.com/packit/packit/issues', 'repos': '', 'created_on': 1727874100, 'description': 'Continuous builds initiated by Packit service.\\nFor more info check out https://packit.dev/', 'instructions': 'You can check out the upstream project https://github.com/containers/buildah.git to find out how to consume these builds. This copr project is created and handled by the Packit project (https://packit.dev/).', 'deleted': False, 'playground': False, 'auto_createrepo': True, 'user_id': 5576, 'group_id': None, 'forked_from_id': None, 'build_enable_net': False, 'unlisted_on_hp': True, 'latest_indexed_data_update': None, 'persistent': False, 'auto_prune': True, 'isolation': 'default', 'bootstrap': 'default', 'follow_fedora_branching': False, 'scm_repo_url': None, 'scm_api_type': None, 'delete_after': datetime.datetime(2024, 12, 2, 0, 0), 'multilib': False, 'module_hotfixes': False, 'runtime_dependencies': '', 'fedora_review': False, 'appstream': False, 'packit_forge_projects_allowed': '', 'repo_priority': None}]
[Wed Oct 02 13:01:41.079300 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398] (Background on this error at: https://sqlalche.me/e/14/gkpj) (Background on this error at: https://sqlalche.me/e/14/7s2a)
[Wed Oct 02 13:01:41.079322 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398] 
[Wed Oct 02 13:01:41.079368 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398] During handling of the above exception, another exception occurred:
[Wed Oct 02 13:01:41.079383 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398] 
[Wed Oct 02 13:01:41.079441 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398] Traceback (most recent call last):
[Wed Oct 02 13:01:41.080080 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib/python3.12/site-packages/flask/app.py", line 2529, in wsgi_app
[Wed Oct 02 13:01:41.080098 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     response = self.full_dispatch_request()
[Wed Oct 02 13:01:41.080105 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.080121 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib/python3.12/site-packages/flask/app.py", line 1825, in full_dispatch_request
[Wed Oct 02 13:01:41.080129 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     rv = self.handle_user_exception(e)
[Wed Oct 02 13:01:41.080137 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.080150 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib/python3.12/site-packages/flask_restx/api.py", line 673, in error_router
[Wed Oct 02 13:01:41.080158 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     return original_handler(f)
[Wed Oct 02 13:01:41.080166 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]            ^^^^^^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.080179 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib/python3.12/site-packages/flask/app.py", line 1676, in handle_user_exception
[Wed Oct 02 13:01:41.080187 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     return self.ensure_sync(handler)(e)
[Wed Oct 02 13:01:41.080195 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.080208 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/share/copr/coprs_frontend/coprs/__init__.py", line 219, in handle_exceptions
[Wed Oct 02 13:01:41.080216 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     return error_handler.handle_error(error)
[Wed Oct 02 13:01:41.080223 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.080236 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/share/copr/coprs_frontend/coprs/error_handlers.py", line 39, in handle_error
[Wed Oct 02 13:01:41.080244 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     message = self.message(error)
[Wed Oct 02 13:01:41.080252 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]               ^^^^^^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.080264 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/share/copr/coprs_frontend/coprs/error_handlers.py", line 97, in message
[Wed Oct 02 13:01:41.080273 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     self._log_admin_only_exception()
[Wed Oct 02 13:01:41.080285 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/share/copr/coprs_frontend/coprs/error_handlers.py", line 105, in _log_admin_only_exception
[Wed Oct 02 13:01:41.080293 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     flask.g.user.name if flask.g.user else None)
[Wed Oct 02 13:01:41.080301 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     ^^^^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.080314 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/share/copr/coprs_frontend/coprs/models.py", line 136, in name
[Wed Oct 02 13:01:41.080322 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     return self.username
[Wed Oct 02 13:01:41.080367 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]            ^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.080386 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/orm/attributes.py", line 487, in __get__
[Wed Oct 02 13:01:41.080395 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     return self.impl.get(state, dict_)
[Wed Oct 02 13:01:41.080403 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.080416 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/orm/attributes.py", line 959, in get
[Wed Oct 02 13:01:41.080425 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     value = self._fire_loader_callables(state, key, passive)
[Wed Oct 02 13:01:41.080432 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.080446 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/orm/attributes.py", line 990, in _fire_loader_callables
[Wed Oct 02 13:01:41.080454 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     return state._load_expired(state, passive)
[Wed Oct 02 13:01:41.080462 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.080475 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/orm/state.py", line 712, in _load_expired
[Wed Oct 02 13:01:41.080483 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     self.manager.expired_attribute_loader(self, toload, passive)
[Wed Oct 02 13:01:41.080496 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/orm/loading.py", line 1451, in load_scalar_attributes
[Wed Oct 02 13:01:41.080504 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     result = load_on_ident(
[Wed Oct 02 13:01:41.080511 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]              ^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.080524 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/orm/loading.py", line 407, in load_on_ident
[Wed Oct 02 13:01:41.080533 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     return load_on_pk_identity(
[Wed Oct 02 13:01:41.080540 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]            ^^^^^^^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.080553 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/orm/loading.py", line 530, in load_on_pk_identity
[Wed Oct 02 13:01:41.080561 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     session.execute(
[Wed Oct 02 13:01:41.080574 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/orm/session.py", line 1716, in execute
[Wed Oct 02 13:01:41.080582 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     conn = self._connection_for_bind(bind)
[Wed Oct 02 13:01:41.080589 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.080602 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/orm/session.py", line 1555, in _connection_for_bind
[Wed Oct 02 13:01:41.080611 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     return self._transaction._connection_for_bind(
[Wed Oct 02 13:01:41.080618 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.080643 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/orm/session.py", line 724, in _connection_for_bind
[Wed Oct 02 13:01:41.080652 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     self._assert_active()
[Wed Oct 02 13:01:41.080665 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/orm/session.py", line 604, in _assert_active
[Wed Oct 02 13:01:41.080673 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     raise sa_exc.PendingRollbackError(
[Wed Oct 02 13:01:41.080701 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398] sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (raised as a result of Query-invoked autoflush; consider using a session.no_autoflush block if this flush is occurring prematurely)
[Wed Oct 02 13:01:41.080711 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398] (psycopg2.errors.UniqueViolation) duplicate key value violates unique constraint "copr_name_for_user_uniq"
[Wed Oct 02 13:01:41.080719 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398] DETAIL:  Key (user_id, name)=(5576, containers-buildah-5765) already exists.
[Wed Oct 02 13:01:41.080727 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398] 
[Wed Oct 02 13:01:41.080735 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398] [SQL: INSERT INTO copr (name, homepage, contact, repos, created_on, description, instructions, deleted, playground, auto_createrepo, user_id, group_id, forked_from_id, build_enable_net, unlisted_on_hp, latest_indexed_data_update, persistent, auto_prune, isolation, bootstrap, follow_fedora_branching, scm_repo_url, scm_api_type, delete_after, multilib, module_hotfixes, runtime_dependencies, fedora_review, appstream, packit_forge_projects_allowed, repo_priority) VALUES (%(name)s, %(homepage)s, %(contact)s, %(repos)s, %(created_on)s, %(description)s, %(instructions)s, %(deleted)s, %(playground)s, %(auto_createrepo)s, %(user_id)s, %(group_id)s, %(forked_from_id)s, %(build_enable_net)s, %(unlisted_on_hp)s, %(latest_indexed_data_update)s, %(persistent)s, %(auto_prune)s, %(isolation)s, %(bootstrap)s, %(follow_fedora_branching)s, %(scm_repo_url)s, %(scm_api_type)s, %(delete_after)s, %(multilib)s, %(module_hotfixes)s, %(runtime_dependencies)s, %(fedora_review)s, %(appstream)s, %(packit_forge_projects_allowed)s, %(repo_priority)s) RETURNING copr.id]
[Wed Oct 02 13:01:41.080746 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398] [parameters: {'name': 'containers-buildah-5765', 'homepage': None, 'contact': 'https://github.com/packit/packit/issues', 'repos': '', 'created_on': 1727874100, 'description': 'Continuous builds initiated by Packit service.\\nFor more info check out https://packit.dev/', 'instructions': 'You can check out the upstream project https://github.com/containers/buildah.git to find out how to consume these builds. This copr project is created and handled by the Packit project (https://packit.dev/).', 'deleted': False, 'playground': False, 'auto_createrepo': True, 'user_id': 5576, 'group_id': None, 'forked_from_id': None, 'build_enable_net': False, 'unlisted_on_hp': True, 'latest_indexed_data_update': None, 'persistent': False, 'auto_prune': True, 'isolation': 'default', 'bootstrap': 'default', 'follow_fedora_branching': False, 'scm_repo_url': None, 'scm_api_type': None, 'delete_after': datetime.datetime(2024, 12, 2, 0, 0), 'multilib': False, 'module_hotfixes': False, 'runtime_dependencies': '', 'fedora_review': False, 'appstream': False, 'packit_forge_projects_allowed': '', 'repo_priority': None}]
[Wed Oct 02 13:01:41.080768 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398] (Background on this error at: https://sqlalche.me/e/14/gkpj) (Background on this error at: https://sqlalche.me/e/14/7s2a)
[Wed Oct 02 13:01:41.080790 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398] 
[Wed Oct 02 13:01:41.080798 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398] During handling of the above exception, another exception occurred:
[Wed Oct 02 13:01:41.080836 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398] 
[Wed Oct 02 13:01:41.080853 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398] Traceback (most recent call last):
[Wed Oct 02 13:01:41.081434 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib/python3.12/site-packages/flask_restx/api.py", line 671, in error_router
[Wed Oct 02 13:01:41.081451 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     return self.handle_error(e)
[Wed Oct 02 13:01:41.081458 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]            ^^^^^^^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.081474 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib/python3.12/site-packages/flask_restx/api.py", line 718, in handle_error
[Wed Oct 02 13:01:41.081482 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     result = handler(e)
[Wed Oct 02 13:01:41.081489 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]              ^^^^^^^^^^
[Wed Oct 02 13:01:41.081503 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/share/copr/coprs_frontend/coprs/__init__.py", line 229, in handle_exceptions_api
[Wed Oct 02 13:01:41.081511 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     return handler.handle_error(error)
[Wed Oct 02 13:01:41.081519 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.081532 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/share/copr/coprs_frontend/coprs/error_handlers.py", line 151, in handle_error
[Wed Oct 02 13:01:41.081540 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     body, code, headers = super().handle_error(error)
[Wed Oct 02 13:01:41.081548 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.081561 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/share/copr/coprs_frontend/coprs/error_handlers.py", line 39, in handle_error
[Wed Oct 02 13:01:41.081569 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     message = self.message(error)
[Wed Oct 02 13:01:41.081576 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]               ^^^^^^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.081589 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/share/copr/coprs_frontend/coprs/error_handlers.py", line 97, in message
[Wed Oct 02 13:01:41.081597 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     self._log_admin_only_exception()
[Wed Oct 02 13:01:41.081610 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/share/copr/coprs_frontend/coprs/error_handlers.py", line 105, in _log_admin_only_exception
[Wed Oct 02 13:01:41.081618 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     flask.g.user.name if flask.g.user else None)
[Wed Oct 02 13:01:41.081626 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     ^^^^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.081638 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/share/copr/coprs_frontend/coprs/models.py", line 136, in name
[Wed Oct 02 13:01:41.081646 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     return self.username
[Wed Oct 02 13:01:41.081668 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]            ^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.081683 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/orm/attributes.py", line 487, in __get__
[Wed Oct 02 13:01:41.081691 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     return self.impl.get(state, dict_)
[Wed Oct 02 13:01:41.081698 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.081712 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/orm/attributes.py", line 959, in get
[Wed Oct 02 13:01:41.081720 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     value = self._fire_loader_callables(state, key, passive)
[Wed Oct 02 13:01:41.081728 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.081741 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/orm/attributes.py", line 990, in _fire_loader_callables
[Wed Oct 02 13:01:41.081749 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     return state._load_expired(state, passive)
[Wed Oct 02 13:01:41.081757 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.081769 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/orm/state.py", line 712, in _load_expired
[Wed Oct 02 13:01:41.081777 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     self.manager.expired_attribute_loader(self, toload, passive)
[Wed Oct 02 13:01:41.081790 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/orm/loading.py", line 1451, in load_scalar_attributes
[Wed Oct 02 13:01:41.081799 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     result = load_on_ident(
[Wed Oct 02 13:01:41.081806 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]              ^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.081819 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/orm/loading.py", line 407, in load_on_ident
[Wed Oct 02 13:01:41.081827 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     return load_on_pk_identity(
[Wed Oct 02 13:01:41.081835 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]            ^^^^^^^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.081847 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/orm/loading.py", line 530, in load_on_pk_identity
[Wed Oct 02 13:01:41.081856 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     session.execute(
[Wed Oct 02 13:01:41.081868 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/orm/session.py", line 1716, in execute
[Wed Oct 02 13:01:41.081877 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     conn = self._connection_for_bind(bind)
[Wed Oct 02 13:01:41.081884 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.081897 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/orm/session.py", line 1555, in _connection_for_bind
[Wed Oct 02 13:01:41.081905 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     return self._transaction._connection_for_bind(
[Wed Oct 02 13:01:41.081923 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.081938 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/orm/session.py", line 724, in _connection_for_bind
[Wed Oct 02 13:01:41.081946 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     self._assert_active()
[Wed Oct 02 13:01:41.081959 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/orm/session.py", line 604, in _assert_active
[Wed Oct 02 13:01:41.081967 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     raise sa_exc.PendingRollbackError(
[Wed Oct 02 13:01:41.081994 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398] sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (raised as a result of Query-invoked autoflush; consider using a session.no_autoflush block if this flush is occurring prematurely)
[Wed Oct 02 13:01:41.082004 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398] (psycopg2.errors.UniqueViolation) duplicate key value violates unique constraint "copr_name_for_user_uniq"
[Wed Oct 02 13:01:41.082012 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398] DETAIL:  Key (user_id, name)=(5576, containers-buildah-5765) already exists.
[Wed Oct 02 13:01:41.082020 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398] 
[Wed Oct 02 13:01:41.082028 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398] [SQL: INSERT INTO copr (name, homepage, contact, repos, created_on, description, instructions, deleted, playground, auto_createrepo, user_id, group_id, forked_from_id, build_enable_net, unlisted_on_hp, latest_indexed_data_update, persistent, auto_prune, isolation, bootstrap, follow_fedora_branching, scm_repo_url, scm_api_type, delete_after, multilib, module_hotfixes, runtime_dependencies, fedora_review, appstream, packit_forge_projects_allowed, repo_priority) VALUES (%(name)s, %(homepage)s, %(contact)s, %(repos)s, %(created_on)s, %(description)s, %(instructions)s, %(deleted)s, %(playground)s, %(auto_createrepo)s, %(user_id)s, %(group_id)s, %(forked_from_id)s, %(build_enable_net)s, %(unlisted_on_hp)s, %(latest_indexed_data_update)s, %(persistent)s, %(auto_prune)s, %(isolation)s, %(bootstrap)s, %(follow_fedora_branching)s, %(scm_repo_url)s, %(scm_api_type)s, %(delete_after)s, %(multilib)s, %(module_hotfixes)s, %(runtime_dependencies)s, %(fedora_review)s, %(appstream)s, %(packit_forge_projects_allowed)s, %(repo_priority)s) RETURNING copr.id]
[Wed Oct 02 13:01:41.082039 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398] [parameters: {'name': 'containers-buildah-5765', 'homepage': None, 'contact': 'https://github.com/packit/packit/issues', 'repos': '', 'created_on': 1727874100, 'description': 'Continuous builds initiated by Packit service.\\nFor more info check out https://packit.dev/', 'instructions': 'You can check out the upstream project https://github.com/containers/buildah.git to find out how to consume these builds. This copr project is created and handled by the Packit project (https://packit.dev/).', 'deleted': False, 'playground': False, 'auto_createrepo': True, 'user_id': 5576, 'group_id': None, 'forked_from_id': None, 'build_enable_net': False, 'unlisted_on_hp': True, 'latest_indexed_data_update': None, 'persistent': False, 'auto_prune': True, 'isolation': 'default', 'bootstrap': 'default', 'follow_fedora_branching': False, 'scm_repo_url': None, 'scm_api_type': None, 'delete_after': datetime.datetime(2024, 12, 2, 0, 0), 'multilib': False, 'module_hotfixes': False, 'runtime_dependencies': '', 'fedora_review': False, 'appstream': False, 'packit_forge_projects_allowed': '', 'repo_priority': None}]
[Wed Oct 02 13:01:41.082060 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398] (Background on this error at: https://sqlalche.me/e/14/gkpj) (Background on this error at: https://sqlalche.me/e/14/7s2a)
[Wed Oct 02 13:01:41.082081 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398] 
[Wed Oct 02 13:01:41.082090 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398] During handling of the above exception, another exception occurred:
[Wed Oct 02 13:01:41.082098 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398] 
[Wed Oct 02 13:01:41.082112 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398] Traceback (most recent call last):
[Wed Oct 02 13:01:41.083004 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib/python3.12/site-packages/flask/app.py", line 2552, in __call__
[Wed Oct 02 13:01:41.083027 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     return self.wsgi_app(environ, start_response)
[Wed Oct 02 13:01:41.083037 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.083058 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib/python3.12/site-packages/flask/app.py", line 2532, in wsgi_app
[Wed Oct 02 13:01:41.083068 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     response = self.handle_exception(e)
[Wed Oct 02 13:01:41.083078 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]                ^^^^^^^^^^^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.083095 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib/python3.12/site-packages/flask_restx/api.py", line 673, in error_router
[Wed Oct 02 13:01:41.083105 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     return original_handler(f)
[Wed Oct 02 13:01:41.083114 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]            ^^^^^^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.083132 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib/python3.12/site-packages/flask/app.py", line 1721, in handle_exception
[Wed Oct 02 13:01:41.083143 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     self.log_exception(exc_info)
[Wed Oct 02 13:01:41.083162 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib/python3.12/site-packages/flask/app.py", line 1744, in log_exception
[Wed Oct 02 13:01:41.083173 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     self.logger.error(
[Wed Oct 02 13:01:41.083191 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/logging/__init__.py", line 1568, in error
[Wed Oct 02 13:01:41.083202 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     self._log(ERROR, msg, args, **kwargs)
[Wed Oct 02 13:01:41.083219 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/logging/__init__.py", line 1684, in _log
[Wed Oct 02 13:01:41.083230 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     self.handle(record)
[Wed Oct 02 13:01:41.083248 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/logging/__init__.py", line 1695, in handle
[Wed Oct 02 13:01:41.083259 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     maybe_record = self.filter(record)
[Wed Oct 02 13:01:41.083268 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]                    ^^^^^^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.083287 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/logging/__init__.py", line 858, in filter
[Wed Oct 02 13:01:41.083298 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     result = f.filter(record)
[Wed Oct 02 13:01:41.083357 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]              ^^^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.083384 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/share/copr/coprs_frontend/coprs/log.py", line 33, in filter
[Wed Oct 02 13:01:41.083395 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     record.user = self._user()
[Wed Oct 02 13:01:41.083404 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]                   ^^^^^^^^^^^^
[Wed Oct 02 13:01:41.083421 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/share/copr/coprs_frontend/coprs/log.py", line 41, in _user
[Wed Oct 02 13:01:41.083431 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     return flask.g.user.name
[Wed Oct 02 13:01:41.083441 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]            ^^^^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.083458 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/share/copr/coprs_frontend/coprs/models.py", line 136, in name
[Wed Oct 02 13:01:41.083468 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     return self.username
[Wed Oct 02 13:01:41.083478 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]            ^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.083495 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/orm/attributes.py", line 487, in __get__
[Wed Oct 02 13:01:41.083505 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     return self.impl.get(state, dict_)
[Wed Oct 02 13:01:41.083515 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.083532 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/orm/attributes.py", line 959, in get
[Wed Oct 02 13:01:41.083542 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     value = self._fire_loader_callables(state, key, passive)
[Wed Oct 02 13:01:41.083552 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.083569 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/orm/attributes.py", line 990, in _fire_loader_callables
[Wed Oct 02 13:01:41.083580 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     return state._load_expired(state, passive)
[Wed Oct 02 13:01:41.083589 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.083606 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/orm/state.py", line 712, in _load_expired
[Wed Oct 02 13:01:41.083616 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     self.manager.expired_attribute_loader(self, toload, passive)
[Wed Oct 02 13:01:41.083632 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/orm/loading.py", line 1451, in load_scalar_attributes
[Wed Oct 02 13:01:41.083643 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     result = load_on_ident(
[Wed Oct 02 13:01:41.083652 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]              ^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.083669 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/orm/loading.py", line 407, in load_on_ident
[Wed Oct 02 13:01:41.083679 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     return load_on_pk_identity(
[Wed Oct 02 13:01:41.083702 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]            ^^^^^^^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.083720 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/orm/loading.py", line 530, in load_on_pk_identity
[Wed Oct 02 13:01:41.083731 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     session.execute(
[Wed Oct 02 13:01:41.083747 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/orm/session.py", line 1716, in execute
[Wed Oct 02 13:01:41.083758 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     conn = self._connection_for_bind(bind)
[Wed Oct 02 13:01:41.083767 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.083784 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/orm/session.py", line 1555, in _connection_for_bind
[Wed Oct 02 13:01:41.083794 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     return self._transaction._connection_for_bind(
[Wed Oct 02 13:01:41.083804 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[Wed Oct 02 13:01:41.083820 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/orm/session.py", line 724, in _connection_for_bind
[Wed Oct 02 13:01:41.083831 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     self._assert_active()
[Wed Oct 02 13:01:41.083847 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]   File "/usr/lib64/python3.12/site-packages/sqlalchemy/orm/session.py", line 604, in _assert_active
[Wed Oct 02 13:01:41.083857 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398]     raise sa_exc.PendingRollbackError(
[Wed Oct 02 13:01:41.083895 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398] sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (raised as a result of Query-invoked autoflush; consider using a session.no_autoflush block if this flush is occurring prematurely)
[Wed Oct 02 13:01:41.083907 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398] (psycopg2.errors.UniqueViolation) duplicate key value violates unique constraint "copr_name_for_user_uniq"
[Wed Oct 02 13:01:41.083917 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398] DETAIL:  Key (user_id, name)=(5576, containers-buildah-5765) already exists.
[Wed Oct 02 13:01:41.083927 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398] 
[Wed Oct 02 13:01:41.083938 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398] [SQL: INSERT INTO copr (name, homepage, contact, repos, created_on, description, instructions, deleted, playground, auto_createrepo, user_id, group_id, forked_from_id, build_enable_net, unlisted_on_hp, latest_indexed_data_update, persistent, auto_prune, isolation, bootstrap, follow_fedora_branching, scm_repo_url, scm_api_type, delete_after, multilib, module_hotfixes, runtime_dependencies, fedora_review, appstream, packit_forge_projects_allowed, repo_priority) VALUES (%(name)s, %(homepage)s, %(contact)s, %(repos)s, %(created_on)s, %(description)s, %(instructions)s, %(deleted)s, %(playground)s, %(auto_createrepo)s, %(user_id)s, %(group_id)s, %(forked_from_id)s, %(build_enable_net)s, %(unlisted_on_hp)s, %(latest_indexed_data_update)s, %(persistent)s, %(auto_prune)s, %(isolation)s, %(bootstrap)s, %(follow_fedora_branching)s, %(scm_repo_url)s, %(scm_api_type)s, %(delete_after)s, %(multilib)s, %(module_hotfixes)s, %(runtime_dependencies)s, %(fedora_review)s, %(appstream)s, %(packit_forge_projects_allowed)s, %(repo_priority)s) RETURNING copr.id]
[Wed Oct 02 13:01:41.083967 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398] [parameters: {'name': 'containers-buildah-5765', 'homepage': None, 'contact': 'https://github.com/packit/packit/issues', 'repos': '', 'created_on': 1727874100, 'description': 'Continuous builds initiated by Packit service.\\nFor more info check out https://packit.dev/', 'instructions': 'You can check out the upstream project https://github.com/containers/buildah.git to find out how to consume these builds. This copr project is created and handled by the Packit project (https://packit.dev/).', 'deleted': False, 'playground': False, 'auto_createrepo': True, 'user_id': 5576, 'group_id': None, 'forked_from_id': None, 'build_enable_net': False, 'unlisted_on_hp': True, 'latest_indexed_data_update': None, 'persistent': False, 'auto_prune': True, 'isolation': 'default', 'bootstrap': 'default', 'follow_fedora_branching': False, 'scm_repo_url': None, 'scm_api_type': None, 'delete_after': datetime.datetime(2024, 12, 2, 0, 0), 'multilib': False, 'module_hotfixes': False, 'runtime_dependencies': '', 'fedora_review': False, 'appstream': False, 'packit_forge_projects_allowed': '', 'repo_priority': None}]
[Wed Oct 02 13:01:41.083982 2024] [wsgi:error] [pid 167707:tid 167710] [remote 107.20.230.14:55398] (Background on this error at: https://sqlalche.me/e/14/gkpj) (Background on this error at: https://sqlalche.me/e/14/7s2a)

praiskup added a commit to praiskup/copr that referenced this issue Oct 2, 2024
praiskup added a commit to praiskup/copr that referenced this issue Oct 2, 2024
praiskup added a commit that referenced this issue Oct 3, 2024
@nikromen nikromen moved this from Needs triage to Done in CPT Kanban Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant