2025-12-10 17:03:57,932 - INFO - Domain Default found not creating 2025-12-10 17:03:58,078 - INFO - Project ctest-TestPorts-04696799 not found, creating it 2025-12-10 17:03:58,505 - INFO - Created Project:ctest-TestPorts-04696799, ID : bda65b5b-b5dd-4c57-99b6-81aed54ab64d 2025-12-10 17:03:59,878 - INFO - ================================================================================ 2025-12-10 17:03:59,878 - INFO - STARTING TEST : test_ports_bindings 2025-12-10 17:03:59,878 - 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-12-10 17:04:00,129 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.193': '0'}} with 2025-12-10 17:04:00,129 - INFO - Initial checks done. Running the testcase now 2025-12-10 17:04:00,130 - INFO - 2025-12-10 17:04:01,138 - DEBUG - Response for create_network : {'network': {'id': 'b54ea860-c1d3-4bf9-aeb3-b6e2584ca576', 'name': 'ctest-vn-29654074', 'tenant_id': 'bda65b5bb5dd4c5799b681aed54ab64d', 'project_id': 'bda65b5bb5dd4c5799b681aed54ab64d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-04696799', 'ctest-vn-29654074'], 'port_security_enabled': True, 'description': ''}} 2025-12-10 17:04:01,350 - DEBUG - Response for create_subnet : {'subnet': {'id': '64024ecf-82da-4752-9064-3de3d41957c4', 'name': '', 'tenant_id': 'bda65b5bb5dd4c5799b681aed54ab64d', 'network_id': 'b54ea860-c1d3-4bf9-aeb3-b6e2584ca576', 'ip_version': 4, 'cidr': '187.119.35.128/26', 'allocation_pools': [{'start': '187.119.35.130', 'end': '187.119.35.190'}], 'gateway_ip': '187.119.35.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '187.119.35.130', 'tags': [], 'project_id': 'bda65b5bb5dd4c5799b681aed54ab64d'}} 2025-12-10 17:04:01,366 - INFO - Created VN ctest-vn-29654074 2025-12-10 17:04:01,417 - DEBUG - VN ctest-vn-29654074 UUID is b54ea860-c1d3-4bf9-aeb3-b6e2584ca576 2025-12-10 17:04:01,516 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-04696799', 'ctest-vmi-86708189']} 2025-12-10 17:04:01,775 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-86708189', 'id': '338a8472-30ae-46ff-b34c-23663e96185a', 'tenant_id': 'bda65b5bb5dd4c5799b681aed54ab64d', 'network_id': 'b54ea860-c1d3-4bf9-aeb3-b6e2584ca576', 'mac_address': '02:33:8a:84:72:30', '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': '187.119.35.131', 'subnet_id': '64024ecf-82da-4752-9064-3de3d41957c4'}], 'security_groups': ['c1a8edbe-f9b8-4e84-8f90-90eb5e74b7a0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'bda65b5bb5dd4c5799b681aed54ab64d'}} 2025-12-10 17:04:01,776 - DEBUG - Created port 338a8472-30ae-46ff-b34c-23663e96185a 2025-12-10 17:04:01,877 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/338a8472-30ae-46ff-b34c-23663e96185a 2025-12-10 17:04:02,166 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/338a8472-30ae-46ff-b34c-23663e96185a 2025-12-10 17:04:02,197 - INFO - VMI 338a8472-30ae-46ff-b34c-23663e96185a verification in API Server passed 2025-12-10 17:04:02,272 - DEBUG - Response for delete_port : () 2025-12-10 17:04:02,272 - INFO - Deleted port 338a8472-30ae-46ff-b34c-23663e96185a 2025-12-10 17:04:02,272 - INFO - Deleting VN ctest-vn-29654074 2025-12-10 17:04:02,367 - DEBUG - Response for deleting network () 2025-12-10 17:04:02,619 - DEBUG - No XMPP flaps were noticed during the test
2025-12-10 17:04:02,619 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-12-10 17:04:02,619 - INFO - -------------------------------------------------------------------------------- 2025-12-10 17:04:02,621 - INFO - ================================================================================ 2025-12-10 17:04:02,621 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-12-10 17:04:02,621 - 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-12-10 17:04:02,902 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.193': '0'}} with 2025-12-10 17:04:02,902 - INFO - Initial checks done. Running the testcase now 2025-12-10 17:04:02,902 - INFO - 2025-12-10 17:04:03,060 - DEBUG - Response for create_network : {'network': {'id': 'd152645f-d9ee-4b5b-99af-810ccc536eba', 'name': 'ctest-vn1-48644221', 'tenant_id': 'bda65b5bb5dd4c5799b681aed54ab64d', 'project_id': 'bda65b5bb5dd4c5799b681aed54ab64d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-04696799', 'ctest-vn1-48644221'], 'port_security_enabled': True, 'description': ''}} 2025-12-10 17:04:03,209 - DEBUG - Response for create_subnet : {'subnet': {'id': '3bec22ae-7a97-4949-9f68-6125a64f1908', 'name': '', 'tenant_id': 'bda65b5bb5dd4c5799b681aed54ab64d', 'network_id': 'd152645f-d9ee-4b5b-99af-810ccc536eba', 'ip_version': 4, 'cidr': '19.104.169.192/26', 'allocation_pools': [{'start': '19.104.169.194', 'end': '19.104.169.254'}], 'gateway_ip': '19.104.169.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '19.104.169.194', 'tags': [], 'project_id': 'bda65b5bb5dd4c5799b681aed54ab64d'}} 2025-12-10 17:04:03,397 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a1e06602-7145-4b17-9e1d-4a883a80740e', 'name': '', 'tenant_id': 'bda65b5bb5dd4c5799b681aed54ab64d', 'network_id': 'd152645f-d9ee-4b5b-99af-810ccc536eba', 'ip_version': 4, 'cidr': '85.88.19.128/26', 'allocation_pools': [{'start': '85.88.19.130', 'end': '85.88.19.190'}], 'gateway_ip': '85.88.19.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '85.88.19.130', 'tags': [], 'project_id': 'bda65b5bb5dd4c5799b681aed54ab64d'}} 2025-12-10 17:04:03,415 - INFO - Created VN ctest-vn1-48644221 2025-12-10 17:04:03,465 - DEBUG - VN ctest-vn1-48644221 UUID is d152645f-d9ee-4b5b-99af-810ccc536eba 2025-12-10 17:04:03,723 - DEBUG - Response for create_port : {'port': {'name': 'daca1026-0ed6-42a0-a073-b38a26f3da20', 'id': 'daca1026-0ed6-42a0-a073-b38a26f3da20', 'tenant_id': 'bda65b5bb5dd4c5799b681aed54ab64d', 'network_id': 'd152645f-d9ee-4b5b-99af-810ccc536eba', 'mac_address': '02:da:ca:10:26:0e', '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': '19.104.169.197', 'subnet_id': '3bec22ae-7a97-4949-9f68-6125a64f1908'}], 'security_groups': ['c1a8edbe-f9b8-4e84-8f90-90eb5e74b7a0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'bda65b5bb5dd4c5799b681aed54ab64d'}} 2025-12-10 17:04:03,867 - DEBUG - Response for create_port : {'port': {'name': '17e48240-8a73-46d0-b3e5-39ce572af1fc', 'id': '17e48240-8a73-46d0-b3e5-39ce572af1fc', 'tenant_id': 'bda65b5bb5dd4c5799b681aed54ab64d', 'network_id': 'd152645f-d9ee-4b5b-99af-810ccc536eba', 'mac_address': '02:17:e4:82:40:8a', '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': '85.88.19.133', 'subnet_id': 'a1e06602-7145-4b17-9e1d-4a883a80740e'}], 'security_groups': ['c1a8edbe-f9b8-4e84-8f90-90eb5e74b7a0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'bda65b5bb5dd4c5799b681aed54ab64d'}} 2025-12-10 17:04:03,921 - DEBUG - Services list from nova: [, , ] 2025-12-10 17:04:04,199 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4878-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4878-1) 2025-12-10 17:04:04,661 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4878-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4878-1) 2025-12-10 17:04:04,661 - INFO - Waiting for VM ctest-vn1-vm1-85168861 to be up.. 2025-12-10 17:04:04,697 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-10 17:04:09,763 - DEBUG - VM is in ACTIVE state now 2025-12-10 17:04:09,763 - INFO - VM name : ctest-vn1-vm1-85168861 2025-12-10 17:04:09,825 - DEBUG - VM ctest-vn1-vm1-85168861 ID is 8d23af4b-321a-47d3-a15e-6c156aad39d1 2025-12-10 17:04:09,842 - DEBUG - VM ctest-vn1-vm1-85168861 launched on Node cn-jenkins-deploy-platform-ansible-os-4878-1 2025-12-10 17:04:09,909 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/8d23af4b-321a-47d3-a15e-6c156aad39d1 2025-12-10 17:04:09,916 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/daca1026-0ed6-42a0-a073-b38a26f3da20 2025-12-10 17:04:13,149 - 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 1003ms') 2025-12-10 17:04:13,149 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-85168861 failed! 2025-12-10 17:04:13,201 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-04696799:ctest-vn1-48644221 is 19.104.169.193 and allocation pool is NOT set 2025-12-10 17:04:13,201 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-04696799:ctest-vn1-48644221 is 85.88.19.129 and allocation pool is NOT set 2025-12-10 17:04:15,266 - 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.50 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.09 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.092/2.295/3.498/1.203 ms') 2025-12-10 17:04:15,266 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-85168861 passed 2025-12-10 17:04:15,417 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-10 17:04:15,417 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-85168861, IP 19.104.169.197, Port 22 2025-12-10 17:04:15,580 - DEBUG - VM ctest-vn1-vm1-85168861 is ready for SSH connections 2025-12-10 17:04:15,581 - INFO - Waiting for VM ctest-vn1-vm2-65828489 to be up.. 2025-12-10 17:04:15,643 - DEBUG - VM is in ACTIVE state now 2025-12-10 17:04:15,643 - INFO - VM name : ctest-vn1-vm2-65828489 2025-12-10 17:04:15,703 - DEBUG - VM ctest-vn1-vm2-65828489 ID is 56ff5b5e-33f7-4848-8187-7437351795be 2025-12-10 17:04:15,703 - DEBUG - VM ctest-vn1-vm2-65828489 launched on Node cn-jenkins-deploy-platform-ansible-os-4878-1 2025-12-10 17:04:15,764 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/56ff5b5e-33f7-4848-8187-7437351795be 2025-12-10 17:04:15,772 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/17e48240-8a73-46d0-b3e5-39ce572af1fc 2025-12-10 17:04:17,006 - 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.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.432 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.432/1.590/2.749/1.158 ms') 2025-12-10 17:04:17,006 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-65828489 passed 2025-12-10 17:04:17,157 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-10 17:04:17,157 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-65828489, IP 85.88.19.133, Port 22 2025-12-10 17:04:17,313 - DEBUG - VM ctest-vn1-vm2-65828489 is ready for SSH connections 2025-12-10 17:04:17,313 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-10 17:04:17,313 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-10 17:04:17,313 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-10 17:04:17,313 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 19.104.169.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-12-10 17:04:17,314 - DEBUG - ping -s 56 -c 3 -W 1 19.104.169.197 2025-12-10 17:04:20,242 - DEBUG - PING 19.104.169.197 (19.104.169.197): 56 data bytes 64 bytes from 19.104.169.197: seq=0 ttl=63 time=5.838 ms 64 bytes from 19.104.169.197: seq=1 ttl=63 time=0.719 ms 64 bytes from 19.104.169.197: seq=2 ttl=63 time=0.806 ms --- 19.104.169.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.719/2.454/5.838 ms 2025-12-10 17:04:20,242 - INFO - Ping to IP 19.104.169.197 from VM ctest-vn1-vm2-65828489 passed 2025-12-10 17:04:20,242 - INFO - Detaching port 17e48240-8a73-46d0-b3e5-39ce572af1fc from VM ctest-vn1-vm2-65828489 2025-12-10 17:04:20,289 - INFO - Deleting VM ctest-vn1-vm2-65828489 2025-12-10 17:04:20,355 - INFO - Detaching port daca1026-0ed6-42a0-a073-b38a26f3da20 from VM ctest-vn1-vm1-85168861 2025-12-10 17:04:20,387 - INFO - Deleting VM ctest-vn1-vm1-85168861 2025-12-10 17:04:20,603 - DEBUG - Response for delete_port : () 2025-12-10 17:04:20,757 - DEBUG - Response for delete_port : () 2025-12-10 17:04:20,757 - INFO - Deleting VN ctest-vn1-48644221 2025-12-10 17:04:20,897 - DEBUG - Response for deleting network () 2025-12-10 17:04:21,149 - DEBUG - No XMPP flaps were noticed during the test
2025-12-10 17:04:21,149 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-12-10 17:04:21,149 - INFO - -------------------------------------------------------------------------------- 2025-12-10 17:04:21,810 - INFO - Deleted project: ctest-TestPorts-04696799, ID : bda65b5b-b5dd-4c57-99b6-81aed54ab64d