Project

General

Profile

action #68567

Updated by okurz over 4 years ago

## Observation 

 http://jenkins.qa.suse.de/view/openQA-in-openQA/job/submit-openQA-TW-to-oS_Fctry/lastBuild/console shows 

 ``` 
 + osc service wait devel:openQA/os-autoinst 
 Error initializing plugin Google = keyrings.alt.Google. 
 Traceback (most recent call last): 
   File "/usr/lib/python3.6/site-packages/keyring/backend.py", line 171, in _load_plugins 
     init_func = ep.load() 
   File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2343, in load 
     return self.resolve() 
   File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2349, in resolve 
     module = __import__(self.module_name, fromlist=['__name__'], level=0) 
   File "/usr/lib/python3.6/site-packages/keyrings/alt/Google.py", line 14, in <module> 
     import gdata.docs.service 
   File "/usr/lib/python3.6/site-packages/gdata/__init__.py", line 27, in <module> 
     import atom 
   File "/usr/lib/python3.6/site-packages/atom/__init__.py", line 133, in <module> 
     CreateClassFromXMLString) 
   File "/usr/lib/python3.6/site-packages/atom/__init__.py", line 97, in mark_deprecated 
     optional_warn_function.func_name = f.func_name 
 AttributeError: 'function' object has no attribute 'func_name' 
 ok 
 ``` 

 so nothing failed at this point but noisy stack traces. 

 ``` 
 +++ osc cat openSUSE:Factory/os-autoinst/os-autoinst.changes 
 +++ grep 'Update to version' 
 +++ head -n1 
 Error initializing plugin Google = keyrings.alt.Google. 
 Traceback (most recent call last): 
   File "/usr/lib/python3.6/site-packages/keyring/backend.py", line 171, in _load_plugins 
     init_func = ep.load() 
   File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2343, in load 
     return self.resolve() 
   File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2349, in resolve 
     module = __import__(self.module_name, fromlist=['__name__'], level=0) 
   File "/usr/lib/python3.6/site-packages/keyrings/alt/Google.py", line 14, in <module> 
     import gdata.docs.service 
   File "/usr/lib/python3.6/site-packages/gdata/__init__.py", line 27, in <module> 
     import atom 
   File "/usr/lib/python3.6/site-packages/atom/__init__.py", line 133, in <module> 
     CreateClassFromXMLString) 
   File "/usr/lib/python3.6/site-packages/atom/__init__.py", line 97, in mark_deprecated 
     optional_warn_function.func_name = f.func_name 
 AttributeError: 'function' object has no attribute 'func_name' 
 grep: write error: Broken pipe 
 ``` 
 Again not a critical problem but more annoying error messages. 


 ## Acceptance criteria 
 * **AC1:** No warnings or error messages in jenkins build logs 


 ## Suggestions 

 * Crosscheck same versions of osc in a local environment, e.g. container, e.g. `podman run --rm -it registry.opensuse.org/opensuse/leap:15.1 sh -c 'zypper -n in osc && osc service wait devel:openQA/os-autoinst'` container 
 * If problem reproduces in a clean environment look for mitigation regarding osc or report osc bug 


 ## Further details 

 Needs access to http://jenkins.qa.suse.de/

Back