2025-10-23 10:47:50,374 - INFO - Domain Default found not creating 2025-10-23 10:47:50,516 - INFO - Project ctest-TestPorts-36062326 not found, creating it 2025-10-23 10:47:50,956 - INFO - Created Project:ctest-TestPorts-36062326, ID : 45039cf4-f2f9-4086-9810-3a661b8febe4 2025-10-23 10:47:52,456 - INFO - ================================================================================ 2025-10-23 10:47:52,456 - INFO - STARTING TEST : test_ports_bindings 2025-10-23 10:47:52,456 - 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 10:47:52,717 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-10-23 10:47:52,717 - INFO - Initial checks done. Running the testcase now 2025-10-23 10:47:52,717 - INFO - 2025-10-23 10:47:53,253 - DEBUG - Response for create_network : {'network': {'id': '07a06374-5b57-44fa-8dc0-38e2acfe5002', 'name': 'ctest-vn-20019947', 'tenant_id': '45039cf4f2f9408698103a661b8febe4', 'project_id': '45039cf4f2f9408698103a661b8febe4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-36062326', 'ctest-vn-20019947'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 10:47:53,461 - DEBUG - Response for create_subnet : {'subnet': {'id': '63120fc4-c0b9-4fa0-a686-0b75adae1b9a', 'name': '', 'tenant_id': '45039cf4f2f9408698103a661b8febe4', 'network_id': '07a06374-5b57-44fa-8dc0-38e2acfe5002', 'ip_version': 4, 'cidr': '46.103.28.0/26', 'allocation_pools': [{'start': '46.103.28.2', 'end': '46.103.28.62'}], 'gateway_ip': '46.103.28.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '46.103.28.2', 'tags': [], 'project_id': '45039cf4f2f9408698103a661b8febe4'}} 2025-10-23 10:47:53,483 - INFO - Created VN ctest-vn-20019947 2025-10-23 10:47:53,536 - DEBUG - VN ctest-vn-20019947 UUID is 07a06374-5b57-44fa-8dc0-38e2acfe5002 2025-10-23 10:47:53,648 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-36062326', 'ctest-vmi-65788781']} 2025-10-23 10:47:53,872 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-65788781', 'id': 'c72a62ef-99f6-4643-b744-4ac5fd4ebc0c', 'tenant_id': '45039cf4f2f9408698103a661b8febe4', 'network_id': '07a06374-5b57-44fa-8dc0-38e2acfe5002', 'mac_address': '02:c7:2a:62:ef:99', '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': '46.103.28.3', 'subnet_id': '63120fc4-c0b9-4fa0-a686-0b75adae1b9a'}], 'security_groups': ['855a43a6-58c6-49c6-bfe4-8c3e70f0aaa0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '45039cf4f2f9408698103a661b8febe4'}} 2025-10-23 10:47:53,872 - DEBUG - Created port c72a62ef-99f6-4643-b744-4ac5fd4ebc0c 2025-10-23 10:47:53,976 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c72a62ef-99f6-4643-b744-4ac5fd4ebc0c 2025-10-23 10:47:54,274 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c72a62ef-99f6-4643-b744-4ac5fd4ebc0c 2025-10-23 10:47:54,311 - INFO - VMI c72a62ef-99f6-4643-b744-4ac5fd4ebc0c verification in API Server passed 2025-10-23 10:47:54,412 - DEBUG - Response for delete_port : () 2025-10-23 10:47:54,412 - INFO - Deleted port c72a62ef-99f6-4643-b744-4ac5fd4ebc0c 2025-10-23 10:47:54,412 - INFO - Deleting VN ctest-vn-20019947 2025-10-23 10:47:54,517 - DEBUG - Response for deleting network () 2025-10-23 10:47:54,769 - DEBUG - No XMPP flaps were noticed during the test 2025-10-23 10:47:54,769 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-10-23 10:47:54,769 - INFO - -------------------------------------------------------------------------------- 2025-10-23 10:47:54,771 - INFO - ================================================================================ 2025-10-23 10:47:54,771 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-23 10:47:54,771 - 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 10:47:55,057 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-10-23 10:47:55,057 - INFO - Initial checks done. Running the testcase now 2025-10-23 10:47:55,057 - INFO - 2025-10-23 10:47:55,233 - DEBUG - Response for create_network : {'network': {'id': '0bdabf8b-52a5-48b0-9aa5-f496a6e39468', 'name': 'ctest-vn1-89001057', 'tenant_id': '45039cf4f2f9408698103a661b8febe4', 'project_id': '45039cf4f2f9408698103a661b8febe4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-36062326', 'ctest-vn1-89001057'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 10:47:55,431 - DEBUG - Response for create_subnet : {'subnet': {'id': '1aede397-a82a-4b09-9941-24ae08027cab', 'name': '', 'tenant_id': '45039cf4f2f9408698103a661b8febe4', 'network_id': '0bdabf8b-52a5-48b0-9aa5-f496a6e39468', 'ip_version': 4, 'cidr': '17.139.71.0/26', 'allocation_pools': [{'start': '17.139.71.2', 'end': '17.139.71.62'}], 'gateway_ip': '17.139.71.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '17.139.71.2', 'tags': [], 'project_id': '45039cf4f2f9408698103a661b8febe4'}} 2025-10-23 10:47:55,600 - DEBUG - Response for create_subnet : {'subnet': {'id': '7778dcbb-d185-4b5d-a79f-eba7b922acdc', 'name': '', 'tenant_id': '45039cf4f2f9408698103a661b8febe4', 'network_id': '0bdabf8b-52a5-48b0-9aa5-f496a6e39468', 'ip_version': 4, 'cidr': '63.242.121.128/26', 'allocation_pools': [{'start': '63.242.121.130', 'end': '63.242.121.190'}], 'gateway_ip': '63.242.121.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '63.242.121.130', 'tags': [], 'project_id': '45039cf4f2f9408698103a661b8febe4'}} 2025-10-23 10:47:55,620 - INFO - Created VN ctest-vn1-89001057 2025-10-23 10:47:55,672 - DEBUG - VN ctest-vn1-89001057 UUID is 0bdabf8b-52a5-48b0-9aa5-f496a6e39468 2025-10-23 10:47:55,958 - DEBUG - Response for create_port : {'port': {'name': '2048f135-0de8-418c-91f8-b7c9b13a57d2', 'id': '2048f135-0de8-418c-91f8-b7c9b13a57d2', 'tenant_id': '45039cf4f2f9408698103a661b8febe4', 'network_id': '0bdabf8b-52a5-48b0-9aa5-f496a6e39468', 'mac_address': '02:20:48:f1:35:0d', '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': '17.139.71.5', 'subnet_id': '1aede397-a82a-4b09-9941-24ae08027cab'}], 'security_groups': ['855a43a6-58c6-49c6-bfe4-8c3e70f0aaa0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '45039cf4f2f9408698103a661b8febe4'}} 2025-10-23 10:47:56,124 - DEBUG - Response for create_port : {'port': {'name': 'b5b245eb-3382-49bb-a6d9-7bbd9406d6e1', 'id': 'b5b245eb-3382-49bb-a6d9-7bbd9406d6e1', 'tenant_id': '45039cf4f2f9408698103a661b8febe4', 'network_id': '0bdabf8b-52a5-48b0-9aa5-f496a6e39468', 'mac_address': '02:b5:b2:45:eb:33', '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': '63.242.121.133', 'subnet_id': '7778dcbb-d185-4b5d-a79f-eba7b922acdc'}], 'security_groups': ['855a43a6-58c6-49c6-bfe4-8c3e70f0aaa0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '45039cf4f2f9408698103a661b8febe4'}} 2025-10-23 10:47:56,175 - DEBUG - Services list from nova: [, , ] 2025-10-23 10:47:56,498 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4456-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4456-1) 2025-10-23 10:47:56,894 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4456-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4456-1) 2025-10-23 10:47:56,894 - INFO - Waiting for VM ctest-vn1-vm1-18483340 to be up.. 2025-10-23 10:47:56,933 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-23 10:48:02,022 - DEBUG - VM is in ACTIVE state now 2025-10-23 10:48:02,022 - INFO - VM name : ctest-vn1-vm1-18483340 2025-10-23 10:48:02,110 - DEBUG - VM ctest-vn1-vm1-18483340 ID is 6cab7d01-9d47-43a0-9659-6e6acd8b12db 2025-10-23 10:48:02,130 - DEBUG - VM ctest-vn1-vm1-18483340 launched on Node cn-jenkins-deploy-platform-ansible-os-4456-1 2025-10-23 10:48:02,224 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/6cab7d01-9d47-43a0-9659-6e6acd8b12db 2025-10-23 10:48:02,233 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/2048f135-0de8-418c-91f8-b7c9b13a57d2 2025-10-23 10:48:05,490 - 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 1023ms') 2025-10-23 10:48:05,490 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-18483340 failed! 2025-10-23 10:48:05,548 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-36062326:ctest-vn1-89001057 is 17.139.71.1 and allocation pool is NOT set 2025-10-23 10:48:05,548 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-36062326:ctest-vn1-89001057 is 63.242.121.129 and allocation pool is NOT set 2025-10-23 10:48:07,609 - 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=8.91 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.55 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.552/5.232/8.912/3.680 ms') 2025-10-23 10:48:07,609 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-18483340 passed 2025-10-23 10:48:07,760 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 10:48:07,760 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-18483340, IP 17.139.71.5, Port 22 2025-10-23 10:48:07,826 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-10-23 10:48:08,021 - DEBUG - VM ctest-vn1-vm1-18483340 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-23 10:48:13,021 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 10:48:13,021 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-18483340, IP 17.139.71.5, Port 22 2025-10-23 10:48:13,176 - DEBUG - VM ctest-vn1-vm1-18483340 is ready for SSH connections 2025-10-23 10:48:13,176 - INFO - Waiting for VM ctest-vn1-vm2-60766063 to be up.. 2025-10-23 10:48:13,247 - DEBUG - VM is in ACTIVE state now 2025-10-23 10:48:13,247 - INFO - VM name : ctest-vn1-vm2-60766063 2025-10-23 10:48:13,323 - DEBUG - VM ctest-vn1-vm2-60766063 ID is d47eebe3-76b9-4726-81d4-40b4f7a0c1fc 2025-10-23 10:48:13,323 - DEBUG - VM ctest-vn1-vm2-60766063 launched on Node cn-jenkins-deploy-platform-ansible-os-4456-1 2025-10-23 10:48:13,397 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/d47eebe3-76b9-4726-81d4-40b4f7a0c1fc 2025-10-23 10:48:13,405 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/b5b245eb-3382-49bb-a6d9-7bbd9406d6e1 2025-10-23 10:48:14,640 - 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.85 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.422 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.422/1.637/2.853/1.215 ms') 2025-10-23 10:48:14,640 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-60766063 passed 2025-10-23 10:48:14,788 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 10:48:14,788 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-60766063, IP 63.242.121.133, Port 22 2025-10-23 10:48:14,944 - DEBUG - VM ctest-vn1-vm2-60766063 is ready for SSH connections 2025-10-23 10:48:14,944 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 10:48:14,944 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 10:48:14,944 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 10:48:14,944 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 17.139.71.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-23 10:48:14,944 - DEBUG - ping -s 56 -c 3 -W 1 17.139.71.5 2025-10-23 10:48:17,924 - DEBUG - PING 17.139.71.5 (17.139.71.5): 56 data bytes 64 bytes from 17.139.71.5: seq=0 ttl=63 time=3.586 ms 64 bytes from 17.139.71.5: seq=1 ttl=63 time=1.017 ms 64 bytes from 17.139.71.5: seq=2 ttl=63 time=0.888 ms --- 17.139.71.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.888/1.830/3.586 ms 2025-10-23 10:48:17,924 - INFO - Ping to IP 17.139.71.5 from VM ctest-vn1-vm2-60766063 passed 2025-10-23 10:48:17,924 - INFO - Detaching port b5b245eb-3382-49bb-a6d9-7bbd9406d6e1 from VM ctest-vn1-vm2-60766063 2025-10-23 10:48:17,991 - INFO - Deleting VM ctest-vn1-vm2-60766063 2025-10-23 10:48:18,079 - INFO - Detaching port 2048f135-0de8-418c-91f8-b7c9b13a57d2 from VM ctest-vn1-vm1-18483340 2025-10-23 10:48:18,111 - INFO - Deleting VM ctest-vn1-vm1-18483340 2025-10-23 10:48:18,355 - DEBUG - Response for delete_port : () 2025-10-23 10:48:18,504 - DEBUG - Response for delete_port : () 2025-10-23 10:48:18,504 - INFO - Deleting VN ctest-vn1-89001057 2025-10-23 10:48:18,620 - DEBUG - Response for deleting network () 2025-10-23 10:48:18,874 - DEBUG - No XMPP flaps were noticed during the test 2025-10-23 10:48:18,874 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24] 2025-10-23 10:48:18,874 - INFO - -------------------------------------------------------------------------------- 2025-10-23 10:48:19,562 - INFO - Deleted project: ctest-TestPorts-36062326, ID : 45039cf4-f2f9-4086-9810-3a661b8febe4