Project

General

Profile

action #68567

Automatic submission of os-autoinst to openSUSE:Factory build job logs full of warnings and errors from osc and grep

Added by okurz about 1 year ago. Updated 9 months ago.

Status:
Workable
Priority:
Low
Assignee:
-
Category:
Concrete Bugs
Target version:
Start date:
2020-07-02
Due date:
% Done:

0%

Estimated time:
Difficulty:
easy

Description

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'
  • 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/

History

#1 Updated by okurz about 1 year ago

  • Status changed from New to Workable
  • Target version set to Ready

#2 Updated by okurz 12 months ago

  • Description updated (diff)

#3 Updated by okurz 9 months ago

  • Target version changed from Ready to future

Also available in: Atom PDF