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'
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.402797 | ubuntu-xenial | File "/home/
2020-12-15 09:36:48.402831 | ubuntu-xenial | sys.exit(main())
2020-12-15 09:36:48.402853 | ubuntu-xenial | File "/home/
2020-12-15 09:36:48.402878 | ubuntu-xenial | matches.
2020-12-15 09:36:48.402901 | ubuntu-xenial | File "/home/
2020-12-15 09:36:48.402922 | ubuntu-xenial | skip_list=
2020-12-15 09:36:48.402942 | ubuntu-xenial | File "/home/
2020-12-15 09:36:48.402961 | ubuntu-xenial | matches.
2020-12-15 09:36:48.402980 | ubuntu-xenial | File "/home/
2020-12-15 09:36:48.403008 | ubuntu-xenial | yaml = ansiblelint.
2020-12-15 09:36:48.403032 | ubuntu-xenial | File "/home/
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-exploratio n?orgId= 1&var-influxdb_ filter= job_name% 7C%3D%7Copensta ck-tox- pep8&var- influxdb_ filter= branch% 7C%3D%7Cstable% 2Fqueens /storage. gra.cloud. ovh.net/ v1/AUTH_ dcaab5e32b234d5 6b626f72581e364 4c/zuul_ opendev_ logs_4b0/ 767087/ 1/check/ openstack- tox-pep8/ 4b0f938/ job-output. txt
[2] https:/