Add functional tests for Attach/Detach VIF in ironic tempest plugin

Bug #1666534 reported by Kyrylo Romanenko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic
Fix Released
Low
Kyrylo Romanenko

Bug Description

Add functional tests for Attach/Detach VIF in ironic tempest plugin

Changed in ironic:
assignee: nobody → Kyrylo Romanenko (kromanenko)
Changed in ironic:
status: New → In Progress
Revision history for this message
Kyrylo Romanenko (kromanenko) wrote :
Revision history for this message
Vladyslav Drok (vdrok) wrote :

I'd prefer using the bug which was describing the actual feature instead of introducing new ones, but well, they're here already...

Changed in ironic:
importance: Undecided → Low
Revision history for this message
Ruby Loo (rloo) wrote :

I agree with vdrok

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

Reviewed: https://review.openstack.org/436003
Committed: https://git.openstack.org/cgit/openstack/ironic/commit/?id=7359c360e5b1d45b627d213a11f937f4ed860583
Submitter: Jenkins
Branch: master

commit 7359c360e5b1d45b627d213a11f937f4ed860583
Author: Kyrylo Romanenko <email address hidden>
Date: Mon Feb 20 15:55:23 2017 +0200

    Extend tests and checks for node VIFs

    Add more checks to the test_vifs test:
      - check that attached VIF appears in port internal_info;
      - check that VIF was detached and does not appear in
        node's VIF list anymore.
    Add test for VIF attachement to node with portgroup.

    Partial-Bug: #1666534
    Change-Id: I755df18e03d01fe93f85df114b979ea7ea70ca53

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

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

Changed in ironic:
assignee: Kyrylo Romanenko (kromanenko) → John L. Villalovos (happycamp)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on ironic-tempest-plugin (master)

Change abandoned by John L. Villalovos (<email address hidden>) on branch: master
Review: https://review.openstack.org/489796
Reason: Will work with infra to do a batch upload.

Changed in ironic:
assignee: John L. Villalovos (happycamp) → Kyrylo Romanenko (kromanenko)
Revision history for this message
Iury Gregory Melo Ferreira (iurygregory) wrote :

Seems like one of the patches got merged, so I will assume we fixed this bug. (Since is quite old - 2017...)

Changed in ironic:
status: In Progress → Fix Released
Revision history for this message
Kyrylo Romanenko (kromanenko) wrote :

It seems I have some time now to complete the 2nd patch as well :)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ironic-tempest-plugin (master)

Reviewed: https://review.opendev.org/c/openstack/ironic-tempest-plugin/+/906078
Committed: https://opendev.org/openstack/ironic-tempest-plugin/commit/95b901c3ffa7f758011c5d3a4ecca5c45dc3da60
Submitter: "Zuul (22348)"
Branch: master

commit 95b901c3ffa7f758011c5d3a4ecca5c45dc3da60
Author: Kyrylo Romanenko <email address hidden>
Date: Fri Jan 19 05:24:44 2024 +0400

    Add negative tests for VIF attach/detach operations

    Add tests:
      test_vif_already_attached_on_internal_info
      test_vif_already_attached_with_portgroups
      test_vif_attach_no_free_port
      test_vif_attach_no_port
      test_vif_attach_with_empty_portgroup
      test_vif_attach_port_not_in_portgroup
      test_vif_attach_node_doesnt_exist
      test_vif_attach_no_args
      test_vif_detach_not_existing
      test_vif_detach_no_args

    Closes-Bug: #1666534
    Change-Id: I657fbecd37ceec424da6182507f324b653288857

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on ironic (master)

Change abandoned by "Kyrylo Romanenko <email address hidden>" on branch: master
Review: https://review.opendev.org/c/openstack/ironic/+/435952
Reason: Complete in new PS in a separate repository for the ironic tempest plugin.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/ironic-tempest-plugin 2.8.0

This issue was fixed in the openstack/ironic-tempest-plugin 2.8.0 release.

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.