2025-10-23 02:04:22,310 - INFO - Domain Default found not creating 2025-10-23 02:04:22,457 - INFO - Project ctest-TestPorts-54932846 not found, creating it 2025-10-23 02:04:22,904 - INFO - Created Project:ctest-TestPorts-54932846, ID : 94197be2-b6a4-49de-978e-ae7e726fac4b 2025-10-23 02:04:24,492 - INFO - ================================================================================ 2025-10-23 02:04:24,492 - INFO - STARTING TEST : test_ports_bindings 2025-10-23 02:04:24,493 - 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-23 02:04:24,767 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.249': '0'}} with 2025-10-23 02:04:24,767 - INFO - Initial checks done. Running the testcase now 2025-10-23 02:04:24,767 - INFO - 2025-10-23 02:04:25,344 - DEBUG - Response for create_network : {'network': {'id': '71283eda-1a39-4d47-83da-d651c4734af0', 'name': 'ctest-vn-64516468', 'tenant_id': '94197be2b6a449de978eae7e726fac4b', 'project_id': '94197be2b6a449de978eae7e726fac4b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-54932846', 'ctest-vn-64516468'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 02:04:25,493 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c2810c3b-6163-4a4c-8566-af3ceaec2d0f', 'name': '', 'tenant_id': '94197be2b6a449de978eae7e726fac4b', 'network_id': '71283eda-1a39-4d47-83da-d651c4734af0', 'ip_version': 4, 'cidr': '164.40.2.64/26', 'allocation_pools': [{'start': '164.40.2.66', 'end': '164.40.2.126'}], 'gateway_ip': '164.40.2.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.40.2.66', 'tags': [], 'project_id': '94197be2b6a449de978eae7e726fac4b'}} 2025-10-23 02:04:25,509 - INFO - Created VN ctest-vn-64516468 2025-10-23 02:04:25,562 - DEBUG - VN ctest-vn-64516468 UUID is 71283eda-1a39-4d47-83da-d651c4734af0 2025-10-23 02:04:25,667 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-54932846', 'ctest-vmi-37830484']} 2025-10-23 02:04:25,945 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-37830484', 'id': 'd7f2e25c-5f63-4525-9b6f-8442f19f21d9', 'tenant_id': '94197be2b6a449de978eae7e726fac4b', 'network_id': '71283eda-1a39-4d47-83da-d651c4734af0', 'mac_address': '02:d7:f2:e2:5c:5f', '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': '164.40.2.67', 'subnet_id': 'c2810c3b-6163-4a4c-8566-af3ceaec2d0f'}], 'security_groups': ['76ff1096-761d-4c7f-8d86-1876ef7efbb7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '94197be2b6a449de978eae7e726fac4b'}} 2025-10-23 02:04:25,945 - DEBUG - Created port d7f2e25c-5f63-4525-9b6f-8442f19f21d9 2025-10-23 02:04:26,050 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/d7f2e25c-5f63-4525-9b6f-8442f19f21d9 2025-10-23 02:04:26,384 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/d7f2e25c-5f63-4525-9b6f-8442f19f21d9 2025-10-23 02:04:26,416 - INFO - VMI d7f2e25c-5f63-4525-9b6f-8442f19f21d9 verification in API Server passed 2025-10-23 02:04:26,506 - DEBUG - Response for delete_port : () 2025-10-23 02:04:26,506 - INFO - Deleted port d7f2e25c-5f63-4525-9b6f-8442f19f21d9 2025-10-23 02:04:26,506 - INFO - Deleting VN ctest-vn-64516468 2025-10-23 02:04:26,612 - DEBUG - Response for deleting network () 2025-10-23 02:04:26,867 - DEBUG - No XMPP flaps were noticed during the test 2025-10-23 02:04:26,867 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-10-23 02:04:26,867 - INFO - -------------------------------------------------------------------------------- 2025-10-23 02:04:26,870 - INFO - ================================================================================ 2025-10-23 02:04:26,870 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-23 02:04:26,870 - 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-23 02:04:27,159 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.249': '0'}} with 2025-10-23 02:04:27,159 - INFO - Initial checks done. Running the testcase now 2025-10-23 02:04:27,159 - INFO - 2025-10-23 02:04:27,330 - DEBUG - Response for create_network : {'network': {'id': 'a4d2a039-88dd-45d4-badc-35683ecd3f3f', 'name': 'ctest-vn1-30919690', 'tenant_id': '94197be2b6a449de978eae7e726fac4b', 'project_id': '94197be2b6a449de978eae7e726fac4b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-54932846', 'ctest-vn1-30919690'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 02:04:27,499 - DEBUG - Response for create_subnet : {'subnet': {'id': '34bde41c-9521-4e23-ac5d-7205855dd5e2', 'name': '', 'tenant_id': '94197be2b6a449de978eae7e726fac4b', 'network_id': 'a4d2a039-88dd-45d4-badc-35683ecd3f3f', 'ip_version': 4, 'cidr': '71.18.197.192/26', 'allocation_pools': [{'start': '71.18.197.194', 'end': '71.18.197.254'}], 'gateway_ip': '71.18.197.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '71.18.197.194', 'tags': [], 'project_id': '94197be2b6a449de978eae7e726fac4b'}} 2025-10-23 02:04:27,644 - DEBUG - Response for create_subnet : {'subnet': {'id': '9283a114-3d53-4a8f-803a-0a53bdd2451f', 'name': '', 'tenant_id': '94197be2b6a449de978eae7e726fac4b', 'network_id': 'a4d2a039-88dd-45d4-badc-35683ecd3f3f', 'ip_version': 4, 'cidr': '117.195.83.192/26', 'allocation_pools': [{'start': '117.195.83.194', 'end': '117.195.83.254'}], 'gateway_ip': '117.195.83.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '117.195.83.194', 'tags': [], 'project_id': '94197be2b6a449de978eae7e726fac4b'}} 2025-10-23 02:04:27,662 - INFO - Created VN ctest-vn1-30919690 2025-10-23 02:04:27,714 - DEBUG - VN ctest-vn1-30919690 UUID is a4d2a039-88dd-45d4-badc-35683ecd3f3f 2025-10-23 02:04:28,007 - DEBUG - Response for create_port : {'port': {'name': '5f9fef6d-ac88-4917-a497-b0aefd2994e4', 'id': '5f9fef6d-ac88-4917-a497-b0aefd2994e4', 'tenant_id': '94197be2b6a449de978eae7e726fac4b', 'network_id': 'a4d2a039-88dd-45d4-badc-35683ecd3f3f', 'mac_address': '02:5f:9f:ef:6d:ac', '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': '71.18.197.197', 'subnet_id': '34bde41c-9521-4e23-ac5d-7205855dd5e2'}], 'security_groups': ['76ff1096-761d-4c7f-8d86-1876ef7efbb7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '94197be2b6a449de978eae7e726fac4b'}} 2025-10-23 02:04:28,175 - DEBUG - Response for create_port : {'port': {'name': '8f475c0b-2d5c-468f-89f8-a07761c68ef1', 'id': '8f475c0b-2d5c-468f-89f8-a07761c68ef1', 'tenant_id': '94197be2b6a449de978eae7e726fac4b', 'network_id': 'a4d2a039-88dd-45d4-badc-35683ecd3f3f', 'mac_address': '02:8f:47:5c:0b:2d', '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': '117.195.83.197', 'subnet_id': '9283a114-3d53-4a8f-803a-0a53bdd2451f'}], 'security_groups': ['76ff1096-761d-4c7f-8d86-1876ef7efbb7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '94197be2b6a449de978eae7e726fac4b'}} 2025-10-23 02:04:28,228 - DEBUG - Services list from nova: [, , ] 2025-10-23 02:04:28,547 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4449-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4449-1) 2025-10-23 02:04:28,911 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4449-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4449-1) 2025-10-23 02:04:28,911 - INFO - Waiting for VM ctest-vn1-vm1-81089343 to be up.. 2025-10-23 02:04:28,948 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-23 02:04:34,021 - DEBUG - VM is in ACTIVE state now 2025-10-23 02:04:34,021 - INFO - VM name : ctest-vn1-vm1-81089343 2025-10-23 02:04:34,098 - DEBUG - VM ctest-vn1-vm1-81089343 ID is d36be9b7-a8fb-4433-9697-2fe9e1d5166b 2025-10-23 02:04:34,116 - DEBUG - VM ctest-vn1-vm1-81089343 launched on Node cn-jenkins-deploy-platform-ansible-os-4449-1 2025-10-23 02:04:34,192 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/d36be9b7-a8fb-4433-9697-2fe9e1d5166b 2025-10-23 02:04:34,202 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/5f9fef6d-ac88-4917-a497-b0aefd2994e4 2025-10-23 02:04:37,443 - 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 1008ms') 2025-10-23 02:04:37,443 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-81089343 failed! 2025-10-23 02:04:37,502 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-54932846:ctest-vn1-30919690 is 71.18.197.193 and allocation pool is NOT set 2025-10-23 02:04:37,502 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-54932846:ctest-vn1-30919690 is 117.195.83.193 and allocation pool is NOT set 2025-10-23 02:04:41,580 - 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=6.62 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1015ms\r\nrtt min/avg/max/mdev = 6.624/6.624/6.624/0.000 ms') 2025-10-23 02:04:41,580 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-81089343 passed 2025-10-23 02:04:41,734 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 02:04:41,734 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-81089343, IP 71.18.197.197, Port 22 2025-10-23 02:04:41,889 - DEBUG - VM ctest-vn1-vm1-81089343 is ready for SSH connections 2025-10-23 02:04:41,889 - INFO - Waiting for VM ctest-vn1-vm2-22349799 to be up.. 2025-10-23 02:04:41,968 - DEBUG - VM is in ACTIVE state now 2025-10-23 02:04:41,968 - INFO - VM name : ctest-vn1-vm2-22349799 2025-10-23 02:04:42,041 - DEBUG - VM ctest-vn1-vm2-22349799 ID is 2a677e53-57df-4f3b-802a-3ffe81c4a6f6 2025-10-23 02:04:42,041 - DEBUG - VM ctest-vn1-vm2-22349799 launched on Node cn-jenkins-deploy-platform-ansible-os-4449-1 2025-10-23 02:04:42,113 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/2a677e53-57df-4f3b-802a-3ffe81c4a6f6 2025-10-23 02:04:42,121 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/8f475c0b-2d5c-468f-89f8-a07761c68ef1 2025-10-23 02:04:43,356 - 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.97 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.444 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.444/1.706/2.969/1.262 ms') 2025-10-23 02:04:43,356 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-22349799 passed 2025-10-23 02:04:43,506 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 02:04:43,506 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-22349799, IP 117.195.83.197, Port 22 2025-10-23 02:04:43,665 - DEBUG - VM ctest-vn1-vm2-22349799 is ready for SSH connections 2025-10-23 02:04:43,665 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 02:04:43,665 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 02:04:43,665 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 02:04:43,666 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 71.18.197.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-10-23 02:04:43,666 - DEBUG - ping -s 56 -c 3 -W 1 71.18.197.197 2025-10-23 02:04:46,349 - DEBUG - PING 71.18.197.197 (71.18.197.197): 56 data bytes 64 bytes from 71.18.197.197: seq=0 ttl=63 time=3.867 ms 64 bytes from 71.18.197.197: seq=1 ttl=63 time=0.928 ms 64 bytes from 71.18.197.197: seq=2 ttl=63 time=1.246 ms --- 71.18.197.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.928/2.013/3.867 ms 2025-10-23 02:04:46,349 - INFO - Ping to IP 71.18.197.197 from VM ctest-vn1-vm2-22349799 passed 2025-10-23 02:04:46,349 - INFO - Detaching port 8f475c0b-2d5c-468f-89f8-a07761c68ef1 from VM ctest-vn1-vm2-22349799 2025-10-23 02:04:46,399 - INFO - Deleting VM ctest-vn1-vm2-22349799 2025-10-23 02:04:46,462 - INFO - Detaching port 5f9fef6d-ac88-4917-a497-b0aefd2994e4 from VM ctest-vn1-vm1-81089343 2025-10-23 02:04:46,495 - INFO - Deleting VM ctest-vn1-vm1-81089343 2025-10-23 02:04:46,760 - DEBUG - Response for delete_port : () 2025-10-23 02:04:46,916 - DEBUG - Response for delete_port : () 2025-10-23 02:04:46,916 - INFO - Deleting VN ctest-vn1-30919690 2025-10-23 02:04:47,043 - DEBUG - Response for deleting network () 2025-10-23 02:04:47,306 - DEBUG - No XMPP flaps were noticed during the test 2025-10-23 02:04:47,306 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21] 2025-10-23 02:04:47,306 - INFO - -------------------------------------------------------------------------------- 2025-10-23 02:04:48,018 - INFO - Deleted project: ctest-TestPorts-54932846, ID : 94197be2-b6a4-49de-978e-ae7e726fac4b