#421 zuul's rpm-rpminspect broken for a while: ValueError("No closing quotation")
Closed 8 months ago by churchyard. Opened 9 months ago by churchyard.

For at least a week, all the zuul's rpm-rpminspect jobs fail with no actionable error messages

Latest example:

https://src.fedoraproject.org/rpms/python-sphinx/pull-request/54
https://fedora.softwarefactory-project.io/zuul/build/37deee350a6b4bb9ae619e03b6a83dae

MODULE FAILURE
See stdout/stderr for the exact error

https://fedora.softwarefactory-project.io/logs//54/54/29b41c1575ef361271ca00f2344a636d522ba914/check/rpm-rpminspect/37deee3/result.json is 404

https://fedora.softwarefactory-project.io/zuul/build/37deee350a6b4bb9ae619e03b6a83dae/log/job-output.txt?severity=0

MODULE FAILURE:
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
Traceback (most recent call last):
  File "/workspace/.ansible/tmp/ansible-tmp-1689322049.2016642-1047-184366744405770/AnsiballZ_command.py", line 107, in <module>
    _ansiballz_main()
  File "/workspace/.ansible/tmp/ansible-tmp-1689322049.2016642-1047-184366744405770/AnsiballZ_command.py", line 99, in _ansiballz_main
    invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)
  File "/workspace/.ansible/tmp/ansible-tmp-1689322049.2016642-1047-184366744405770/AnsiballZ_command.py", line 47, in invoke_module
    runpy.run_module(mod_name='ansible.modules.ansible.legacy.command', init_globals=dict(_module_fqn='ansible.modules.ansible.legacy.command', _modlib_path=modlib_path),
  File "/usr/lib64/python3.10/runpy.py", line 224, in run_module
    return _run_module_code(code, init_globals, run_name, mod_spec)
  File "/usr/lib64/python3.10/runpy.py", line 96, in _run_module_code
    _run_code(code, mod_globals, init_globals,
  File "/usr/lib64/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/tmp/ansible_ansible.legacy.command_payload_c78wryb2/ansible_ansible.legacy.command_payload.zip/ansible/modules/ansible/legacy/command.py", line 756, in <module>
  File "/tmp/ansible_ansible.legacy.command_payload_c78wryb2/ansible_ansible.legacy.command_payload.zip/ansible/modules/ansible/legacy/command.py", line 677, in main
  File "/usr/lib64/python3.10/shlex.py", line 315, in split
    return list(lex)
  File "/usr/lib64/python3.10/shlex.py", line 300, in __next__
    token = self.get_token()
  File "/usr/lib64/python3.10/shlex.py", line 109, in get_token
    raw = self.read_token()
  File "/usr/lib64/python3.10/shlex.py", line 191, in read_token
    raise ValueError("No closing quotation")
ValueError: No closing quotation

Honestly, I also worry that this runs on python3.10. Is this Fedora 36?

Yes, the default node in Zuul CI seems to be still old fedora. I'll look into updating it today

It seems that the koji command returns some "Warning" part of the stdout https://fedora.softwarefactory-project.io/zuul/build/37deee350a6b4bb9ae619e03b6a83dae/console then the expected package name is not really one and include a '"' thus the error above.

https://fedora.softwarefactory-project.io/zuul/build/37deee350a6b4bb9ae619e03b6a83dae/console#1/0/16/container

So bumping the test node to f38 might help probably.

@bookwar is there a change in progress to bump the Fedora version or should I propose one ?

Metadata Update from @fbo:
- Issue tagged with: Zuul CI

8 months ago

This no longer happens, thanks.

Metadata Update from @churchyard:
- Issue status updated to: Closed (was: Open)

8 months ago

Login to comment on this ticket.

Metadata