Project

General

Profile

action #27934

Updated by SLindoMansilla over 6 years ago

## observation 

 When starting the worker service on an installed Leap 42.3 as on a docker container based on Leap 42.3, the worker fails to start showing the following error: 

 ``` 
 Can't locate db_profiler.pm:     Permission denied at /usr/share/openqa/script/../lib/OpenQA/Setup.pm line 26. 
 BEGIN failed--compilation aborted at /usr/share/openqa/script/../lib/OpenQA/Setup.pm line 26. 
 Compilation failed in require at /usr/share/openqa/script/../lib/OpenQA/Worker.pm line 33. 
 BEGIN failed--compilation aborted at /usr/share/openqa/script/../lib/OpenQA/Worker.pm line 33. 
 Compilation failed in require at /usr/share/openqa/script/worker line 106. 
 BEGIN failed--compilation aborted at /usr/share/openqa/script/worker line 106. 
 ``` 

 ## steps to reproduce 

 On Leap 42.3 

 1. Install the package _openQA-worker_ from repository http://download.opensuse.org/repositories/devel:/openQA/openSUSE_Leap_42.3 having also enabled http://download.opensuse.org/repositories/devel:/openQA:/Leap:/42.3/openSUSE_Leap_42.3 
 2. Try to start a worker: 

 ```bash 
 # systemctl start openqa-worker@1 
 ``` 

 OR 

 ```bash 
 _openqa-worker$ /usr/share/openqa/script/worker /usr/share/openqa/scripts/worker --verbose --instance 1 
 ``` 

 3. You will see the mentioned error output above. 


 ## problem 

 **H1:** REJECTED BY E1.2 <del>The The current version openQA-worker-4.5.1511164281.966cda56-22.1.noarch of openQA-worker is producing the same error on all distributions.</del> distributions. 

 **E1.1:** Try a docker container with an image based on Tumbleweed and try to reproduce the error, following the steps. _Sergio will do_ 
 **R1.1:** It fails running the container on the same machine. 

 **E1.2:** Try to reproduce the error, following the steps on a fresh installed Leap 42.3 on a different physical machine. 
 **R1.2:** It works on another machine. _Sergio will do_ 

Back