2025-09-11 15:36:24,388 - INFO - Domain Default found not creating 2025-09-11 15:36:24,537 - INFO - Project ctest-TestPorts-71537185 not found, creating it 2025-09-11 15:36:24,995 - INFO - Created Project:ctest-TestPorts-71537185, ID : da0c79aa-0399-46ab-90df-06c169b7a562 2025-09-11 15:36:26,439 - INFO - ================================================================================ 2025-09-11 15:36:26,439 - INFO - STARTING TEST : test_ports_bindings 2025-09-11 15:36:26,439 - 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-09-11 15:36:26,703 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-11 15:36:26,703 - INFO - Initial checks done. Running the testcase now 2025-09-11 15:36:26,703 - INFO - 2025-09-11 15:36:27,268 - DEBUG - Response for create_network : {'network': {'id': 'daa59cb6-8184-455f-80c7-c8bcd6683d43', 'name': 'ctest-vn-57296899', 'tenant_id': 'da0c79aa039946ab90df06c169b7a562', 'project_id': 'da0c79aa039946ab90df06c169b7a562', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-71537185', 'ctest-vn-57296899'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 15:36:27,409 - DEBUG - Response for create_subnet : {'subnet': {'id': '6224fa58-db64-48e5-8753-6f468b7ed10c', 'name': '', 'tenant_id': 'da0c79aa039946ab90df06c169b7a562', 'network_id': 'daa59cb6-8184-455f-80c7-c8bcd6683d43', 'ip_version': 4, 'cidr': '26.44.168.0/26', 'allocation_pools': [{'start': '26.44.168.2', 'end': '26.44.168.62'}], 'gateway_ip': '26.44.168.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.44.168.2', 'tags': [], 'project_id': 'da0c79aa039946ab90df06c169b7a562'}} 2025-09-11 15:36:27,428 - INFO - Created VN ctest-vn-57296899 2025-09-11 15:36:27,482 - DEBUG - VN ctest-vn-57296899 UUID is daa59cb6-8184-455f-80c7-c8bcd6683d43 2025-09-11 15:36:27,594 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-71537185', 'ctest-vmi-69643743']} 2025-09-11 15:36:27,844 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-69643743', 'id': '2d76ac76-f1db-4a5d-9fde-2164c1f280f2', 'tenant_id': 'da0c79aa039946ab90df06c169b7a562', 'network_id': 'daa59cb6-8184-455f-80c7-c8bcd6683d43', 'mac_address': '02:2d:76:ac:76:f1', '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': '26.44.168.3', 'subnet_id': '6224fa58-db64-48e5-8753-6f468b7ed10c'}], 'security_groups': ['8b1ee248-9419-40a8-b78c-29bedc96150b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'da0c79aa039946ab90df06c169b7a562'}} 2025-09-11 15:36:27,844 - DEBUG - Created port 2d76ac76-f1db-4a5d-9fde-2164c1f280f2 2025-09-11 15:36:27,946 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/2d76ac76-f1db-4a5d-9fde-2164c1f280f2 2025-09-11 15:36:28,238 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/2d76ac76-f1db-4a5d-9fde-2164c1f280f2 2025-09-11 15:36:28,280 - INFO - VMI 2d76ac76-f1db-4a5d-9fde-2164c1f280f2 verification in API Server passed 2025-09-11 15:36:28,390 - DEBUG - Response for delete_port : () 2025-09-11 15:36:28,390 - INFO - Deleted port 2d76ac76-f1db-4a5d-9fde-2164c1f280f2 2025-09-11 15:36:28,391 - INFO - Deleting VN ctest-vn-57296899 2025-09-11 15:36:28,503 - DEBUG - Response for deleting network () 2025-09-11 15:36:28,765 - DEBUG - No XMPP flaps were noticed during the test 2025-09-11 15:36:28,765 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-09-11 15:36:28,766 - INFO - -------------------------------------------------------------------------------- 2025-09-11 15:36:28,769 - INFO - ================================================================================ 2025-09-11 15:36:28,769 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-11 15:36:28,769 - 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-09-11 15:36:29,055 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-11 15:36:29,055 - INFO - Initial checks done. Running the testcase now 2025-09-11 15:36:29,055 - INFO - 2025-09-11 15:36:29,233 - DEBUG - Response for create_network : {'network': {'id': 'e6b8d21b-1af7-4c00-b5bf-20fd8c66b1b9', 'name': 'ctest-vn1-12628144', 'tenant_id': 'da0c79aa039946ab90df06c169b7a562', 'project_id': 'da0c79aa039946ab90df06c169b7a562', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-71537185', 'ctest-vn1-12628144'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 15:36:29,441 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ff7ce923-d580-455a-887e-c31f885a1c1d', 'name': '', 'tenant_id': 'da0c79aa039946ab90df06c169b7a562', 'network_id': 'e6b8d21b-1af7-4c00-b5bf-20fd8c66b1b9', 'ip_version': 4, 'cidr': '5.238.6.128/26', 'allocation_pools': [{'start': '5.238.6.130', 'end': '5.238.6.190'}], 'gateway_ip': '5.238.6.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '5.238.6.130', 'tags': [], 'project_id': 'da0c79aa039946ab90df06c169b7a562'}} 2025-09-11 15:36:29,581 - DEBUG - Response for create_subnet : {'subnet': {'id': '79052196-939c-4969-9c5e-e164aeb51d88', 'name': '', 'tenant_id': 'da0c79aa039946ab90df06c169b7a562', 'network_id': 'e6b8d21b-1af7-4c00-b5bf-20fd8c66b1b9', 'ip_version': 4, 'cidr': '207.33.228.128/26', 'allocation_pools': [{'start': '207.33.228.130', 'end': '207.33.228.190'}], 'gateway_ip': '207.33.228.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '207.33.228.130', 'tags': [], 'project_id': 'da0c79aa039946ab90df06c169b7a562'}} 2025-09-11 15:36:29,603 - INFO - Created VN ctest-vn1-12628144 2025-09-11 15:36:29,654 - DEBUG - VN ctest-vn1-12628144 UUID is e6b8d21b-1af7-4c00-b5bf-20fd8c66b1b9 2025-09-11 15:36:29,983 - DEBUG - Response for create_port : {'port': {'name': '06980833-01bd-449d-a25a-4591805c25b4', 'id': '06980833-01bd-449d-a25a-4591805c25b4', 'tenant_id': 'da0c79aa039946ab90df06c169b7a562', 'network_id': 'e6b8d21b-1af7-4c00-b5bf-20fd8c66b1b9', 'mac_address': '02:06:98:08:33:01', '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': '5.238.6.133', 'subnet_id': 'ff7ce923-d580-455a-887e-c31f885a1c1d'}], 'security_groups': ['8b1ee248-9419-40a8-b78c-29bedc96150b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'da0c79aa039946ab90df06c169b7a562'}} 2025-09-11 15:36:30,170 - DEBUG - Response for create_port : {'port': {'name': '97983fa2-7f66-4edb-b198-3108e5be8f49', 'id': '97983fa2-7f66-4edb-b198-3108e5be8f49', 'tenant_id': 'da0c79aa039946ab90df06c169b7a562', 'network_id': 'e6b8d21b-1af7-4c00-b5bf-20fd8c66b1b9', 'mac_address': '02:97:98:3f:a2: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': '207.33.228.133', 'subnet_id': '79052196-939c-4969-9c5e-e164aeb51d88'}], 'security_groups': ['8b1ee248-9419-40a8-b78c-29bedc96150b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'da0c79aa039946ab90df06c169b7a562'}} 2025-09-11 15:36:30,230 - DEBUG - Services list from nova: [, , ] 2025-09-11 15:36:30,577 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4094-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4094-1) 2025-09-11 15:36:30,981 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4094-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4094-1) 2025-09-11 15:36:30,981 - INFO - Waiting for VM ctest-vn1-vm1-77311058 to be up.. 2025-09-11 15:36:31,023 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-11 15:36:36,100 - DEBUG - VM is in ACTIVE state now 2025-09-11 15:36:36,100 - INFO - VM name : ctest-vn1-vm1-77311058 2025-09-11 15:36:36,172 - DEBUG - VM ctest-vn1-vm1-77311058 ID is 75e8f544-217f-42d4-a625-2d2a43ef0e38 2025-09-11 15:36:36,192 - DEBUG - VM ctest-vn1-vm1-77311058 launched on Node cn-jenkins-deploy-platform-ansible-os-4094-1 2025-09-11 15:36:36,271 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/75e8f544-217f-42d4-a625-2d2a43ef0e38 2025-09-11 15:36:36,280 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/06980833-01bd-449d-a25a-4591805c25b4 2025-09-11 15:36:39,550 - 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-09-11 15:36:39,551 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-77311058 failed! 2025-09-11 15:36:39,606 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-71537185:ctest-vn1-12628144 is 5.238.6.129 and allocation pool is NOT set 2025-09-11 15:36:39,606 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-71537185:ctest-vn1-12628144 is 207.33.228.129 and allocation pool is NOT set 2025-09-11 15:36:41,666 - 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=14.3 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.63 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.632/8.450/14.269/5.818 ms') 2025-09-11 15:36:41,666 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-77311058 passed 2025-09-11 15:36:41,814 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 15:36:41,814 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-77311058, IP 5.238.6.133, Port 22 2025-09-11 15:36:41,970 - DEBUG - VM ctest-vn1-vm1-77311058 is ready for SSH connections 2025-09-11 15:36:41,971 - INFO - Waiting for VM ctest-vn1-vm2-65640133 to be up.. 2025-09-11 15:36:42,057 - DEBUG - VM is in ACTIVE state now 2025-09-11 15:36:42,057 - INFO - VM name : ctest-vn1-vm2-65640133 2025-09-11 15:36:42,138 - DEBUG - VM ctest-vn1-vm2-65640133 ID is 6e0a63c4-f3a5-4357-853f-90736d26b761 2025-09-11 15:36:42,138 - DEBUG - VM ctest-vn1-vm2-65640133 launched on Node cn-jenkins-deploy-platform-ansible-os-4094-1 2025-09-11 15:36:42,221 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/6e0a63c4-f3a5-4357-853f-90736d26b761 2025-09-11 15:36:42,230 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/97983fa2-7f66-4edb-b198-3108e5be8f49 2025-09-11 15:36:43,483 - 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=4.24 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.873 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.873/2.554/4.236/1.681 ms') 2025-09-11 15:36:43,484 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-65640133 passed 2025-09-11 15:36:43,638 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 15:36:43,638 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-65640133, IP 207.33.228.133, Port 22 2025-09-11 15:36:43,813 - DEBUG - VM ctest-vn1-vm2-65640133 is ready for SSH connections 2025-09-11 15:36:43,813 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 15:36:43,813 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 15:36:43,813 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 15:36:43,813 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 5.238.6.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-11 15:36:43,813 - DEBUG - ping -s 56 -c 3 -W 1 5.238.6.133 2025-09-11 15:36:46,475 - DEBUG - PING 5.238.6.133 (5.238.6.133): 56 data bytes 64 bytes from 5.238.6.133: seq=0 ttl=63 time=3.977 ms 64 bytes from 5.238.6.133: seq=1 ttl=63 time=0.974 ms 64 bytes from 5.238.6.133: seq=2 ttl=63 time=1.174 ms --- 5.238.6.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.974/2.041/3.977 ms 2025-09-11 15:36:46,475 - INFO - Ping to IP 5.238.6.133 from VM ctest-vn1-vm2-65640133 passed 2025-09-11 15:36:46,475 - INFO - Detaching port 97983fa2-7f66-4edb-b198-3108e5be8f49 from VM ctest-vn1-vm2-65640133 2025-09-11 15:36:46,555 - INFO - Deleting VM ctest-vn1-vm2-65640133 2025-09-11 15:36:46,621 - INFO - Detaching port 06980833-01bd-449d-a25a-4591805c25b4 from VM ctest-vn1-vm1-77311058 2025-09-11 15:36:46,663 - INFO - Deleting VM ctest-vn1-vm1-77311058 2025-09-11 15:36:46,939 - DEBUG - Response for delete_port : () 2025-09-11 15:36:47,126 - DEBUG - Response for delete_port : () 2025-09-11 15:36:47,126 - INFO - Deleting VN ctest-vn1-12628144 2025-09-11 15:36:47,275 - DEBUG - Response for deleting network () 2025-09-11 15:36:47,540 - DEBUG - No XMPP flaps were noticed during the test 2025-09-11 15:36:47,540 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19] 2025-09-11 15:36:47,540 - INFO - -------------------------------------------------------------------------------- 2025-09-11 15:36:48,234 - INFO - Deleted project: ctest-TestPorts-71537185, ID : da0c79aa-0399-46ab-90df-06c169b7a562