#204 Playbook rpm/check-for-aches-ng.yaml failed for Ruby
Opened by jackorp. Modified

pagure.io/fedora-zuul-jobs-config/playbooks/rpm/check-for-arches-ng.yaml failed due to, what I only can assume is incorrect setup.

https://fedora.softwarefactory-project.io/zuul/build/3bffd15ad9de440cb8f2f4716ceb4755/

Mainly visible error is:

the field 'args' has an invalid value ({'data': {'zuul': {'child_jobs': '{{ cmd_out.stdout | from_json }}'}}}), and could not be converted to an dict.The error was: Expecting value: line 1 column 1 (char 0)
The error appears to be in '/var/lib/zuul/builds/3bffd15ad9de440cb8f2f4716ceb4755/trusted/project_3/pagure.io/fedora-zuul-jobs-config/playbooks/rpm/check-for-arches-ng.yaml': line 25, column 7, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
    - zuul_return:
      ^ here

Going into console on the job: https://fedora.softwarefactory-project.io/zuul/build/3bffd15ad9de440cb8f2f4716ceb4755/console

Run discover-arches.py step python3 /tmp/discover-arches.py *.spec 2> /tmp/discover-arches.stderr printed msg non-zero return code

Following step Show discover-arches stderr reveals:

stdout
Traceback (most recent call last):
  File "/tmp/discover-arches.py", line 1, in <module>
    import rpm
ModuleNotFoundError: No module named 'rpm'

From PR https://src.fedoraproject.org/rpms/ruby/pull-request/212


Metadata