2025-12-10 13:37:01,243 - INFO - Domain Default found not creating
2025-12-10 13:37:01,408 - INFO - Project ctest-TestPorts-51384568 not found, creating it
2025-12-10 13:37:01,876 - INFO - Created Project:ctest-TestPorts-51384568, ID : 921f8587-b20a-4ec5-847b-c73a4c93659d
2025-12-10 13:37:03,514 - INFO - ================================================================================
2025-12-10 13:37:03,515 - INFO - STARTING TEST : test_ports_bindings
2025-12-10 13:37:03,515 - 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
2025-12-10 13:37:03,769 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.14': '0'}} with
2025-12-10 13:37:03,769 - INFO - Initial checks done. Running the testcase now
2025-12-10 13:37:03,769 - INFO -
2025-12-10 13:37:04,349 - DEBUG - Response for create_network : {'network': {'id': '271736c7-3b43-478f-92cb-ff89db5f3983', 'name': 'ctest-vn-01769899', 'tenant_id': '921f8587b20a4ec5847bc73a4c93659d', 'project_id': '921f8587b20a4ec5847bc73a4c93659d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-51384568', 'ctest-vn-01769899'], 'port_security_enabled': True, 'description': ''}}
2025-12-10 13:37:04,541 - DEBUG - Response for create_subnet : {'subnet': {'id': '3a27787d-c934-4e61-a4e1-a40d9649032f', 'name': '', 'tenant_id': '921f8587b20a4ec5847bc73a4c93659d', 'network_id': '271736c7-3b43-478f-92cb-ff89db5f3983', 'ip_version': 4, 'cidr': '117.194.129.0/26', 'allocation_pools': [{'start': '117.194.129.2', 'end': '117.194.129.62'}], 'gateway_ip': '117.194.129.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '117.194.129.2', 'tags': [], 'project_id': '921f8587b20a4ec5847bc73a4c93659d'}}
2025-12-10 13:37:04,562 - INFO - Created VN ctest-vn-01769899
2025-12-10 13:37:04,618 - DEBUG - VN ctest-vn-01769899 UUID is 271736c7-3b43-478f-92cb-ff89db5f3983
2025-12-10 13:37:04,725 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-51384568', 'ctest-vmi-84976830']}
2025-12-10 13:37:04,975 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-84976830', 'id': 'f05b9edf-505d-4b39-b6b6-70f845f77fea', 'tenant_id': '921f8587b20a4ec5847bc73a4c93659d', 'network_id': '271736c7-3b43-478f-92cb-ff89db5f3983', 'mac_address': '02:f0:5b:9e:df:50', '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': '117.194.129.3', 'subnet_id': '3a27787d-c934-4e61-a4e1-a40d9649032f'}], 'security_groups': ['4476246b-1e48-45c2-a113-5381e5f7453b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '921f8587b20a4ec5847bc73a4c93659d'}}
2025-12-10 13:37:04,975 - DEBUG - Created port f05b9edf-505d-4b39-b6b6-70f845f77fea
2025-12-10 13:37:05,078 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/f05b9edf-505d-4b39-b6b6-70f845f77fea
2025-12-10 13:37:05,376 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/f05b9edf-505d-4b39-b6b6-70f845f77fea
2025-12-10 13:37:05,412 - INFO - VMI f05b9edf-505d-4b39-b6b6-70f845f77fea verification in API Server passed
2025-12-10 13:37:05,503 - DEBUG - Response for delete_port : ()
2025-12-10 13:37:05,503 - INFO - Deleted port f05b9edf-505d-4b39-b6b6-70f845f77fea
2025-12-10 13:37:05,503 - INFO - Deleting VN ctest-vn-01769899
2025-12-10 13:37:05,616 - DEBUG - Response for deleting network ()
2025-12-10 13:37:05,877 - DEBUG - No XMPP flaps were noticed during the test
2025-12-10 13:37:05,877 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-12-10 13:37:05,877 - INFO - --------------------------------------------------------------------------------
2025-12-10 13:37:05,879 - INFO - ================================================================================
2025-12-10 13:37:05,880 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-12-10 13:37:05,880 - 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
2025-12-10 13:37:06,172 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.14': '0'}} with
2025-12-10 13:37:06,172 - INFO - Initial checks done. Running the testcase now
2025-12-10 13:37:06,172 - INFO -
2025-12-10 13:37:06,355 - DEBUG - Response for create_network : {'network': {'id': '8b3f618d-cca8-427a-a543-55901e924c18', 'name': 'ctest-vn1-08036822', 'tenant_id': '921f8587b20a4ec5847bc73a4c93659d', 'project_id': '921f8587b20a4ec5847bc73a4c93659d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-51384568', 'ctest-vn1-08036822'], 'port_security_enabled': True, 'description': ''}}
2025-12-10 13:37:06,538 - DEBUG - Response for create_subnet : {'subnet': {'id': '68bf2b72-b2c8-4a36-9f6b-5bb08ef5f5ad', 'name': '', 'tenant_id': '921f8587b20a4ec5847bc73a4c93659d', 'network_id': '8b3f618d-cca8-427a-a543-55901e924c18', 'ip_version': 4, 'cidr': '211.29.154.128/26', 'allocation_pools': [{'start': '211.29.154.130', 'end': '211.29.154.190'}], 'gateway_ip': '211.29.154.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '211.29.154.130', 'tags': [], 'project_id': '921f8587b20a4ec5847bc73a4c93659d'}}
2025-12-10 13:37:06,746 - DEBUG - Response for create_subnet : {'subnet': {'id': '13ef281e-153a-4bc2-b5f2-04b28d2d2ff6', 'name': '', 'tenant_id': '921f8587b20a4ec5847bc73a4c93659d', 'network_id': '8b3f618d-cca8-427a-a543-55901e924c18', 'ip_version': 4, 'cidr': '179.134.134.0/26', 'allocation_pools': [{'start': '179.134.134.2', 'end': '179.134.134.62'}], 'gateway_ip': '179.134.134.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '179.134.134.2', 'tags': [], 'project_id': '921f8587b20a4ec5847bc73a4c93659d'}}
2025-12-10 13:37:06,766 - INFO - Created VN ctest-vn1-08036822
2025-12-10 13:37:06,818 - DEBUG - VN ctest-vn1-08036822 UUID is 8b3f618d-cca8-427a-a543-55901e924c18
2025-12-10 13:37:07,106 - DEBUG - Response for create_port : {'port': {'name': 'e91e96e4-56b2-4691-9997-7e8ae4a6753c', 'id': 'e91e96e4-56b2-4691-9997-7e8ae4a6753c', 'tenant_id': '921f8587b20a4ec5847bc73a4c93659d', 'network_id': '8b3f618d-cca8-427a-a543-55901e924c18', 'mac_address': '02:e9:1e:96:e4:56', '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': '211.29.154.133', 'subnet_id': '68bf2b72-b2c8-4a36-9f6b-5bb08ef5f5ad'}], 'security_groups': ['4476246b-1e48-45c2-a113-5381e5f7453b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '921f8587b20a4ec5847bc73a4c93659d'}}
2025-12-10 13:37:07,262 - DEBUG - Response for create_port : {'port': {'name': 'd06c9c09-5931-439b-a6b5-38b1aab03bea', 'id': 'd06c9c09-5931-439b-a6b5-38b1aab03bea', 'tenant_id': '921f8587b20a4ec5847bc73a4c93659d', 'network_id': '8b3f618d-cca8-427a-a543-55901e924c18', 'mac_address': '02:d0:6c:9c:09:59', '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': '179.134.134.5', 'subnet_id': '13ef281e-153a-4bc2-b5f2-04b28d2d2ff6'}], 'security_groups': ['4476246b-1e48-45c2-a113-5381e5f7453b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '921f8587b20a4ec5847bc73a4c93659d'}}
2025-12-10 13:37:07,320 - DEBUG - Services list from nova: [, , ]
2025-12-10 13:37:07,663 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4875-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4875-1)
2025-12-10 13:37:08,102 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4875-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4875-1)
2025-12-10 13:37:08,102 - INFO - Waiting for VM ctest-vn1-vm1-99919228 to be up..
2025-12-10 13:37:08,142 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-12-10 13:37:13,220 - DEBUG - VM is in ACTIVE state now
2025-12-10 13:37:13,220 - INFO - VM name : ctest-vn1-vm1-99919228
2025-12-10 13:37:13,294 - DEBUG - VM ctest-vn1-vm1-99919228 ID is 165a9c15-51a6-4f5b-96de-38dd5389c544
2025-12-10 13:37:13,313 - DEBUG - VM ctest-vn1-vm1-99919228 launched on Node cn-jenkins-deploy-platform-ansible-os-4875-1
2025-12-10 13:37:13,384 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/165a9c15-51a6-4f5b-96de-38dd5389c544
2025-12-10 13:37:13,392 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/e91e96e4-56b2-4691-9997-7e8ae4a6753c
2025-12-10 13:37:16,634 - 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 1011ms')
2025-12-10 13:37:16,634 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-99919228 failed!
2025-12-10 13:37:16,690 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-51384568:ctest-vn1-08036822 is 211.29.154.129 and allocation pool is NOT set
2025-12-10 13:37:16,691 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-51384568:ctest-vn1-08036822 is 179.134.134.1 and allocation pool is NOT set
2025-12-10 13:37:20,758 - 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=7.82 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1006ms\r\nrtt min/avg/max/mdev = 7.823/7.823/7.823/0.000 ms')
2025-12-10 13:37:20,758 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-99919228 passed
2025-12-10 13:37:20,910 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-10 13:37:20,911 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-99919228, IP 211.29.154.133, Port 22
2025-12-10 13:37:21,066 - DEBUG - VM ctest-vn1-vm1-99919228 is ready for SSH connections
2025-12-10 13:37:21,066 - INFO - Waiting for VM ctest-vn1-vm2-75484074 to be up..
2025-12-10 13:37:21,150 - DEBUG - VM is in ACTIVE state now
2025-12-10 13:37:21,150 - INFO - VM name : ctest-vn1-vm2-75484074
2025-12-10 13:37:21,235 - DEBUG - VM ctest-vn1-vm2-75484074 ID is f862d734-7249-493c-8a9e-175d6f8b424e
2025-12-10 13:37:21,235 - DEBUG - VM ctest-vn1-vm2-75484074 launched on Node cn-jenkins-deploy-platform-ansible-os-4875-1
2025-12-10 13:37:21,324 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/f862d734-7249-493c-8a9e-175d6f8b424e
2025-12-10 13:37:21,333 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/d06c9c09-5931-439b-a6b5-38b1aab03bea
2025-12-10 13:37:22,575 - 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=3.47 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.443 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.443/1.955/3.467/1.512 ms')
2025-12-10 13:37:22,575 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-75484074 passed
2025-12-10 13:37:22,730 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-10 13:37:22,730 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-75484074, IP 179.134.134.5, Port 22
2025-12-10 13:37:22,889 - DEBUG - VM ctest-vn1-vm2-75484074 is ready for SSH connections
2025-12-10 13:37:22,890 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-10 13:37:22,890 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-10 13:37:22,890 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-10 13:37:22,890 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 211.29.154.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123
2025-12-10 13:37:22,890 - DEBUG - ping -s 56 -c 3 -W 1 211.29.154.133
2025-12-10 13:37:25,536 - DEBUG - PING 211.29.154.133 (211.29.154.133): 56 data bytes
64 bytes from 211.29.154.133: seq=0 ttl=63 time=3.792 ms
64 bytes from 211.29.154.133: seq=1 ttl=63 time=1.074 ms
64 bytes from 211.29.154.133: seq=2 ttl=63 time=0.942 ms
--- 211.29.154.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.942/1.936/3.792 ms
2025-12-10 13:37:25,536 - INFO - Ping to IP 211.29.154.133 from VM ctest-vn1-vm2-75484074 passed
2025-12-10 13:37:25,536 - INFO - Detaching port d06c9c09-5931-439b-a6b5-38b1aab03bea from VM ctest-vn1-vm2-75484074
2025-12-10 13:37:25,586 - INFO - Deleting VM ctest-vn1-vm2-75484074
2025-12-10 13:37:25,685 - INFO - Detaching port e91e96e4-56b2-4691-9997-7e8ae4a6753c from VM ctest-vn1-vm1-99919228
2025-12-10 13:37:25,722 - INFO - Deleting VM ctest-vn1-vm1-99919228
2025-12-10 13:37:25,936 - DEBUG - Response for delete_port : ()
2025-12-10 13:37:26,101 - DEBUG - Response for delete_port : ()
2025-12-10 13:37:26,101 - INFO - Deleting VN ctest-vn1-08036822
2025-12-10 13:37:26,239 - DEBUG - Response for deleting network ()
2025-12-10 13:37:26,492 - DEBUG - No XMPP flaps were noticed during the test
2025-12-10 13:37:26,492 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-12-10 13:37:26,492 - INFO - --------------------------------------------------------------------------------
2025-12-10 13:37:27,237 - INFO - Deleted project: ctest-TestPorts-51384568, ID : 921f8587-b20a-4ec5-847b-c73a4c93659d