2026-10-02 16:21:22,586 - INFO - Domain Default found not creating 2026-10-02 16:21:22,771 - INFO - Project ctest-TestPorts-30774634 not found, creating it 2026-10-02 16:21:23,314 - INFO - Created Project:ctest-TestPorts-30774634, ID : 65326032-406c-437c-bfd0-1f42655a5ac4 2026-10-02 16:21:25,105 - INFO - ================================================================================ 2026-10-02 16:21:25,105 - INFO - STARTING TEST : test_ports_bindings 2026-10-02 16:21:25,105 - 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-10-02 16:21:25,366 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-10-02 16:21:25,366 - INFO - Initial checks done. Running the testcase now 2026-10-02 16:21:25,366 - INFO - 2026-10-02 16:21:26,010 - DEBUG - Response for create_network : {'network': {'id': '73403699-7203-424d-8e9d-b278ba74e5a2', 'name': 'ctest-vn-19643973', 'tenant_id': '65326032406c437cbfd01f42655a5ac4', 'project_id': '65326032406c437cbfd01f42655a5ac4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-30774634', 'ctest-vn-19643973'], 'port_security_enabled': True, 'description': ''}} 2026-10-02 16:21:26,205 - DEBUG - Response for create_subnet : {'subnet': {'id': '3f54a504-d85b-4a98-ba00-7ed6132a5829', 'name': '', 'tenant_id': '65326032406c437cbfd01f42655a5ac4', 'network_id': '73403699-7203-424d-8e9d-b278ba74e5a2', 'ip_version': 4, 'cidr': '196.248.34.128/26', 'allocation_pools': [{'start': '196.248.34.130', 'end': '196.248.34.190'}], 'gateway_ip': '196.248.34.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '196.248.34.130', 'tags': [], 'project_id': '65326032406c437cbfd01f42655a5ac4'}} 2026-10-02 16:21:26,226 - INFO - Created VN ctest-vn-19643973 2026-10-02 16:21:26,280 - DEBUG - VN ctest-vn-19643973 UUID is 73403699-7203-424d-8e9d-b278ba74e5a2 2026-10-02 16:21:26,395 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-30774634', 'ctest-vmi-00513259']} 2026-10-02 16:21:26,672 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-00513259', 'id': '44e61017-0fd0-44f9-816d-6d3d277c4cd0', 'tenant_id': '65326032406c437cbfd01f42655a5ac4', 'network_id': '73403699-7203-424d-8e9d-b278ba74e5a2', 'mac_address': '02:44:e6:10:17:0f', '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': '196.248.34.131', 'subnet_id': '3f54a504-d85b-4a98-ba00-7ed6132a5829'}], 'security_groups': ['20daf533-383d-4701-87df-301b262c9deb'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'project_id': '65326032406c437cbfd01f42655a5ac4'}} 2026-10-02 16:21:26,672 - DEBUG - Created port 44e61017-0fd0-44f9-816d-6d3d277c4cd0 2026-10-02 16:21:26,784 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/44e61017-0fd0-44f9-816d-6d3d277c4cd0 2026-10-02 16:21:27,159 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/44e61017-0fd0-44f9-816d-6d3d277c4cd0 2026-10-02 16:21:27,197 - INFO - VMI 44e61017-0fd0-44f9-816d-6d3d277c4cd0 verification in API Server passed 2026-10-02 16:21:27,317 - DEBUG - Response for delete_port : () 2026-10-02 16:21:27,317 - INFO - Deleted port 44e61017-0fd0-44f9-816d-6d3d277c4cd0 2026-10-02 16:21:27,317 - INFO - Deleting VN ctest-vn-19643973 2026-10-02 16:21:27,444 - DEBUG - Response for deleting network () 2026-10-02 16:21:27,707 - DEBUG - No XMPP flaps were noticed during the test
2026-10-02 16:21:27,707 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-10-02 16:21:27,707 - INFO - -------------------------------------------------------------------------------- 2026-10-02 16:21:27,710 - INFO - ================================================================================ 2026-10-02 16:21:27,710 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-10-02 16:21:27,710 - 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-10-02 16:21:27,998 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-10-02 16:21:27,998 - INFO - Initial checks done. Running the testcase now 2026-10-02 16:21:27,998 - INFO - 2026-10-02 16:21:28,193 - DEBUG - Response for create_network : {'network': {'id': 'a4d8bdb6-21c3-4d74-8a4c-19143635ede5', 'name': 'ctest-vn1-86376525', 'tenant_id': '65326032406c437cbfd01f42655a5ac4', 'project_id': '65326032406c437cbfd01f42655a5ac4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-30774634', 'ctest-vn1-86376525'], 'port_security_enabled': True, 'description': ''}} 2026-10-02 16:21:28,368 - DEBUG - Response for create_subnet : {'subnet': {'id': '48a1421b-1ee8-4522-a41b-04b9030713a0', 'name': '', 'tenant_id': '65326032406c437cbfd01f42655a5ac4', 'network_id': 'a4d8bdb6-21c3-4d74-8a4c-19143635ede5', 'ip_version': 4, 'cidr': '119.175.245.128/26', 'allocation_pools': [{'start': '119.175.245.130', 'end': '119.175.245.190'}], 'gateway_ip': '119.175.245.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '119.175.245.130', 'tags': [], 'project_id': '65326032406c437cbfd01f42655a5ac4'}} 2026-10-02 16:21:28,533 - DEBUG - Response for create_subnet : {'subnet': {'id': '116f4a79-51e5-486e-8414-b0bc2380dc14', 'name': '', 'tenant_id': '65326032406c437cbfd01f42655a5ac4', 'network_id': 'a4d8bdb6-21c3-4d74-8a4c-19143635ede5', 'ip_version': 4, 'cidr': '24.178.218.128/26', 'allocation_pools': [{'start': '24.178.218.130', 'end': '24.178.218.190'}], 'gateway_ip': '24.178.218.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '24.178.218.130', 'tags': [], 'project_id': '65326032406c437cbfd01f42655a5ac4'}} 2026-10-02 16:21:28,553 - INFO - Created VN ctest-vn1-86376525 2026-10-02 16:21:28,608 - DEBUG - VN ctest-vn1-86376525 UUID is a4d8bdb6-21c3-4d74-8a4c-19143635ede5 2026-10-02 16:21:28,942 - DEBUG - Response for create_port : {'port': {'name': '339eee5d-81dd-493f-a3ab-f29e63eae76f', 'id': '339eee5d-81dd-493f-a3ab-f29e63eae76f', 'tenant_id': '65326032406c437cbfd01f42655a5ac4', 'network_id': 'a4d8bdb6-21c3-4d74-8a4c-19143635ede5', 'mac_address': '02:33:9e:ee:5d:81', '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': '119.175.245.133', 'subnet_id': '48a1421b-1ee8-4522-a41b-04b9030713a0'}], 'security_groups': ['20daf533-383d-4701-87df-301b262c9deb'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'project_id': '65326032406c437cbfd01f42655a5ac4'}} 2026-10-02 16:21:29,154 - DEBUG - Response for create_port : {'port': {'name': '6e2f0bce-ca48-4ec2-ad8c-5541982d5941', 'id': '6e2f0bce-ca48-4ec2-ad8c-5541982d5941', 'tenant_id': '65326032406c437cbfd01f42655a5ac4', 'network_id': 'a4d8bdb6-21c3-4d74-8a4c-19143635ede5', 'mac_address': '02:6e:2f:0b:ce:ca', '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': '24.178.218.133', 'subnet_id': '116f4a79-51e5-486e-8414-b0bc2380dc14'}], 'security_groups': ['20daf533-383d-4701-87df-301b262c9deb'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'project_id': '65326032406c437cbfd01f42655a5ac4'}} 2026-10-02 16:21:29,226 - DEBUG - Services list from nova: [, , ] 2026-10-02 16:21:29,600 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6340-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6340-1) 2026-10-02 16:21:30,047 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6340-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6340-1) 2026-10-02 16:21:30,048 - INFO - Waiting for VM ctest-vn1-vm1-36048810 to be up.. 2026-10-02 16:21:30,089 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-02 16:21:35,143 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-02 16:21:40,225 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-02 16:21:45,316 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-02 16:21:50,399 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-02 16:21:55,491 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-02 16:22:00,572 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-02 16:22:05,658 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-02 16:22:10,740 - DEBUG - VM is in ACTIVE state now 2026-10-02 16:22:10,740 - INFO - VM name : ctest-vn1-vm1-36048810 2026-10-02 16:22:10,823 - DEBUG - VM ctest-vn1-vm1-36048810 ID is f9a032e8-1afa-4a83-b840-38875b602bed 2026-10-02 16:22:10,844 - DEBUG - VM ctest-vn1-vm1-36048810 launched on Node cn-jenkins-deploy-platform-ansible-os-6340-1 2026-10-02 16:22:10,922 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/f9a032e8-1afa-4a83-b840-38875b602bed 2026-10-02 16:22:10,931 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/339eee5d-81dd-493f-a3ab-f29e63eae76f 2026-10-02 16:22:14,190 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1022ms') 2026-10-02 16:22:14,190 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-36048810 failed! 2026-10-02 16:22:14,248 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-30774634:ctest-vn1-86376525 is 119.175.245.129 and allocation pool is NOT set 2026-10-02 16:22:14,248 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-30774634:ctest-vn1-86376525 is 24.178.218.129 and allocation pool is NOT set 2026-10-02 16:22:18,317 - 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=2 ttl=63 time=14.7 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1010ms\r\nrtt min/avg/max/mdev = 14.680/14.680/14.680/0.000 ms') 2026-10-02 16:22:18,317 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-36048810 passed 2026-10-02 16:22:18,472 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-02 16:22:18,472 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-36048810, IP 119.175.245.133, Port 22 2026-10-02 16:22:18,538 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-10-02 16:22:18,632 - DEBUG - VM ctest-vn1-vm1-36048810 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-02 16:22:23,633 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-02 16:22:23,633 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-36048810, IP 119.175.245.133, Port 22 2026-10-02 16:22:23,797 - DEBUG - VM ctest-vn1-vm1-36048810 is ready for SSH connections 2026-10-02 16:22:23,798 - INFO - Waiting for VM ctest-vn1-vm2-98848693 to be up.. 2026-10-02 16:22:23,883 - DEBUG - VM is in ACTIVE state now 2026-10-02 16:22:23,883 - INFO - VM name : ctest-vn1-vm2-98848693 2026-10-02 16:22:23,963 - DEBUG - VM ctest-vn1-vm2-98848693 ID is 1d8dee76-55c8-4202-925f-726731a3458d 2026-10-02 16:22:23,963 - DEBUG - VM ctest-vn1-vm2-98848693 launched on Node cn-jenkins-deploy-platform-ansible-os-6340-1 2026-10-02 16:22:24,050 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/1d8dee76-55c8-4202-925f-726731a3458d 2026-10-02 16:22:24,061 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/6e2f0bce-ca48-4ec2-ad8c-5541982d5941 2026-10-02 16:22:25,306 - 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=3.61 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.495 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.495/2.051/3.608/1.556 ms') 2026-10-02 16:22:25,306 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-98848693 passed 2026-10-02 16:22:25,460 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-02 16:22:25,460 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-98848693, IP 24.178.218.133, Port 22 2026-10-02 16:22:25,625 - DEBUG - VM ctest-vn1-vm2-98848693 is ready for SSH connections 2026-10-02 16:22:25,626 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-02 16:22:25,626 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-02 16:22:25,626 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-02 16:22:25,626 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 119.175.245.133, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-10-02 16:22:25,626 - DEBUG - ping -s 56 -c 3 -W 1 119.175.245.133 2026-10-02 16:22:29,677 - DEBUG - PING 119.175.245.133 (119.175.245.133): 56 data bytes 64 bytes from 119.175.245.133: seq=0 ttl=63 time=4.433 ms 64 bytes from 119.175.245.133: seq=1 ttl=63 time=1.219 ms 64 bytes from 119.175.245.133: seq=2 ttl=63 time=1.060 ms --- 119.175.245.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.060/2.237/4.433 ms 2026-10-02 16:22:29,677 - INFO - Ping to IP 119.175.245.133 from VM ctest-vn1-vm2-98848693 passed 2026-10-02 16:22:29,677 - INFO - Detaching port 6e2f0bce-ca48-4ec2-ad8c-5541982d5941 from VM ctest-vn1-vm2-98848693 2026-10-02 16:22:29,737 - INFO - Deleting VM ctest-vn1-vm2-98848693 2026-10-02 16:22:29,822 - INFO - Detaching port 339eee5d-81dd-493f-a3ab-f29e63eae76f from VM ctest-vn1-vm1-36048810 2026-10-02 16:22:29,860 - INFO - Deleting VM ctest-vn1-vm1-36048810 2026-10-02 16:22:30,130 - DEBUG - Response for delete_port : () 2026-10-02 16:22:30,330 - DEBUG - Response for delete_port : () 2026-10-02 16:22:30,330 - INFO - Deleting VN ctest-vn1-86376525 2026-10-02 16:22:30,489 - DEBUG - Response for deleting network () 2026-10-02 16:22:30,757 - DEBUG - No XMPP flaps were noticed during the test
2026-10-02 16:22:30,757 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:01:03]
2026-10-02 16:22:30,757 - INFO - -------------------------------------------------------------------------------- 2026-10-02 16:22:31,555 - INFO - Deleted project: ctest-TestPorts-30774634, ID : 65326032-406c-437c-bfd0-1f42655a5ac4