2026-03-20 15:10:27,166 - INFO - Domain Default found not creating
2026-03-20 15:10:27,377 - INFO - Project ctest-TestPorts-45263360 not found, creating it
2026-03-20 15:10:27,970 - INFO - Created Project:ctest-TestPorts-45263360, ID : 567221ac-635a-465c-9024-031e4972e43e
2026-03-20 15:10:29,557 - INFO - ================================================================================
2026-03-20 15:10:29,557 - INFO - STARTING TEST : test_ports_bindings
2026-03-20 15:10:29,557 - 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-20 15:10:29,816 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-03-20 15:10:29,816 - INFO - Initial checks done. Running the testcase now
2026-03-20 15:10:29,816 - INFO -
2026-03-20 15:10:30,390 - DEBUG - Response for create_network : {'network': {'id': '4c340088-68e9-4646-ac8a-c179b6afc0d1', 'name': 'ctest-vn-11357398', 'tenant_id': '567221ac635a465c9024031e4972e43e', 'project_id': '567221ac635a465c9024031e4972e43e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-45263360', 'ctest-vn-11357398'], 'port_security_enabled': True, 'description': ''}}
2026-03-20 15:10:30,611 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ed775f51-0892-4666-9293-60dc6b46403c', 'name': '', 'tenant_id': '567221ac635a465c9024031e4972e43e', 'network_id': '4c340088-68e9-4646-ac8a-c179b6afc0d1', 'ip_version': 4, 'cidr': '146.132.193.192/26', 'allocation_pools': [{'start': '146.132.193.194', 'end': '146.132.193.254'}], 'gateway_ip': '146.132.193.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.132.193.194', 'tags': [], 'project_id': '567221ac635a465c9024031e4972e43e'}}
2026-03-20 15:10:30,629 - INFO - Created VN ctest-vn-11357398
2026-03-20 15:10:30,681 - DEBUG - VN ctest-vn-11357398 UUID is 4c340088-68e9-4646-ac8a-c179b6afc0d1
2026-03-20 15:10:30,792 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-45263360', 'ctest-vmi-80781692']}
2026-03-20 15:10:31,028 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-80781692', 'id': '8f4050db-db6c-4822-ae16-d391390aff87', 'tenant_id': '567221ac635a465c9024031e4972e43e', 'network_id': '4c340088-68e9-4646-ac8a-c179b6afc0d1', 'mac_address': '02:8f:40:50:db:db', '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': '146.132.193.195', 'subnet_id': 'ed775f51-0892-4666-9293-60dc6b46403c'}], 'security_groups': ['834233e5-8f72-4633-9776-f660519d66d5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '567221ac635a465c9024031e4972e43e'}}
2026-03-20 15:10:31,029 - DEBUG - Created port 8f4050db-db6c-4822-ae16-d391390aff87
2026-03-20 15:10:31,133 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/8f4050db-db6c-4822-ae16-d391390aff87
2026-03-20 15:10:31,432 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/8f4050db-db6c-4822-ae16-d391390aff87
2026-03-20 15:10:31,470 - INFO - VMI 8f4050db-db6c-4822-ae16-d391390aff87 verification in API Server passed
2026-03-20 15:10:31,566 - DEBUG - Response for delete_port : ()
2026-03-20 15:10:31,566 - INFO - Deleted port 8f4050db-db6c-4822-ae16-d391390aff87
2026-03-20 15:10:31,566 - INFO - Deleting VN ctest-vn-11357398
2026-03-20 15:10:31,673 - DEBUG - Response for deleting network ()
2026-03-20 15:10:31,931 - DEBUG - No XMPP flaps were noticed during the test
2026-03-20 15:10:31,931 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-03-20 15:10:31,931 - INFO - --------------------------------------------------------------------------------
2026-03-20 15:10:31,934 - INFO - ================================================================================
2026-03-20 15:10:31,934 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-03-20 15:10:31,934 - 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-20 15:10:32,230 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-03-20 15:10:32,230 - INFO - Initial checks done. Running the testcase now
2026-03-20 15:10:32,230 - INFO -
2026-03-20 15:10:32,429 - DEBUG - Response for create_network : {'network': {'id': 'ea7ffba5-9be2-4642-a40d-312849d0e0ce', 'name': 'ctest-vn1-37625204', 'tenant_id': '567221ac635a465c9024031e4972e43e', 'project_id': '567221ac635a465c9024031e4972e43e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-45263360', 'ctest-vn1-37625204'], 'port_security_enabled': True, 'description': ''}}
2026-03-20 15:10:32,604 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e4c8cd92-5b1e-4325-a83f-9b0956450644', 'name': '', 'tenant_id': '567221ac635a465c9024031e4972e43e', 'network_id': 'ea7ffba5-9be2-4642-a40d-312849d0e0ce', 'ip_version': 4, 'cidr': '178.251.187.192/26', 'allocation_pools': [{'start': '178.251.187.194', 'end': '178.251.187.254'}], 'gateway_ip': '178.251.187.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '178.251.187.194', 'tags': [], 'project_id': '567221ac635a465c9024031e4972e43e'}}
2026-03-20 15:10:32,751 - DEBUG - Response for create_subnet : {'subnet': {'id': '4096a42a-7841-4e1a-8f8f-fa479c6f1103', 'name': '', 'tenant_id': '567221ac635a465c9024031e4972e43e', 'network_id': 'ea7ffba5-9be2-4642-a40d-312849d0e0ce', 'ip_version': 4, 'cidr': '191.185.140.192/26', 'allocation_pools': [{'start': '191.185.140.194', 'end': '191.185.140.254'}], 'gateway_ip': '191.185.140.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '191.185.140.194', 'tags': [], 'project_id': '567221ac635a465c9024031e4972e43e'}}
2026-03-20 15:10:32,772 - INFO - Created VN ctest-vn1-37625204
2026-03-20 15:10:32,825 - DEBUG - VN ctest-vn1-37625204 UUID is ea7ffba5-9be2-4642-a40d-312849d0e0ce
2026-03-20 15:10:33,137 - DEBUG - Response for create_port : {'port': {'name': '8db94fa5-8a12-455a-b775-9851654cbb39', 'id': '8db94fa5-8a12-455a-b775-9851654cbb39', 'tenant_id': '567221ac635a465c9024031e4972e43e', 'network_id': 'ea7ffba5-9be2-4642-a40d-312849d0e0ce', 'mac_address': '02:8d:b9:4f:a5:8a', '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': '178.251.187.197', 'subnet_id': 'e4c8cd92-5b1e-4325-a83f-9b0956450644'}], 'security_groups': ['834233e5-8f72-4633-9776-f660519d66d5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '567221ac635a465c9024031e4972e43e'}}
2026-03-20 15:10:33,317 - DEBUG - Response for create_port : {'port': {'name': '72581d19-53e1-4d56-9926-81286fbc6a58', 'id': '72581d19-53e1-4d56-9926-81286fbc6a58', 'tenant_id': '567221ac635a465c9024031e4972e43e', 'network_id': 'ea7ffba5-9be2-4642-a40d-312849d0e0ce', 'mac_address': '02:72:58:1d:19:53', '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': '191.185.140.197', 'subnet_id': '4096a42a-7841-4e1a-8f8f-fa479c6f1103'}], 'security_groups': ['834233e5-8f72-4633-9776-f660519d66d5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '567221ac635a465c9024031e4972e43e'}}
2026-03-20 15:10:33,376 - DEBUG - Services list from nova: [, , ]
2026-03-20 15:10:33,725 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5506-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5506-1)
2026-03-20 15:10:34,125 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5506-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5506-1)
2026-03-20 15:10:34,126 - INFO - Waiting for VM ctest-vn1-vm1-08836714 to be up..
2026-03-20 15:10:34,164 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-03-20 15:10:39,253 - DEBUG - VM is in ACTIVE state now
2026-03-20 15:10:39,253 - INFO - VM name : ctest-vn1-vm1-08836714
2026-03-20 15:10:39,332 - DEBUG - VM ctest-vn1-vm1-08836714 ID is 9bea0882-f1bf-402a-abef-d1f58231c552
2026-03-20 15:10:39,351 - DEBUG - VM ctest-vn1-vm1-08836714 launched on Node cn-jenkins-deploy-platform-ansible-os-5506-1
2026-03-20 15:10:39,427 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/9bea0882-f1bf-402a-abef-d1f58231c552
2026-03-20 15:10:39,435 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/8db94fa5-8a12-455a-b775-9851654cbb39
2026-03-20 15:10:42,691 - 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 1027ms')
2026-03-20 15:10:42,692 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-08836714 failed!
2026-03-20 15:10:42,749 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-45263360:ctest-vn1-37625204 is 178.251.187.193 and allocation pool is NOT set
2026-03-20 15:10:42,750 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-45263360:ctest-vn1-37625204 is 191.185.140.193 and allocation pool is NOT set
2026-03-20 15:10:46,822 - 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=5.42 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1011ms\r\nrtt min/avg/max/mdev = 5.422/5.422/5.422/0.000 ms')
2026-03-20 15:10:46,822 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-08836714 passed
2026-03-20 15:10:46,973 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-20 15:10:46,973 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-08836714, IP 178.251.187.197, Port 22
2026-03-20 15:10:47,129 - DEBUG - VM ctest-vn1-vm1-08836714 is ready for SSH connections
2026-03-20 15:10:47,129 - INFO - Waiting for VM ctest-vn1-vm2-42122170 to be up..
2026-03-20 15:10:47,224 - DEBUG - VM is in ACTIVE state now
2026-03-20 15:10:47,224 - INFO - VM name : ctest-vn1-vm2-42122170
2026-03-20 15:10:47,302 - DEBUG - VM ctest-vn1-vm2-42122170 ID is 2475a438-22d9-4f07-b6d6-65d69fc86df0
2026-03-20 15:10:47,302 - DEBUG - VM ctest-vn1-vm2-42122170 launched on Node cn-jenkins-deploy-platform-ansible-os-5506-1
2026-03-20 15:10:47,393 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/2475a438-22d9-4f07-b6d6-65d69fc86df0
2026-03-20 15:10:47,401 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/72581d19-53e1-4d56-9926-81286fbc6a58
2026-03-20 15:10:48,655 - 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.86 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.619 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.619/1.737/2.855/1.118 ms')
2026-03-20 15:10:48,655 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-42122170 passed
2026-03-20 15:10:48,809 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-20 15:10:48,809 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-42122170, IP 191.185.140.197, Port 22
2026-03-20 15:10:48,966 - DEBUG - VM ctest-vn1-vm2-42122170 is ready for SSH connections
2026-03-20 15:10:48,966 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-20 15:10:48,966 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-20 15:10:48,966 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-20 15:10:48,966 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 178.251.187.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2026-03-20 15:10:48,966 - DEBUG - ping -s 56 -c 3 -W 1 178.251.187.197
2026-03-20 15:10:51,684 - DEBUG - PING 178.251.187.197 (178.251.187.197): 56 data bytes
64 bytes from 178.251.187.197: seq=0 ttl=63 time=3.584 ms
64 bytes from 178.251.187.197: seq=1 ttl=63 time=0.897 ms
64 bytes from 178.251.187.197: seq=2 ttl=63 time=0.821 ms
--- 178.251.187.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.821/1.767/3.584 ms
2026-03-20 15:10:51,685 - INFO - Ping to IP 178.251.187.197 from VM ctest-vn1-vm2-42122170 passed
2026-03-20 15:10:51,685 - INFO - Detaching port 72581d19-53e1-4d56-9926-81286fbc6a58 from VM ctest-vn1-vm2-42122170
2026-03-20 15:10:51,739 - INFO - Deleting VM ctest-vn1-vm2-42122170
2026-03-20 15:10:51,812 - INFO - Detaching port 8db94fa5-8a12-455a-b775-9851654cbb39 from VM ctest-vn1-vm1-08836714
2026-03-20 15:10:51,848 - INFO - Deleting VM ctest-vn1-vm1-08836714
2026-03-20 15:10:52,115 - DEBUG - Response for delete_port : ()
2026-03-20 15:10:52,312 - DEBUG - Response for delete_port : ()
2026-03-20 15:10:52,313 - INFO - Deleting VN ctest-vn1-37625204
2026-03-20 15:10:52,470 - DEBUG - Response for deleting network ()
2026-03-20 15:10:52,736 - DEBUG - No XMPP flaps were noticed during the test
2026-03-20 15:10:52,736 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2026-03-20 15:10:52,736 - INFO - --------------------------------------------------------------------------------
2026-03-20 15:10:53,440 - INFO - Deleted project: ctest-TestPorts-45263360, ID : 567221ac-635a-465c-9024-031e4972e43e