2025-10-09 05:50:10,963 - INFO - Domain Default found not creating 2025-10-09 05:50:11,123 - INFO - Project ctest-TestPorts-66397630 not found, creating it 2025-10-09 05:50:11,585 - INFO - Created Project:ctest-TestPorts-66397630, ID : cda63c72-780f-4c53-b346-e5eb59b8ac1d 2025-10-09 05:50:13,140 - INFO - ================================================================================ 2025-10-09 05:50:13,140 - INFO - STARTING TEST : test_ports_bindings 2025-10-09 05:50:13,140 - 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-10-09 05:50:13,396 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-09 05:50:13,396 - INFO - Initial checks done. Running the testcase now 2025-10-09 05:50:13,396 - INFO - 2025-10-09 05:50:13,997 - DEBUG - Response for create_network : {'network': {'id': '7cfa2a7e-70f0-4c5b-aab2-2c682b543255', 'name': 'ctest-vn-84471558', 'tenant_id': 'cda63c72780f4c53b346e5eb59b8ac1d', 'project_id': 'cda63c72780f4c53b346e5eb59b8ac1d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-66397630', 'ctest-vn-84471558'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 05:50:14,220 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fb5f3410-45ef-4460-8df0-d273ad501d89', 'name': '', 'tenant_id': 'cda63c72780f4c53b346e5eb59b8ac1d', 'network_id': '7cfa2a7e-70f0-4c5b-aab2-2c682b543255', 'ip_version': 4, 'cidr': '178.58.161.64/26', 'allocation_pools': [{'start': '178.58.161.66', 'end': '178.58.161.126'}], 'gateway_ip': '178.58.161.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '178.58.161.66', 'tags': [], 'project_id': 'cda63c72780f4c53b346e5eb59b8ac1d'}} 2025-10-09 05:50:14,244 - INFO - Created VN ctest-vn-84471558 2025-10-09 05:50:14,301 - DEBUG - VN ctest-vn-84471558 UUID is 7cfa2a7e-70f0-4c5b-aab2-2c682b543255 2025-10-09 05:50:14,414 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-66397630', 'ctest-vmi-70807748']} 2025-10-09 05:50:14,686 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-70807748', 'id': 'ff055d6a-1e64-448b-bb6b-39b734514c2b', 'tenant_id': 'cda63c72780f4c53b346e5eb59b8ac1d', 'network_id': '7cfa2a7e-70f0-4c5b-aab2-2c682b543255', 'mac_address': '02:ff:05:5d:6a:1e', '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': '178.58.161.67', 'subnet_id': 'fb5f3410-45ef-4460-8df0-d273ad501d89'}], 'security_groups': ['eb855e1b-4a53-4bdd-9f62-da150f67def5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'cda63c72780f4c53b346e5eb59b8ac1d'}} 2025-10-09 05:50:14,686 - DEBUG - Created port ff055d6a-1e64-448b-bb6b-39b734514c2b 2025-10-09 05:50:14,793 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ff055d6a-1e64-448b-bb6b-39b734514c2b 2025-10-09 05:50:15,128 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ff055d6a-1e64-448b-bb6b-39b734514c2b 2025-10-09 05:50:15,162 - INFO - VMI ff055d6a-1e64-448b-bb6b-39b734514c2b verification in API Server passed 2025-10-09 05:50:15,248 - DEBUG - Response for delete_port : () 2025-10-09 05:50:15,248 - INFO - Deleted port ff055d6a-1e64-448b-bb6b-39b734514c2b 2025-10-09 05:50:15,248 - INFO - Deleting VN ctest-vn-84471558 2025-10-09 05:50:15,360 - DEBUG - Response for deleting network () 2025-10-09 05:50:15,618 - DEBUG - No XMPP flaps were noticed during the test 2025-10-09 05:50:15,619 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-10-09 05:50:15,619 - INFO - -------------------------------------------------------------------------------- 2025-10-09 05:50:15,621 - INFO - ================================================================================ 2025-10-09 05:50:15,621 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-09 05:50:15,621 - 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-10-09 05:50:15,910 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-09 05:50:15,911 - INFO - Initial checks done. Running the testcase now 2025-10-09 05:50:15,911 - INFO - 2025-10-09 05:50:16,112 - DEBUG - Response for create_network : {'network': {'id': '88f01808-2f8c-46c0-8e6a-479f62efcc7d', 'name': 'ctest-vn1-65252987', 'tenant_id': 'cda63c72780f4c53b346e5eb59b8ac1d', 'project_id': 'cda63c72780f4c53b346e5eb59b8ac1d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-66397630', 'ctest-vn1-65252987'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 05:50:16,323 - DEBUG - Response for create_subnet : {'subnet': {'id': '9fa84e8b-27df-4a97-abca-e5def3e0f4e8', 'name': '', 'tenant_id': 'cda63c72780f4c53b346e5eb59b8ac1d', 'network_id': '88f01808-2f8c-46c0-8e6a-479f62efcc7d', 'ip_version': 4, 'cidr': '98.107.229.0/26', 'allocation_pools': [{'start': '98.107.229.2', 'end': '98.107.229.62'}], 'gateway_ip': '98.107.229.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '98.107.229.2', 'tags': [], 'project_id': 'cda63c72780f4c53b346e5eb59b8ac1d'}} 2025-10-09 05:50:16,551 - DEBUG - Response for create_subnet : {'subnet': {'id': '560aee07-a2f0-424d-9bbb-d514f75cef77', 'name': '', 'tenant_id': 'cda63c72780f4c53b346e5eb59b8ac1d', 'network_id': '88f01808-2f8c-46c0-8e6a-479f62efcc7d', 'ip_version': 4, 'cidr': '16.8.131.64/26', 'allocation_pools': [{'start': '16.8.131.66', 'end': '16.8.131.126'}], 'gateway_ip': '16.8.131.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '16.8.131.66', 'tags': [], 'project_id': 'cda63c72780f4c53b346e5eb59b8ac1d'}} 2025-10-09 05:50:16,572 - INFO - Created VN ctest-vn1-65252987 2025-10-09 05:50:16,625 - DEBUG - VN ctest-vn1-65252987 UUID is 88f01808-2f8c-46c0-8e6a-479f62efcc7d 2025-10-09 05:50:16,943 - DEBUG - Response for create_port : {'port': {'name': '2bf50f19-1015-4dac-be1e-b726715b9951', 'id': '2bf50f19-1015-4dac-be1e-b726715b9951', 'tenant_id': 'cda63c72780f4c53b346e5eb59b8ac1d', 'network_id': '88f01808-2f8c-46c0-8e6a-479f62efcc7d', 'mac_address': '02:2b:f5:0f:19:10', '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': '98.107.229.5', 'subnet_id': '9fa84e8b-27df-4a97-abca-e5def3e0f4e8'}], 'security_groups': ['eb855e1b-4a53-4bdd-9f62-da150f67def5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'cda63c72780f4c53b346e5eb59b8ac1d'}} 2025-10-09 05:50:17,157 - DEBUG - Response for create_port : {'port': {'name': '67e42e8b-e6a1-4872-8bf4-40b5b7fd9e6e', 'id': '67e42e8b-e6a1-4872-8bf4-40b5b7fd9e6e', 'tenant_id': 'cda63c72780f4c53b346e5eb59b8ac1d', 'network_id': '88f01808-2f8c-46c0-8e6a-479f62efcc7d', 'mac_address': '02:67:e4:2e:8b:e6', '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': '16.8.131.69', 'subnet_id': '560aee07-a2f0-424d-9bbb-d514f75cef77'}], 'security_groups': ['eb855e1b-4a53-4bdd-9f62-da150f67def5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'cda63c72780f4c53b346e5eb59b8ac1d'}} 2025-10-09 05:50:17,226 - DEBUG - Services list from nova: [, , ] 2025-10-09 05:50:17,588 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4253-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4253-1) 2025-10-09 05:50:18,008 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4253-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4253-1) 2025-10-09 05:50:18,008 - INFO - Waiting for VM ctest-vn1-vm1-60254781 to be up.. 2025-10-09 05:50:18,051 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 05:50:23,139 - DEBUG - VM is in ACTIVE state now 2025-10-09 05:50:23,139 - INFO - VM name : ctest-vn1-vm1-60254781 2025-10-09 05:50:23,225 - DEBUG - VM ctest-vn1-vm1-60254781 ID is 1b5bd66a-6762-479d-bdd6-d3ce84c721d8 2025-10-09 05:50:23,246 - DEBUG - VM ctest-vn1-vm1-60254781 launched on Node cn-jenkins-deploy-platform-ansible-os-4253-1 2025-10-09 05:50:23,351 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/1b5bd66a-6762-479d-bdd6-d3ce84c721d8 2025-10-09 05:50:23,361 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/2bf50f19-1015-4dac-be1e-b726715b9951 2025-10-09 05:50:26,606 - 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 1010ms') 2025-10-09 05:50:26,606 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-60254781 failed! 2025-10-09 05:50:26,661 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-66397630:ctest-vn1-65252987 is 98.107.229.1 and allocation pool is NOT set 2025-10-09 05:50:26,661 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-66397630:ctest-vn1-65252987 is 16.8.131.65 and allocation pool is NOT set 2025-10-09 05:50:30,739 - 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=8.30 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1018ms\r\nrtt min/avg/max/mdev = 8.298/8.298/8.298/0.000 ms') 2025-10-09 05:50:30,739 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-60254781 passed 2025-10-09 05:50:30,893 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 05:50:30,893 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-60254781, IP 98.107.229.5, Port 22 2025-10-09 05:50:31,048 - DEBUG - VM ctest-vn1-vm1-60254781 is ready for SSH connections 2025-10-09 05:50:31,049 - INFO - Waiting for VM ctest-vn1-vm2-80694724 to be up.. 2025-10-09 05:50:31,145 - DEBUG - VM is in ACTIVE state now 2025-10-09 05:50:31,145 - INFO - VM name : ctest-vn1-vm2-80694724 2025-10-09 05:50:31,240 - DEBUG - VM ctest-vn1-vm2-80694724 ID is 1b42e250-6cc2-440b-b567-3d67e23a2191 2025-10-09 05:50:31,240 - DEBUG - VM ctest-vn1-vm2-80694724 launched on Node cn-jenkins-deploy-platform-ansible-os-4253-1 2025-10-09 05:50:31,338 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/1b42e250-6cc2-440b-b567-3d67e23a2191 2025-10-09 05:50:31,347 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/67e42e8b-e6a1-4872-8bf4-40b5b7fd9e6e 2025-10-09 05:50:32,589 - 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.22 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.592 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.592/1.903/3.215/1.311 ms') 2025-10-09 05:50:32,589 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-80694724 passed 2025-10-09 05:50:32,745 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 05:50:32,746 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-80694724, IP 16.8.131.69, Port 22 2025-10-09 05:50:32,900 - DEBUG - VM ctest-vn1-vm2-80694724 is ready for SSH connections 2025-10-09 05:50:32,901 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 05:50:32,901 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 05:50:32,901 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 05:50:32,901 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 98.107.229.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-09 05:50:32,901 - DEBUG - ping -s 56 -c 3 -W 1 98.107.229.5 2025-10-09 05:50:35,661 - DEBUG - PING 98.107.229.5 (98.107.229.5): 56 data bytes 64 bytes from 98.107.229.5: seq=0 ttl=63 time=4.479 ms 64 bytes from 98.107.229.5: seq=1 ttl=63 time=1.446 ms 64 bytes from 98.107.229.5: seq=2 ttl=63 time=0.914 ms --- 98.107.229.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.914/2.279/4.479 ms 2025-10-09 05:50:35,661 - INFO - Ping to IP 98.107.229.5 from VM ctest-vn1-vm2-80694724 passed 2025-10-09 05:50:35,661 - INFO - Detaching port 67e42e8b-e6a1-4872-8bf4-40b5b7fd9e6e from VM ctest-vn1-vm2-80694724 2025-10-09 05:50:35,712 - INFO - Deleting VM ctest-vn1-vm2-80694724 2025-10-09 05:50:35,791 - INFO - Detaching port 2bf50f19-1015-4dac-be1e-b726715b9951 from VM ctest-vn1-vm1-60254781 2025-10-09 05:50:35,828 - INFO - Deleting VM ctest-vn1-vm1-60254781 2025-10-09 05:50:36,072 - DEBUG - Response for delete_port : () 2025-10-09 05:50:36,226 - DEBUG - Response for delete_port : () 2025-10-09 05:50:36,226 - INFO - Deleting VN ctest-vn1-65252987 2025-10-09 05:50:36,400 - DEBUG - Response for deleting network () 2025-10-09 05:50:36,654 - DEBUG - No XMPP flaps were noticed during the test 2025-10-09 05:50:36,654 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21] 2025-10-09 05:50:36,654 - INFO - -------------------------------------------------------------------------------- 2025-10-09 05:50:37,395 - INFO - Deleted project: ctest-TestPorts-66397630, ID : cda63c72-780f-4c53-b346-e5eb59b8ac1d