Bug 2127111 - Stderr: 'error reading multiple stages: ARG requires exactly one argument definition\n'
Summary: Stderr: 'error reading multiple stages: ARG requires exactly one argument def...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: distribution
Version: 16.2 (Train)
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
: ---
Assignee: OSP Team
QA Contact: Lon Hohberger
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-09-15 11:24 UTC by bshewale@redhat.com
Modified: 2022-09-28 11:27 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-09-28 11:27:49 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OSP-18727 0 None None None 2022-09-15 11:33:06 UTC

Description bshewale@redhat.com 2022-09-15 11:24:23 UTC
Description of problem: Stderr: 'error reading multiple stages: ARG requires exactly one argument definition\n'


Version-Release number of selected component (if applicable): rhos16.2 on rhel8

2022-09-15 01:11:58 | Stdout: ''
2022-09-15 01:11:58 | Stderr: 'error reading multiple stages: ARG requires exactly one argument definition\n'
2022-09-15 01:11:58 | Traceback (most recent call last):
2022-09-15 01:11:58 |   File "/home/zuul/workspace/venv_build/lib64/python3.6/site-packages/cliff/app.py", line 407, in run_subcommand
2022-09-15 01:11:58 |     result = cmd.run(parsed_args)
2022-09-15 01:11:58 |   File "/home/zuul/workspace/venv_build/lib64/python3.6/site-packages/tripleoclient/command.py", line 32, in run
2022-09-15 01:11:58 |     super(Command, self).run(parsed_args)
2022-09-15 01:11:58 |   File "/home/zuul/workspace/venv_build/lib64/python3.6/site-packages/osc_lib/command/command.py", line 39, in run
2022-09-15 01:11:58 |     return super(Command, self).run(parsed_args)
2022-09-15 01:11:58 |   File "/home/zuul/workspace/venv_build/lib64/python3.6/site-packages/cliff/command.py", line 186, in run
2022-09-15 01:11:58 |     return_code = self.take_action(parsed_args) or 0
2022-09-15 01:11:58 |   File "/home/zuul/workspace/venv_build/lib64/python3.6/site-packages/tripleoclient/v1/tripleo_container_image.py", line 688, in take_action
2022-09-15 01:11:58 |     bb.build_all()
2022-09-15 01:11:58 |   File "/home/zuul/workspace/venv_build/lib64/python3.6/site-packages/tripleo_common/image/builder/buildah.py", line 240, in build_all
2022-09-15 01:11:58 |     exceptions='\n'.join(exceptions)
2022-09-15 01:11:58 | RuntimeError: 
2022-09-15 01:11:58 | The following errors were detected during container build(s):
2022-09-15 01:11:58 | 
2022-09-15 01:11:58 | Exception information: Unexpected error while running command.
2022-09-15 01:11:58 | Command: sudo buildah bud --volume /etc/yum.repos.d:/etc/distro.repos.d:z --volume /etc/pki/rpm-gpg:/etc/pki/rpm-gpg:z --volume /etc/pki/ca-trust:/etc/pki/ca-trust:z --format docker --tls-verify=False --logfile /home/zuul/container-builds/ce2e8b9d-4d89-43ae-9110-b27b8b956799/base/base-build.log -t docker-registry.upshift.redhat.com/tripleorhos-16-2/openstack-base:546f5261237fd7e18a39ce31ae980932 /home/zuul/container-builds/ce2e8b9d-4d89-43ae-9110-b27b8b956799/base
2022-09-15 01:11:58 | Exit code: 125
2022-09-15 01:11:58 | Stdout: ''
2022-09-15 01:11:58 | Stderr: 'error reading multiple stages: ARG requires exactly one argument definition\n'
2022-09-15 01:11:58 | clean_up Build: 
2022-09-15 01:11:58 | The following errors were detected during container build(s):
2022-09-15 01:11:58 | 
2022-09-15 01:11:58 | Exception information: Unexpected error while running command.
2022-09-15 01:11:58 | Command: sudo buildah bud --volume /etc/yum.repos.d:/etc/distro.repos.d:z --volume /etc/pki/rpm-gpg:/etc/pki/rpm-gpg:z --volume /etc/pki/ca-trust:/etc/pki/ca-trust:z --format docker --tls-verify=False --logfile /home/zuul/container-builds/ce2e8b9d-4d89-43ae-9110-b27b8b956799/base/base-build.log -t docker-registry.upshift.redhat.com/tripleorhos-16-2/openstack-base:546f5261237fd7e18a39ce31ae980932 /home/zuul/container-builds/ce2e8b9d-4d89-43ae-9110-b27b8b956799/base
2022-09-15 01:11:58 | Exit code: 125
2022-09-15 01:11:58 | Stdout: ''
2022-09-15 01:11:58 | Stderr: 'error reading multiple stages: ARG requires exactly one argument definition\n'
2022-09-15 01:11:58 | END return value: 1

Actual results:container build job is failing 


Expected results: container build job should pass


Additional info:

This issue started when patch [1] got merged.
Chandan pushed one temporary fix in tripleo-ci [2]
And here is the actual fix [3]

[1]: https://review.opendev.org/c/openstack/tripleo-ci/+/850736
[2]: https://review.opendev.org/c/openstack/tripleo-ci/+/857817
[3]: https://review.opendev.org/c/openstack/tripleo-ansible/+/857777


Note You need to log in before you can comment on or make changes to this bug.