Ask Your Question
2

problem submitting my kernel regression tests ModuleNotFoundError

asked 2018-06-30 10:32:12 -0600

noobusinghacks gravatar image

hello all i seem to be having a problem submitting my kernel regression tests previously i couldn't run the test properly cause i was the root user so i as a regular user ran the git clone https://pagure.io/kernel-tests.git than i ran cp config.example .config then i ran the test:

Test suite called with default
./default/libhugetlbfs                                           SKIP    
./default/posix_timers                                           PASS    
./default/selinux-dac-controls                                   SKIP    
./default/sysfs-perms                                            PASS    
./default/cachedrop                                              SKIP    
./default/paxtest                                                SKIP    
./default/insert_leap_second                                     SKIP    
./default/stack-randomness                                       SKIP    
./default/timer-overhead                                         PASS    
./default/modsign                                                SKIP    
./default/memfd                                                  PASS    
./default/mq-memory-corruption                                   PASS    
./thirdparty/nvidia-module                                       SKIP    

Test suite complete                                              PASS    

Your log file is being submitted...
Traceback (most recent call last):
  File "./fedora_submit.py", line 6, in <module>
    from fedora.client import OpenIdBaseClient
ModuleNotFoundError: No module named 'fedora'
The following information is not submitted with your log;
it is for informational purposes only.
Vulnerability status:
/sys/devices/system/cpu/vulnerabilities/meltdown:Vulnerable
/sys/devices/system/cpu/vulnerabilities/spec_store_bypass:Vulnerable
/sys/devices/system/cpu/vulnerabilities/spectre_v1:Mitigation: __user pointer sanitization
/sys/devices/system/cpu/vulnerabilities/spectre_v2:Mitigation: Full generic retpoline
[fairbrother@localhost kernel-tests]$ rpm -V python3-librepo
[fairbrother@localhost kernel-tests]$ mc

i dont think its working does anybody know if my test is submitting or why it says ModuleNotFoundError: No module named 'fedora' ? thanks

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2018-07-08 05:27:18 -0600

ozeszty gravatar image

Hi, you need to install python3-fedora for script to be able to submit your test results: dnf install python3-fedora

Until recently kernel-tests were using python2-fedora.

Edit your config file following https://fedoraproject.org/wiki/QA:Tes...

Remember to update kernel-tests from time to time by running (as a regular user) git pull in folder to which you cloned the repository.

edit flag offensive delete link more

Comments

The solution works for me.

davisclick gravatar imagedavisclick ( 2019-03-27 17:49:17 -0600 )edit

Question Tools

2 followers

Stats

Asked: 2018-06-30 10:32:12 -0600

Seen: 99 times

Last updated: Jul 08 '18