2026-03-16 10:39:52,417 - INFO - Domain Default found not creating
2026-03-16 10:39:52,681 - INFO - Project ctest-TestPorts-74930129 not found, creating it
2026-03-16 10:39:53,146 - INFO - Created Project:ctest-TestPorts-74930129, ID : a4cf2b42-cbcc-496d-85f4-e0da8370b9a9
2026-03-16 10:39:54,642 - INFO - ================================================================================
2026-03-16 10:39:54,642 - INFO - STARTING TEST : test_ports_bindings
2026-03-16 10:39:54,642 - 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-03-16 10:39:54,900 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-03-16 10:39:54,900 - INFO - Initial checks done. Running the testcase now
2026-03-16 10:39:54,900 - INFO -
2026-03-16 10:39:55,458 - DEBUG - Response for create_network : {'network': {'id': 'f3b542eb-fc69-4329-955c-3db7cfea1968', 'name': 'ctest-vn-56309673', 'tenant_id': 'a4cf2b42cbcc496d85f4e0da8370b9a9', 'project_id': 'a4cf2b42cbcc496d85f4e0da8370b9a9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-74930129', 'ctest-vn-56309673'], 'port_security_enabled': True, 'description': ''}}
2026-03-16 10:39:55,652 - DEBUG - Response for create_subnet : {'subnet': {'id': '25a66220-e9ac-4959-96f3-912fcae34cbd', 'name': '', 'tenant_id': 'a4cf2b42cbcc496d85f4e0da8370b9a9', 'network_id': 'f3b542eb-fc69-4329-955c-3db7cfea1968', 'ip_version': 4, 'cidr': '55.135.103.64/26', 'allocation_pools': [{'start': '55.135.103.66', 'end': '55.135.103.126'}], 'gateway_ip': '55.135.103.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '55.135.103.66', 'tags': [], 'project_id': 'a4cf2b42cbcc496d85f4e0da8370b9a9'}}
2026-03-16 10:39:55,672 - INFO - Created VN ctest-vn-56309673
2026-03-16 10:39:55,726 - DEBUG - VN ctest-vn-56309673 UUID is f3b542eb-fc69-4329-955c-3db7cfea1968
2026-03-16 10:39:55,842 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-74930129', 'ctest-vmi-72597817']}
2026-03-16 10:39:56,092 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-72597817', 'id': '7b79beea-24b7-44b4-9f38-818f2ce00830', 'tenant_id': 'a4cf2b42cbcc496d85f4e0da8370b9a9', 'network_id': 'f3b542eb-fc69-4329-955c-3db7cfea1968', 'mac_address': '02:7b:79:be:ea:24', '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': '55.135.103.67', 'subnet_id': '25a66220-e9ac-4959-96f3-912fcae34cbd'}], 'security_groups': ['0b034e32-1e75-4316-837b-15676667313b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a4cf2b42cbcc496d85f4e0da8370b9a9'}}
2026-03-16 10:39:56,092 - DEBUG - Created port 7b79beea-24b7-44b4-9f38-818f2ce00830
2026-03-16 10:39:56,198 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/7b79beea-24b7-44b4-9f38-818f2ce00830
2026-03-16 10:39:56,463 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/7b79beea-24b7-44b4-9f38-818f2ce00830
2026-03-16 10:39:56,505 - INFO - VMI 7b79beea-24b7-44b4-9f38-818f2ce00830 verification in API Server passed
2026-03-16 10:39:56,599 - DEBUG - Response for delete_port : ()
2026-03-16 10:39:56,599 - INFO - Deleted port 7b79beea-24b7-44b4-9f38-818f2ce00830
2026-03-16 10:39:56,599 - INFO - Deleting VN ctest-vn-56309673
2026-03-16 10:39:56,703 - DEBUG - Response for deleting network ()
2026-03-16 10:39:56,963 - DEBUG - No XMPP flaps were noticed during the test
2026-03-16 10:39:56,963 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-03-16 10:39:56,963 - INFO - --------------------------------------------------------------------------------
2026-03-16 10:39:56,967 - INFO - ================================================================================
2026-03-16 10:39:56,967 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-03-16 10:39:56,967 - 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-03-16 10:39:57,252 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-03-16 10:39:57,252 - INFO - Initial checks done. Running the testcase now
2026-03-16 10:39:57,252 - INFO -
2026-03-16 10:39:57,449 - DEBUG - Response for create_network : {'network': {'id': '7d80fe2e-afac-48c4-b5db-37d9ee91c058', 'name': 'ctest-vn1-44825493', 'tenant_id': 'a4cf2b42cbcc496d85f4e0da8370b9a9', 'project_id': 'a4cf2b42cbcc496d85f4e0da8370b9a9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-74930129', 'ctest-vn1-44825493'], 'port_security_enabled': True, 'description': ''}}
2026-03-16 10:39:57,624 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a31e88a0-a84d-4ad9-a45a-92348c41933f', 'name': '', 'tenant_id': 'a4cf2b42cbcc496d85f4e0da8370b9a9', 'network_id': '7d80fe2e-afac-48c4-b5db-37d9ee91c058', 'ip_version': 4, 'cidr': '171.104.228.128/26', 'allocation_pools': [{'start': '171.104.228.130', 'end': '171.104.228.190'}], 'gateway_ip': '171.104.228.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '171.104.228.130', 'tags': [], 'project_id': 'a4cf2b42cbcc496d85f4e0da8370b9a9'}}
2026-03-16 10:39:57,800 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd98f49e9-0a4a-47b3-9176-1afd3f66d175', 'name': '', 'tenant_id': 'a4cf2b42cbcc496d85f4e0da8370b9a9', 'network_id': '7d80fe2e-afac-48c4-b5db-37d9ee91c058', 'ip_version': 4, 'cidr': '85.8.239.0/26', 'allocation_pools': [{'start': '85.8.239.2', 'end': '85.8.239.62'}], 'gateway_ip': '85.8.239.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '85.8.239.2', 'tags': [], 'project_id': 'a4cf2b42cbcc496d85f4e0da8370b9a9'}}
2026-03-16 10:39:57,823 - INFO - Created VN ctest-vn1-44825493
2026-03-16 10:39:57,874 - DEBUG - VN ctest-vn1-44825493 UUID is 7d80fe2e-afac-48c4-b5db-37d9ee91c058
2026-03-16 10:39:58,189 - DEBUG - Response for create_port : {'port': {'name': '86588ab7-16f9-40ba-8f9b-d31fce649e31', 'id': '86588ab7-16f9-40ba-8f9b-d31fce649e31', 'tenant_id': 'a4cf2b42cbcc496d85f4e0da8370b9a9', 'network_id': '7d80fe2e-afac-48c4-b5db-37d9ee91c058', 'mac_address': '02:86:58:8a:b7:16', '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': '171.104.228.133', 'subnet_id': 'a31e88a0-a84d-4ad9-a45a-92348c41933f'}], 'security_groups': ['0b034e32-1e75-4316-837b-15676667313b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a4cf2b42cbcc496d85f4e0da8370b9a9'}}
2026-03-16 10:39:58,357 - DEBUG - Response for create_port : {'port': {'name': '47f3d4de-8974-49d6-972b-74d4adfbaae4', 'id': '47f3d4de-8974-49d6-972b-74d4adfbaae4', 'tenant_id': 'a4cf2b42cbcc496d85f4e0da8370b9a9', 'network_id': '7d80fe2e-afac-48c4-b5db-37d9ee91c058', 'mac_address': '02:47:f3:d4:de:89', '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': '85.8.239.5', 'subnet_id': 'd98f49e9-0a4a-47b3-9176-1afd3f66d175'}], 'security_groups': ['0b034e32-1e75-4316-837b-15676667313b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a4cf2b42cbcc496d85f4e0da8370b9a9'}}
2026-03-16 10:39:58,424 - DEBUG - Services list from nova: [, , ]
2026-03-16 10:39:58,791 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5475-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5475-1)
2026-03-16 10:39:59,220 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5475-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5475-1)
2026-03-16 10:39:59,220 - INFO - Waiting for VM ctest-vn1-vm1-18183081 to be up..
2026-03-16 10:39:59,261 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-03-16 10:40:04,355 - DEBUG - VM is in ACTIVE state now
2026-03-16 10:40:04,355 - INFO - VM name : ctest-vn1-vm1-18183081
2026-03-16 10:40:04,453 - DEBUG - VM ctest-vn1-vm1-18183081 ID is e1645f3a-3059-4172-9992-2c473f7d627e
2026-03-16 10:40:04,481 - DEBUG - VM ctest-vn1-vm1-18183081 launched on Node cn-jenkins-deploy-platform-ansible-os-5475-1
2026-03-16 10:40:04,574 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/e1645f3a-3059-4172-9992-2c473f7d627e
2026-03-16 10:40:04,584 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/86588ab7-16f9-40ba-8f9b-d31fce649e31
2026-03-16 10:40:07,854 - 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 1019ms')
2026-03-16 10:40:07,854 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-18183081 failed!
2026-03-16 10:40:07,910 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-74930129:ctest-vn1-44825493 is 171.104.228.129 and allocation pool is NOT set
2026-03-16 10:40:07,910 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-74930129:ctest-vn1-44825493 is 85.8.239.1 and allocation pool is NOT set
2026-03-16 10:40:11,975 - 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=2 ttl=63 time=8.91 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1010ms\r\nrtt min/avg/max/mdev = 8.905/8.905/8.905/0.000 ms')
2026-03-16 10:40:11,975 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-18183081 passed
2026-03-16 10:40:12,130 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-16 10:40:12,130 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-18183081, IP 171.104.228.133, Port 22
2026-03-16 10:40:12,285 - DEBUG - VM ctest-vn1-vm1-18183081 is ready for SSH connections
2026-03-16 10:40:12,285 - INFO - Waiting for VM ctest-vn1-vm2-28499717 to be up..
2026-03-16 10:40:12,364 - DEBUG - VM is in ACTIVE state now
2026-03-16 10:40:12,364 - INFO - VM name : ctest-vn1-vm2-28499717
2026-03-16 10:40:12,444 - DEBUG - VM ctest-vn1-vm2-28499717 ID is 3832740e-56e5-484c-82a8-fc05a6bd0eba
2026-03-16 10:40:12,444 - DEBUG - VM ctest-vn1-vm2-28499717 launched on Node cn-jenkins-deploy-platform-ansible-os-5475-1
2026-03-16 10:40:12,529 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/3832740e-56e5-484c-82a8-fc05a6bd0eba
2026-03-16 10:40:12,539 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/47f3d4de-8974-49d6-972b-74d4adfbaae4
2026-03-16 10:40:13,780 - 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=4.85 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.17 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 = 1.173/3.009/4.846/1.836 ms')
2026-03-16 10:40:13,780 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-28499717 passed
2026-03-16 10:40:13,930 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-16 10:40:13,930 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-28499717, IP 85.8.239.5, Port 22
2026-03-16 10:40:14,081 - DEBUG - VM ctest-vn1-vm2-28499717 is ready for SSH connections
2026-03-16 10:40:14,081 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-16 10:40:14,081 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-16 10:40:14,081 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-16 10:40:14,082 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 171.104.228.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2026-03-16 10:40:14,082 - DEBUG - ping -s 56 -c 3 -W 1 171.104.228.133
2026-03-16 10:40:16,761 - DEBUG - PING 171.104.228.133 (171.104.228.133): 56 data bytes
64 bytes from 171.104.228.133: seq=0 ttl=63 time=4.542 ms
64 bytes from 171.104.228.133: seq=1 ttl=63 time=0.973 ms
64 bytes from 171.104.228.133: seq=2 ttl=63 time=1.204 ms
--- 171.104.228.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.973/2.239/4.542 ms
2026-03-16 10:40:16,761 - INFO - Ping to IP 171.104.228.133 from VM ctest-vn1-vm2-28499717 passed
2026-03-16 10:40:16,761 - INFO - Detaching port 47f3d4de-8974-49d6-972b-74d4adfbaae4 from VM ctest-vn1-vm2-28499717
2026-03-16 10:40:16,813 - INFO - Deleting VM ctest-vn1-vm2-28499717
2026-03-16 10:40:16,898 - INFO - Detaching port 86588ab7-16f9-40ba-8f9b-d31fce649e31 from VM ctest-vn1-vm1-18183081
2026-03-16 10:40:16,935 - INFO - Deleting VM ctest-vn1-vm1-18183081
2026-03-16 10:40:17,222 - DEBUG - Response for delete_port : ()
2026-03-16 10:40:17,415 - DEBUG - Response for delete_port : ()
2026-03-16 10:40:17,415 - INFO - Deleting VN ctest-vn1-44825493
2026-03-16 10:40:17,550 - DEBUG - Response for deleting network ()
2026-03-16 10:40:17,812 - DEBUG - No XMPP flaps were noticed during the test
2026-03-16 10:40:17,813 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2026-03-16 10:40:17,813 - INFO - --------------------------------------------------------------------------------
2026-03-16 10:40:18,491 - INFO - Deleted project: ctest-TestPorts-74930129, ID : a4cf2b42-cbcc-496d-85f4-e0da8370b9a9