2025-10-30 21:43:52,208 - INFO - Domain Default found not creating 2025-10-30 21:43:52,335 - INFO - Project ctest-TestPorts-02973865 not found, creating it 2025-10-30 21:43:52,794 - INFO - Created Project:ctest-TestPorts-02973865, ID : 2ad51f84-b8bc-4b62-9ee2-f7ea70ae0dea 2025-10-30 21:43:54,177 - INFO - ================================================================================ 2025-10-30 21:43:54,177 - INFO - STARTING TEST : test_ports_bindings 2025-10-30 21:43:54,178 - 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-30 21:43:54,443 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.241': '0'}} with 2025-10-30 21:43:54,443 - INFO - Initial checks done. Running the testcase now 2025-10-30 21:43:54,443 - INFO - 2025-10-30 21:43:54,959 - DEBUG - Response for create_network : {'network': {'id': 'e88c24b5-37dc-429f-ad6d-40c870f5ff78', 'name': 'ctest-vn-55602763', 'tenant_id': '2ad51f84b8bc4b629ee2f7ea70ae0dea', 'project_id': '2ad51f84b8bc4b629ee2f7ea70ae0dea', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-02973865', 'ctest-vn-55602763'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 21:43:55,168 - DEBUG - Response for create_subnet : {'subnet': {'id': '50d4c97c-5bd3-4a1d-99e5-0a7bd076fd54', 'name': '', 'tenant_id': '2ad51f84b8bc4b629ee2f7ea70ae0dea', 'network_id': 'e88c24b5-37dc-429f-ad6d-40c870f5ff78', 'ip_version': 4, 'cidr': '126.244.156.64/26', 'allocation_pools': [{'start': '126.244.156.66', 'end': '126.244.156.126'}], 'gateway_ip': '126.244.156.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '126.244.156.66', 'tags': [], 'project_id': '2ad51f84b8bc4b629ee2f7ea70ae0dea'}} 2025-10-30 21:43:55,185 - INFO - Created VN ctest-vn-55602763 2025-10-30 21:43:55,237 - DEBUG - VN ctest-vn-55602763 UUID is e88c24b5-37dc-429f-ad6d-40c870f5ff78 2025-10-30 21:43:55,334 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-02973865', 'ctest-vmi-84749394']} 2025-10-30 21:43:55,617 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-84749394', 'id': '3006ca87-341e-4734-8d9b-8bbb08cb2201', 'tenant_id': '2ad51f84b8bc4b629ee2f7ea70ae0dea', 'network_id': 'e88c24b5-37dc-429f-ad6d-40c870f5ff78', 'mac_address': '02:30:06:ca:87:34', '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': '126.244.156.67', 'subnet_id': '50d4c97c-5bd3-4a1d-99e5-0a7bd076fd54'}], 'security_groups': ['b8bcac1e-893e-4569-b6c3-a16dead6b92f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2ad51f84b8bc4b629ee2f7ea70ae0dea'}} 2025-10-30 21:43:55,617 - DEBUG - Created port 3006ca87-341e-4734-8d9b-8bbb08cb2201 2025-10-30 21:43:55,721 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/3006ca87-341e-4734-8d9b-8bbb08cb2201 2025-10-30 21:43:56,014 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/3006ca87-341e-4734-8d9b-8bbb08cb2201 2025-10-30 21:43:56,043 - INFO - VMI 3006ca87-341e-4734-8d9b-8bbb08cb2201 verification in API Server passed 2025-10-30 21:43:56,114 - DEBUG - Response for delete_port : () 2025-10-30 21:43:56,114 - INFO - Deleted port 3006ca87-341e-4734-8d9b-8bbb08cb2201 2025-10-30 21:43:56,114 - INFO - Deleting VN ctest-vn-55602763 2025-10-30 21:43:56,214 - DEBUG - Response for deleting network () 2025-10-30 21:43:56,466 - DEBUG - No XMPP flaps were noticed during the test
2025-10-30 21:43:56,466 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-30 21:43:56,466 - INFO - -------------------------------------------------------------------------------- 2025-10-30 21:43:56,468 - INFO - ================================================================================ 2025-10-30 21:43:56,468 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-30 21:43:56,468 - 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-30 21:43:56,757 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.241': '0'}} with 2025-10-30 21:43:56,757 - INFO - Initial checks done. Running the testcase now 2025-10-30 21:43:56,758 - INFO - 2025-10-30 21:43:56,917 - DEBUG - Response for create_network : {'network': {'id': 'd8cbdcc0-7143-4b27-98e6-4463f2d3cf33', 'name': 'ctest-vn1-81677141', 'tenant_id': '2ad51f84b8bc4b629ee2f7ea70ae0dea', 'project_id': '2ad51f84b8bc4b629ee2f7ea70ae0dea', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-02973865', 'ctest-vn1-81677141'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 21:43:57,061 - DEBUG - Response for create_subnet : {'subnet': {'id': '115c5234-e7cf-4cb1-96fa-7f014568d480', 'name': '', 'tenant_id': '2ad51f84b8bc4b629ee2f7ea70ae0dea', 'network_id': 'd8cbdcc0-7143-4b27-98e6-4463f2d3cf33', 'ip_version': 4, 'cidr': '111.231.224.192/26', 'allocation_pools': [{'start': '111.231.224.194', 'end': '111.231.224.254'}], 'gateway_ip': '111.231.224.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.231.224.194', 'tags': [], 'project_id': '2ad51f84b8bc4b629ee2f7ea70ae0dea'}} 2025-10-30 21:43:57,253 - DEBUG - Response for create_subnet : {'subnet': {'id': '73950e1d-89f2-4f7d-90ec-6b25dba8de07', 'name': '', 'tenant_id': '2ad51f84b8bc4b629ee2f7ea70ae0dea', 'network_id': 'd8cbdcc0-7143-4b27-98e6-4463f2d3cf33', 'ip_version': 4, 'cidr': '74.237.181.64/26', 'allocation_pools': [{'start': '74.237.181.66', 'end': '74.237.181.126'}], 'gateway_ip': '74.237.181.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '74.237.181.66', 'tags': [], 'project_id': '2ad51f84b8bc4b629ee2f7ea70ae0dea'}} 2025-10-30 21:43:57,269 - INFO - Created VN ctest-vn1-81677141 2025-10-30 21:43:57,317 - DEBUG - VN ctest-vn1-81677141 UUID is d8cbdcc0-7143-4b27-98e6-4463f2d3cf33 2025-10-30 21:43:57,580 - DEBUG - Response for create_port : {'port': {'name': 'aa1cf4de-5e6c-47cf-96ff-237767f3f721', 'id': 'aa1cf4de-5e6c-47cf-96ff-237767f3f721', 'tenant_id': '2ad51f84b8bc4b629ee2f7ea70ae0dea', 'network_id': 'd8cbdcc0-7143-4b27-98e6-4463f2d3cf33', 'mac_address': '02:aa:1c:f4:de:5e', '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': '111.231.224.197', 'subnet_id': '115c5234-e7cf-4cb1-96fa-7f014568d480'}], 'security_groups': ['b8bcac1e-893e-4569-b6c3-a16dead6b92f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2ad51f84b8bc4b629ee2f7ea70ae0dea'}} 2025-10-30 21:43:57,734 - DEBUG - Response for create_port : {'port': {'name': '9199038a-7a3f-4c02-bab2-d8ad26ba0d9d', 'id': '9199038a-7a3f-4c02-bab2-d8ad26ba0d9d', 'tenant_id': '2ad51f84b8bc4b629ee2f7ea70ae0dea', 'network_id': 'd8cbdcc0-7143-4b27-98e6-4463f2d3cf33', 'mac_address': '02:91:99:03:8a:7a', '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': '74.237.181.69', 'subnet_id': '73950e1d-89f2-4f7d-90ec-6b25dba8de07'}], 'security_groups': ['b8bcac1e-893e-4569-b6c3-a16dead6b92f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2ad51f84b8bc4b629ee2f7ea70ae0dea'}} 2025-10-30 21:43:57,789 - DEBUG - Services list from nova: [, , ] 2025-10-30 21:43:58,080 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4556-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4556-1) 2025-10-30 21:43:58,532 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4556-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4556-1) 2025-10-30 21:43:58,532 - INFO - Waiting for VM ctest-vn1-vm1-79570666 to be up.. 2025-10-30 21:43:58,569 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 21:44:03,647 - DEBUG - VM is in ACTIVE state now 2025-10-30 21:44:03,647 - INFO - VM name : ctest-vn1-vm1-79570666 2025-10-30 21:44:03,716 - DEBUG - VM ctest-vn1-vm1-79570666 ID is 9f24fa1d-fe1f-4f24-a89f-28c5be7a7e16 2025-10-30 21:44:03,735 - DEBUG - VM ctest-vn1-vm1-79570666 launched on Node cn-jenkins-deploy-platform-ansible-os-4556-1 2025-10-30 21:44:03,804 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/9f24fa1d-fe1f-4f24-a89f-28c5be7a7e16 2025-10-30 21:44:03,812 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/aa1cf4de-5e6c-47cf-96ff-237767f3f721 2025-10-30 21:44:07,078 - 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 1027ms') 2025-10-30 21:44:07,078 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-79570666 failed! 2025-10-30 21:44:07,129 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-02973865:ctest-vn1-81677141 is 111.231.224.193 and allocation pool is NOT set 2025-10-30 21:44:07,129 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-02973865:ctest-vn1-81677141 is 74.237.181.65 and allocation pool is NOT set 2025-10-30 21:44:09,189 - 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.44 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.34 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.341/2.392/3.444/1.051 ms') 2025-10-30 21:44:09,189 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-79570666 passed 2025-10-30 21:44:09,337 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 21:44:09,337 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-79570666, IP 111.231.224.197, Port 22 2025-10-30 21:44:09,497 - DEBUG - VM ctest-vn1-vm1-79570666 is ready for SSH connections 2025-10-30 21:44:09,497 - INFO - Waiting for VM ctest-vn1-vm2-29764933 to be up.. 2025-10-30 21:44:09,565 - DEBUG - VM is in ACTIVE state now 2025-10-30 21:44:09,565 - INFO - VM name : ctest-vn1-vm2-29764933 2025-10-30 21:44:09,627 - DEBUG - VM ctest-vn1-vm2-29764933 ID is b4505bc3-d0d7-4ded-9cd4-763e650c250a 2025-10-30 21:44:09,627 - DEBUG - VM ctest-vn1-vm2-29764933 launched on Node cn-jenkins-deploy-platform-ansible-os-4556-1 2025-10-30 21:44:09,686 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/b4505bc3-d0d7-4ded-9cd4-763e650c250a 2025-10-30 21:44:09,693 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/9199038a-7a3f-4c02-bab2-d8ad26ba0d9d 2025-10-30 21:44:10,913 - 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.69 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.371 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.371/1.532/2.693/1.161 ms') 2025-10-30 21:44:10,913 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-29764933 passed 2025-10-30 21:44:11,061 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 21:44:11,061 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-29764933, IP 74.237.181.69, Port 22 2025-10-30 21:44:11,223 - DEBUG - VM ctest-vn1-vm2-29764933 is ready for SSH connections 2025-10-30 21:44:11,223 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 21:44:11,223 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 21:44:11,223 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 21:44:11,223 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.231.224.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-10-30 21:44:11,224 - DEBUG - ping -s 56 -c 3 -W 1 111.231.224.197 2025-10-30 21:44:14,181 - DEBUG - PING 111.231.224.197 (111.231.224.197): 56 data bytes 64 bytes from 111.231.224.197: seq=0 ttl=63 time=3.898 ms 64 bytes from 111.231.224.197: seq=1 ttl=63 time=0.773 ms 64 bytes from 111.231.224.197: seq=2 ttl=63 time=1.347 ms --- 111.231.224.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.773/2.006/3.898 ms 2025-10-30 21:44:14,181 - INFO - Ping to IP 111.231.224.197 from VM ctest-vn1-vm2-29764933 passed 2025-10-30 21:44:14,181 - INFO - Detaching port 9199038a-7a3f-4c02-bab2-d8ad26ba0d9d from VM ctest-vn1-vm2-29764933 2025-10-30 21:44:14,223 - INFO - Deleting VM ctest-vn1-vm2-29764933 2025-10-30 21:44:14,288 - INFO - Detaching port aa1cf4de-5e6c-47cf-96ff-237767f3f721 from VM ctest-vn1-vm1-79570666 2025-10-30 21:44:14,329 - INFO - Deleting VM ctest-vn1-vm1-79570666 2025-10-30 21:44:14,565 - DEBUG - Response for delete_port : () 2025-10-30 21:44:14,706 - DEBUG - Response for delete_port : () 2025-10-30 21:44:14,706 - INFO - Deleting VN ctest-vn1-81677141 2025-10-30 21:44:14,849 - DEBUG - Response for deleting network () 2025-10-30 21:44:15,115 - DEBUG - No XMPP flaps were noticed during the test
2025-10-30 21:44:15,115 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-10-30 21:44:15,116 - INFO - -------------------------------------------------------------------------------- 2025-10-30 21:44:15,768 - INFO - Deleted project: ctest-TestPorts-02973865, ID : 2ad51f84-b8bc-4b62-9ee2-f7ea70ae0dea