Bug 2351679 - [abrt] relval: module(): testcase_stats.py:40:<module>:ModuleNotFoundError: No module named 'jinja2'
Summary: [abrt] relval: module(): testcase_stats.py:40:<module>:ModuleNotFoundError: N...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: relval
Version: 41
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Adam Williamson (Fedora)
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:fcb48c40704cf3856824d9191f4...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-03-12 14:18 UTC by Christopher Boni
Modified: 2026-08-31 23:42 UTC (History)
2 users (show)

Fixed In Version: relval-2.7.4-1.fc41
Clone Of:
Environment:
Last Closed: 2025-03-18 01:11:26 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: os_info (754 bytes, text/plain)
2025-03-12 14:18 UTC, Christopher Boni
no flags Details
File: environ (3.57 KB, text/plain)
2025-03-12 14:18 UTC, Christopher Boni
no flags Details
File: mountinfo (5.07 KB, text/plain)
2025-03-12 14:18 UTC, Christopher Boni
no flags Details
File: open_fds (312 bytes, text/plain)
2025-03-12 14:18 UTC, Christopher Boni
no flags Details
File: namespaces (171 bytes, text/plain)
2025-03-12 14:18 UTC, Christopher Boni
no flags Details
File: backtrace (8.62 KB, text/plain)
2025-03-12 14:18 UTC, Christopher Boni
no flags Details
File: cpuinfo (3.04 KB, text/plain)
2025-03-12 14:18 UTC, Christopher Boni
no flags Details

Description Christopher Boni 2025-03-12 14:18:16 UTC
Description of problem:
I attempted to run relval but was informed that I was missing python3-jinja2 package. Once I installed that package it run without issue.

Version-Release number of selected component:
relval-2.7.2-1.fc41

Additional info:
reporter:       libreport-2.17.15
kernel:         6.13.5-200.fc41.x86_64
cmdline:        /usr/bin/python3 -sP /usr/bin/relval
cgroup:         0::/user.slice/user-1001.slice/user/app.slice/run-rdab66f57d42c4ddc8b1bf932d1a9a714.scope
uid:            1001
reason:         testcase_stats.py:40:<module>:ModuleNotFoundError: No module named 'jinja2'
executable:     /usr/bin/relval
type:           Python3
package:        relval-2.7.2-1.fc41
runlevel:       N 5
exception_type: ModuleNotFoundError
crash_function: module
interpreter:    python3-3.13.2-1.fc41.x86_64
comment:        I attempted to run relval but was informed that I was missing python3-jinja2 package. Once I installed that package it run without issue.

Truncated backtrace:
#1 [/usr/lib/python3.13/site-packages/relval/testcase_stats.py:40] <module>
#2 [/usr/lib/python3.13/site-packages/relval/cli.py:48] <module>
#3 [/usr/bin/relval:5] <module>

Comment 1 Christopher Boni 2025-03-12 14:18:20 UTC
Created attachment 2079883 [details]
File: os_info

Comment 2 Christopher Boni 2025-03-12 14:18:21 UTC
Created attachment 2079884 [details]
File: environ

Comment 3 Christopher Boni 2025-03-12 14:18:23 UTC
Created attachment 2079885 [details]
File: mountinfo

Comment 4 Christopher Boni 2025-03-12 14:18:24 UTC
Created attachment 2079886 [details]
File: open_fds

Comment 5 Christopher Boni 2025-03-12 14:18:25 UTC
Created attachment 2079887 [details]
File: namespaces

Comment 6 Christopher Boni 2025-03-12 14:18:27 UTC
Created attachment 2079888 [details]
File: backtrace

Comment 7 Christopher Boni 2025-03-12 14:18:28 UTC
Created attachment 2079889 [details]
File: cpuinfo

Comment 8 Fedora Update System 2025-03-12 20:17:06 UTC
FEDORA-2025-a22fb6fc02 (relval-2.7.3-1.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-a22fb6fc02

Comment 9 Fedora Update System 2025-03-12 20:17:07 UTC
FEDORA-2025-54002c291e (relval-2.7.3-1.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-54002c291e

Comment 10 Adam Williamson (Red Hat non-Fedora) 2025-03-12 20:18:37 UTC
Thanks, this is from the testcase_stats changes. It sucks a bit that this is now a mandatory dep even if you're just reporting results, but hey, blame Past Adam's questionable architectural choices. :D

Comment 11 Fedora Update System 2025-03-13 02:14:57 UTC
FEDORA-2025-324cf24764 has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-324cf24764`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-324cf24764

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 12 Fedora Update System 2025-03-13 02:32:05 UTC
FEDORA-2025-a22fb6fc02 has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-a22fb6fc02`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-a22fb6fc02

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 13 Fedora Update System 2025-03-13 02:51:59 UTC
FEDORA-2025-54002c291e has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-54002c291e`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-54002c291e

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 14 Fedora Update System 2025-03-14 04:31:43 UTC
FEDORA-2025-324cf24764 has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-324cf24764`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-324cf24764

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 15 Fedora Update System 2025-03-14 04:50:29 UTC
FEDORA-2025-a22fb6fc02 has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-a22fb6fc02`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-a22fb6fc02

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 16 Fedora Update System 2025-03-14 05:38:51 UTC
FEDORA-2025-54002c291e has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-54002c291e`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-54002c291e

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 17 Fedora Update System 2025-03-18 00:16:13 UTC
FEDORA-2025-324cf24764 (relval-2.7.4-1.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 18 Fedora Update System 2025-03-18 01:11:26 UTC
FEDORA-2025-54002c291e (relval-2.7.4-1.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 19 Fedora Update System 2025-03-22 02:25:40 UTC
FEDORA-2025-a22fb6fc02 (relval-2.7.4-1.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.