Periodic jobs failing with ImportError: No module named os_ken.tests.integrated.common
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
High
|
Sandeep Yadav |
Bug Description
Periodic jobs failing with ImportError: No module named os_ken.
Logs:-
~~~
2020-03-28 08:06:40 | =======
2020-03-28 08:06:40 | Failures during discovery
2020-03-28 08:06:40 | =======
2020-03-28 08:06:40 | --- import errors ---
2020-03-28 08:06:40 | Failed to import test module: neutron_
2020-03-28 08:06:40 | Traceback (most recent call last):
2020-03-28 08:06:40 | File "/usr/lib/
2020-03-28 08:06:40 | module = self._get_
2020-03-28 08:06:40 | File "/usr/lib/
2020-03-28 08:06:40 | __import__(name)
2020-03-28 08:06:40 | File "/usr/lib/
2020-03-28 08:06:40 | from neutron_
2020-03-28 08:06:40 | File "/usr/lib/
2020-03-28 08:06:40 | from os_ken.
2020-03-28 08:06:40 | ImportError: No module named os_ken.
~~~
Changed in tripleo: | |
status: | New → Triaged |
importance: | Undecided → High |
milestone: | none → ussuri-3 |
Changed in tripleo: | |
milestone: | ussuri-3 → ussuri-rc3 |
Actually the issue is upstream jobs are running with un promoted content( tripleo- ci-testing) .
Happening due to below condition:- periodic| default( false)| bool) or (force_ periodic| default( false)| bool) -%}
{% if ('periodic' in zuul.pipeline and not force_non_
Since the pipeline name is 'periodic' in upstream which matches the above check, and these jobs using wrong content( rpms,containers etc) from tripleo-ci-testing tag. For promotion jobs pipeline name starts with openstack- periodic( ex.openstack- periodic- master, openstack- periodic- master- released etc). The condition should be fixed to differentiate promotion jobs with periodic ones running upstream.
https:/ /github. com/openstack/ tripleo- ci/blob/ af5acec7b8b1145 c0eafa65ca1a1bf bae81a2de8/ roles/common/ vars/main. yaml#L26