2026-04-02 14:23:26,972 - INFO - Domain Default found not creating
2026-04-02 14:23:27,138 - INFO - Project ctest-TestPorts-79843636 not found, creating it
2026-04-02 14:23:27,588 - INFO - Created Project:ctest-TestPorts-79843636, ID : 4e8d7388-41d4-4f3c-96a3-175b66090e52
2026-04-02 14:23:29,152 - INFO - ================================================================================
2026-04-02 14:23:29,152 - INFO - STARTING TEST : test_ports_bindings
2026-04-02 14:23:29,152 - INFO - TEST DESCRIPTION :
Verify that we are able to create a port with custom port bindings
Steps:
1) Create Port with Port bindings profile set to {'foo': 'bar'}
2) Retrieve and verify the same is set
2026-04-02 14:23:29,407 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-04-02 14:23:29,407 - INFO - Initial checks done. Running the testcase now
2026-04-02 14:23:29,407 - INFO -
2026-04-02 14:23:29,975 - DEBUG - Response for create_network : {'network': {'id': '662aa0dc-7f53-479f-9834-ecb65bc440d6', 'name': 'ctest-vn-46712272', 'tenant_id': '4e8d738841d44f3c96a3175b66090e52', 'project_id': '4e8d738841d44f3c96a3175b66090e52', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-79843636', 'ctest-vn-46712272'], 'port_security_enabled': True, 'description': ''}}
2026-04-02 14:23:30,151 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bf49162b-2fe7-49bb-a2b8-01d160425a4f', 'name': '', 'tenant_id': '4e8d738841d44f3c96a3175b66090e52', 'network_id': '662aa0dc-7f53-479f-9834-ecb65bc440d6', 'ip_version': 4, 'cidr': '2.26.44.128/26', 'allocation_pools': [{'start': '2.26.44.130', 'end': '2.26.44.190'}], 'gateway_ip': '2.26.44.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '2.26.44.130', 'tags': [], 'project_id': '4e8d738841d44f3c96a3175b66090e52'}}
2026-04-02 14:23:30,168 - INFO - Created VN ctest-vn-46712272
2026-04-02 14:23:30,218 - DEBUG - VN ctest-vn-46712272 UUID is 662aa0dc-7f53-479f-9834-ecb65bc440d6
2026-04-02 14:23:30,328 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-79843636', 'ctest-vmi-62213878']}
2026-04-02 14:23:30,570 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-62213878', 'id': 'e122aab3-6c12-4176-8290-4226502acaca', 'tenant_id': '4e8d738841d44f3c96a3175b66090e52', 'network_id': '662aa0dc-7f53-479f-9834-ecb65bc440d6', 'mac_address': '02:e1:22:aa:b3:6c', 'binding:profile': {'foo': 'bar'}, 'binding:vnic_type': 'normal', 'binding:vif_details': {'port_filter': True}, 'binding:vif_type': 'unbound', 'binding:host_id': None, 'allowed_address_pairs': [], 'fixed_ips': [{'ip_address': '2.26.44.131', 'subnet_id': 'bf49162b-2fe7-49bb-a2b8-01d160425a4f'}], 'security_groups': ['ef38b3dd-0b36-4d6f-aea2-a40b6e90609e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4e8d738841d44f3c96a3175b66090e52'}}
2026-04-02 14:23:30,570 - DEBUG - Created port e122aab3-6c12-4176-8290-4226502acaca
2026-04-02 14:23:30,673 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/e122aab3-6c12-4176-8290-4226502acaca
2026-04-02 14:23:30,968 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/e122aab3-6c12-4176-8290-4226502acaca
2026-04-02 14:23:31,005 - INFO - VMI e122aab3-6c12-4176-8290-4226502acaca verification in API Server passed
2026-04-02 14:23:31,103 - DEBUG - Response for delete_port : ()
2026-04-02 14:23:31,103 - INFO - Deleted port e122aab3-6c12-4176-8290-4226502acaca
2026-04-02 14:23:31,103 - INFO - Deleting VN ctest-vn-46712272
2026-04-02 14:23:31,197 - DEBUG - Response for deleting network ()
2026-04-02 14:23:31,454 - DEBUG - No XMPP flaps were noticed during the test
2026-04-02 14:23:31,454 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-04-02 14:23:31,455 - INFO - --------------------------------------------------------------------------------
2026-04-02 14:23:31,458 - INFO - ================================================================================
2026-04-02 14:23:31,458 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-04-02 14:23:31,458 - INFO - TEST DESCRIPTION : Create ports with specific Subnet and IP
Create two ports in a VN with 2 subnets and specific IPs
Attach to two VMs
Ping between them should pass
2026-04-02 14:23:31,742 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-04-02 14:23:31,742 - INFO - Initial checks done. Running the testcase now
2026-04-02 14:23:31,742 - INFO -
2026-04-02 14:23:31,929 - DEBUG - Response for create_network : {'network': {'id': 'd10d2e6f-ea7d-48ce-945f-40b5aaa6055d', 'name': 'ctest-vn1-72085229', 'tenant_id': '4e8d738841d44f3c96a3175b66090e52', 'project_id': '4e8d738841d44f3c96a3175b66090e52', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-79843636', 'ctest-vn1-72085229'], 'port_security_enabled': True, 'description': ''}}
2026-04-02 14:23:32,110 - DEBUG - Response for create_subnet : {'subnet': {'id': '82783d3d-3316-480d-b8ac-ff3e8397bf99', 'name': '', 'tenant_id': '4e8d738841d44f3c96a3175b66090e52', 'network_id': 'd10d2e6f-ea7d-48ce-945f-40b5aaa6055d', 'ip_version': 4, 'cidr': '109.72.131.0/26', 'allocation_pools': [{'start': '109.72.131.2', 'end': '109.72.131.62'}], 'gateway_ip': '109.72.131.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '109.72.131.2', 'tags': [], 'project_id': '4e8d738841d44f3c96a3175b66090e52'}}
2026-04-02 14:23:32,264 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ac002d2b-5632-4848-9517-ae45f4b6ca2f', 'name': '', 'tenant_id': '4e8d738841d44f3c96a3175b66090e52', 'network_id': 'd10d2e6f-ea7d-48ce-945f-40b5aaa6055d', 'ip_version': 4, 'cidr': '11.120.96.0/26', 'allocation_pools': [{'start': '11.120.96.2', 'end': '11.120.96.62'}], 'gateway_ip': '11.120.96.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.120.96.2', 'tags': [], 'project_id': '4e8d738841d44f3c96a3175b66090e52'}}
2026-04-02 14:23:32,283 - INFO - Created VN ctest-vn1-72085229
2026-04-02 14:23:32,334 - DEBUG - VN ctest-vn1-72085229 UUID is d10d2e6f-ea7d-48ce-945f-40b5aaa6055d
2026-04-02 14:23:32,624 - DEBUG - Response for create_port : {'port': {'name': '553a528e-ffdb-40cb-a7ec-8eb9ac1eab28', 'id': '553a528e-ffdb-40cb-a7ec-8eb9ac1eab28', 'tenant_id': '4e8d738841d44f3c96a3175b66090e52', 'network_id': 'd10d2e6f-ea7d-48ce-945f-40b5aaa6055d', 'mac_address': '02:55:3a:52:8e:ff', 'binding:vnic_type': 'normal', 'binding:vif_details': {'port_filter': True}, 'binding:vif_type': 'unbound', 'binding:host_id': None, 'allowed_address_pairs': [], 'fixed_ips': [{'ip_address': '109.72.131.5', 'subnet_id': '82783d3d-3316-480d-b8ac-ff3e8397bf99'}], 'security_groups': ['ef38b3dd-0b36-4d6f-aea2-a40b6e90609e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4e8d738841d44f3c96a3175b66090e52'}}
2026-04-02 14:23:32,790 - DEBUG - Response for create_port : {'port': {'name': '374b31d8-b319-43d5-ae72-c7fd1a5b1705', 'id': '374b31d8-b319-43d5-ae72-c7fd1a5b1705', 'tenant_id': '4e8d738841d44f3c96a3175b66090e52', 'network_id': 'd10d2e6f-ea7d-48ce-945f-40b5aaa6055d', 'mac_address': '02:37:4b:31:d8:b3', 'binding:vnic_type': 'normal', 'binding:vif_details': {'port_filter': True}, 'binding:vif_type': 'unbound', 'binding:host_id': None, 'allowed_address_pairs': [], 'fixed_ips': [{'ip_address': '11.120.96.5', 'subnet_id': 'ac002d2b-5632-4848-9517-ae45f4b6ca2f'}], 'security_groups': ['ef38b3dd-0b36-4d6f-aea2-a40b6e90609e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4e8d738841d44f3c96a3175b66090e52'}}
2026-04-02 14:23:32,848 - DEBUG - Services list from nova: [, , ]
2026-04-02 14:23:33,201 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5584-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5584-1)
2026-04-02 14:23:33,701 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5584-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5584-1)
2026-04-02 14:23:33,701 - INFO - Waiting for VM ctest-vn1-vm1-22982269 to be up..
2026-04-02 14:23:33,743 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-04-02 14:23:38,840 - DEBUG - VM is in ACTIVE state now
2026-04-02 14:23:38,840 - INFO - VM name : ctest-vn1-vm1-22982269
2026-04-02 14:23:38,917 - DEBUG - VM ctest-vn1-vm1-22982269 ID is 55779fa4-95c0-4ced-9b89-36bcc801705b
2026-04-02 14:23:38,939 - DEBUG - VM ctest-vn1-vm1-22982269 launched on Node cn-jenkins-deploy-platform-ansible-os-5584-1
2026-04-02 14:23:39,026 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/55779fa4-95c0-4ced-9b89-36bcc801705b
2026-04-02 14:23:39,035 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/553a528e-ffdb-40cb-a7ec-8eb9ac1eab28
2026-04-02 14:23:42,301 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1028ms')
2026-04-02 14:23:42,302 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-22982269 failed!
2026-04-02 14:23:42,353 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-79843636:ctest-vn1-72085229 is 109.72.131.1 and allocation pool is NOT set
2026-04-02 14:23:42,354 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-79843636:ctest-vn1-72085229 is 11.120.96.1 and allocation pool is NOT set
2026-04-02 14:23:44,413 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=4.17 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.376 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.376/2.271/4.166/1.895 ms')
2026-04-02 14:23:44,413 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-22982269 passed
2026-04-02 14:23:44,562 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-02 14:23:44,562 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-22982269, IP 109.72.131.5, Port 22
2026-04-02 14:23:44,717 - DEBUG - VM ctest-vn1-vm1-22982269 is ready for SSH connections
2026-04-02 14:23:44,717 - INFO - Waiting for VM ctest-vn1-vm2-07884605 to be up..
2026-04-02 14:23:44,796 - DEBUG - VM is in ACTIVE state now
2026-04-02 14:23:44,796 - INFO - VM name : ctest-vn1-vm2-07884605
2026-04-02 14:23:44,883 - DEBUG - VM ctest-vn1-vm2-07884605 ID is 5c37b9ae-941f-4109-9683-462d98a4e2b3
2026-04-02 14:23:44,883 - DEBUG - VM ctest-vn1-vm2-07884605 launched on Node cn-jenkins-deploy-platform-ansible-os-5584-1
2026-04-02 14:23:44,966 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/5c37b9ae-941f-4109-9683-462d98a4e2b3
2026-04-02 14:23:44,976 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/374b31d8-b319-43d5-ae72-c7fd1a5b1705
2026-04-02 14:23:46,218 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=2.82 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.556 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.556/1.687/2.819/1.131 ms')
2026-04-02 14:23:46,218 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-07884605 passed
2026-04-02 14:23:46,365 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-02 14:23:46,366 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-07884605, IP 11.120.96.5, Port 22
2026-04-02 14:23:46,529 - DEBUG - VM ctest-vn1-vm2-07884605 is ready for SSH connections
2026-04-02 14:23:46,529 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-02 14:23:46,529 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-02 14:23:46,529 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-02 14:23:46,529 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 109.72.131.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2026-04-02 14:23:46,529 - DEBUG - ping -s 56 -c 3 -W 1 109.72.131.5
2026-04-02 14:23:49,198 - DEBUG - PING 109.72.131.5 (109.72.131.5): 56 data bytes
64 bytes from 109.72.131.5: seq=0 ttl=63 time=4.091 ms
64 bytes from 109.72.131.5: seq=1 ttl=63 time=0.792 ms
64 bytes from 109.72.131.5: seq=2 ttl=63 time=0.978 ms
--- 109.72.131.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.792/1.953/4.091 ms
2026-04-02 14:23:49,199 - INFO - Ping to IP 109.72.131.5 from VM ctest-vn1-vm2-07884605 passed
2026-04-02 14:23:49,199 - INFO - Detaching port 374b31d8-b319-43d5-ae72-c7fd1a5b1705 from VM ctest-vn1-vm2-07884605
2026-04-02 14:23:49,248 - INFO - Deleting VM ctest-vn1-vm2-07884605
2026-04-02 14:23:49,319 - INFO - Detaching port 553a528e-ffdb-40cb-a7ec-8eb9ac1eab28 from VM ctest-vn1-vm1-22982269
2026-04-02 14:23:49,354 - INFO - Deleting VM ctest-vn1-vm1-22982269
2026-04-02 14:23:49,575 - DEBUG - Response for delete_port : ()
2026-04-02 14:23:49,768 - DEBUG - Response for delete_port : ()
2026-04-02 14:23:49,768 - INFO - Deleting VN ctest-vn1-72085229
2026-04-02 14:23:49,933 - DEBUG - Response for deleting network ()
2026-04-02 14:23:50,195 - DEBUG - No XMPP flaps were noticed during the test
2026-04-02 14:23:50,195 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2026-04-02 14:23:50,195 - INFO - --------------------------------------------------------------------------------
2026-04-02 14:23:50,886 - INFO - Deleted project: ctest-TestPorts-79843636, ID : 4e8d7388-41d4-4f3c-96a3-175b66090e52