2025-10-22 08:18:02,295 - INFO - Domain Default found not creating 2025-10-22 08:18:02,465 - INFO - Project ctest-TestPorts-62064916 not found, creating it 2025-10-22 08:18:02,946 - INFO - Created Project:ctest-TestPorts-62064916, ID : d159ec6c-389f-4f7f-8f27-4487edebeb44 2025-10-22 08:18:04,431 - INFO - ================================================================================ 2025-10-22 08:18:04,431 - INFO - STARTING TEST : test_ports_bindings 2025-10-22 08:18:04,431 - 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-22 08:18:04,685 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.25': '0'}} with 2025-10-22 08:18:04,685 - INFO - Initial checks done. Running the testcase now 2025-10-22 08:18:04,685 - INFO - 2025-10-22 08:18:05,222 - DEBUG - Response for create_network : {'network': {'id': '13153ac6-c105-4e5c-81f5-2ccab5c7f0d9', 'name': 'ctest-vn-99068366', 'tenant_id': 'd159ec6c389f4f7f8f274487edebeb44', 'project_id': 'd159ec6c389f4f7f8f274487edebeb44', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-62064916', 'ctest-vn-99068366'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 08:18:05,385 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f64f076b-46b0-458a-80df-d1fef85c7d28', 'name': '', 'tenant_id': 'd159ec6c389f4f7f8f274487edebeb44', 'network_id': '13153ac6-c105-4e5c-81f5-2ccab5c7f0d9', 'ip_version': 4, 'cidr': '46.95.103.128/26', 'allocation_pools': [{'start': '46.95.103.130', 'end': '46.95.103.190'}], 'gateway_ip': '46.95.103.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '46.95.103.130', 'tags': [], 'project_id': 'd159ec6c389f4f7f8f274487edebeb44'}} 2025-10-22 08:18:05,407 - INFO - Created VN ctest-vn-99068366 2025-10-22 08:18:05,459 - DEBUG - VN ctest-vn-99068366 UUID is 13153ac6-c105-4e5c-81f5-2ccab5c7f0d9 2025-10-22 08:18:05,574 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-62064916', 'ctest-vmi-82345393']} 2025-10-22 08:18:05,807 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-82345393', 'id': '0b9f3a7c-6eba-483c-a56c-18692317fb32', 'tenant_id': 'd159ec6c389f4f7f8f274487edebeb44', 'network_id': '13153ac6-c105-4e5c-81f5-2ccab5c7f0d9', 'mac_address': '02:0b:9f:3a:7c:6e', '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.95.103.131', 'subnet_id': 'f64f076b-46b0-458a-80df-d1fef85c7d28'}], 'security_groups': ['5313b57d-f99c-4dfb-bfc5-c10be3312d2f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd159ec6c389f4f7f8f274487edebeb44'}} 2025-10-22 08:18:05,807 - DEBUG - Created port 0b9f3a7c-6eba-483c-a56c-18692317fb32 2025-10-22 08:18:05,916 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/0b9f3a7c-6eba-483c-a56c-18692317fb32 2025-10-22 08:18:06,210 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/0b9f3a7c-6eba-483c-a56c-18692317fb32 2025-10-22 08:18:06,242 - INFO - VMI 0b9f3a7c-6eba-483c-a56c-18692317fb32 verification in API Server passed 2025-10-22 08:18:06,363 - DEBUG - Response for delete_port : () 2025-10-22 08:18:06,363 - INFO - Deleted port 0b9f3a7c-6eba-483c-a56c-18692317fb32 2025-10-22 08:18:06,363 - INFO - Deleting VN ctest-vn-99068366 2025-10-22 08:18:06,473 - DEBUG - Response for deleting network () 2025-10-22 08:18:06,739 - DEBUG - No XMPP flaps were noticed during the test 2025-10-22 08:18:06,739 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-10-22 08:18:06,739 - INFO - -------------------------------------------------------------------------------- 2025-10-22 08:18:06,742 - INFO - ================================================================================ 2025-10-22 08:18:06,742 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-22 08:18:06,742 - 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-22 08:18:07,019 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.25': '0'}} with 2025-10-22 08:18:07,019 - INFO - Initial checks done. Running the testcase now 2025-10-22 08:18:07,020 - INFO - 2025-10-22 08:18:07,188 - DEBUG - Response for create_network : {'network': {'id': 'f201167e-99b9-4f71-a084-d850b2e11083', 'name': 'ctest-vn1-77970136', 'tenant_id': 'd159ec6c389f4f7f8f274487edebeb44', 'project_id': 'd159ec6c389f4f7f8f274487edebeb44', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-62064916', 'ctest-vn1-77970136'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 08:18:07,388 - DEBUG - Response for create_subnet : {'subnet': {'id': '52b67f55-f0b0-495d-8d2c-ae261cd8d003', 'name': '', 'tenant_id': 'd159ec6c389f4f7f8f274487edebeb44', 'network_id': 'f201167e-99b9-4f71-a084-d850b2e11083', 'ip_version': 4, 'cidr': '43.114.190.192/26', 'allocation_pools': [{'start': '43.114.190.194', 'end': '43.114.190.254'}], 'gateway_ip': '43.114.190.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '43.114.190.194', 'tags': [], 'project_id': 'd159ec6c389f4f7f8f274487edebeb44'}} 2025-10-22 08:18:07,574 - DEBUG - Response for create_subnet : {'subnet': {'id': '908049dd-b2f6-449c-a5be-2c7467101dd7', 'name': '', 'tenant_id': 'd159ec6c389f4f7f8f274487edebeb44', 'network_id': 'f201167e-99b9-4f71-a084-d850b2e11083', 'ip_version': 4, 'cidr': '123.2.79.0/26', 'allocation_pools': [{'start': '123.2.79.2', 'end': '123.2.79.62'}], 'gateway_ip': '123.2.79.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.2.79.2', 'tags': [], 'project_id': 'd159ec6c389f4f7f8f274487edebeb44'}} 2025-10-22 08:18:07,592 - INFO - Created VN ctest-vn1-77970136 2025-10-22 08:18:07,643 - DEBUG - VN ctest-vn1-77970136 UUID is f201167e-99b9-4f71-a084-d850b2e11083 2025-10-22 08:18:07,935 - DEBUG - Response for create_port : {'port': {'name': '47e1567d-41e6-435d-8692-3e3b7b10abfd', 'id': '47e1567d-41e6-435d-8692-3e3b7b10abfd', 'tenant_id': 'd159ec6c389f4f7f8f274487edebeb44', 'network_id': 'f201167e-99b9-4f71-a084-d850b2e11083', 'mac_address': '02:47:e1:56:7d:41', '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': '43.114.190.197', 'subnet_id': '52b67f55-f0b0-495d-8d2c-ae261cd8d003'}], 'security_groups': ['5313b57d-f99c-4dfb-bfc5-c10be3312d2f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd159ec6c389f4f7f8f274487edebeb44'}} 2025-10-22 08:18:08,104 - DEBUG - Response for create_port : {'port': {'name': '9d6c917c-0835-4d03-88b1-1bd9d2702c90', 'id': '9d6c917c-0835-4d03-88b1-1bd9d2702c90', 'tenant_id': 'd159ec6c389f4f7f8f274487edebeb44', 'network_id': 'f201167e-99b9-4f71-a084-d850b2e11083', 'mac_address': '02:9d:6c:91:7c:08', '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': '123.2.79.5', 'subnet_id': '908049dd-b2f6-449c-a5be-2c7467101dd7'}], 'security_groups': ['5313b57d-f99c-4dfb-bfc5-c10be3312d2f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd159ec6c389f4f7f8f274487edebeb44'}} 2025-10-22 08:18:08,161 - DEBUG - Services list from nova: [, , ] 2025-10-22 08:18:08,481 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4416-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4416-1) 2025-10-22 08:18:09,018 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4416-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4416-1) 2025-10-22 08:18:09,018 - INFO - Waiting for VM ctest-vn1-vm1-71576981 to be up.. 2025-10-22 08:18:09,055 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-22 08:18:14,143 - DEBUG - VM is in ACTIVE state now 2025-10-22 08:18:14,143 - INFO - VM name : ctest-vn1-vm1-71576981 2025-10-22 08:18:14,245 - DEBUG - VM ctest-vn1-vm1-71576981 ID is 90b41f00-0b9a-4441-9dd8-a777b5d09642 2025-10-22 08:18:14,268 - DEBUG - VM ctest-vn1-vm1-71576981 launched on Node cn-jenkins-deploy-platform-ansible-os-4416-1 2025-10-22 08:18:14,370 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/90b41f00-0b9a-4441-9dd8-a777b5d09642 2025-10-22 08:18:14,381 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/47e1567d-41e6-435d-8692-3e3b7b10abfd 2025-10-22 08:18:17,644 - 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 1005ms') 2025-10-22 08:18:17,645 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-71576981 failed! 2025-10-22 08:18:17,699 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-62064916:ctest-vn1-77970136 is 43.114.190.193 and allocation pool is NOT set 2025-10-22 08:18:17,700 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-62064916:ctest-vn1-77970136 is 123.2.79.1 and allocation pool is NOT set 2025-10-22 08:18:19,763 - 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=10.2 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.341 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 = 0.341/5.271/10.201/4.930 ms') 2025-10-22 08:18:19,763 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-71576981 passed 2025-10-22 08:18:19,915 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 08:18:19,916 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-71576981, IP 43.114.190.197, Port 22 2025-10-22 08:18:20,072 - DEBUG - VM ctest-vn1-vm1-71576981 is ready for SSH connections 2025-10-22 08:18:20,072 - INFO - Waiting for VM ctest-vn1-vm2-72500438 to be up.. 2025-10-22 08:18:20,147 - DEBUG - VM is in ACTIVE state now 2025-10-22 08:18:20,147 - INFO - VM name : ctest-vn1-vm2-72500438 2025-10-22 08:18:20,219 - DEBUG - VM ctest-vn1-vm2-72500438 ID is 51deee9c-ad26-4727-9253-4890ea01622e 2025-10-22 08:18:20,219 - DEBUG - VM ctest-vn1-vm2-72500438 launched on Node cn-jenkins-deploy-platform-ansible-os-4416-1 2025-10-22 08:18:20,299 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/51deee9c-ad26-4727-9253-4890ea01622e 2025-10-22 08:18:20,311 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/9d6c917c-0835-4d03-88b1-1bd9d2702c90 2025-10-22 08:18:21,556 - 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.94 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.856 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.856/2.900/4.944/2.044 ms') 2025-10-22 08:18:21,556 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-72500438 passed 2025-10-22 08:18:21,712 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 08:18:21,712 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-72500438, IP 123.2.79.5, Port 22 2025-10-22 08:18:21,878 - DEBUG - VM ctest-vn1-vm2-72500438 is ready for SSH connections 2025-10-22 08:18:21,878 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 08:18:21,878 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 08:18:21,878 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 08:18:21,878 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 43.114.190.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-22 08:18:21,878 - DEBUG - ping -s 56 -c 3 -W 1 43.114.190.197 2025-10-22 08:18:24,545 - DEBUG - PING 43.114.190.197 (43.114.190.197): 56 data bytes 64 bytes from 43.114.190.197: seq=0 ttl=63 time=4.928 ms 64 bytes from 43.114.190.197: seq=1 ttl=63 time=0.770 ms 64 bytes from 43.114.190.197: seq=2 ttl=63 time=1.036 ms --- 43.114.190.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.770/2.244/4.928 ms 2025-10-22 08:18:24,545 - INFO - Ping to IP 43.114.190.197 from VM ctest-vn1-vm2-72500438 passed 2025-10-22 08:18:24,545 - INFO - Detaching port 9d6c917c-0835-4d03-88b1-1bd9d2702c90 from VM ctest-vn1-vm2-72500438 2025-10-22 08:18:24,596 - INFO - Deleting VM ctest-vn1-vm2-72500438 2025-10-22 08:18:24,677 - INFO - Detaching port 47e1567d-41e6-435d-8692-3e3b7b10abfd from VM ctest-vn1-vm1-71576981 2025-10-22 08:18:24,722 - INFO - Deleting VM ctest-vn1-vm1-71576981 2025-10-22 08:18:24,951 - DEBUG - Response for delete_port : () 2025-10-22 08:18:25,122 - DEBUG - Response for delete_port : () 2025-10-22 08:18:25,122 - INFO - Deleting VN ctest-vn1-77970136 2025-10-22 08:18:25,285 - DEBUG - Response for deleting network () 2025-10-22 08:18:25,553 - DEBUG - No XMPP flaps were noticed during the test 2025-10-22 08:18:25,553 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19] 2025-10-22 08:18:25,553 - INFO - -------------------------------------------------------------------------------- 2025-10-22 08:18:26,243 - INFO - Deleted project: ctest-TestPorts-62064916, ID : d159ec6c-389f-4f7f-8f27-4487edebeb44