k8s gate tests don't wait for the actual pods to be scheduled

Bug #1645715 reported by Mathieu Velten
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Magnum
In Progress
Undecided
yatin

Bug Description

Currently the gate is basically just testing that the API server is answering.

Fixing by waiting for the pods to be running will make the gate a lot slower since the scheduler & controller manager use hyperkube container, which needs 30mn to be pulled in non accelerated VMs.

Let's see if the jobs don't time out before.

Revision history for this message
Spyros Trigazis (strigazi) wrote :

We need to check when a pod reaches the state.phase = 'Running' with a loop. The current test only checks if the pod is created, not it the pod it's running.

Here:
https://github.com/openstack/magnum/blob/master/magnum/tests/functional/python_client_base.py#L422

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to magnum (master)

Fix proposed to branch: master
Review: https://review.openstack.org/404253

Changed in magnum:
assignee: nobody → Mathieu Velten (matmaul)
status: New → In Progress
Changed in magnum:
assignee: Mathieu Velten (matmaul) → Spyros Trigazis (strigazi)
Changed in magnum:
assignee: Spyros Trigazis (strigazi) → Mathieu Velten (matmaul)
Changed in magnum:
assignee: Mathieu Velten (matmaul) → Spyros Trigazis (strigazi)
Changed in magnum:
assignee: Spyros Trigazis (strigazi) → Mathieu Velten (matmaul)
Changed in magnum:
assignee: Mathieu Velten (matmaul) → Spyros Trigazis (strigazi)
Changed in magnum:
assignee: Spyros Trigazis (strigazi) → Mathieu Velten (matmaul)
Changed in magnum:
assignee: Mathieu Velten (matmaul) → Spyros Trigazis (strigazi)
Changed in magnum:
assignee: Spyros Trigazis (strigazi) → Mathieu Velten (matmaul)
Changed in magnum:
assignee: Mathieu Velten (matmaul) → Spyros Trigazis (strigazi)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to magnum (stable/ocata)

Fix proposed to branch: stable/ocata
Review: https://review.openstack.org/456508

Changed in magnum:
assignee: Spyros Trigazis (strigazi) → Mathieu Velten (matmaul)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on magnum (stable/ocata)

Change abandoned by Mathieu Velten (<email address hidden>) on branch: stable/ocata
Review: https://review.openstack.org/456508

Changed in magnum:
assignee: Mathieu Velten (matmaul) → Spyros Trigazis (strigazi)
Changed in magnum:
assignee: Spyros Trigazis (strigazi) → yatin (yatinkarel)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on magnum (master)

Change abandoned by Feilong Wang (<email address hidden>) on branch: master
Review: https://review.opendev.org/404253
Reason: https://docs.openstack.org/doc-contrib-guide/writing-style/code-conventions.html

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

Other bug subscribers