Bug 2351679

Summary: [abrt] relval: module(): testcase_stats.py:40:<module>:ModuleNotFoundError: No module named 'jinja2'
Product: [Fedora] Fedora Reporter: Christopher Boni <christopher>
Component: relvalAssignee: Adam Williamson (Fedora) <rhbz>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 41CC: christopher, rhbz
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/50301e608d81cee222de8072c692a2fd0a05a6e
Whiteboard: abrt_hash:fcb48c40704cf3856824d9191f4c292c89b8a68c;VARIANT_ID=workstation;
Fixed In Version: relval-2.7.4-1.fc41 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-03-18 01:11:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: os_info
none
File: environ
none
File: mountinfo
none
File: open_fds
none
File: namespaces
none
File: backtrace
none
File: cpuinfo none

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.