2025-10-13 20:54:58,944 - INFO - Domain Default found not creating 2025-10-13 20:54:59,071 - INFO - Project ctest-TestPorts-52953478 not found, creating it 2025-10-13 20:54:59,510 - INFO - Created Project:ctest-TestPorts-52953478, ID : b32f2b75-dd6b-4779-b507-b886c0d912c8 2025-10-13 20:55:00,872 - INFO - ================================================================================ 2025-10-13 20:55:00,872 - INFO - STARTING TEST : test_ports_bindings 2025-10-13 20:55:00,872 - 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-13 20:55:01,127 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-10-13 20:55:01,127 - INFO - Initial checks done. Running the testcase now 2025-10-13 20:55:01,127 - INFO - 2025-10-13 20:55:01,654 - DEBUG - Response for create_network : {'network': {'id': '23d3ff30-7892-41e2-8d4a-eb83465fe4a1', 'name': 'ctest-vn-90678078', 'tenant_id': 'b32f2b75dd6b4779b507b886c0d912c8', 'project_id': 'b32f2b75dd6b4779b507b886c0d912c8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-52953478', 'ctest-vn-90678078'], 'port_security_enabled': True, 'description': ''}} 2025-10-13 20:55:01,813 - DEBUG - Response for create_subnet : {'subnet': {'id': '06153112-6c89-4e2a-b570-f4c7acc2bc8b', 'name': '', 'tenant_id': 'b32f2b75dd6b4779b507b886c0d912c8', 'network_id': '23d3ff30-7892-41e2-8d4a-eb83465fe4a1', 'ip_version': 4, 'cidr': '205.231.104.192/26', 'allocation_pools': [{'start': '205.231.104.194', 'end': '205.231.104.254'}], 'gateway_ip': '205.231.104.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '205.231.104.194', 'tags': [], 'project_id': 'b32f2b75dd6b4779b507b886c0d912c8'}} 2025-10-13 20:55:01,829 - INFO - Created VN ctest-vn-90678078 2025-10-13 20:55:01,878 - DEBUG - VN ctest-vn-90678078 UUID is 23d3ff30-7892-41e2-8d4a-eb83465fe4a1 2025-10-13 20:55:01,975 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-52953478', 'ctest-vmi-96934933']} 2025-10-13 20:55:02,244 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-96934933', 'id': '915fd272-213d-4f24-ab71-db0d0f96ef6b', 'tenant_id': 'b32f2b75dd6b4779b507b886c0d912c8', 'network_id': '23d3ff30-7892-41e2-8d4a-eb83465fe4a1', 'mac_address': '02:91:5f:d2:72:21', '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': '205.231.104.195', 'subnet_id': '06153112-6c89-4e2a-b570-f4c7acc2bc8b'}], 'security_groups': ['b50d9721-b3c1-4ca8-82c3-2cf7cabfbefe'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b32f2b75dd6b4779b507b886c0d912c8'}} 2025-10-13 20:55:02,244 - DEBUG - Created port 915fd272-213d-4f24-ab71-db0d0f96ef6b 2025-10-13 20:55:02,346 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/915fd272-213d-4f24-ab71-db0d0f96ef6b 2025-10-13 20:55:02,635 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/915fd272-213d-4f24-ab71-db0d0f96ef6b 2025-10-13 20:55:02,672 - INFO - VMI 915fd272-213d-4f24-ab71-db0d0f96ef6b verification in API Server passed 2025-10-13 20:55:02,749 - DEBUG - Response for delete_port : () 2025-10-13 20:55:02,749 - INFO - Deleted port 915fd272-213d-4f24-ab71-db0d0f96ef6b 2025-10-13 20:55:02,749 - INFO - Deleting VN ctest-vn-90678078 2025-10-13 20:55:02,857 - DEBUG - Response for deleting network () 2025-10-13 20:55:03,115 - DEBUG - No XMPP flaps were noticed during the test 2025-10-13 20:55:03,115 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-10-13 20:55:03,115 - INFO - -------------------------------------------------------------------------------- 2025-10-13 20:55:03,117 - INFO - ================================================================================ 2025-10-13 20:55:03,117 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-13 20:55:03,118 - 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-13 20:55:03,405 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-10-13 20:55:03,406 - INFO - Initial checks done. Running the testcase now 2025-10-13 20:55:03,406 - INFO - 2025-10-13 20:55:03,570 - DEBUG - Response for create_network : {'network': {'id': '9c80e4fe-b557-4c7c-b5c7-32ae0ebf0413', 'name': 'ctest-vn1-22951707', 'tenant_id': 'b32f2b75dd6b4779b507b886c0d912c8', 'project_id': 'b32f2b75dd6b4779b507b886c0d912c8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-52953478', 'ctest-vn1-22951707'], 'port_security_enabled': True, 'description': ''}} 2025-10-13 20:55:03,802 - DEBUG - Response for create_subnet : {'subnet': {'id': 'add97f58-f5bb-40a9-b57b-c0d4fe9c5751', 'name': '', 'tenant_id': 'b32f2b75dd6b4779b507b886c0d912c8', 'network_id': '9c80e4fe-b557-4c7c-b5c7-32ae0ebf0413', 'ip_version': 4, 'cidr': '14.69.145.64/26', 'allocation_pools': [{'start': '14.69.145.66', 'end': '14.69.145.126'}], 'gateway_ip': '14.69.145.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '14.69.145.66', 'tags': [], 'project_id': 'b32f2b75dd6b4779b507b886c0d912c8'}} 2025-10-13 20:55:04,000 - DEBUG - Response for create_subnet : {'subnet': {'id': '1ea6da9f-5e7f-461c-ae1c-ce0b0abadbe6', 'name': '', 'tenant_id': 'b32f2b75dd6b4779b507b886c0d912c8', 'network_id': '9c80e4fe-b557-4c7c-b5c7-32ae0ebf0413', 'ip_version': 4, 'cidr': '203.30.192.128/26', 'allocation_pools': [{'start': '203.30.192.130', 'end': '203.30.192.190'}], 'gateway_ip': '203.30.192.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.30.192.130', 'tags': [], 'project_id': 'b32f2b75dd6b4779b507b886c0d912c8'}} 2025-10-13 20:55:04,017 - INFO - Created VN ctest-vn1-22951707 2025-10-13 20:55:04,067 - DEBUG - VN ctest-vn1-22951707 UUID is 9c80e4fe-b557-4c7c-b5c7-32ae0ebf0413 2025-10-13 20:55:04,342 - DEBUG - Response for create_port : {'port': {'name': '4c4d7bcc-7ffe-4837-9f18-aee9e4f37833', 'id': '4c4d7bcc-7ffe-4837-9f18-aee9e4f37833', 'tenant_id': 'b32f2b75dd6b4779b507b886c0d912c8', 'network_id': '9c80e4fe-b557-4c7c-b5c7-32ae0ebf0413', 'mac_address': '02:4c:4d:7b:cc: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': '14.69.145.69', 'subnet_id': 'add97f58-f5bb-40a9-b57b-c0d4fe9c5751'}], 'security_groups': ['b50d9721-b3c1-4ca8-82c3-2cf7cabfbefe'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b32f2b75dd6b4779b507b886c0d912c8'}} 2025-10-13 20:55:04,496 - DEBUG - Response for create_port : {'port': {'name': 'aac02083-ac03-4b8b-80c0-c6ee29bec4ce', 'id': 'aac02083-ac03-4b8b-80c0-c6ee29bec4ce', 'tenant_id': 'b32f2b75dd6b4779b507b886c0d912c8', 'network_id': '9c80e4fe-b557-4c7c-b5c7-32ae0ebf0413', 'mac_address': '02:aa:c0:20:83: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': '203.30.192.133', 'subnet_id': '1ea6da9f-5e7f-461c-ae1c-ce0b0abadbe6'}], 'security_groups': ['b50d9721-b3c1-4ca8-82c3-2cf7cabfbefe'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b32f2b75dd6b4779b507b886c0d912c8'}} 2025-10-13 20:55:04,547 - DEBUG - Services list from nova: [, , ] 2025-10-13 20:55:04,852 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4310-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4310-1) 2025-10-13 20:55:05,222 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4310-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4310-1) 2025-10-13 20:55:05,223 - INFO - Waiting for VM ctest-vn1-vm1-15609837 to be up.. 2025-10-13 20:55:05,265 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-13 20:55:10,332 - DEBUG - VM is in ACTIVE state now 2025-10-13 20:55:10,332 - INFO - VM name : ctest-vn1-vm1-15609837 2025-10-13 20:55:10,394 - DEBUG - VM ctest-vn1-vm1-15609837 ID is a3ebb0c0-2603-482f-8e82-55f4dba852a0 2025-10-13 20:55:10,410 - DEBUG - VM ctest-vn1-vm1-15609837 launched on Node cn-jenkins-deploy-platform-ansible-os-4310-1 2025-10-13 20:55:10,471 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/a3ebb0c0-2603-482f-8e82-55f4dba852a0 2025-10-13 20:55:10,479 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/4c4d7bcc-7ffe-4837-9f18-aee9e4f37833 2025-10-13 20:55:13,728 - 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 1011ms') 2025-10-13 20:55:13,728 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-15609837 failed! 2025-10-13 20:55:13,782 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-52953478:ctest-vn1-22951707 is 14.69.145.65 and allocation pool is NOT set 2025-10-13 20:55:13,783 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-52953478:ctest-vn1-22951707 is 203.30.192.129 and allocation pool is NOT set 2025-10-13 20:55:15,842 - 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=3.01 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.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 = 2.546/2.777/3.008/0.231 ms') 2025-10-13 20:55:15,842 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-15609837 passed 2025-10-13 20:55:15,990 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 20:55:15,991 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-15609837, IP 14.69.145.69, Port 22 2025-10-13 20:55:16,150 - DEBUG - VM ctest-vn1-vm1-15609837 is ready for SSH connections 2025-10-13 20:55:16,150 - INFO - Waiting for VM ctest-vn1-vm2-43328938 to be up.. 2025-10-13 20:55:16,217 - DEBUG - VM is in ACTIVE state now 2025-10-13 20:55:16,217 - INFO - VM name : ctest-vn1-vm2-43328938 2025-10-13 20:55:16,281 - DEBUG - VM ctest-vn1-vm2-43328938 ID is 561c509e-90ed-4f0c-aced-1834d79f528a 2025-10-13 20:55:16,281 - DEBUG - VM ctest-vn1-vm2-43328938 launched on Node cn-jenkins-deploy-platform-ansible-os-4310-1 2025-10-13 20:55:16,341 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/561c509e-90ed-4f0c-aced-1834d79f528a 2025-10-13 20:55:16,348 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/aac02083-ac03-4b8b-80c0-c6ee29bec4ce 2025-10-13 20:55:17,575 - 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.51 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.449 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.449/1.478/2.508/1.029 ms') 2025-10-13 20:55:17,575 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-43328938 passed 2025-10-13 20:55:17,718 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 20:55:17,719 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-43328938, IP 203.30.192.133, Port 22 2025-10-13 20:55:17,880 - DEBUG - VM ctest-vn1-vm2-43328938 is ready for SSH connections 2025-10-13 20:55:17,880 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 20:55:17,880 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 20:55:17,880 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 20:55:17,880 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 14.69.145.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-13 20:55:17,880 - DEBUG - ping -s 56 -c 3 -W 1 14.69.145.69 2025-10-13 20:55:20,523 - DEBUG - PING 14.69.145.69 (14.69.145.69): 56 data bytes 64 bytes from 14.69.145.69: seq=0 ttl=63 time=3.342 ms 64 bytes from 14.69.145.69: seq=1 ttl=63 time=0.814 ms 64 bytes from 14.69.145.69: seq=2 ttl=63 time=0.829 ms --- 14.69.145.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.814/1.661/3.342 ms 2025-10-13 20:55:20,523 - INFO - Ping to IP 14.69.145.69 from VM ctest-vn1-vm2-43328938 passed 2025-10-13 20:55:20,523 - INFO - Detaching port aac02083-ac03-4b8b-80c0-c6ee29bec4ce from VM ctest-vn1-vm2-43328938 2025-10-13 20:55:20,570 - INFO - Deleting VM ctest-vn1-vm2-43328938 2025-10-13 20:55:20,631 - INFO - Detaching port 4c4d7bcc-7ffe-4837-9f18-aee9e4f37833 from VM ctest-vn1-vm1-15609837 2025-10-13 20:55:20,664 - INFO - Deleting VM ctest-vn1-vm1-15609837 2025-10-13 20:55:20,868 - DEBUG - Response for delete_port : () 2025-10-13 20:55:21,027 - DEBUG - Response for delete_port : () 2025-10-13 20:55:21,027 - INFO - Deleting VN ctest-vn1-22951707 2025-10-13 20:55:21,175 - DEBUG - Response for deleting network () 2025-10-13 20:55:21,450 - DEBUG - No XMPP flaps were noticed during the test 2025-10-13 20:55:21,451 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18] 2025-10-13 20:55:21,451 - INFO - -------------------------------------------------------------------------------- 2025-10-13 20:55:22,106 - INFO - Deleted project: ctest-TestPorts-52953478, ID : b32f2b75-dd6b-4779-b507-b886c0d912c8