<div dir="ltr">Hello Jeremy,<div><br></div><div><span style="color:rgb(51,51,51);font-family:monospace;font-size:12px">We have a new issue[1] after </span><a rel="nofollow" href="https://review.opendev.org/873020" style="color:rgb(0,51,170);text-decoration-line:none;font-family:monospace;font-size:12px">https://review.opendev.org/873020</a><span style="color:rgb(51,51,51);font-family:monospace;font-size:12px"> merged. I have proposed a possible fix: </span><a href="https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/873056">https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/873056</a><br></div><div><span style="color:rgb(51,51,51);font-family:monospace;font-size:12px"><br></span></div><div><span style="color:rgb(51,51,51);font-family:monospace;font-size:12px"><br></span></div><div><span style="color:rgb(51,51,51);font-family:monospace;font-size:12px">[1] </span><a href="https://c3f93530c9211d80493c-aff6bc2b39e4d26360d25c473974606e.ssl.cf5.rackcdn.com/872983/5/gate/openstack-tox-py27/e8389a8/job-output.txt">https://c3f93530c9211d80493c-aff6bc2b39e4d26360d25c473974606e.ssl.cf5.rackcdn.com/872983/5/gate/openstack-tox-py27/e8389a8/job-output.txt</a></div><div><br></div><div>~~~</div><div><pre style="color:rgb(0,0,0);white-space:pre-wrap">2023-02-08 03:36:42.121587 | ERROR! unexpected parameter type in action: <class 'ansible.parsing.yaml.objects.AnsibleSequence'>
2023-02-08 03:36:42.121599 |
2023-02-08 03:36:42.121611 | The error appears to be in '/var/lib/zuul/builds/e8389a873fb545e68679e27a1276860d/untrusted/project_2/<a href="http://opendev.org/openstack/openstack-zuul-jobs/playbooks/tox/py27.yaml">opendev.org/openstack/openstack-zuul-jobs/playbooks/tox/py27.yaml</a>': line 13, column 7, but may
2023-02-08 03:36:42.121624 | be elsewhere in the file depending on the exact syntax problem.
2023-02-08 03:36:42.121637 |
2023-02-08 03:36:42.121649 | The offending line appears to be:
2023-02-08 03:36:42.121661 |
2023-02-08 03:36:42.121672 | tasks:
2023-02-08 03:36:42.121684 | - name: Install Python 2.7
2023-02-08 03:36:42.121697 | ^ here</pre><pre style="color:rgb(0,0,0);white-space:pre-wrap">~~~</pre></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Feb 8, 2023 at 4:11 AM Jeremy Stanley <<a href="mailto:fungi@yuggoth.org">fungi@yuggoth.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 2023-02-07 09:21:56 -0800 (-0800), Dariusz Smigiel wrote:<br>
> Recent change [1] to remove python27 from images caused issues across<br>
> jobs still using python 2.7 There are a lot of projects failing due to<br>
> that. [2] The solution is to update bindep.txt [3]<br>
> The fix was discussed with the #opendev team and can be summarized as<br>
> follows. [4]<br>
> <br>
> ```<br>
> 15:37 <clarkb> I think we have ~3 options: A) revert/or readd<br>
> python2-dev installs B) ask projects to fix their broken bindep.txts<br>
> (something we've asked for for years at this point) or C) update -py27<br>
> jobs to explicitly install python2 for you<br>
> ```<br>
[...]<br>
<br>
We also merged <a href="https://review.opendev.org/873020" rel="noreferrer" target="_blank">https://review.opendev.org/873020</a> about twenty<br>
minutes ago, so as of 22:12:13 any jobs inheriting from<br>
openstack-tox-py27 will automatically install the python and<br>
python-dev (old Python 2.7) packages.<br>
<br>
But definitely still put Python interpreters in your bindep.txt<br>
files, they're useful if for no other reason than to indicate to<br>
anyone looking at the file that your project needs those.<br>
-- <br>
Jeremy Stanley<br>
</blockquote></div>