#5462 Unit tests failing - tox py3.9
Closed: Fixed 5 months ago by wombelix. Opened 5 months ago by wombelix.

The tests failing even in a PR that only touches the README (https://pagure.io/pagure/pull-request/5461).

We still use Fedora 36, but this shouldn't impact the tox based unit tests with py3.9.
Either way, fixing the tests and bumping to current fedora images (related to https://pagure.io/pagure/pull-request/5405), is required. Otherwise we running again blind and don't have reliable tests to accepts PRs.

https://jenkins-pagure.apps.ocp.cloud.ci.centos.org/job/pull-requests/263/consoleText

[2024-04-16T09:36:59.224Z] ?[0m[69] /pagure$ /pagure/.tox/py39/bin/pytest -n auto tests
[2024-04-16T09:36:59.224Z] ?[1m============================= test session starts ==============================?[0m
[2024-04-16T09:36:59.224Z] platform linux -- Python 3.9.16, pytest-6.2.5, py-1.11.0, pluggy-1.4.0
[2024-04-16T09:36:59.224Z] cachedir: .tox/py39/.pytest_cache
[2024-04-16T09:36:59.224Z] rootdir: /pagure
[2024-04-16T09:36:59.224Z] plugins: forked-1.6.0, xdist-2.5.0, cov-4.0.0

[...]

[2024-04-16T09:50:12.536Z] =========================== short test summary info ============================
[2024-04-16T09:50:12.536Z] FAILED tests/test_pagure_flask_api_issue.py::PagureFlaskApiIssuetests::test_api_change_milestone_issue
[2024-04-16T09:50:12.536Z] FAILED tests/test_pagure_flask_api_issue.py::PagureFlaskApiIssuetests::test_api_assign_issue
[2024-04-16T09:50:12.536Z] FAILED tests/test_pagure_flask_api_issue.py::PagureFlaskApiIssuetests::test_api_new_issue
[2024-04-16T09:50:12.536Z] FAILED tests/test_pagure_flask_api_issue.py::PagureFlaskApiIssuetests::test_api_new_issue_private_no_fedora_messaging_notifs
[2024-04-16T09:50:12.536Z] FAILED tests/test_pagure_flask_api_issue.py::PagureFlaskApiIssuetests::test_api_view_issues_history_stats_detailed_invalid_range
[2024-04-16T09:50:12.536Z] FAILED tests/test_pagure_flask_api_issue.py::PagureFlaskApiIssuetests::test_api_view_user_issues_foo
[2024-04-16T09:50:12.536Z] FAILED tests/test_pagure_flask_api_issue.py::PagureFlaskApiIssuetests::test_api_view_issue
[2024-04-16T09:50:12.536Z] FAILED tests/test_pagure_flask_api_issue.py::PagureFlaskApiIssuetests::test_api_view_issues_history_stats_detailed
[2024-04-16T09:50:12.536Z] FAILED tests/test_pagure_flask_api_issue.py::PagureFlaskApiIssuetests::test_api_view_issues_history_stats
[2024-04-16T09:50:12.536Z] FAILED tests/test_pagure_flask_api_issue.py::PagureFlaskApiIssuetests::test_api_view_issues_history_stats_detailed_one_week
[2024-04-16T09:50:12.536Z] FAILED tests/test_pagure_flask_api_issue.py::PagureFlaskApiIssuetests::test_api_view_issues
[2024-04-16T09:50:12.536Z] FAILED tests/test_pagure_flask_api_issue.py::PagureFlaskApiIssuetests::test_api_view_issues_reversed
[2024-04-16T09:50:12.536Z] FAILED tests/test_pagure_flask_api_issue.py::PagureFlaskApiIssuetests::test_api_view_issues_since_invalid_timestamp
[2024-04-16T09:50:12.536Z] FAILED tests/test_pagure_flask_api_issue.py::PagureFlaskApiIssuetests::test_api_view_issues_since_invalid_format
[2024-04-16T09:50:12.536Z] FAILED tests/test_pagure_flask_api_issue.py::PagureFlaskApiIssuetests::test_api_view_user_issues_pingou
[2024-04-16T09:50:12.536Z] FAILED tests/test_pagure_flask_api_issue.py::PagureFlaskApiIssuetests::test_api_view_user_issues_pingou_no_author
[2024-04-16T09:50:12.536Z] FAILED tests/test_pagure_flask_api_issue.py::PagureFlaskApiIssuetests::test_api_view_user_issues_foo_no_assignee
[2024-04-16T09:50:12.536Z] FAILED tests/test_pagure_flask_api_issue.py::PagureFlaskApiIssuetests::test_api_view_user_issues_foo_invalid_page
[2024-04-16T09:50:12.536Z] FAILED tests/test_pagure_flask_api_pr_flag.py::PagureFlaskApiPRFlagtests::test_flagging_a_pul_request_with_notification
[2024-04-16T09:50:12.536Z] FAILED tests/test_pagure_flask_api_pr_flag.py::PagureFlaskApiPRFlagtests::test_updating_flag
[2024-04-16T09:50:12.536Z] FAILED tests/test_pagure_flask_ui_fork.py::PagureFlaskForktests::test_pull_request_drop_comment
[2024-04-16T09:50:12.536Z] FAILED tests/test_pagure_flask_ui_fork.py::PagureFlaskForktests::test_pull_request_edit_comment
[2024-04-16T09:50:12.536Z] FAILED tests/test_pagure_flask_ui_fork.py::PagureFlaskForktests::test_reopen_request_pull
[2024-04-16T09:50:12.536Z] FAILED tests/test_pagure_flask_ui_fork.py::PagureFlaskForktests::test_request_pull_commit_start_stop
[2024-04-16T09:50:12.536Z] FAILED tests/test_pagure_flask_api_project.py::PagureFlaskApiProjectFlagtests::test_update_flag_commit_with_uid
[2024-04-16T09:50:12.536Z] FAILED tests/test_pagure_flask_rebase.py::PagureRebaseNoHooktests::test_rebase_api_ui_logged_in
[2024-04-16T09:50:12.536Z] FAILED tests/test_pagure_flask_ui_fork.py::PagureFlaskForktests::test_update_pull_requests_assign
[2024-04-16T09:50:12.536Z] FAILED tests/test_pagure_flask_ui_fork.py::PagureFlaskForktests::test_update_pull_requests_tag
[2024-04-16T09:50:12.536Z] FAILED tests/test_pagure_flask_api_project.py::PagureFlaskApiProjectCreateProjectTests::test_api_new_project
[2024-04-16T09:50:12.536Z] FAILED tests/test_pagure_flask_ui_issues_acl_checks.py::PagureFlaskIssuesACLtests::test_view_issue_no_access
[2024-04-16T09:50:12.536Z] FAILED tests/test_pagure_flask_ui_issues_acl_checks.py::PagureFlaskIssuesACLtests::test_view_issue_ticket_access
[2024-04-16T09:50:12.536Z] FAILED tests/test_pagure_flask_ui_groups.py::PagureFlaskGroupstests::test_edit_group
[2024-04-16T09:50:12.536Z] FAILED tests/test_pagure_flask_ui_fork.py::PagureFlaskForktests::test_fork_project
[2024-04-16T09:50:12.536Z] FAILED tests/test_pagure_flask_ui_issues.py::PagureFlaskIssuestests::test_remove_tag_issue_disabled
[2024-04-16T09:50:12.536Z] FAILED tests/test_pagure_flask_ui_issues_open_access.py::PagureFlaskIssuesOpenAccesstests::test_view_issue
[2024-04-16T09:50:12.536Z] FAILED tests/test_pagure_flask_ui_issues.py::PagureFlaskIssuestests::test_update_issue_add_tags
[2024-04-16T09:50:12.536Z] FAILED tests/test_pagure_flask_ui_issues_open_access.py::PagureFlaskIssuesOpenAccesstests::test_view_issue_user_ticket
[2024-04-16T09:50:12.536Z] FAILED tests/test_pagure_flask_ui_issues.py::PagureFlaskIssuestests::test_update_issue_block
[2024-04-16T09:50:12.536Z] FAILED tests/test_pagure_flask_ui_issues.py::PagureFlaskIssuestests::test_update_issue_depend
[2024-04-16T09:50:12.536Z] FAILED tests/test_pagure_flask_ui_issues.py::PagureFlaskIssuestests::test_update_issue_drop_comment
[2024-04-16T09:50:12.536Z] FAILED tests/test_pagure_flask_ui_issues.py::PagureFlaskIssuestests::test_delete_issue
[2024-04-16T09:50:12.536Z] FAILED tests/test_pagure_flask_ui_issues.py::PagureFlaskIssuestests::test_edit_issue
[2024-04-16T09:50:12.536Z] FAILED tests/test_pagure_flask_ui_issues.py::PagureFlaskIssuestests::test_edit_tag
[2024-04-16T09:50:12.536Z] FAILED tests/test_pagure_flask_ui_fork.py::PagureFlaskForktests::test_new_request_pull
[2024-04-16T09:50:12.536Z] FAILED tests/test_pagure_flask_ui_issues.py::PagureFlaskIssuestests::test_view_issue
[2024-04-16T09:50:12.536Z] FAILED tests/test_pagure_flask_ui_fork.py::PagureFlaskForktests::test_new_request_pull_branch_space
[2024-04-16T09:50:12.536Z] FAILED tests/test_pagure_flask_ui_issues.py::PagureFlaskIssuestests::test_view_issue_author
[2024-04-16T09:50:12.536Z] FAILED tests/test_pagure_flask_ui_fork.py::PagureFlaskForktests::test_new_request_pull_empty_fork
[2024-04-16T09:50:12.536Z] FAILED tests/test_pagure_flask_ui_fork.py::PagureFlaskForktests::test_new_request_pull_empty_repo
[2024-04-16T09:50:12.536Z] FAILED tests/test_pagure_flask_ui_issues.py::PagureFlaskIssuestests::test_view_issue_inconsistent_milestone
[2024-04-16T09:50:12.536Z] FAILED tests/test_pagure_flask_ui_pr_edit.py::PagureFlaskPrEdittests::test_pr_edit_pull_request_post_author
[2024-04-16T09:50:12.536Z] FAILED tests/test_pagure_flask_ui_fork.py::PagureFlaskForktests::test_new_request_pull_fork_to_fork
[2024-04-16T09:50:12.536Z] FAILED tests/test_pagure_flask_ui_fork.py::PagureFlaskForktests::test_new_request_pull_fork_to_fork_pr_disabled
[2024-04-16T09:50:12.536Z] FAILED tests/test_pagure_flask_ui_login.py::PagureFlaskLogintests::test_settings_admin_session_timedout
[2024-04-16T09:50:12.536Z] FAILED tests/test_pagure_flask_ui_fork.py::PagureFlaskForktests::test_new_request_pull_fork_to_other_fork
[2024-04-16T09:50:12.536Z] FAILED tests/test_pagure_flask_ui_fork.py::PagureFlaskForktests::test_new_request_pull_fork_to_other_unrelated_fork
[2024-04-16T09:50:12.536Z] FAILED tests/test_pagure_flask_ui_issues.py::PagureFlaskIssuestests::test_view_issue_user_ticket
[2024-04-16T09:50:12.536Z] FAILED tests/test_pagure_flask_ui_fork.py::PagureFlaskForktests::test_new_request_pull_req_sign_off_submit
[2024-04-16T09:50:12.536Z] FAILED tests/test_pagure_flask_ui_fork.py::PagureFlaskForktests::test_new_request_pull_req_sign_off_view
[2024-04-16T09:50:12.536Z] FAILED tests/test_pagure_flask_ui_issues_acl_checks.py::PagureFlaskIssuesACLtests::test_view_issue_admin_access
[2024-04-16T09:50:12.536Z] FAILED tests/test_pagure_flask_ui_fork.py::PagureFlaskForktests::test_pull_request_add_comment
[2024-04-16T09:50:12.536Z] FAILED tests/test_pagure_flask_ui_repo.py::PagureFlaskRepotests::test_add_group_project
[2024-04-16T09:50:12.536Z] FAILED tests/test_pagure_flask_ui_repo.py::PagureFlaskRepotests::test_add_user
[2024-04-16T09:50:12.536Z] FAILED tests/test_pagure_flask_ui_repo_delete_project.py::PagureFlaskDeleteRepotests::test_delete_fork_when_project_off
[2024-04-16T09:50:12.536Z] FAILED tests/test_pagure_flask_ui_repo.py::PagureFlaskRepotests::test_view_settings
[2024-04-16T09:50:12.536Z] FAILED tests/test_pagure_flask_ui_repo.py::PagureFlaskRepotests::test_remove_group_project
[2024-04-16T09:50:12.536Z] FAILED tests/test_pagure_flask_ui_repo.py::PagureFlaskRepotests::test_remove_user
[2024-04-16T09:50:12.536Z] FAILED tests/test_pagure_lib_git_diff_pr.py::PagureFlaskForkPrtests::test_diff_pull_request_updated
[2024-04-16T09:50:12.536Z] ?[31m==== ?[31m?[1m68 failed?[0m, ?[32m1653 passed?[0m, ?[33m3 skipped?[0m, ?[33m8291 warnings?[0m?[31m in 798.17s (0:13:18)?[0m?[31m =====?[0m
[2024-04-16T09:50:12.798Z] ?[31mERROR: InvocationError for command /pagure/.tox/py39/bin/pytest -n auto tests (exited with code 1)
[2024-04-16T09:50:12.798Z] ?[0m___________________________________ summary ____________________________________
[2024-04-16T09:50:12.798Z] ?[31mERROR:   py39: commands failed

Metadata Update from @wombelix:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

5 months ago

Log in to comment on this ticket.

Metadata