File "/usr/local/bin/container-check", line 63 def populate_container_rpms_list((container)): SyntaxError: invalid syntax

Bug #1928689 reported by wes hayutin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Won't Fix
Wishlist
Unassigned
Revision history for this message
Alex Schultz (alex-schultz) wrote :

This is a python2/python3 problem. it's valid in python2 and not in python3

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-quickstart-extras (master)
Revision history for this message
wes hayutin (weshayutin) wrote :
Revision history for this message
Rabi Mishra (rabi) wrote :

python3 seems to be installed too.

We now have a new version of container-check fixing that syntax issue https://pypi.org/project/container-check/1.0.8/. Let's see if that helps.

IMO, We should get rid of usage of that library.

Revision history for this message
wes hayutin (weshayutin) wrote :

https://logserver.rdoproject.org/50/33750/7/check/tripleo-ci-centos-7-containers-multinode-queens-test/42da652/logs/undercloud/home/zuul/overcloud_prep_containers.log.txt.gz

2021-05-17 22:11:21 | + python --version
2021-05-17 22:11:21 | Python 2.7.5

container-check 1.0.8
https://logserver.rdoproject.org/50/33750/7/check/tripleo-ci-centos-7-containers-multinode-queens-test/42da652/logs/undercloud/var/log/extra/pip.txt.gz

to test other patches..
https://review.rdoproject.org/r/c/testproject/+/33750

Current Issue is:

2021-05-17 22:20:18 | 2021-05-17 22:20:18,645 INFO: *** 22 of 22 containers require updates ***
2021-05-17 22:20:18 | Traceback (most recent call last):
2021-05-17 22:20:18 | File "/usr/bin/container-check", line 244, in <module>
2021-05-17 22:20:18 | ret = list(p.map(yum_update_container, process_map))
2021-05-17 22:20:18 | File "/usr/lib64/python2.7/multiprocessing/pool.py", line 250, in map
2021-05-17 22:20:18 | return self.map_async(func, iterable, chunksize).get()
2021-05-17 22:20:18 | File "/usr/lib64/python2.7/multiprocessing/pool.py", line 554, in get
2021-05-17 22:20:18 | raise self._value
2021-05-17 22:20:18 | TypeError: yum_update_container() takes exactly 3 arguments (1 given)

https://logserver.rdoproject.org/50/33750/7/check/tripleo-ci-centos-7-containers-multinode-queens-test/42da652/logs/undercloud/home/zuul/overcloud_prep_containers.log.txt.gz

Changed in tripleo:
importance: Undecided → Low
Changed in tripleo:
importance: Low → High
Revision history for this message
Bogdan Dobrelya (bogdando) wrote :

this should not be a high issue, we do not backport to Queens no longer AFAIK. Also, that container-check is CI only, please just drop it off

Changed in tripleo:
status: Triaged → Won't Fix
importance: High → Wishlist
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tripleo-quickstart-extras (master)

Change abandoned by "Ghanshyam <email address hidden>" on branch: master
Review: https://review.opendev.org/c/openstack/tripleo-quickstart-extras/+/791803
Reason: TrieplO project is retiring now, for details, please see https://review.opendev.org/c/openstack/governance/+/905145 or reach out to OpenStack TC.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.