2025-10-06 16:39:56,229 - INFO - Domain Default found not creating 2025-10-06 16:39:56,362 - INFO - Project ctest-TestPorts-34639625 not found, creating it 2025-10-06 16:39:56,795 - INFO - Created Project:ctest-TestPorts-34639625, ID : c8909525-d37c-41ff-960b-33d68034a394 2025-10-06 16:39:58,133 - INFO - ================================================================================ 2025-10-06 16:39:58,133 - INFO - STARTING TEST : test_ports_bindings 2025-10-06 16:39:58,133 - 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-06 16:39:58,392 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-06 16:39:58,392 - INFO - Initial checks done. Running the testcase now 2025-10-06 16:39:58,392 - INFO - 2025-10-06 16:39:58,928 - DEBUG - Response for create_network : {'network': {'id': 'c5332689-2959-490d-9984-1cbdaef84cae', 'name': 'ctest-vn-64384518', 'tenant_id': 'c8909525d37c41ff960b33d68034a394', 'project_id': 'c8909525d37c41ff960b33d68034a394', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-34639625', 'ctest-vn-64384518'], 'port_security_enabled': True, 'description': ''}} 2025-10-06 16:39:59,127 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f7cd9d22-e45b-4e9f-8ae0-c6b158d04df3', 'name': '', 'tenant_id': 'c8909525d37c41ff960b33d68034a394', 'network_id': 'c5332689-2959-490d-9984-1cbdaef84cae', 'ip_version': 4, 'cidr': '105.108.160.192/26', 'allocation_pools': [{'start': '105.108.160.194', 'end': '105.108.160.254'}], 'gateway_ip': '105.108.160.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.108.160.194', 'tags': [], 'project_id': 'c8909525d37c41ff960b33d68034a394'}} 2025-10-06 16:39:59,144 - INFO - Created VN ctest-vn-64384518 2025-10-06 16:39:59,195 - DEBUG - VN ctest-vn-64384518 UUID is c5332689-2959-490d-9984-1cbdaef84cae 2025-10-06 16:39:59,292 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-34639625', 'ctest-vmi-94165340']} 2025-10-06 16:39:59,550 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-94165340', 'id': '696bbb01-60ae-47bc-894a-84144edcb1f0', 'tenant_id': 'c8909525d37c41ff960b33d68034a394', 'network_id': 'c5332689-2959-490d-9984-1cbdaef84cae', 'mac_address': '02:69:6b:bb:01:60', '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': '105.108.160.195', 'subnet_id': 'f7cd9d22-e45b-4e9f-8ae0-c6b158d04df3'}], 'security_groups': ['a675e3dd-b418-47f1-a692-714347e9c99c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c8909525d37c41ff960b33d68034a394'}} 2025-10-06 16:39:59,550 - DEBUG - Created port 696bbb01-60ae-47bc-894a-84144edcb1f0 2025-10-06 16:39:59,651 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/696bbb01-60ae-47bc-894a-84144edcb1f0 2025-10-06 16:39:59,939 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/696bbb01-60ae-47bc-894a-84144edcb1f0 2025-10-06 16:39:59,967 - INFO - VMI 696bbb01-60ae-47bc-894a-84144edcb1f0 verification in API Server passed 2025-10-06 16:40:00,053 - DEBUG - Response for delete_port : () 2025-10-06 16:40:00,053 - INFO - Deleted port 696bbb01-60ae-47bc-894a-84144edcb1f0 2025-10-06 16:40:00,053 - INFO - Deleting VN ctest-vn-64384518 2025-10-06 16:40:00,138 - DEBUG - Response for deleting network () 2025-10-06 16:40:00,395 - DEBUG - No XMPP flaps were noticed during the test 2025-10-06 16:40:00,395 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-10-06 16:40:00,395 - INFO - -------------------------------------------------------------------------------- 2025-10-06 16:40:00,397 - INFO - ================================================================================ 2025-10-06 16:40:00,397 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-06 16:40:00,397 - 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-06 16:40:00,683 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-06 16:40:00,683 - INFO - Initial checks done. Running the testcase now 2025-10-06 16:40:00,683 - INFO - 2025-10-06 16:40:00,843 - DEBUG - Response for create_network : {'network': {'id': '3356e381-10ea-445c-8d2a-424484af4953', 'name': 'ctest-vn1-37472442', 'tenant_id': 'c8909525d37c41ff960b33d68034a394', 'project_id': 'c8909525d37c41ff960b33d68034a394', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-34639625', 'ctest-vn1-37472442'], 'port_security_enabled': True, 'description': ''}} 2025-10-06 16:40:01,048 - DEBUG - Response for create_subnet : {'subnet': {'id': '4084a9fb-c31b-423a-bbd3-197ff389d34f', 'name': '', 'tenant_id': 'c8909525d37c41ff960b33d68034a394', 'network_id': '3356e381-10ea-445c-8d2a-424484af4953', 'ip_version': 4, 'cidr': '77.99.179.192/26', 'allocation_pools': [{'start': '77.99.179.194', 'end': '77.99.179.254'}], 'gateway_ip': '77.99.179.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '77.99.179.194', 'tags': [], 'project_id': 'c8909525d37c41ff960b33d68034a394'}} 2025-10-06 16:40:01,210 - DEBUG - Response for create_subnet : {'subnet': {'id': '6a2942a3-1fe1-418e-a3ac-a2d9d39efa43', 'name': '', 'tenant_id': 'c8909525d37c41ff960b33d68034a394', 'network_id': '3356e381-10ea-445c-8d2a-424484af4953', 'ip_version': 4, 'cidr': '121.23.86.64/26', 'allocation_pools': [{'start': '121.23.86.66', 'end': '121.23.86.126'}], 'gateway_ip': '121.23.86.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '121.23.86.66', 'tags': [], 'project_id': 'c8909525d37c41ff960b33d68034a394'}} 2025-10-06 16:40:01,233 - INFO - Created VN ctest-vn1-37472442 2025-10-06 16:40:01,283 - DEBUG - VN ctest-vn1-37472442 UUID is 3356e381-10ea-445c-8d2a-424484af4953 2025-10-06 16:40:01,563 - DEBUG - Response for create_port : {'port': {'name': 'a8eecd7e-6a6a-4c46-bc3d-a3ce7e9c2f7e', 'id': 'a8eecd7e-6a6a-4c46-bc3d-a3ce7e9c2f7e', 'tenant_id': 'c8909525d37c41ff960b33d68034a394', 'network_id': '3356e381-10ea-445c-8d2a-424484af4953', 'mac_address': '02:a8:ee:cd:7e:6a', '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': '77.99.179.197', 'subnet_id': '4084a9fb-c31b-423a-bbd3-197ff389d34f'}], 'security_groups': ['a675e3dd-b418-47f1-a692-714347e9c99c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c8909525d37c41ff960b33d68034a394'}} 2025-10-06 16:40:01,723 - DEBUG - Response for create_port : {'port': {'name': '6eeb0f52-cfcb-47ce-adc0-7d68cda548f2', 'id': '6eeb0f52-cfcb-47ce-adc0-7d68cda548f2', 'tenant_id': 'c8909525d37c41ff960b33d68034a394', 'network_id': '3356e381-10ea-445c-8d2a-424484af4953', 'mac_address': '02:6e:eb:0f:52:cf', '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': '121.23.86.69', 'subnet_id': '6a2942a3-1fe1-418e-a3ac-a2d9d39efa43'}], 'security_groups': ['a675e3dd-b418-47f1-a692-714347e9c99c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c8909525d37c41ff960b33d68034a394'}} 2025-10-06 16:40:01,775 - DEBUG - Services list from nova: [, , ] 2025-10-06 16:40:02,068 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4226-30), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4226-30) 2025-10-06 16:40:02,430 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4226-30), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4226-30) 2025-10-06 16:40:02,430 - INFO - Waiting for VM ctest-vn1-vm1-11006700 to be up.. 2025-10-06 16:40:02,581 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-06 16:40:07,657 - DEBUG - VM is in ACTIVE state now 2025-10-06 16:40:07,658 - INFO - VM name : ctest-vn1-vm1-11006700 2025-10-06 16:40:07,736 - DEBUG - VM ctest-vn1-vm1-11006700 ID is 32fa37e8-f69c-438e-a992-8ebdf4704392 2025-10-06 16:40:07,753 - DEBUG - VM ctest-vn1-vm1-11006700 launched on Node cn-jenkins-deploy-platform-ansible-os-4226-30 2025-10-06 16:40:07,819 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/32fa37e8-f69c-438e-a992-8ebdf4704392 2025-10-06 16:40:07,826 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a8eecd7e-6a6a-4c46-bc3d-a3ce7e9c2f7e 2025-10-06 16:40:11,082 - 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 1031ms') 2025-10-06 16:40:11,082 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-11006700 failed! 2025-10-06 16:40:11,135 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-34639625:ctest-vn1-37472442 is 77.99.179.193 and allocation pool is NOT set 2025-10-06 16:40:11,135 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-34639625:ctest-vn1-37472442 is 121.23.86.65 and allocation pool is NOT set 2025-10-06 16:40:13,200 - 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.07 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.47 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.469/2.768/4.067/1.299 ms') 2025-10-06 16:40:13,200 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-11006700 passed 2025-10-06 16:40:13,351 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 16:40:13,351 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-11006700, IP 77.99.179.197, Port 22 2025-10-06 16:40:13,502 - DEBUG - VM ctest-vn1-vm1-11006700 is ready for SSH connections 2025-10-06 16:40:13,502 - INFO - Waiting for VM ctest-vn1-vm2-86920628 to be up.. 2025-10-06 16:40:13,570 - DEBUG - VM is in ACTIVE state now 2025-10-06 16:40:13,570 - INFO - VM name : ctest-vn1-vm2-86920628 2025-10-06 16:40:13,632 - DEBUG - VM ctest-vn1-vm2-86920628 ID is 766bd8d4-d806-44dd-b077-2f2c63db5e34 2025-10-06 16:40:13,632 - DEBUG - VM ctest-vn1-vm2-86920628 launched on Node cn-jenkins-deploy-platform-ansible-os-4226-30 2025-10-06 16:40:13,696 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/766bd8d4-d806-44dd-b077-2f2c63db5e34 2025-10-06 16:40:13,702 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/6eeb0f52-cfcb-47ce-adc0-7d68cda548f2 2025-10-06 16:40:14,936 - 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.58 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.426 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.426/1.505/2.584/1.079 ms') 2025-10-06 16:40:14,936 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-86920628 passed 2025-10-06 16:40:15,083 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 16:40:15,083 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-86920628, IP 121.23.86.69, Port 22 2025-10-06 16:40:15,239 - DEBUG - VM ctest-vn1-vm2-86920628 is ready for SSH connections 2025-10-06 16:40:15,239 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 16:40:15,239 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 16:40:15,239 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 16:40:15,239 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 77.99.179.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-06 16:40:15,239 - DEBUG - ping -s 56 -c 3 -W 1 77.99.179.197 2025-10-06 16:40:17,893 - DEBUG - PING 77.99.179.197 (77.99.179.197): 56 data bytes 64 bytes from 77.99.179.197: seq=0 ttl=63 time=4.099 ms 64 bytes from 77.99.179.197: seq=1 ttl=63 time=0.847 ms 64 bytes from 77.99.179.197: seq=2 ttl=63 time=0.762 ms --- 77.99.179.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.762/1.902/4.099 ms 2025-10-06 16:40:17,893 - INFO - Ping to IP 77.99.179.197 from VM ctest-vn1-vm2-86920628 passed 2025-10-06 16:40:17,893 - INFO - Detaching port 6eeb0f52-cfcb-47ce-adc0-7d68cda548f2 from VM ctest-vn1-vm2-86920628 2025-10-06 16:40:17,938 - INFO - Deleting VM ctest-vn1-vm2-86920628 2025-10-06 16:40:18,012 - INFO - Detaching port a8eecd7e-6a6a-4c46-bc3d-a3ce7e9c2f7e from VM ctest-vn1-vm1-11006700 2025-10-06 16:40:18,047 - INFO - Deleting VM ctest-vn1-vm1-11006700 2025-10-06 16:40:18,263 - DEBUG - Response for delete_port : () 2025-10-06 16:40:18,431 - DEBUG - Response for delete_port : () 2025-10-06 16:40:18,431 - INFO - Deleting VN ctest-vn1-37472442 2025-10-06 16:40:18,571 - DEBUG - Response for deleting network () 2025-10-06 16:40:18,832 - DEBUG - No XMPP flaps were noticed during the test 2025-10-06 16:40:18,832 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18] 2025-10-06 16:40:18,832 - INFO - -------------------------------------------------------------------------------- 2025-10-06 16:40:19,554 - INFO - Deleted project: ctest-TestPorts-34639625, ID : c8909525-d37c-41ff-960b-33d68034a394