2025-11-13 15:27:56,766 - INFO - Domain Default found not creating 2025-11-13 15:27:56,898 - INFO - Project ctest-TestPorts-80181343 not found, creating it 2025-11-13 15:27:57,324 - INFO - Created Project:ctest-TestPorts-80181343, ID : 67bc333e-ff85-4edb-988b-4158c920fdad 2025-11-13 15:27:58,773 - INFO - ================================================================================ 2025-11-13 15:27:58,773 - INFO - STARTING TEST : test_ports_bindings 2025-11-13 15:27:58,773 - 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-11-13 15:27:59,030 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-11-13 15:27:59,030 - INFO - Initial checks done. Running the testcase now 2025-11-13 15:27:59,030 - INFO - 2025-11-13 15:27:59,563 - DEBUG - Response for create_network : {'network': {'id': '3b2645ec-f800-45db-8500-39a783b8a6b6', 'name': 'ctest-vn-87564081', 'tenant_id': '67bc333eff854edb988b4158c920fdad', 'project_id': '67bc333eff854edb988b4158c920fdad', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-80181343', 'ctest-vn-87564081'], 'port_security_enabled': True, 'description': ''}} 2025-11-13 15:27:59,744 - DEBUG - Response for create_subnet : {'subnet': {'id': '6fc26f35-dbbd-415a-801a-9a0e921264e6', 'name': '', 'tenant_id': '67bc333eff854edb988b4158c920fdad', 'network_id': '3b2645ec-f800-45db-8500-39a783b8a6b6', 'ip_version': 4, 'cidr': '203.202.190.64/26', 'allocation_pools': [{'start': '203.202.190.66', 'end': '203.202.190.126'}], 'gateway_ip': '203.202.190.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.202.190.66', 'tags': [], 'project_id': '67bc333eff854edb988b4158c920fdad'}} 2025-11-13 15:27:59,758 - INFO - Created VN ctest-vn-87564081 2025-11-13 15:27:59,810 - DEBUG - VN ctest-vn-87564081 UUID is 3b2645ec-f800-45db-8500-39a783b8a6b6 2025-11-13 15:27:59,904 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-80181343', 'ctest-vmi-79879447']} 2025-11-13 15:28:00,172 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-79879447', 'id': 'a2661333-9260-4528-9575-50cdb5633e91', 'tenant_id': '67bc333eff854edb988b4158c920fdad', 'network_id': '3b2645ec-f800-45db-8500-39a783b8a6b6', 'mac_address': '02:a2:66:13:33:92', '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': '203.202.190.67', 'subnet_id': '6fc26f35-dbbd-415a-801a-9a0e921264e6'}], 'security_groups': ['441881e3-3cc9-43f3-b208-d09e828f7828'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '67bc333eff854edb988b4158c920fdad'}} 2025-11-13 15:28:00,172 - DEBUG - Created port a2661333-9260-4528-9575-50cdb5633e91 2025-11-13 15:28:00,278 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/a2661333-9260-4528-9575-50cdb5633e91 2025-11-13 15:28:00,590 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/a2661333-9260-4528-9575-50cdb5633e91 2025-11-13 15:28:00,619 - INFO - VMI a2661333-9260-4528-9575-50cdb5633e91 verification in API Server passed 2025-11-13 15:28:00,694 - DEBUG - Response for delete_port : () 2025-11-13 15:28:00,694 - INFO - Deleted port a2661333-9260-4528-9575-50cdb5633e91 2025-11-13 15:28:00,694 - INFO - Deleting VN ctest-vn-87564081 2025-11-13 15:28:00,776 - DEBUG - Response for deleting network () 2025-11-13 15:28:01,041 - DEBUG - No XMPP flaps were noticed during the test 2025-11-13 15:28:01,041 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-11-13 15:28:01,041 - INFO - -------------------------------------------------------------------------------- 2025-11-13 15:28:01,043 - INFO - ================================================================================ 2025-11-13 15:28:01,043 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-13 15:28:01,044 - 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-11-13 15:28:01,338 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-11-13 15:28:01,338 - INFO - Initial checks done. Running the testcase now 2025-11-13 15:28:01,338 - INFO - 2025-11-13 15:28:01,492 - DEBUG - Response for create_network : {'network': {'id': '7ef16ac4-4e78-4c4e-8658-685f97778548', 'name': 'ctest-vn1-41926273', 'tenant_id': '67bc333eff854edb988b4158c920fdad', 'project_id': '67bc333eff854edb988b4158c920fdad', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-80181343', 'ctest-vn1-41926273'], 'port_security_enabled': True, 'description': ''}} 2025-11-13 15:28:01,698 - DEBUG - Response for create_subnet : {'subnet': {'id': '8d29ede2-019e-4fe9-827a-0c389e936bfc', 'name': '', 'tenant_id': '67bc333eff854edb988b4158c920fdad', 'network_id': '7ef16ac4-4e78-4c4e-8658-685f97778548', 'ip_version': 4, 'cidr': '77.19.88.128/26', 'allocation_pools': [{'start': '77.19.88.130', 'end': '77.19.88.190'}], 'gateway_ip': '77.19.88.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '77.19.88.130', 'tags': [], 'project_id': '67bc333eff854edb988b4158c920fdad'}} 2025-11-13 15:28:01,858 - DEBUG - Response for create_subnet : {'subnet': {'id': '3e1c0025-7df9-4049-9ec1-def6b87e2edc', 'name': '', 'tenant_id': '67bc333eff854edb988b4158c920fdad', 'network_id': '7ef16ac4-4e78-4c4e-8658-685f97778548', 'ip_version': 4, 'cidr': '107.20.135.128/26', 'allocation_pools': [{'start': '107.20.135.130', 'end': '107.20.135.190'}], 'gateway_ip': '107.20.135.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.20.135.130', 'tags': [], 'project_id': '67bc333eff854edb988b4158c920fdad'}} 2025-11-13 15:28:01,872 - INFO - Created VN ctest-vn1-41926273 2025-11-13 15:28:01,922 - DEBUG - VN ctest-vn1-41926273 UUID is 7ef16ac4-4e78-4c4e-8658-685f97778548 2025-11-13 15:28:02,182 - DEBUG - Response for create_port : {'port': {'name': '63ca7e56-3c20-4d38-b5d2-223dc60f59e2', 'id': '63ca7e56-3c20-4d38-b5d2-223dc60f59e2', 'tenant_id': '67bc333eff854edb988b4158c920fdad', 'network_id': '7ef16ac4-4e78-4c4e-8658-685f97778548', 'mac_address': '02:63:ca:7e:56:3c', '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.19.88.133', 'subnet_id': '8d29ede2-019e-4fe9-827a-0c389e936bfc'}], 'security_groups': ['441881e3-3cc9-43f3-b208-d09e828f7828'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '67bc333eff854edb988b4158c920fdad'}} 2025-11-13 15:28:02,333 - DEBUG - Response for create_port : {'port': {'name': '08abfe5f-d45d-4738-ac21-6283eac4d442', 'id': '08abfe5f-d45d-4738-ac21-6283eac4d442', 'tenant_id': '67bc333eff854edb988b4158c920fdad', 'network_id': '7ef16ac4-4e78-4c4e-8658-685f97778548', 'mac_address': '02:08:ab:fe:5f:d4', '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': '107.20.135.133', 'subnet_id': '3e1c0025-7df9-4049-9ec1-def6b87e2edc'}], 'security_groups': ['441881e3-3cc9-43f3-b208-d09e828f7828'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '67bc333eff854edb988b4158c920fdad'}} 2025-11-13 15:28:02,384 - DEBUG - Services list from nova: [, , ] 2025-11-13 15:28:02,665 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4723-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4723-1) 2025-11-13 15:28:02,983 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4723-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4723-1) 2025-11-13 15:28:02,984 - INFO - Waiting for VM ctest-vn1-vm1-70112279 to be up.. 2025-11-13 15:28:03,018 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-13 15:28:08,080 - DEBUG - VM is in ACTIVE state now 2025-11-13 15:28:08,080 - INFO - VM name : ctest-vn1-vm1-70112279 2025-11-13 15:28:08,140 - DEBUG - VM ctest-vn1-vm1-70112279 ID is c6cc4d8a-5358-43d2-b221-2af2a049449e 2025-11-13 15:28:08,156 - DEBUG - VM ctest-vn1-vm1-70112279 launched on Node cn-jenkins-deploy-platform-ansible-os-4723-1 2025-11-13 15:28:08,218 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c6cc4d8a-5358-43d2-b221-2af2a049449e 2025-11-13 15:28:08,225 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/63ca7e56-3c20-4d38-b5d2-223dc60f59e2 2025-11-13 15:28:11,488 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1030ms') 2025-11-13 15:28:11,488 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-70112279 failed! 2025-11-13 15:28:11,546 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-80181343:ctest-vn1-41926273 is 77.19.88.129 and allocation pool is NOT set 2025-11-13 15:28:11,546 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-80181343:ctest-vn1-41926273 is 107.20.135.129 and allocation pool is NOT set 2025-11-13 15:28:13,606 - 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.84 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.341 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.341/1.589/2.837/1.248 ms') 2025-11-13 15:28:13,606 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-70112279 passed 2025-11-13 15:28:13,754 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 15:28:13,754 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-70112279, IP 77.19.88.133, Port 22 2025-11-13 15:28:13,906 - DEBUG - VM ctest-vn1-vm1-70112279 is ready for SSH connections 2025-11-13 15:28:13,906 - INFO - Waiting for VM ctest-vn1-vm2-68917993 to be up.. 2025-11-13 15:28:13,971 - DEBUG - VM is in ACTIVE state now 2025-11-13 15:28:13,971 - INFO - VM name : ctest-vn1-vm2-68917993 2025-11-13 15:28:14,038 - DEBUG - VM ctest-vn1-vm2-68917993 ID is bd9d43c7-d5bc-4261-884a-293dbba4d04d 2025-11-13 15:28:14,038 - DEBUG - VM ctest-vn1-vm2-68917993 launched on Node cn-jenkins-deploy-platform-ansible-os-4723-1 2025-11-13 15:28:14,101 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/bd9d43c7-d5bc-4261-884a-293dbba4d04d 2025-11-13 15:28:14,109 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/08abfe5f-d45d-4738-ac21-6283eac4d442 2025-11-13 15:28:15,339 - 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=2.96 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.420 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.420/1.691/2.963/1.271 ms') 2025-11-13 15:28:15,340 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-68917993 passed 2025-11-13 15:28:15,486 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 15:28:15,486 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-68917993, IP 107.20.135.133, Port 22 2025-11-13 15:28:15,641 - DEBUG - VM ctest-vn1-vm2-68917993 is ready for SSH connections 2025-11-13 15:28:15,641 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 15:28:15,641 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 15:28:15,641 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 15:28:15,641 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 77.19.88.133, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-13 15:28:15,641 - DEBUG - ping -s 56 -c 3 -W 1 77.19.88.133 2025-11-13 15:28:19,536 - DEBUG - PING 77.19.88.133 (77.19.88.133): 56 data bytes 64 bytes from 77.19.88.133: seq=0 ttl=63 time=3.201 ms 64 bytes from 77.19.88.133: seq=1 ttl=63 time=0.733 ms 64 bytes from 77.19.88.133: seq=2 ttl=63 time=0.998 ms --- 77.19.88.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.733/1.644/3.201 ms 2025-11-13 15:28:19,536 - INFO - Ping to IP 77.19.88.133 from VM ctest-vn1-vm2-68917993 passed 2025-11-13 15:28:19,536 - INFO - Detaching port 08abfe5f-d45d-4738-ac21-6283eac4d442 from VM ctest-vn1-vm2-68917993 2025-11-13 15:28:19,583 - INFO - Deleting VM ctest-vn1-vm2-68917993 2025-11-13 15:28:19,645 - INFO - Detaching port 63ca7e56-3c20-4d38-b5d2-223dc60f59e2 from VM ctest-vn1-vm1-70112279 2025-11-13 15:28:19,679 - INFO - Deleting VM ctest-vn1-vm1-70112279 2025-11-13 15:28:19,859 - DEBUG - Response for delete_port : () 2025-11-13 15:28:20,017 - DEBUG - Response for delete_port : () 2025-11-13 15:28:20,018 - INFO - Deleting VN ctest-vn1-41926273 2025-11-13 15:28:20,140 - DEBUG - Response for deleting network () 2025-11-13 15:28:20,399 - DEBUG - No XMPP flaps were noticed during the test 2025-11-13 15:28:20,399 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19] 2025-11-13 15:28:20,399 - INFO - -------------------------------------------------------------------------------- 2025-11-13 15:28:21,073 - INFO - Deleted project: ctest-TestPorts-80181343, ID : 67bc333e-ff85-4edb-988b-4158c920fdad