2026-09-21 21:51:27,518 - INFO - Domain Default found not creating 2026-09-21 21:51:27,759 - INFO - Project ctest-TestPorts-65647753 not found, creating it 2026-09-21 21:51:28,342 - INFO - Created Project:ctest-TestPorts-65647753, ID : d7f397cf-e446-4ea9-b5f5-ef684492276e 2026-09-21 21:51:30,491 - INFO - ================================================================================ 2026-09-21 21:51:30,491 - INFO - STARTING TEST : test_ports_bindings 2026-09-21 21:51:30,492 - 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-09-21 21:51:30,777 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.17': '0'}} with 2026-09-21 21:51:30,778 - INFO - Initial checks done. Running the testcase now 2026-09-21 21:51:30,778 - INFO - 2026-09-21 21:51:31,527 - DEBUG - Response for create_network : {'network': {'id': 'a541af8b-c375-471f-aceb-f150c6351113', 'name': 'ctest-vn-23104112', 'tenant_id': 'd7f397cfe4464ea9b5f5ef684492276e', 'project_id': 'd7f397cfe4464ea9b5f5ef684492276e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-65647753', 'ctest-vn-23104112'], 'port_security_enabled': True, 'description': ''}} 2026-09-21 21:51:31,717 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e87f0ba5-b8e0-4463-8a78-7d7fa367f1c3', 'name': '', 'tenant_id': 'd7f397cfe4464ea9b5f5ef684492276e', 'network_id': 'a541af8b-c375-471f-aceb-f150c6351113', 'ip_version': 4, 'cidr': '58.152.212.128/26', 'allocation_pools': [{'start': '58.152.212.130', 'end': '58.152.212.190'}], 'gateway_ip': '58.152.212.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '58.152.212.130', 'tags': [], 'project_id': 'd7f397cfe4464ea9b5f5ef684492276e'}} 2026-09-21 21:51:31,739 - INFO - Created VN ctest-vn-23104112 2026-09-21 21:51:31,798 - DEBUG - VN ctest-vn-23104112 UUID is a541af8b-c375-471f-aceb-f150c6351113 2026-09-21 21:51:31,923 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-65647753', 'ctest-vmi-07682049']} 2026-09-21 21:51:32,320 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-07682049', 'id': 'fb38801e-b50a-4fb9-b21c-324c1b4181d0', 'tenant_id': 'd7f397cfe4464ea9b5f5ef684492276e', 'network_id': 'a541af8b-c375-471f-aceb-f150c6351113', 'mac_address': '02:fb:38:80:1e:b5', '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': '58.152.212.131', 'subnet_id': 'e87f0ba5-b8e0-4463-8a78-7d7fa367f1c3'}], 'security_groups': ['5c80fa7c-79ef-498d-9c2e-4fb2a62360b3'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'project_id': 'd7f397cfe4464ea9b5f5ef684492276e'}} 2026-09-21 21:51:32,320 - DEBUG - Created port fb38801e-b50a-4fb9-b21c-324c1b4181d0 2026-09-21 21:51:32,478 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/fb38801e-b50a-4fb9-b21c-324c1b4181d0 2026-09-21 21:51:32,867 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/fb38801e-b50a-4fb9-b21c-324c1b4181d0 2026-09-21 21:51:32,941 - INFO - VMI fb38801e-b50a-4fb9-b21c-324c1b4181d0 verification in API Server passed 2026-09-21 21:51:33,208 - DEBUG - Response for delete_port : () 2026-09-21 21:51:33,208 - INFO - Deleted port fb38801e-b50a-4fb9-b21c-324c1b4181d0 2026-09-21 21:51:33,208 - INFO - Deleting VN ctest-vn-23104112 2026-09-21 21:51:33,374 - DEBUG - Response for deleting network () 2026-09-21 21:51:33,664 - DEBUG - No XMPP flaps were noticed during the test
2026-09-21 21:51:33,664 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-09-21 21:51:33,664 - INFO - -------------------------------------------------------------------------------- 2026-09-21 21:51:33,667 - INFO - ================================================================================ 2026-09-21 21:51:33,667 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-09-21 21:51:33,667 - 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-09-21 21:51:33,963 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.17': '0'}} with 2026-09-21 21:51:33,963 - INFO - Initial checks done. Running the testcase now 2026-09-21 21:51:33,963 - INFO - 2026-09-21 21:51:34,248 - DEBUG - Response for create_network : {'network': {'id': 'c1d2d9e3-7907-4af8-8743-a78d315b77df', 'name': 'ctest-vn1-43308324', 'tenant_id': 'd7f397cfe4464ea9b5f5ef684492276e', 'project_id': 'd7f397cfe4464ea9b5f5ef684492276e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-65647753', 'ctest-vn1-43308324'], 'port_security_enabled': True, 'description': ''}} 2026-09-21 21:51:34,524 - DEBUG - Response for create_subnet : {'subnet': {'id': '9c006a87-a6d4-47d5-bd56-5102b82b959d', 'name': '', 'tenant_id': 'd7f397cfe4464ea9b5f5ef684492276e', 'network_id': 'c1d2d9e3-7907-4af8-8743-a78d315b77df', 'ip_version': 4, 'cidr': '81.252.108.192/26', 'allocation_pools': [{'start': '81.252.108.194', 'end': '81.252.108.254'}], 'gateway_ip': '81.252.108.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '81.252.108.194', 'tags': [], 'project_id': 'd7f397cfe4464ea9b5f5ef684492276e'}} 2026-09-21 21:51:34,743 - DEBUG - Response for create_subnet : {'subnet': {'id': '64b5f455-53e4-407f-b9a8-7e274a264dac', 'name': '', 'tenant_id': 'd7f397cfe4464ea9b5f5ef684492276e', 'network_id': 'c1d2d9e3-7907-4af8-8743-a78d315b77df', 'ip_version': 4, 'cidr': '6.176.210.64/26', 'allocation_pools': [{'start': '6.176.210.66', 'end': '6.176.210.126'}], 'gateway_ip': '6.176.210.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '6.176.210.66', 'tags': [], 'project_id': 'd7f397cfe4464ea9b5f5ef684492276e'}} 2026-09-21 21:51:34,770 - INFO - Created VN ctest-vn1-43308324 2026-09-21 21:51:34,826 - DEBUG - VN ctest-vn1-43308324 UUID is c1d2d9e3-7907-4af8-8743-a78d315b77df 2026-09-21 21:51:35,227 - DEBUG - Response for create_port : {'port': {'name': 'f54df308-48e2-4658-baca-a77729e763d4', 'id': 'f54df308-48e2-4658-baca-a77729e763d4', 'tenant_id': 'd7f397cfe4464ea9b5f5ef684492276e', 'network_id': 'c1d2d9e3-7907-4af8-8743-a78d315b77df', 'mac_address': '02:f5:4d:f3:08:48', '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': '81.252.108.197', 'subnet_id': '9c006a87-a6d4-47d5-bd56-5102b82b959d'}], 'security_groups': ['5c80fa7c-79ef-498d-9c2e-4fb2a62360b3'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'project_id': 'd7f397cfe4464ea9b5f5ef684492276e'}} 2026-09-21 21:51:35,458 - DEBUG - Response for create_port : {'port': {'name': '2a3d43b4-0955-493c-aee5-6a57804b6c7f', 'id': '2a3d43b4-0955-493c-aee5-6a57804b6c7f', 'tenant_id': 'd7f397cfe4464ea9b5f5ef684492276e', 'network_id': 'c1d2d9e3-7907-4af8-8743-a78d315b77df', 'mac_address': '02:2a:3d:43:b4:09', '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': '6.176.210.69', 'subnet_id': '64b5f455-53e4-407f-b9a8-7e274a264dac'}], 'security_groups': ['5c80fa7c-79ef-498d-9c2e-4fb2a62360b3'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'project_id': 'd7f397cfe4464ea9b5f5ef684492276e'}} 2026-09-21 21:51:35,530 - DEBUG - Services list from nova: [, , ] 2026-09-21 21:51:35,990 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6316-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6316-1) 2026-09-21 21:51:36,543 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6316-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6316-1) 2026-09-21 21:51:36,543 - INFO - Waiting for VM ctest-vn1-vm1-19793788 to be up.. 2026-09-21 21:51:36,598 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-21 21:51:41,710 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-21 21:51:46,821 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-21 21:51:51,923 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-21 21:51:57,030 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-21 21:52:02,138 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-21 21:52:07,263 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-21 21:52:12,363 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-21 21:52:17,471 - DEBUG - VM is in ACTIVE state now 2026-09-21 21:52:17,472 - INFO - VM name : ctest-vn1-vm1-19793788 2026-09-21 21:52:17,587 - DEBUG - VM ctest-vn1-vm1-19793788 ID is 32e61ab3-5b38-4010-a976-ef5360a65622 2026-09-21 21:52:17,617 - DEBUG - VM ctest-vn1-vm1-19793788 launched on Node cn-jenkins-deploy-platform-ansible-os-6316-1 2026-09-21 21:52:17,733 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/32e61ab3-5b38-4010-a976-ef5360a65622 2026-09-21 21:52:17,745 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/f54df308-48e2-4658-baca-a77729e763d4 2026-09-21 21:52:21,020 - 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 1006ms') 2026-09-21 21:52:21,020 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-19793788 failed! 2026-09-21 21:52:21,078 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-65647753:ctest-vn1-43308324 is 81.252.108.193 and allocation pool is NOT set 2026-09-21 21:52:21,078 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-65647753:ctest-vn1-43308324 is 6.176.210.65 and allocation pool is NOT set 2026-09-21 21:52:25,181 - 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 1034ms') 2026-09-21 21:52:25,181 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-19793788 failed! 2026-09-21 21:52:25,242 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-65647753:ctest-vn1-43308324 is 81.252.108.193 and allocation pool is NOT set 2026-09-21 21:52:25,242 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-65647753:ctest-vn1-43308324 is 6.176.210.65 and allocation pool is NOT set 2026-09-21 21:52:27,320 - 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=16.0 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.21 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 = 3.210/9.607/16.004/6.397 ms') 2026-09-21 21:52:27,320 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-19793788 passed 2026-09-21 21:52:27,478 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-21 21:52:27,478 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-19793788, IP 81.252.108.197, Port 22 2026-09-21 21:52:27,548 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-09-21 21:52:27,671 - DEBUG - VM ctest-vn1-vm1-19793788 is NOT ready for SSH connections, VM status: ACTIVE 2026-09-21 21:52:32,671 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-21 21:52:32,672 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-19793788, IP 81.252.108.197, Port 22 2026-09-21 21:52:32,845 - DEBUG - VM ctest-vn1-vm1-19793788 is ready for SSH connections 2026-09-21 21:52:32,845 - INFO - Waiting for VM ctest-vn1-vm2-22219663 to be up.. 2026-09-21 21:52:32,934 - DEBUG - VM is in ACTIVE state now 2026-09-21 21:52:32,934 - INFO - VM name : ctest-vn1-vm2-22219663 2026-09-21 21:52:33,029 - DEBUG - VM ctest-vn1-vm2-22219663 ID is df6096a8-9c5f-49b3-8b05-54e5b55c8582 2026-09-21 21:52:33,030 - DEBUG - VM ctest-vn1-vm2-22219663 launched on Node cn-jenkins-deploy-platform-ansible-os-6316-1 2026-09-21 21:52:33,126 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/df6096a8-9c5f-49b3-8b05-54e5b55c8582 2026-09-21 21:52:33,141 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/2a3d43b4-0955-493c-aee5-6a57804b6c7f 2026-09-21 21:52:34,407 - 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.96 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.512 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.512/2.735/4.959/2.223 ms') 2026-09-21 21:52:34,407 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-22219663 passed 2026-09-21 21:52:34,562 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-21 21:52:34,562 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-22219663, IP 6.176.210.69, Port 22 2026-09-21 21:52:34,732 - DEBUG - VM ctest-vn1-vm2-22219663 is ready for SSH connections 2026-09-21 21:52:34,732 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-21 21:52:34,732 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-21 21:52:34,732 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-21 21:52:34,732 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 81.252.108.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-09-21 21:52:34,732 - DEBUG - ping -s 56 -c 3 -W 1 81.252.108.197 2026-09-21 21:52:37,832 - DEBUG - PING 81.252.108.197 (81.252.108.197): 56 data bytes 64 bytes from 81.252.108.197: seq=0 ttl=63 time=5.607 ms 64 bytes from 81.252.108.197: seq=1 ttl=63 time=1.243 ms 64 bytes from 81.252.108.197: seq=2 ttl=63 time=1.202 ms --- 81.252.108.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.202/2.684/5.607 ms 2026-09-21 21:52:37,832 - INFO - Ping to IP 81.252.108.197 from VM ctest-vn1-vm2-22219663 passed 2026-09-21 21:52:37,832 - INFO - Detaching port 2a3d43b4-0955-493c-aee5-6a57804b6c7f from VM ctest-vn1-vm2-22219663 2026-09-21 21:52:37,902 - INFO - Deleting VM ctest-vn1-vm2-22219663 2026-09-21 21:52:38,012 - INFO - Detaching port f54df308-48e2-4658-baca-a77729e763d4 from VM ctest-vn1-vm1-19793788 2026-09-21 21:52:38,063 - INFO - Deleting VM ctest-vn1-vm1-19793788 2026-09-21 21:52:38,423 - DEBUG - Response for delete_port : () 2026-09-21 21:52:38,704 - DEBUG - Response for delete_port : () 2026-09-21 21:52:38,704 - INFO - Deleting VN ctest-vn1-43308324 2026-09-21 21:52:38,890 - DEBUG - Response for deleting network () 2026-09-21 21:52:39,174 - DEBUG - No XMPP flaps were noticed during the test
2026-09-21 21:52:39,175 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:01:06]
2026-09-21 21:52:39,175 - INFO - -------------------------------------------------------------------------------- 2026-09-21 21:52:40,111 - INFO - Deleted project: ctest-TestPorts-65647753, ID : d7f397cf-e446-4ea9-b5f5-ef684492276e