2026-04-30 12:09:04,273 - INFO - Domain Default found not creating 2026-04-30 12:09:04,445 - INFO - Project ctest-TestPorts-46056740 not found, creating it 2026-04-30 12:09:04,918 - INFO - Created Project:ctest-TestPorts-46056740, ID : 5d6aa1fc-84ae-4e2d-a7c9-a8f776ad9621 2026-04-30 12:09:06,356 - INFO - ================================================================================ 2026-04-30 12:09:06,356 - INFO - STARTING TEST : test_ports_bindings 2026-04-30 12:09:06,356 - 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-04-30 12:09:06,611 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.17': '0'}} with 2026-04-30 12:09:06,611 - INFO - Initial checks done. Running the testcase now 2026-04-30 12:09:06,611 - INFO - 2026-04-30 12:09:07,145 - DEBUG - Response for create_network : {'network': {'id': '23206834-c91d-4a73-9232-45d1e0c3951e', 'name': 'ctest-vn-70448398', 'tenant_id': '5d6aa1fc84ae4e2da7c9a8f776ad9621', 'project_id': '5d6aa1fc84ae4e2da7c9a8f776ad9621', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-46056740', 'ctest-vn-70448398'], 'port_security_enabled': True, 'description': ''}} 2026-04-30 12:09:07,350 - DEBUG - Response for create_subnet : {'subnet': {'id': '85bb664c-2af5-48dd-8bb9-cf9ecb5105d1', 'name': '', 'tenant_id': '5d6aa1fc84ae4e2da7c9a8f776ad9621', 'network_id': '23206834-c91d-4a73-9232-45d1e0c3951e', 'ip_version': 4, 'cidr': '160.76.6.0/26', 'allocation_pools': [{'start': '160.76.6.2', 'end': '160.76.6.62'}], 'gateway_ip': '160.76.6.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '160.76.6.2', 'tags': [], 'project_id': '5d6aa1fc84ae4e2da7c9a8f776ad9621'}} 2026-04-30 12:09:07,367 - INFO - Created VN ctest-vn-70448398 2026-04-30 12:09:07,418 - DEBUG - VN ctest-vn-70448398 UUID is 23206834-c91d-4a73-9232-45d1e0c3951e 2026-04-30 12:09:07,519 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-46056740', 'ctest-vmi-61194889']} 2026-04-30 12:09:07,790 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-61194889', 'id': 'ba911e67-dc54-45dd-a077-24cebaba79ce', 'tenant_id': '5d6aa1fc84ae4e2da7c9a8f776ad9621', 'network_id': '23206834-c91d-4a73-9232-45d1e0c3951e', 'mac_address': '02:ba:91:1e:67:dc', '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': '160.76.6.3', 'subnet_id': '85bb664c-2af5-48dd-8bb9-cf9ecb5105d1'}], 'security_groups': ['f7d8b215-065d-4fa6-ae42-bf4533155127'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5d6aa1fc84ae4e2da7c9a8f776ad9621'}} 2026-04-30 12:09:07,790 - DEBUG - Created port ba911e67-dc54-45dd-a077-24cebaba79ce 2026-04-30 12:09:07,894 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/ba911e67-dc54-45dd-a077-24cebaba79ce 2026-04-30 12:09:08,183 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/ba911e67-dc54-45dd-a077-24cebaba79ce 2026-04-30 12:09:08,215 - INFO - VMI ba911e67-dc54-45dd-a077-24cebaba79ce verification in API Server passed 2026-04-30 12:09:08,287 - DEBUG - Response for delete_port : () 2026-04-30 12:09:08,287 - INFO - Deleted port ba911e67-dc54-45dd-a077-24cebaba79ce 2026-04-30 12:09:08,288 - INFO - Deleting VN ctest-vn-70448398 2026-04-30 12:09:08,389 - DEBUG - Response for deleting network () 2026-04-30 12:09:08,647 - DEBUG - No XMPP flaps were noticed during the test
2026-04-30 12:09:08,647 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-04-30 12:09:08,647 - INFO - -------------------------------------------------------------------------------- 2026-04-30 12:09:08,650 - INFO - ================================================================================ 2026-04-30 12:09:08,650 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-04-30 12:09:08,650 - 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-04-30 12:09:08,937 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.17': '0'}} with 2026-04-30 12:09:08,937 - INFO - Initial checks done. Running the testcase now 2026-04-30 12:09:08,937 - INFO - 2026-04-30 12:09:09,104 - DEBUG - Response for create_network : {'network': {'id': '69defe87-37e9-4a1f-b5ff-9087b5830321', 'name': 'ctest-vn1-39125205', 'tenant_id': '5d6aa1fc84ae4e2da7c9a8f776ad9621', 'project_id': '5d6aa1fc84ae4e2da7c9a8f776ad9621', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-46056740', 'ctest-vn1-39125205'], 'port_security_enabled': True, 'description': ''}} 2026-04-30 12:09:09,304 - DEBUG - Response for create_subnet : {'subnet': {'id': '48910751-7a39-4afe-86f0-18da4402d06c', 'name': '', 'tenant_id': '5d6aa1fc84ae4e2da7c9a8f776ad9621', 'network_id': '69defe87-37e9-4a1f-b5ff-9087b5830321', 'ip_version': 4, 'cidr': '125.187.239.64/26', 'allocation_pools': [{'start': '125.187.239.66', 'end': '125.187.239.126'}], 'gateway_ip': '125.187.239.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.187.239.66', 'tags': [], 'project_id': '5d6aa1fc84ae4e2da7c9a8f776ad9621'}} 2026-04-30 12:09:09,496 - DEBUG - Response for create_subnet : {'subnet': {'id': '3e969867-5cc4-4e63-8080-dffdfe4316a4', 'name': '', 'tenant_id': '5d6aa1fc84ae4e2da7c9a8f776ad9621', 'network_id': '69defe87-37e9-4a1f-b5ff-9087b5830321', 'ip_version': 4, 'cidr': '78.31.153.0/26', 'allocation_pools': [{'start': '78.31.153.2', 'end': '78.31.153.62'}], 'gateway_ip': '78.31.153.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '78.31.153.2', 'tags': [], 'project_id': '5d6aa1fc84ae4e2da7c9a8f776ad9621'}} 2026-04-30 12:09:09,514 - INFO - Created VN ctest-vn1-39125205 2026-04-30 12:09:09,566 - DEBUG - VN ctest-vn1-39125205 UUID is 69defe87-37e9-4a1f-b5ff-9087b5830321 2026-04-30 12:09:09,862 - DEBUG - Response for create_port : {'port': {'name': '10c4f250-d295-4e04-96e9-3a21c044e7a8', 'id': '10c4f250-d295-4e04-96e9-3a21c044e7a8', 'tenant_id': '5d6aa1fc84ae4e2da7c9a8f776ad9621', 'network_id': '69defe87-37e9-4a1f-b5ff-9087b5830321', 'mac_address': '02:10:c4:f2:50:d2', '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': '125.187.239.69', 'subnet_id': '48910751-7a39-4afe-86f0-18da4402d06c'}], 'security_groups': ['f7d8b215-065d-4fa6-ae42-bf4533155127'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5d6aa1fc84ae4e2da7c9a8f776ad9621'}} 2026-04-30 12:09:10,030 - DEBUG - Response for create_port : {'port': {'name': '24ca7f86-ed41-479e-ba1f-82f6849f8ea0', 'id': '24ca7f86-ed41-479e-ba1f-82f6849f8ea0', 'tenant_id': '5d6aa1fc84ae4e2da7c9a8f776ad9621', 'network_id': '69defe87-37e9-4a1f-b5ff-9087b5830321', 'mac_address': '02:24:ca:7f:86:ed', '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': '78.31.153.5', 'subnet_id': '3e969867-5cc4-4e63-8080-dffdfe4316a4'}], 'security_groups': ['f7d8b215-065d-4fa6-ae42-bf4533155127'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5d6aa1fc84ae4e2da7c9a8f776ad9621'}} 2026-04-30 12:09:10,084 - DEBUG - Services list from nova: [, , ] 2026-04-30 12:09:10,411 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5730-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5730-1) 2026-04-30 12:09:10,828 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5730-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5730-1) 2026-04-30 12:09:10,828 - INFO - Waiting for VM ctest-vn1-vm1-28303791 to be up.. 2026-04-30 12:09:10,870 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-30 12:09:15,938 - DEBUG - VM is in ACTIVE state now 2026-04-30 12:09:15,939 - INFO - VM name : ctest-vn1-vm1-28303791 2026-04-30 12:09:16,006 - DEBUG - VM ctest-vn1-vm1-28303791 ID is eaa3b063-2750-448c-90b7-cdbc805f0921 2026-04-30 12:09:16,023 - DEBUG - VM ctest-vn1-vm1-28303791 launched on Node cn-jenkins-deploy-platform-ansible-os-5730-1 2026-04-30 12:09:16,093 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/eaa3b063-2750-448c-90b7-cdbc805f0921 2026-04-30 12:09:16,101 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/10c4f250-d295-4e04-96e9-3a21c044e7a8 2026-04-30 12:09:19,356 - 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 1023ms') 2026-04-30 12:09:19,356 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-28303791 failed! 2026-04-30 12:09:19,410 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-46056740:ctest-vn1-39125205 is 125.187.239.65 and allocation pool is NOT set 2026-04-30 12:09:19,410 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-46056740:ctest-vn1-39125205 is 78.31.153.1 and allocation pool is NOT set 2026-04-30 12:09:21,473 - 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=10.4 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.25 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 = 3.250/6.813/10.376/3.563 ms') 2026-04-30 12:09:21,473 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-28303791 passed 2026-04-30 12:09:21,622 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-30 12:09:21,622 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-28303791, IP 125.187.239.69, Port 22 2026-04-30 12:09:21,678 - 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-04-30 12:09:21,757 - DEBUG - VM ctest-vn1-vm1-28303791 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-30 12:09:26,759 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-30 12:09:26,759 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-28303791, IP 125.187.239.69, Port 22 2026-04-30 12:09:26,913 - DEBUG - VM ctest-vn1-vm1-28303791 is ready for SSH connections 2026-04-30 12:09:26,914 - INFO - Waiting for VM ctest-vn1-vm2-67662583 to be up.. 2026-04-30 12:09:26,988 - DEBUG - VM is in ACTIVE state now 2026-04-30 12:09:26,988 - INFO - VM name : ctest-vn1-vm2-67662583 2026-04-30 12:09:27,069 - DEBUG - VM ctest-vn1-vm2-67662583 ID is a9f685ba-903a-4cfe-ac77-876d8596c784 2026-04-30 12:09:27,069 - DEBUG - VM ctest-vn1-vm2-67662583 launched on Node cn-jenkins-deploy-platform-ansible-os-5730-1 2026-04-30 12:09:27,142 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/a9f685ba-903a-4cfe-ac77-876d8596c784 2026-04-30 12:09:27,151 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/24ca7f86-ed41-479e-ba1f-82f6849f8ea0 2026-04-30 12:09:28,386 - 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.98 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.494 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.494/1.734/2.975/1.240 ms') 2026-04-30 12:09:28,386 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-67662583 passed 2026-04-30 12:09:28,534 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-30 12:09:28,534 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-67662583, IP 78.31.153.5, Port 22 2026-04-30 12:09:28,689 - DEBUG - VM ctest-vn1-vm2-67662583 is ready for SSH connections 2026-04-30 12:09:28,689 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-30 12:09:28,689 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-30 12:09:28,689 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-30 12:09:28,689 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 125.187.239.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-04-30 12:09:28,689 - DEBUG - ping -s 56 -c 3 -W 1 125.187.239.69 2026-04-30 12:09:31,323 - DEBUG - PING 125.187.239.69 (125.187.239.69): 56 data bytes 64 bytes from 125.187.239.69: seq=0 ttl=63 time=3.830 ms 64 bytes from 125.187.239.69: seq=1 ttl=63 time=0.818 ms 64 bytes from 125.187.239.69: seq=2 ttl=63 time=1.120 ms --- 125.187.239.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.818/1.922/3.830 ms 2026-04-30 12:09:31,323 - INFO - Ping to IP 125.187.239.69 from VM ctest-vn1-vm2-67662583 passed 2026-04-30 12:09:31,323 - INFO - Detaching port 24ca7f86-ed41-479e-ba1f-82f6849f8ea0 from VM ctest-vn1-vm2-67662583 2026-04-30 12:09:31,374 - INFO - Deleting VM ctest-vn1-vm2-67662583 2026-04-30 12:09:31,444 - INFO - Detaching port 10c4f250-d295-4e04-96e9-3a21c044e7a8 from VM ctest-vn1-vm1-28303791 2026-04-30 12:09:31,479 - INFO - Deleting VM ctest-vn1-vm1-28303791 2026-04-30 12:09:31,685 - DEBUG - Response for delete_port : () 2026-04-30 12:09:31,859 - DEBUG - Response for delete_port : () 2026-04-30 12:09:31,859 - INFO - Deleting VN ctest-vn1-39125205 2026-04-30 12:09:31,998 - DEBUG - Response for deleting network () 2026-04-30 12:09:32,255 - DEBUG - No XMPP flaps were noticed during the test
2026-04-30 12:09:32,255 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2026-04-30 12:09:32,255 - INFO - -------------------------------------------------------------------------------- 2026-04-30 12:09:32,915 - INFO - Deleted project: ctest-TestPorts-46056740, ID : 5d6aa1fc-84ae-4e2d-a7c9-a8f776ad9621