2025-10-30 10:19:08,595 - INFO - Domain Default found not creating 2025-10-30 10:19:08,765 - INFO - Project ctest-TestPorts-34896695 not found, creating it 2025-10-30 10:19:09,500 - INFO - Created Project:ctest-TestPorts-34896695, ID : f0395b3b-db65-4883-b64a-9a839f1d1067 2025-10-30 10:19:11,127 - INFO - ================================================================================ 2025-10-30 10:19:11,127 - INFO - STARTING TEST : test_ports_bindings 2025-10-30 10:19:11,127 - 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-30 10:19:12,457 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.131': '0', '10.20.0.128': '0'}, '10.0.0.27': {'10.20.0.145': '0', '10.20.0.128': '0'}} with 2025-10-30 10:19:12,457 - INFO - Initial checks done. Running the testcase now 2025-10-30 10:19:12,457 - INFO - 2025-10-30 10:19:13,173 - DEBUG - Response for create_network : {'network': {'id': '29124e50-a3cb-4e81-94bb-78bf01949b89', 'name': 'ctest-vn-25887028', 'tenant_id': 'f0395b3bdb654883b64a9a839f1d1067', 'project_id': 'f0395b3bdb654883b64a9a839f1d1067', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-34896695', 'ctest-vn-25887028'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 10:19:13,483 - DEBUG - Response for create_subnet : {'subnet': {'id': '9b54b096-ef49-4392-80a1-7b69ba023672', 'name': '', 'tenant_id': 'f0395b3bdb654883b64a9a839f1d1067', 'network_id': '29124e50-a3cb-4e81-94bb-78bf01949b89', 'ip_version': 4, 'cidr': '106.39.253.192/26', 'allocation_pools': [{'start': '106.39.253.194', 'end': '106.39.253.254'}], 'gateway_ip': '106.39.253.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '106.39.253.194', 'tags': [], 'project_id': 'f0395b3bdb654883b64a9a839f1d1067'}} 2025-10-30 10:19:13,505 - INFO - Created VN ctest-vn-25887028 2025-10-30 10:19:13,521 - DEBUG - VN ctest-vn-25887028 UUID is 29124e50-a3cb-4e81-94bb-78bf01949b89 2025-10-30 10:19:13,599 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-34896695', 'ctest-vmi-92682554']} 2025-10-30 10:19:13,899 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-92682554', 'id': '96319d1a-742f-47f7-860f-b202f43a8551', 'tenant_id': 'f0395b3bdb654883b64a9a839f1d1067', 'network_id': '29124e50-a3cb-4e81-94bb-78bf01949b89', 'mac_address': '02:96:31:9d:1a:74', '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': '106.39.253.195', 'subnet_id': '9b54b096-ef49-4392-80a1-7b69ba023672'}], 'security_groups': ['223ffc8c-ce48-4926-aecc-3595246ead7d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f0395b3bdb654883b64a9a839f1d1067'}} 2025-10-30 10:19:13,899 - DEBUG - Created port 96319d1a-742f-47f7-860f-b202f43a8551 2025-10-30 10:19:13,971 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/96319d1a-742f-47f7-860f-b202f43a8551 2025-10-30 10:19:14,279 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/96319d1a-742f-47f7-860f-b202f43a8551 2025-10-30 10:19:14,318 - INFO - VMI 96319d1a-742f-47f7-860f-b202f43a8551 verification in API Server passed 2025-10-30 10:19:14,537 - DEBUG - Response for delete_port : () 2025-10-30 10:19:14,537 - INFO - Deleted port 96319d1a-742f-47f7-860f-b202f43a8551 2025-10-30 10:19:14,537 - INFO - Deleting VN ctest-vn-25887028 2025-10-30 10:19:14,747 - DEBUG - Response for deleting network () 2025-10-30 10:19:16,040 - DEBUG - No XMPP flaps were noticed during the test 2025-10-30 10:19:16,041 - INFO - END TEST : test_ports_bindings : PASSED[0:00:05] 2025-10-30 10:19:16,041 - INFO - -------------------------------------------------------------------------------- 2025-10-30 10:19:16,045 - INFO - ================================================================================ 2025-10-30 10:19:16,045 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-30 10:19:16,045 - 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-30 10:19:17,334 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.131': '0', '10.20.0.128': '0'}, '10.0.0.27': {'10.20.0.145': '0', '10.20.0.128': '0'}} with 2025-10-30 10:19:17,334 - INFO - Initial checks done. Running the testcase now 2025-10-30 10:19:17,334 - INFO - 2025-10-30 10:19:17,633 - DEBUG - Response for create_network : {'network': {'id': '21af8884-e69a-4e04-9460-9f2f6ef116b8', 'name': 'ctest-vn1-81314306', 'tenant_id': 'f0395b3bdb654883b64a9a839f1d1067', 'project_id': 'f0395b3bdb654883b64a9a839f1d1067', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-34896695', 'ctest-vn1-81314306'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 10:19:17,907 - DEBUG - Response for create_subnet : {'subnet': {'id': '20e709ce-aada-42a4-8c23-18eed4383908', 'name': '', 'tenant_id': 'f0395b3bdb654883b64a9a839f1d1067', 'network_id': '21af8884-e69a-4e04-9460-9f2f6ef116b8', 'ip_version': 4, 'cidr': '130.8.22.128/26', 'allocation_pools': [{'start': '130.8.22.130', 'end': '130.8.22.190'}], 'gateway_ip': '130.8.22.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '130.8.22.130', 'tags': [], 'project_id': 'f0395b3bdb654883b64a9a839f1d1067'}} 2025-10-30 10:19:18,132 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dfd4f6d2-214c-431c-b7cc-5ab557c3b62b', 'name': '', 'tenant_id': 'f0395b3bdb654883b64a9a839f1d1067', 'network_id': '21af8884-e69a-4e04-9460-9f2f6ef116b8', 'ip_version': 4, 'cidr': '52.160.212.192/26', 'allocation_pools': [{'start': '52.160.212.194', 'end': '52.160.212.254'}], 'gateway_ip': '52.160.212.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.160.212.194', 'tags': [], 'project_id': 'f0395b3bdb654883b64a9a839f1d1067'}} 2025-10-30 10:19:18,158 - INFO - Created VN ctest-vn1-81314306 2025-10-30 10:19:18,170 - DEBUG - VN ctest-vn1-81314306 UUID is 21af8884-e69a-4e04-9460-9f2f6ef116b8 2025-10-30 10:19:18,575 - DEBUG - Response for create_port : {'port': {'name': '8ff74283-83aa-44d2-8e2a-01097a44c275', 'id': '8ff74283-83aa-44d2-8e2a-01097a44c275', 'tenant_id': 'f0395b3bdb654883b64a9a839f1d1067', 'network_id': '21af8884-e69a-4e04-9460-9f2f6ef116b8', 'mac_address': '02:8f:f7:42:83:83', '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': '130.8.22.133', 'subnet_id': '20e709ce-aada-42a4-8c23-18eed4383908'}], 'security_groups': ['223ffc8c-ce48-4926-aecc-3595246ead7d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f0395b3bdb654883b64a9a839f1d1067'}} 2025-10-30 10:19:18,914 - DEBUG - Response for create_port : {'port': {'name': '96a231bb-6e66-45c2-868d-abfa5d3d7ba7', 'id': '96a231bb-6e66-45c2-868d-abfa5d3d7ba7', 'tenant_id': 'f0395b3bdb654883b64a9a839f1d1067', 'network_id': '21af8884-e69a-4e04-9460-9f2f6ef116b8', 'mac_address': '02:96:a2:31:bb:6e', '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': '52.160.212.197', 'subnet_id': 'dfd4f6d2-214c-431c-b7cc-5ab557c3b62b'}], 'security_groups': ['223ffc8c-ce48-4926-aecc-3595246ead7d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f0395b3bdb654883b64a9a839f1d1067'}} 2025-10-30 10:19:18,989 - DEBUG - Services list from nova: [, , , ] 2025-10-30 10:19:19,507 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4541-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4541-1) 2025-10-30 10:19:20,231 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4541-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4541-2) 2025-10-30 10:19:20,231 - INFO - Waiting for VM ctest-vn1-vm1-54115176 to be up.. 2025-10-30 10:19:20,295 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 10:19:25,408 - DEBUG - VM is in ACTIVE state now 2025-10-30 10:19:25,408 - INFO - VM name : ctest-vn1-vm1-54115176 2025-10-30 10:19:25,524 - DEBUG - VM ctest-vn1-vm1-54115176 ID is cc6e3a6c-1d23-498f-ac3e-f2291b69fe0f 2025-10-30 10:19:25,553 - DEBUG - VM ctest-vn1-vm1-54115176 launched on Node an-jenkins-deploy-platform-ansible-os-4541-1 2025-10-30 10:19:25,662 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/cc6e3a6c-1d23-498f-ac3e-f2291b69fe0f 2025-10-30 10:19:26,015 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/cc6e3a6c-1d23-498f-ac3e-f2291b69fe0f 2025-10-30 10:19:26,058 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/8ff74283-83aa-44d2-8e2a-01097a44c275 2025-10-30 10:19:29,253 - 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 1015ms') 2025-10-30 10:19:29,253 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-54115176 failed! 2025-10-30 10:19:29,268 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-34896695:ctest-vn1-81314306 is 130.8.22.129 and allocation pool is NOT set 2025-10-30 10:19:29,269 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-34896695:ctest-vn1-81314306 is 52.160.212.193 and allocation pool is NOT set 2025-10-30 10:19:33,343 - 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=4.21 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1010ms\r\nrtt min/avg/max/mdev = 4.208/4.208/4.208/0.000 ms') 2025-10-30 10:19:33,343 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-54115176 passed 2025-10-30 10:19:33,419 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 10:19:33,419 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-54115176, IP 130.8.22.133, Port 22 2025-10-30 10:19:33,592 - DEBUG - VM ctest-vn1-vm1-54115176 is ready for SSH connections 2025-10-30 10:19:33,593 - INFO - Waiting for VM ctest-vn1-vm2-69129519 to be up.. 2025-10-30 10:19:33,693 - DEBUG - VM is in ACTIVE state now 2025-10-30 10:19:33,693 - INFO - VM name : ctest-vn1-vm2-69129519 2025-10-30 10:19:33,781 - DEBUG - VM ctest-vn1-vm2-69129519 ID is 6e04d645-d790-471c-8722-87ec24680d0a 2025-10-30 10:19:33,781 - DEBUG - VM ctest-vn1-vm2-69129519 launched on Node an-jenkins-deploy-platform-ansible-os-4541-2 2025-10-30 10:19:33,871 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/6e04d645-d790-471c-8722-87ec24680d0a 2025-10-30 10:19:33,882 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/96a231bb-6e66-45c2-868d-abfa5d3d7ba7 2025-10-30 10:19:35,042 - 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.96 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.405 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.405/2.681/4.958/2.276 ms') 2025-10-30 10:19:35,042 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-69129519 passed 2025-10-30 10:19:35,114 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 10:19:35,114 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-69129519, IP 52.160.212.197, Port 22 2025-10-30 10:19:35,281 - DEBUG - VM ctest-vn1-vm2-69129519 is ready for SSH connections 2025-10-30 10:19:35,281 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 10:19:35,282 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 10:19:35,282 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 10:19:35,282 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 130.8.22.133, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-30 10:19:35,282 - DEBUG - ping -s 56 -c 3 -W 1 130.8.22.133 2025-10-30 10:19:38,306 - DEBUG - PING 130.8.22.133 (130.8.22.133): 56 data bytes 64 bytes from 130.8.22.133: seq=0 ttl=63 time=6.638 ms 64 bytes from 130.8.22.133: seq=1 ttl=63 time=1.585 ms 64 bytes from 130.8.22.133: seq=2 ttl=63 time=1.502 ms --- 130.8.22.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.502/3.241/6.638 ms 2025-10-30 10:19:38,306 - INFO - Ping to IP 130.8.22.133 from VM ctest-vn1-vm2-69129519 passed 2025-10-30 10:19:38,307 - INFO - Detaching port 96a231bb-6e66-45c2-868d-abfa5d3d7ba7 from VM ctest-vn1-vm2-69129519 2025-10-30 10:19:38,358 - INFO - Deleting VM ctest-vn1-vm2-69129519 2025-10-30 10:19:38,448 - INFO - Detaching port 8ff74283-83aa-44d2-8e2a-01097a44c275 from VM ctest-vn1-vm1-54115176 2025-10-30 10:19:38,485 - INFO - Deleting VM ctest-vn1-vm1-54115176 2025-10-30 10:19:38,815 - DEBUG - Response for delete_port : () 2025-10-30 10:19:39,110 - DEBUG - Response for delete_port : () 2025-10-30 10:19:39,110 - INFO - Deleting VN ctest-vn1-81314306 2025-10-30 10:19:39,346 - DEBUG - Response for deleting network () 2025-10-30 10:19:40,645 - DEBUG - No XMPP flaps were noticed during the test 2025-10-30 10:19:40,645 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24] 2025-10-30 10:19:40,645 - INFO - -------------------------------------------------------------------------------- 2025-10-30 10:19:41,488 - INFO - Deleted project: ctest-TestPorts-34896695, ID : f0395b3b-db65-4883-b64a-9a839f1d1067