2025-12-19 17:24:41,188 - INFO - Domain Default found not creating 2025-12-19 17:24:41,400 - INFO - Project ctest-TestPorts-26427484 not found, creating it 2025-12-19 17:24:42,015 - INFO - Created Project:ctest-TestPorts-26427484, ID : acc0cd92-0efe-4256-a4b9-e5269f55c995 2025-12-19 17:24:43,702 - INFO - ================================================================================ 2025-12-19 17:24:43,702 - INFO - STARTING TEST : test_ports_bindings 2025-12-19 17:24:43,702 - 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-19 17:24:43,977 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.14': '0'}} with 2025-12-19 17:24:43,977 - INFO - Initial checks done. Running the testcase now 2025-12-19 17:24:43,977 - INFO - 2025-12-19 17:24:44,771 - DEBUG - Response for create_network : {'network': {'id': '4a2f28c5-4a9a-4734-8e09-d905f02a6b0e', 'name': 'ctest-vn-49054894', 'tenant_id': 'acc0cd920efe4256a4b9e5269f55c995', 'project_id': 'acc0cd920efe4256a4b9e5269f55c995', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-26427484', 'ctest-vn-49054894'], 'port_security_enabled': True, 'description': ''}} 2025-12-19 17:24:45,173 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a871a1a3-4476-4854-8394-269573a957c3', 'name': '', 'tenant_id': 'acc0cd920efe4256a4b9e5269f55c995', 'network_id': '4a2f28c5-4a9a-4734-8e09-d905f02a6b0e', 'ip_version': 4, 'cidr': '167.191.93.192/26', 'allocation_pools': [{'start': '167.191.93.194', 'end': '167.191.93.254'}], 'gateway_ip': '167.191.93.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '167.191.93.194', 'tags': [], 'project_id': 'acc0cd920efe4256a4b9e5269f55c995'}} 2025-12-19 17:24:45,200 - INFO - Created VN ctest-vn-49054894 2025-12-19 17:24:45,252 - DEBUG - VN ctest-vn-49054894 UUID is 4a2f28c5-4a9a-4734-8e09-d905f02a6b0e 2025-12-19 17:24:45,381 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-26427484', 'ctest-vmi-81747820']} 2025-12-19 17:24:45,665 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-81747820', 'id': '29764c2f-119f-4ea6-b5e0-a29f08036d91', 'tenant_id': 'acc0cd920efe4256a4b9e5269f55c995', 'network_id': '4a2f28c5-4a9a-4734-8e09-d905f02a6b0e', 'mac_address': '02:29:76:4c:2f:11', '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': '167.191.93.195', 'subnet_id': 'a871a1a3-4476-4854-8394-269573a957c3'}], 'security_groups': ['d3d01ee7-6901-40e7-9aff-ce80356ba2fc'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'acc0cd920efe4256a4b9e5269f55c995'}} 2025-12-19 17:24:45,665 - DEBUG - Created port 29764c2f-119f-4ea6-b5e0-a29f08036d91 2025-12-19 17:24:45,780 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/29764c2f-119f-4ea6-b5e0-a29f08036d91 2025-12-19 17:24:46,092 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/29764c2f-119f-4ea6-b5e0-a29f08036d91 2025-12-19 17:24:46,134 - INFO - VMI 29764c2f-119f-4ea6-b5e0-a29f08036d91 verification in API Server passed 2025-12-19 17:24:46,252 - DEBUG - Response for delete_port : () 2025-12-19 17:24:46,252 - INFO - Deleted port 29764c2f-119f-4ea6-b5e0-a29f08036d91 2025-12-19 17:24:46,252 - INFO - Deleting VN ctest-vn-49054894 2025-12-19 17:24:46,389 - DEBUG - Response for deleting network () 2025-12-19 17:24:46,663 - DEBUG - No XMPP flaps were noticed during the test 2025-12-19 17:24:46,663 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-12-19 17:24:46,663 - INFO - -------------------------------------------------------------------------------- 2025-12-19 17:24:46,666 - INFO - ================================================================================ 2025-12-19 17:24:46,666 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-12-19 17:24:46,666 - 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-19 17:24:46,952 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.14': '0'}} with 2025-12-19 17:24:46,952 - INFO - Initial checks done. Running the testcase now 2025-12-19 17:24:46,952 - INFO - 2025-12-19 17:24:47,170 - DEBUG - Response for create_network : {'network': {'id': 'd7de93e1-cce4-45db-8c0e-97a9cfa8fb39', 'name': 'ctest-vn1-63701031', 'tenant_id': 'acc0cd920efe4256a4b9e5269f55c995', 'project_id': 'acc0cd920efe4256a4b9e5269f55c995', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-26427484', 'ctest-vn1-63701031'], 'port_security_enabled': True, 'description': ''}} 2025-12-19 17:24:47,391 - DEBUG - Response for create_subnet : {'subnet': {'id': '9f272303-6990-43ef-9db9-7f4e5db8582e', 'name': '', 'tenant_id': 'acc0cd920efe4256a4b9e5269f55c995', 'network_id': 'd7de93e1-cce4-45db-8c0e-97a9cfa8fb39', 'ip_version': 4, 'cidr': '135.142.180.64/26', 'allocation_pools': [{'start': '135.142.180.66', 'end': '135.142.180.126'}], 'gateway_ip': '135.142.180.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '135.142.180.66', 'tags': [], 'project_id': 'acc0cd920efe4256a4b9e5269f55c995'}} 2025-12-19 17:24:47,564 - DEBUG - Response for create_subnet : {'subnet': {'id': '74dabc60-b91b-4394-b67f-bc25615be9cc', 'name': '', 'tenant_id': 'acc0cd920efe4256a4b9e5269f55c995', 'network_id': 'd7de93e1-cce4-45db-8c0e-97a9cfa8fb39', 'ip_version': 4, 'cidr': '42.8.190.64/26', 'allocation_pools': [{'start': '42.8.190.66', 'end': '42.8.190.126'}], 'gateway_ip': '42.8.190.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '42.8.190.66', 'tags': [], 'project_id': 'acc0cd920efe4256a4b9e5269f55c995'}} 2025-12-19 17:24:47,593 - INFO - Created VN ctest-vn1-63701031 2025-12-19 17:24:47,652 - DEBUG - VN ctest-vn1-63701031 UUID is d7de93e1-cce4-45db-8c0e-97a9cfa8fb39 2025-12-19 17:24:47,995 - DEBUG - Response for create_port : {'port': {'name': 'e5e4c869-ccad-46cd-b466-4b4bd155596e', 'id': 'e5e4c869-ccad-46cd-b466-4b4bd155596e', 'tenant_id': 'acc0cd920efe4256a4b9e5269f55c995', 'network_id': 'd7de93e1-cce4-45db-8c0e-97a9cfa8fb39', 'mac_address': '02:e5:e4:c8:69:cc', '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': '135.142.180.69', 'subnet_id': '9f272303-6990-43ef-9db9-7f4e5db8582e'}], 'security_groups': ['d3d01ee7-6901-40e7-9aff-ce80356ba2fc'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'acc0cd920efe4256a4b9e5269f55c995'}} 2025-12-19 17:24:48,193 - DEBUG - Response for create_port : {'port': {'name': '51266728-a8e6-473c-bd8d-76d5a6776484', 'id': '51266728-a8e6-473c-bd8d-76d5a6776484', 'tenant_id': 'acc0cd920efe4256a4b9e5269f55c995', 'network_id': 'd7de93e1-cce4-45db-8c0e-97a9cfa8fb39', 'mac_address': '02:51:26:67:28:a8', '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': '42.8.190.69', 'subnet_id': '74dabc60-b91b-4394-b67f-bc25615be9cc'}], 'security_groups': ['d3d01ee7-6901-40e7-9aff-ce80356ba2fc'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'acc0cd920efe4256a4b9e5269f55c995'}} 2025-12-19 17:24:48,261 - DEBUG - Services list from nova: [, , ] 2025-12-19 17:24:48,665 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4912-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4912-1) 2025-12-19 17:24:49,166 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4912-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4912-1) 2025-12-19 17:24:49,166 - INFO - Waiting for VM ctest-vn1-vm1-83437379 to be up.. 2025-12-19 17:24:49,220 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-19 17:24:54,323 - DEBUG - VM is in ACTIVE state now 2025-12-19 17:24:54,324 - INFO - VM name : ctest-vn1-vm1-83437379 2025-12-19 17:24:54,421 - DEBUG - VM ctest-vn1-vm1-83437379 ID is ec8da0fb-d6aa-406c-8493-533b58f08d45 2025-12-19 17:24:54,445 - DEBUG - VM ctest-vn1-vm1-83437379 launched on Node cn-jenkins-deploy-platform-ansible-os-4912-1 2025-12-19 17:24:54,536 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/ec8da0fb-d6aa-406c-8493-533b58f08d45 2025-12-19 17:24:54,550 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/e5e4c869-ccad-46cd-b466-4b4bd155596e 2025-12-19 17:24:57,838 - 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 1026ms') 2025-12-19 17:24:57,838 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-83437379 failed! 2025-12-19 17:24:57,897 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-26427484:ctest-vn1-63701031 is 135.142.180.65 and allocation pool is NOT set 2025-12-19 17:24:57,897 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-26427484:ctest-vn1-63701031 is 42.8.190.65 and allocation pool is NOT set 2025-12-19 17:25:01,962 - 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 1002ms') 2025-12-19 17:25:01,962 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-83437379 failed! 2025-12-19 17:25:02,021 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-26427484:ctest-vn1-63701031 is 135.142.180.65 and allocation pool is NOT set 2025-12-19 17:25:02,021 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-26427484:ctest-vn1-63701031 is 42.8.190.65 and allocation pool is NOT set 2025-12-19 17:25:04,084 - 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.67 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.533 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.533/2.102/3.672/1.569 ms') 2025-12-19 17:25:04,085 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-83437379 passed 2025-12-19 17:25:04,245 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-19 17:25:04,245 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-83437379, IP 135.142.180.69, Port 22 2025-12-19 17:25:04,414 - DEBUG - VM ctest-vn1-vm1-83437379 is ready for SSH connections 2025-12-19 17:25:04,415 - INFO - Waiting for VM ctest-vn1-vm2-02451455 to be up.. 2025-12-19 17:25:04,511 - DEBUG - VM is in ACTIVE state now 2025-12-19 17:25:04,511 - INFO - VM name : ctest-vn1-vm2-02451455 2025-12-19 17:25:04,607 - DEBUG - VM ctest-vn1-vm2-02451455 ID is 85911fa5-ad32-4917-8c36-412019f365a6 2025-12-19 17:25:04,608 - DEBUG - VM ctest-vn1-vm2-02451455 launched on Node cn-jenkins-deploy-platform-ansible-os-4912-1 2025-12-19 17:25:04,695 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/85911fa5-ad32-4917-8c36-412019f365a6 2025-12-19 17:25:04,704 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/51266728-a8e6-473c-bd8d-76d5a6776484 2025-12-19 17:25:05,951 - 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=3.39 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.462 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.462/1.925/3.389/1.463 ms') 2025-12-19 17:25:05,951 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-02451455 passed 2025-12-19 17:25:06,112 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-19 17:25:06,113 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-02451455, IP 42.8.190.69, Port 22 2025-12-19 17:25:06,272 - DEBUG - VM ctest-vn1-vm2-02451455 is ready for SSH connections 2025-12-19 17:25:06,273 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-19 17:25:06,273 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-19 17:25:06,273 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-19 17:25:06,273 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 135.142.180.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-12-19 17:25:06,273 - DEBUG - ping -s 56 -c 3 -W 1 135.142.180.69 2025-12-19 17:25:08,976 - DEBUG - PING 135.142.180.69 (135.142.180.69): 56 data bytes 64 bytes from 135.142.180.69: seq=0 ttl=63 time=4.509 ms 64 bytes from 135.142.180.69: seq=1 ttl=63 time=1.456 ms 64 bytes from 135.142.180.69: seq=2 ttl=63 time=0.964 ms --- 135.142.180.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.964/2.309/4.509 ms 2025-12-19 17:25:08,977 - INFO - Ping to IP 135.142.180.69 from VM ctest-vn1-vm2-02451455 passed 2025-12-19 17:25:08,977 - INFO - Detaching port 51266728-a8e6-473c-bd8d-76d5a6776484 from VM ctest-vn1-vm2-02451455 2025-12-19 17:25:09,038 - INFO - Deleting VM ctest-vn1-vm2-02451455 2025-12-19 17:25:09,130 - INFO - Detaching port e5e4c869-ccad-46cd-b466-4b4bd155596e from VM ctest-vn1-vm1-83437379 2025-12-19 17:25:09,171 - INFO - Deleting VM ctest-vn1-vm1-83437379 2025-12-19 17:25:09,473 - DEBUG - Response for delete_port : () 2025-12-19 17:25:09,755 - DEBUG - Response for delete_port : () 2025-12-19 17:25:09,755 - INFO - Deleting VN ctest-vn1-63701031 2025-12-19 17:25:09,945 - DEBUG - Response for deleting network () 2025-12-19 17:25:10,208 - DEBUG - No XMPP flaps were noticed during the test 2025-12-19 17:25:10,208 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24] 2025-12-19 17:25:10,208 - INFO - -------------------------------------------------------------------------------- 2025-12-19 17:25:10,937 - INFO - Deleted project: ctest-TestPorts-26427484, ID : acc0cd92-0efe-4256-a4b9-e5269f55c995