2025-08-28 17:21:05,783 - INFO - Domain Default found not creating 2025-08-28 17:21:05,963 - INFO - Project ctest-TestPorts-41065462 not found, creating it 2025-08-28 17:21:06,465 - INFO - Created Project:ctest-TestPorts-41065462, ID : addc1718-d052-4e05-adeb-ab517867eea4 2025-08-28 17:21:08,358 - INFO - ================================================================================ 2025-08-28 17:21:08,358 - INFO - STARTING TEST : test_ports_bindings 2025-08-28 17:21:08,358 - 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-08-28 17:21:08,632 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.14': '0'}} with 2025-08-28 17:21:08,632 - INFO - Initial checks done. Running the testcase now 2025-08-28 17:21:08,632 - INFO - 2025-08-28 17:21:09,262 - DEBUG - Response for create_network : {'network': {'id': 'bf995bf4-5b86-428b-977d-a44fbec91869', 'name': 'ctest-vn-09591622', 'tenant_id': 'addc1718d0524e05adebab517867eea4', 'project_id': 'addc1718d0524e05adebab517867eea4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-41065462', 'ctest-vn-09591622'], 'port_security_enabled': True, 'description': ''}} 2025-08-28 17:21:09,503 - DEBUG - Response for create_subnet : {'subnet': {'id': '69a298fd-5904-4656-9ac7-dfb6d874618b', 'name': '', 'tenant_id': 'addc1718d0524e05adebab517867eea4', 'network_id': 'bf995bf4-5b86-428b-977d-a44fbec91869', 'ip_version': 4, 'cidr': '159.15.153.0/26', 'allocation_pools': [{'start': '159.15.153.2', 'end': '159.15.153.62'}], 'gateway_ip': '159.15.153.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '159.15.153.2', 'tags': [], 'project_id': 'addc1718d0524e05adebab517867eea4'}} 2025-08-28 17:21:09,524 - INFO - Created VN ctest-vn-09591622 2025-08-28 17:21:09,579 - DEBUG - VN ctest-vn-09591622 UUID is bf995bf4-5b86-428b-977d-a44fbec91869 2025-08-28 17:21:09,692 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-41065462', 'ctest-vmi-44914564']} 2025-08-28 17:21:09,952 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-44914564', 'id': 'c45c5db9-cfa3-4b56-bd0f-559a25e2d94b', 'tenant_id': 'addc1718d0524e05adebab517867eea4', 'network_id': 'bf995bf4-5b86-428b-977d-a44fbec91869', 'mac_address': '02:c4:5c:5d:b9:cf', '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': '159.15.153.3', 'subnet_id': '69a298fd-5904-4656-9ac7-dfb6d874618b'}], 'security_groups': ['7902cd70-1f36-4d14-abc6-1e28fdc1a0d6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'addc1718d0524e05adebab517867eea4'}} 2025-08-28 17:21:09,953 - DEBUG - Created port c45c5db9-cfa3-4b56-bd0f-559a25e2d94b 2025-08-28 17:21:10,059 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c45c5db9-cfa3-4b56-bd0f-559a25e2d94b 2025-08-28 17:21:10,407 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c45c5db9-cfa3-4b56-bd0f-559a25e2d94b 2025-08-28 17:21:10,450 - INFO - VMI c45c5db9-cfa3-4b56-bd0f-559a25e2d94b verification in API Server passed 2025-08-28 17:21:10,552 - DEBUG - Response for delete_port : () 2025-08-28 17:21:10,552 - INFO - Deleted port c45c5db9-cfa3-4b56-bd0f-559a25e2d94b 2025-08-28 17:21:10,552 - INFO - Deleting VN ctest-vn-09591622 2025-08-28 17:21:10,674 - DEBUG - Response for deleting network () 2025-08-28 17:21:10,946 - DEBUG - No XMPP flaps were noticed during the test 2025-08-28 17:21:10,947 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-08-28 17:21:10,947 - INFO - -------------------------------------------------------------------------------- 2025-08-28 17:21:10,949 - INFO - ================================================================================ 2025-08-28 17:21:10,949 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-28 17:21:10,950 - 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-08-28 17:21:11,233 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.14': '0'}} with 2025-08-28 17:21:11,233 - INFO - Initial checks done. Running the testcase now 2025-08-28 17:21:11,233 - INFO - 2025-08-28 17:21:11,435 - DEBUG - Response for create_network : {'network': {'id': 'fe9d5384-ef03-4ea8-a0a3-f4cac522961b', 'name': 'ctest-vn1-23195169', 'tenant_id': 'addc1718d0524e05adebab517867eea4', 'project_id': 'addc1718d0524e05adebab517867eea4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-41065462', 'ctest-vn1-23195169'], 'port_security_enabled': True, 'description': ''}} 2025-08-28 17:21:11,626 - DEBUG - Response for create_subnet : {'subnet': {'id': '785d0f1a-cbc9-4738-88a6-2995af6ee063', 'name': '', 'tenant_id': 'addc1718d0524e05adebab517867eea4', 'network_id': 'fe9d5384-ef03-4ea8-a0a3-f4cac522961b', 'ip_version': 4, 'cidr': '76.109.177.192/26', 'allocation_pools': [{'start': '76.109.177.194', 'end': '76.109.177.254'}], 'gateway_ip': '76.109.177.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '76.109.177.194', 'tags': [], 'project_id': 'addc1718d0524e05adebab517867eea4'}} 2025-08-28 17:21:11,827 - DEBUG - Response for create_subnet : {'subnet': {'id': '0362ffa7-6549-4393-a674-ea4d0c84a327', 'name': '', 'tenant_id': 'addc1718d0524e05adebab517867eea4', 'network_id': 'fe9d5384-ef03-4ea8-a0a3-f4cac522961b', 'ip_version': 4, 'cidr': '142.24.1.64/26', 'allocation_pools': [{'start': '142.24.1.66', 'end': '142.24.1.126'}], 'gateway_ip': '142.24.1.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '142.24.1.66', 'tags': [], 'project_id': 'addc1718d0524e05adebab517867eea4'}} 2025-08-28 17:21:11,851 - INFO - Created VN ctest-vn1-23195169 2025-08-28 17:21:11,907 - DEBUG - VN ctest-vn1-23195169 UUID is fe9d5384-ef03-4ea8-a0a3-f4cac522961b 2025-08-28 17:21:12,267 - DEBUG - Response for create_port : {'port': {'name': '355cf1b7-c357-4b39-bcea-475478c76920', 'id': '355cf1b7-c357-4b39-bcea-475478c76920', 'tenant_id': 'addc1718d0524e05adebab517867eea4', 'network_id': 'fe9d5384-ef03-4ea8-a0a3-f4cac522961b', 'mac_address': '02:35:5c:f1:b7:c3', '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': '76.109.177.197', 'subnet_id': '785d0f1a-cbc9-4738-88a6-2995af6ee063'}], 'security_groups': ['7902cd70-1f36-4d14-abc6-1e28fdc1a0d6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'addc1718d0524e05adebab517867eea4'}} 2025-08-28 17:21:12,455 - DEBUG - Response for create_port : {'port': {'name': 'a2ed5dff-7fee-49a3-9ae0-e708126d8cc4', 'id': 'a2ed5dff-7fee-49a3-9ae0-e708126d8cc4', 'tenant_id': 'addc1718d0524e05adebab517867eea4', 'network_id': 'fe9d5384-ef03-4ea8-a0a3-f4cac522961b', 'mac_address': '02:a2:ed:5d:ff:7f', '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': '142.24.1.69', 'subnet_id': '0362ffa7-6549-4393-a674-ea4d0c84a327'}], 'security_groups': ['7902cd70-1f36-4d14-abc6-1e28fdc1a0d6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'addc1718d0524e05adebab517867eea4'}} 2025-08-28 17:21:12,534 - DEBUG - Services list from nova: [, , ] 2025-08-28 17:21:12,994 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3963-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3963-1) 2025-08-28 17:21:13,464 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3963-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3963-1) 2025-08-28 17:21:13,464 - INFO - Waiting for VM ctest-vn1-vm1-63507967 to be up.. 2025-08-28 17:21:13,511 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-28 17:21:18,599 - DEBUG - VM is in ACTIVE state now 2025-08-28 17:21:18,599 - INFO - VM name : ctest-vn1-vm1-63507967 2025-08-28 17:21:18,680 - DEBUG - VM ctest-vn1-vm1-63507967 ID is f957e99c-ff8c-4a89-97c7-acc1f045b9d1 2025-08-28 17:21:18,706 - DEBUG - VM ctest-vn1-vm1-63507967 launched on Node cn-jenkins-deploy-platform-ansible-os-3963-1 2025-08-28 17:21:18,789 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/f957e99c-ff8c-4a89-97c7-acc1f045b9d1 2025-08-28 17:21:18,798 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/355cf1b7-c357-4b39-bcea-475478c76920 2025-08-28 17:21:22,036 - 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 1002ms') 2025-08-28 17:21:22,036 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-63507967 failed! 2025-08-28 17:21:22,095 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-41065462:ctest-vn1-23195169 is 76.109.177.193 and allocation pool is NOT set 2025-08-28 17:21:22,095 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-41065462:ctest-vn1-23195169 is 142.24.1.65 and allocation pool is NOT set 2025-08-28 17:21:26,162 - 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 1009ms') 2025-08-28 17:21:26,163 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-63507967 failed! 2025-08-28 17:21:26,219 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-41065462:ctest-vn1-23195169 is 76.109.177.193 and allocation pool is NOT set 2025-08-28 17:21:26,219 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-41065462:ctest-vn1-23195169 is 142.24.1.65 and allocation pool is NOT set 2025-08-28 17:21:28,282 - 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=4.42 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.34 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 = 2.343/3.382/4.422/1.039 ms') 2025-08-28 17:21:28,282 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-63507967 passed 2025-08-28 17:21:28,435 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 17:21:28,435 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-63507967, IP 76.109.177.197, Port 22 2025-08-28 17:21:28,605 - DEBUG - VM ctest-vn1-vm1-63507967 is ready for SSH connections 2025-08-28 17:21:28,605 - INFO - Waiting for VM ctest-vn1-vm2-93432840 to be up.. 2025-08-28 17:21:28,695 - DEBUG - VM is in ACTIVE state now 2025-08-28 17:21:28,696 - INFO - VM name : ctest-vn1-vm2-93432840 2025-08-28 17:21:28,785 - DEBUG - VM ctest-vn1-vm2-93432840 ID is 240205f1-f685-4757-831c-6996d76a44da 2025-08-28 17:21:28,786 - DEBUG - VM ctest-vn1-vm2-93432840 launched on Node cn-jenkins-deploy-platform-ansible-os-3963-1 2025-08-28 17:21:28,870 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/240205f1-f685-4757-831c-6996d76a44da 2025-08-28 17:21:28,879 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a2ed5dff-7fee-49a3-9ae0-e708126d8cc4 2025-08-28 17:21:30,134 - 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=6.04 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.02 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 = 1.015/3.527/6.039/2.512 ms') 2025-08-28 17:21:30,134 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-93432840 passed 2025-08-28 17:21:30,291 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 17:21:30,291 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-93432840, IP 142.24.1.69, Port 22 2025-08-28 17:21:30,461 - DEBUG - VM ctest-vn1-vm2-93432840 is ready for SSH connections 2025-08-28 17:21:30,461 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 17:21:30,462 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 17:21:30,462 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 17:21:30,462 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 76.109.177.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-28 17:21:30,462 - DEBUG - ping -s 56 -c 3 -W 1 76.109.177.197 2025-08-28 17:21:33,249 - DEBUG - PING 76.109.177.197 (76.109.177.197): 56 data bytes 64 bytes from 76.109.177.197: seq=0 ttl=63 time=5.160 ms 64 bytes from 76.109.177.197: seq=1 ttl=63 time=1.139 ms 64 bytes from 76.109.177.197: seq=2 ttl=63 time=1.159 ms --- 76.109.177.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.139/2.486/5.160 ms 2025-08-28 17:21:33,249 - INFO - Ping to IP 76.109.177.197 from VM ctest-vn1-vm2-93432840 passed 2025-08-28 17:21:33,249 - INFO - Detaching port a2ed5dff-7fee-49a3-9ae0-e708126d8cc4 from VM ctest-vn1-vm2-93432840 2025-08-28 17:21:33,307 - INFO - Deleting VM ctest-vn1-vm2-93432840 2025-08-28 17:21:33,388 - INFO - Detaching port 355cf1b7-c357-4b39-bcea-475478c76920 from VM ctest-vn1-vm1-63507967 2025-08-28 17:21:33,436 - INFO - Deleting VM ctest-vn1-vm1-63507967 2025-08-28 17:21:33,767 - DEBUG - Response for delete_port : () 2025-08-28 17:21:33,985 - DEBUG - Response for delete_port : () 2025-08-28 17:21:33,985 - INFO - Deleting VN ctest-vn1-23195169 2025-08-28 17:21:34,183 - DEBUG - Response for deleting network () 2025-08-28 17:21:34,451 - DEBUG - No XMPP flaps were noticed during the test 2025-08-28 17:21:34,451 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24] 2025-08-28 17:21:34,451 - INFO - -------------------------------------------------------------------------------- 2025-08-28 17:21:35,247 - INFO - Deleted project: ctest-TestPorts-41065462, ID : addc1718-d052-4e05-adeb-ab517867eea4