Comment 4 for bug 1881288

Revision history for this message
Marios Andreou (marios-b) wrote :

just got pinged about this on #tripleo by sorin zbr|rover

It seems that this is not a consistent issue [1]. In fact, taking the top failure from [1] right now I am not sure it is even the same bug as reported in the description here. At [2] the trace is like "AttributeError: module 'ruamel.yaml' has no attribute 'YAML'" :

                2020-12-15 09:36:48.402751 | ubuntu-xenial | Traceback (most recent call last):
  2020-12-15 09:36:48.402797 | ubuntu-xenial | File "/home/zuul/src/opendev.org/openstack/tripleo-validations/.tox/pep8/bin/ansible-lint", line 8, in <module>
  2020-12-15 09:36:48.402831 | ubuntu-xenial | sys.exit(main())
  2020-12-15 09:36:48.402853 | ubuntu-xenial | File "/home/zuul/src/opendev.org/openstack/tripleo-validations/.tox/pep8/lib/python3.5/site-packages/ansiblelint/__main__.py", line 187, in main
  2020-12-15 09:36:48.402878 | ubuntu-xenial | matches.extend(runner.run())
  2020-12-15 09:36:48.402901 | ubuntu-xenial | File "/home/zuul/src/opendev.org/openstack/tripleo-validations/.tox/pep8/lib/python3.5/site-packages/ansiblelint/__init__.py", line 282, in run
  2020-12-15 09:36:48.402922 | ubuntu-xenial | skip_list=self.skip_list))
  2020-12-15 09:36:48.402942 | ubuntu-xenial | File "/home/zuul/src/opendev.org/openstack/tripleo-validations/.tox/pep8/lib/python3.5/site-packages/ansiblelint/__init__.py", line 174, in run
  2020-12-15 09:36:48.402961 | ubuntu-xenial | matches.extend(rule.matchtasks(playbookfile, text))
  2020-12-15 09:36:48.402980 | ubuntu-xenial | File "/home/zuul/src/opendev.org/openstack/tripleo-validations/.tox/pep8/lib/python3.5/site-packages/ansiblelint/__init__.py", line 84, in matchtasks
  2020-12-15 09:36:48.403008 | ubuntu-xenial | yaml = ansiblelint.utils.append_skipped_rules(yaml, text, file['type'])
  2020-12-15 09:36:48.403032 | ubuntu-xenial | File "/home/zuul/src/opendev.org/openstack/tripleo-validations/.tox/pep8/lib/python3.5/site-packages/ansiblelint/utils.py", line 603, in append_skipped_rules
  2020-12-15 09:36:48.403054 | ubuntu-xenial | yaml = ruamel.yaml.YAML()
  2020-12-15 09:36:48.403074 | ubuntu-xenial | AttributeError: module 'ruamel.yaml' has no attribute 'YAML'

[1] http://dashboard-ci.tripleo.org/d/3-DYSmOGk/jobs-exploration?orgId=1&var-influxdb_filter=job_name%7C%3D%7Copenstack-tox-pep8&var-influxdb_filter=branch%7C%3D%7Cstable%2Fqueens
[2] https://storage.gra.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_4b0/767087/1/check/openstack-tox-pep8/4b0f938/job-output.txt