2025-10-16 09:32:04,069 - INFO - Domain Default found not creating 2025-10-16 09:32:04,213 - INFO - Project ctest-TestPorts-18806731 not found, creating it 2025-10-16 09:32:04,644 - INFO - Created Project:ctest-TestPorts-18806731, ID : 5c147805-4fd5-469b-bab9-918dcf2103e0 2025-10-16 09:32:05,990 - INFO - ================================================================================ 2025-10-16 09:32:05,990 - INFO - STARTING TEST : test_ports_bindings 2025-10-16 09:32:05,990 - 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-16 09:32:06,249 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.18': '0'}} with 2025-10-16 09:32:06,249 - INFO - Initial checks done. Running the testcase now 2025-10-16 09:32:06,249 - INFO - 2025-10-16 09:32:07,313 - DEBUG - Response for create_network : {'network': {'id': '264a4e9d-d7ac-4e77-b5ad-dc5713f6b60e', 'name': 'ctest-vn-70279325', 'tenant_id': '5c1478054fd5469bbab9918dcf2103e0', 'project_id': '5c1478054fd5469bbab9918dcf2103e0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-18806731', 'ctest-vn-70279325'], 'port_security_enabled': True, 'description': ''}} 2025-10-16 09:32:07,449 - DEBUG - Response for create_subnet : {'subnet': {'id': '6abdcfb1-2f5f-49ca-ab4d-839f8d304e56', 'name': '', 'tenant_id': '5c1478054fd5469bbab9918dcf2103e0', 'network_id': '264a4e9d-d7ac-4e77-b5ad-dc5713f6b60e', 'ip_version': 4, 'cidr': '171.0.244.128/26', 'allocation_pools': [{'start': '171.0.244.130', 'end': '171.0.244.190'}], 'gateway_ip': '171.0.244.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '171.0.244.130', 'tags': [], 'project_id': '5c1478054fd5469bbab9918dcf2103e0'}} 2025-10-16 09:32:07,466 - INFO - Created VN ctest-vn-70279325 2025-10-16 09:32:07,516 - DEBUG - VN ctest-vn-70279325 UUID is 264a4e9d-d7ac-4e77-b5ad-dc5713f6b60e 2025-10-16 09:32:07,622 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-18806731', 'ctest-vmi-71046492']} 2025-10-16 09:32:07,875 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-71046492', 'id': '9de910f5-effe-4b41-a578-49e4ce8ae710', 'tenant_id': '5c1478054fd5469bbab9918dcf2103e0', 'network_id': '264a4e9d-d7ac-4e77-b5ad-dc5713f6b60e', 'mac_address': '02:9d:e9:10:f5:ef', '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': '171.0.244.131', 'subnet_id': '6abdcfb1-2f5f-49ca-ab4d-839f8d304e56'}], 'security_groups': ['4c1b2b95-04de-48c9-b0ec-4d88c029808b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5c1478054fd5469bbab9918dcf2103e0'}} 2025-10-16 09:32:07,875 - DEBUG - Created port 9de910f5-effe-4b41-a578-49e4ce8ae710 2025-10-16 09:32:07,976 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/9de910f5-effe-4b41-a578-49e4ce8ae710 2025-10-16 09:32:08,280 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/9de910f5-effe-4b41-a578-49e4ce8ae710 2025-10-16 09:32:08,318 - INFO - VMI 9de910f5-effe-4b41-a578-49e4ce8ae710 verification in API Server passed 2025-10-16 09:32:08,399 - DEBUG - Response for delete_port : () 2025-10-16 09:32:08,400 - INFO - Deleted port 9de910f5-effe-4b41-a578-49e4ce8ae710 2025-10-16 09:32:08,400 - INFO - Deleting VN ctest-vn-70279325 2025-10-16 09:32:08,493 - DEBUG - Response for deleting network () 2025-10-16 09:32:08,749 - DEBUG - No XMPP flaps were noticed during the test 2025-10-16 09:32:08,749 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-10-16 09:32:08,749 - INFO - -------------------------------------------------------------------------------- 2025-10-16 09:32:08,751 - INFO - ================================================================================ 2025-10-16 09:32:08,751 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-16 09:32:08,751 - 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-16 09:32:09,036 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.18': '0'}} with 2025-10-16 09:32:09,036 - INFO - Initial checks done. Running the testcase now 2025-10-16 09:32:09,036 - INFO - 2025-10-16 09:32:09,200 - DEBUG - Response for create_network : {'network': {'id': '0d7a33e5-cf39-4289-952c-36051fba807a', 'name': 'ctest-vn1-01212816', 'tenant_id': '5c1478054fd5469bbab9918dcf2103e0', 'project_id': '5c1478054fd5469bbab9918dcf2103e0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-18806731', 'ctest-vn1-01212816'], 'port_security_enabled': True, 'description': ''}} 2025-10-16 09:32:09,353 - DEBUG - Response for create_subnet : {'subnet': {'id': '3a5bc1b9-a901-4272-b886-1c6d5d974588', 'name': '', 'tenant_id': '5c1478054fd5469bbab9918dcf2103e0', 'network_id': '0d7a33e5-cf39-4289-952c-36051fba807a', 'ip_version': 4, 'cidr': '30.10.67.192/26', 'allocation_pools': [{'start': '30.10.67.194', 'end': '30.10.67.254'}], 'gateway_ip': '30.10.67.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '30.10.67.194', 'tags': [], 'project_id': '5c1478054fd5469bbab9918dcf2103e0'}} 2025-10-16 09:32:09,499 - DEBUG - Response for create_subnet : {'subnet': {'id': '465d90d3-f5b3-42d2-bcbf-8e75963a8572', 'name': '', 'tenant_id': '5c1478054fd5469bbab9918dcf2103e0', 'network_id': '0d7a33e5-cf39-4289-952c-36051fba807a', 'ip_version': 4, 'cidr': '175.45.176.192/26', 'allocation_pools': [{'start': '175.45.176.194', 'end': '175.45.176.254'}], 'gateway_ip': '175.45.176.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '175.45.176.194', 'tags': [], 'project_id': '5c1478054fd5469bbab9918dcf2103e0'}} 2025-10-16 09:32:09,516 - INFO - Created VN ctest-vn1-01212816 2025-10-16 09:32:09,568 - DEBUG - VN ctest-vn1-01212816 UUID is 0d7a33e5-cf39-4289-952c-36051fba807a 2025-10-16 09:32:09,825 - DEBUG - Response for create_port : {'port': {'name': '638acfdb-8007-4e10-b206-6aa8f153a85b', 'id': '638acfdb-8007-4e10-b206-6aa8f153a85b', 'tenant_id': '5c1478054fd5469bbab9918dcf2103e0', 'network_id': '0d7a33e5-cf39-4289-952c-36051fba807a', 'mac_address': '02:63:8a:cf:db:80', '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': '30.10.67.197', 'subnet_id': '3a5bc1b9-a901-4272-b886-1c6d5d974588'}], 'security_groups': ['4c1b2b95-04de-48c9-b0ec-4d88c029808b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5c1478054fd5469bbab9918dcf2103e0'}} 2025-10-16 09:32:09,973 - DEBUG - Response for create_port : {'port': {'name': 'b527da21-86ff-4dbe-9a85-cf379b544003', 'id': 'b527da21-86ff-4dbe-9a85-cf379b544003', 'tenant_id': '5c1478054fd5469bbab9918dcf2103e0', 'network_id': '0d7a33e5-cf39-4289-952c-36051fba807a', 'mac_address': '02:b5:27:da:21:86', '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': '175.45.176.197', 'subnet_id': '465d90d3-f5b3-42d2-bcbf-8e75963a8572'}], 'security_groups': ['4c1b2b95-04de-48c9-b0ec-4d88c029808b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5c1478054fd5469bbab9918dcf2103e0'}} 2025-10-16 09:32:10,025 - DEBUG - Services list from nova: [, , ] 2025-10-16 09:32:10,346 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4342-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4342-1) 2025-10-16 09:32:10,712 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4342-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4342-1) 2025-10-16 09:32:10,712 - INFO - Waiting for VM ctest-vn1-vm1-38344204 to be up.. 2025-10-16 09:32:10,747 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-16 09:32:15,813 - DEBUG - VM is in ACTIVE state now 2025-10-16 09:32:15,813 - INFO - VM name : ctest-vn1-vm1-38344204 2025-10-16 09:32:15,874 - DEBUG - VM ctest-vn1-vm1-38344204 ID is 32c7dfcd-1073-4dfd-a008-84c96c2c0cbd 2025-10-16 09:32:15,890 - DEBUG - VM ctest-vn1-vm1-38344204 launched on Node cn-jenkins-deploy-platform-ansible-os-4342-1 2025-10-16 09:32:15,959 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/32c7dfcd-1073-4dfd-a008-84c96c2c0cbd 2025-10-16 09:32:15,966 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/638acfdb-8007-4e10-b206-6aa8f153a85b 2025-10-16 09:32:19,217 - 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') 2025-10-16 09:32:19,217 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-38344204 failed! 2025-10-16 09:32:19,272 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-18806731:ctest-vn1-01212816 is 30.10.67.193 and allocation pool is NOT set 2025-10-16 09:32:19,272 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-18806731:ctest-vn1-01212816 is 175.45.176.193 and allocation pool is NOT set 2025-10-16 09:32:21,336 - 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.23 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.637 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.637/2.431/4.226/1.794 ms') 2025-10-16 09:32:21,336 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-38344204 passed 2025-10-16 09:32:21,484 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 09:32:21,484 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-38344204, IP 30.10.67.197, Port 22 2025-10-16 09:32:21,640 - DEBUG - VM ctest-vn1-vm1-38344204 is ready for SSH connections 2025-10-16 09:32:21,640 - INFO - Waiting for VM ctest-vn1-vm2-24828313 to be up.. 2025-10-16 09:32:21,709 - DEBUG - VM is in ACTIVE state now 2025-10-16 09:32:21,709 - INFO - VM name : ctest-vn1-vm2-24828313 2025-10-16 09:32:21,772 - DEBUG - VM ctest-vn1-vm2-24828313 ID is 8546bdd3-8c67-4d1b-8bbc-322aad65f52d 2025-10-16 09:32:21,772 - DEBUG - VM ctest-vn1-vm2-24828313 launched on Node cn-jenkins-deploy-platform-ansible-os-4342-1 2025-10-16 09:32:21,837 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/8546bdd3-8c67-4d1b-8bbc-322aad65f52d 2025-10-16 09:32:21,844 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/b527da21-86ff-4dbe-9a85-cf379b544003 2025-10-16 09:32:23,072 - 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=2.84 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.510 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.510/1.675/2.841/1.165 ms') 2025-10-16 09:32:23,072 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-24828313 passed 2025-10-16 09:32:23,224 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 09:32:23,224 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-24828313, IP 175.45.176.197, Port 22 2025-10-16 09:32:23,380 - DEBUG - VM ctest-vn1-vm2-24828313 is ready for SSH connections 2025-10-16 09:32:23,380 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 09:32:23,380 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 09:32:23,380 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 09:32:23,380 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 30.10.67.197, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-16 09:32:23,380 - DEBUG - ping -s 56 -c 3 -W 1 30.10.67.197 2025-10-16 09:32:27,367 - DEBUG - PING 30.10.67.197 (30.10.67.197): 56 data bytes 64 bytes from 30.10.67.197: seq=0 ttl=63 time=3.209 ms 64 bytes from 30.10.67.197: seq=1 ttl=63 time=0.703 ms 64 bytes from 30.10.67.197: seq=2 ttl=63 time=0.798 ms --- 30.10.67.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.703/1.570/3.209 ms 2025-10-16 09:32:27,367 - INFO - Ping to IP 30.10.67.197 from VM ctest-vn1-vm2-24828313 passed 2025-10-16 09:32:27,367 - INFO - Detaching port b527da21-86ff-4dbe-9a85-cf379b544003 from VM ctest-vn1-vm2-24828313 2025-10-16 09:32:27,417 - INFO - Deleting VM ctest-vn1-vm2-24828313 2025-10-16 09:32:27,488 - INFO - Detaching port 638acfdb-8007-4e10-b206-6aa8f153a85b from VM ctest-vn1-vm1-38344204 2025-10-16 09:32:27,520 - INFO - Deleting VM ctest-vn1-vm1-38344204 2025-10-16 09:32:27,738 - DEBUG - Response for delete_port : () 2025-10-16 09:32:27,883 - DEBUG - Response for delete_port : () 2025-10-16 09:32:27,883 - INFO - Deleting VN ctest-vn1-01212816 2025-10-16 09:32:28,014 - DEBUG - Response for deleting network () 2025-10-16 09:32:28,272 - DEBUG - No XMPP flaps were noticed during the test 2025-10-16 09:32:28,272 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:20] 2025-10-16 09:32:28,273 - INFO - -------------------------------------------------------------------------------- 2025-10-16 09:32:28,921 - INFO - Deleted project: ctest-TestPorts-18806731, ID : 5c147805-4fd5-469b-bab9-918dcf2103e0