2025-11-02 10:26:32,313 - INFO - Domain Default found not creating 2025-11-02 10:26:32,458 - INFO - Project ctest-TestPorts-96056581 not found, creating it 2025-11-02 10:26:32,903 - INFO - Created Project:ctest-TestPorts-96056581, ID : 2ea6c8fe-5038-4f53-8632-e84d421c860f 2025-11-02 10:26:34,452 - INFO - ================================================================================ 2025-11-02 10:26:34,452 - INFO - STARTING TEST : test_ports_bindings 2025-11-02 10:26:34,452 - 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-02 10:26:34,708 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with 2025-11-02 10:26:34,709 - INFO - Initial checks done. Running the testcase now 2025-11-02 10:26:34,709 - INFO - 2025-11-02 10:26:35,290 - DEBUG - Response for create_network : {'network': {'id': '1153ae96-8384-41ca-8355-01edb4e73758', 'name': 'ctest-vn-35949048', 'tenant_id': '2ea6c8fe50384f538632e84d421c860f', 'project_id': '2ea6c8fe50384f538632e84d421c860f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-96056581', 'ctest-vn-35949048'], 'port_security_enabled': True, 'description': ''}} 2025-11-02 10:26:35,493 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ce22113b-687e-4f57-8dee-bc6932319962', 'name': '', 'tenant_id': '2ea6c8fe50384f538632e84d421c860f', 'network_id': '1153ae96-8384-41ca-8355-01edb4e73758', 'ip_version': 4, 'cidr': '58.222.225.0/26', 'allocation_pools': [{'start': '58.222.225.2', 'end': '58.222.225.62'}], 'gateway_ip': '58.222.225.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '58.222.225.2', 'tags': [], 'project_id': '2ea6c8fe50384f538632e84d421c860f'}} 2025-11-02 10:26:35,509 - INFO - Created VN ctest-vn-35949048 2025-11-02 10:26:35,562 - DEBUG - VN ctest-vn-35949048 UUID is 1153ae96-8384-41ca-8355-01edb4e73758 2025-11-02 10:26:35,675 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-96056581', 'ctest-vmi-55758058']} 2025-11-02 10:26:35,926 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-55758058', 'id': '57708987-b78e-423f-b306-1e4b96a07303', 'tenant_id': '2ea6c8fe50384f538632e84d421c860f', 'network_id': '1153ae96-8384-41ca-8355-01edb4e73758', 'mac_address': '02:57:70:89:87:b7', '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': '58.222.225.3', 'subnet_id': 'ce22113b-687e-4f57-8dee-bc6932319962'}], 'security_groups': ['91969ead-720a-40f9-a540-0a4b403ea2a4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2ea6c8fe50384f538632e84d421c860f'}} 2025-11-02 10:26:35,926 - DEBUG - Created port 57708987-b78e-423f-b306-1e4b96a07303 2025-11-02 10:26:36,030 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/57708987-b78e-423f-b306-1e4b96a07303 2025-11-02 10:26:36,360 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/57708987-b78e-423f-b306-1e4b96a07303 2025-11-02 10:26:36,390 - INFO - VMI 57708987-b78e-423f-b306-1e4b96a07303 verification in API Server passed 2025-11-02 10:26:36,474 - DEBUG - Response for delete_port : () 2025-11-02 10:26:36,474 - INFO - Deleted port 57708987-b78e-423f-b306-1e4b96a07303 2025-11-02 10:26:36,474 - INFO - Deleting VN ctest-vn-35949048 2025-11-02 10:26:36,564 - DEBUG - Response for deleting network () 2025-11-02 10:26:36,830 - DEBUG - No XMPP flaps were noticed during the test 2025-11-02 10:26:36,830 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-11-02 10:26:36,830 - INFO - -------------------------------------------------------------------------------- 2025-11-02 10:26:36,832 - INFO - ================================================================================ 2025-11-02 10:26:36,833 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-02 10:26:36,833 - 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-02 10:26:37,110 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with 2025-11-02 10:26:37,110 - INFO - Initial checks done. Running the testcase now 2025-11-02 10:26:37,110 - INFO - 2025-11-02 10:26:37,290 - DEBUG - Response for create_network : {'network': {'id': '2f0ba10a-69cb-473f-aac6-aeb37934622c', 'name': 'ctest-vn1-62499992', 'tenant_id': '2ea6c8fe50384f538632e84d421c860f', 'project_id': '2ea6c8fe50384f538632e84d421c860f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-96056581', 'ctest-vn1-62499992'], 'port_security_enabled': True, 'description': ''}} 2025-11-02 10:26:37,449 - DEBUG - Response for create_subnet : {'subnet': {'id': '1f6bde5f-0ebf-4f11-ab22-a685b3aa3d7b', 'name': '', 'tenant_id': '2ea6c8fe50384f538632e84d421c860f', 'network_id': '2f0ba10a-69cb-473f-aac6-aeb37934622c', 'ip_version': 4, 'cidr': '99.92.6.0/26', 'allocation_pools': [{'start': '99.92.6.2', 'end': '99.92.6.62'}], 'gateway_ip': '99.92.6.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.92.6.2', 'tags': [], 'project_id': '2ea6c8fe50384f538632e84d421c860f'}} 2025-11-02 10:26:37,582 - DEBUG - Response for create_subnet : {'subnet': {'id': '6252d4ce-fa7f-4bbe-a14e-10a0567cbfed', 'name': '', 'tenant_id': '2ea6c8fe50384f538632e84d421c860f', 'network_id': '2f0ba10a-69cb-473f-aac6-aeb37934622c', 'ip_version': 4, 'cidr': '133.217.185.128/26', 'allocation_pools': [{'start': '133.217.185.130', 'end': '133.217.185.190'}], 'gateway_ip': '133.217.185.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '133.217.185.130', 'tags': [], 'project_id': '2ea6c8fe50384f538632e84d421c860f'}} 2025-11-02 10:26:37,600 - INFO - Created VN ctest-vn1-62499992 2025-11-02 10:26:37,650 - DEBUG - VN ctest-vn1-62499992 UUID is 2f0ba10a-69cb-473f-aac6-aeb37934622c 2025-11-02 10:26:37,938 - DEBUG - Response for create_port : {'port': {'name': '5a4cd40f-b5a7-45d5-9b1b-396af52aee9d', 'id': '5a4cd40f-b5a7-45d5-9b1b-396af52aee9d', 'tenant_id': '2ea6c8fe50384f538632e84d421c860f', 'network_id': '2f0ba10a-69cb-473f-aac6-aeb37934622c', 'mac_address': '02:5a:4c:d4:0f:b5', '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': '99.92.6.5', 'subnet_id': '1f6bde5f-0ebf-4f11-ab22-a685b3aa3d7b'}], 'security_groups': ['91969ead-720a-40f9-a540-0a4b403ea2a4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2ea6c8fe50384f538632e84d421c860f'}} 2025-11-02 10:26:38,118 - DEBUG - Response for create_port : {'port': {'name': '5eb9d463-039e-43e7-8531-9506ef64aba6', 'id': '5eb9d463-039e-43e7-8531-9506ef64aba6', 'tenant_id': '2ea6c8fe50384f538632e84d421c860f', 'network_id': '2f0ba10a-69cb-473f-aac6-aeb37934622c', 'mac_address': '02:5e:b9:d4:63:03', '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': '133.217.185.133', 'subnet_id': '6252d4ce-fa7f-4bbe-a14e-10a0567cbfed'}], 'security_groups': ['91969ead-720a-40f9-a540-0a4b403ea2a4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2ea6c8fe50384f538632e84d421c860f'}} 2025-11-02 10:26:38,173 - DEBUG - Services list from nova: [, , ] 2025-11-02 10:26:38,514 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4593-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4593-1) 2025-11-02 10:26:38,913 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4593-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4593-1) 2025-11-02 10:26:38,913 - INFO - Waiting for VM ctest-vn1-vm1-04653730 to be up.. 2025-11-02 10:26:38,951 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-02 10:26:44,031 - DEBUG - VM is in ACTIVE state now 2025-11-02 10:26:44,031 - INFO - VM name : ctest-vn1-vm1-04653730 2025-11-02 10:26:44,104 - DEBUG - VM ctest-vn1-vm1-04653730 ID is 668bb0be-3ea8-419b-9fb2-3383ab091788 2025-11-02 10:26:44,124 - DEBUG - VM ctest-vn1-vm1-04653730 launched on Node cn-jenkins-deploy-platform-ansible-os-4593-1 2025-11-02 10:26:44,196 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/668bb0be-3ea8-419b-9fb2-3383ab091788 2025-11-02 10:26:44,204 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/5a4cd40f-b5a7-45d5-9b1b-396af52aee9d 2025-11-02 10:26:47,469 - 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-11-02 10:26:47,469 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-04653730 failed! 2025-11-02 10:26:47,526 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-96056581:ctest-vn1-62499992 is 99.92.6.1 and allocation pool is NOT set 2025-11-02 10:26:47,526 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-96056581:ctest-vn1-62499992 is 133.217.185.129 and allocation pool is NOT set 2025-11-02 10:26:51,587 - 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=2 ttl=63 time=7.91 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1006ms\r\nrtt min/avg/max/mdev = 7.907/7.907/7.907/0.000 ms') 2025-11-02 10:26:51,587 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-04653730 passed 2025-11-02 10:26:51,746 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-02 10:26:51,746 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-04653730, IP 99.92.6.5, Port 22 2025-11-02 10:26:51,917 - DEBUG - VM ctest-vn1-vm1-04653730 is ready for SSH connections 2025-11-02 10:26:51,917 - INFO - Waiting for VM ctest-vn1-vm2-22728405 to be up.. 2025-11-02 10:26:52,003 - DEBUG - VM is in ACTIVE state now 2025-11-02 10:26:52,003 - INFO - VM name : ctest-vn1-vm2-22728405 2025-11-02 10:26:52,081 - DEBUG - VM ctest-vn1-vm2-22728405 ID is 94b0bf78-f408-4082-a889-fce340508d3d 2025-11-02 10:26:52,081 - DEBUG - VM ctest-vn1-vm2-22728405 launched on Node cn-jenkins-deploy-platform-ansible-os-4593-1 2025-11-02 10:26:52,155 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/94b0bf78-f408-4082-a889-fce340508d3d 2025-11-02 10:26:52,164 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/5eb9d463-039e-43e7-8531-9506ef64aba6 2025-11-02 10:26:53,406 - 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.71 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.892 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.892/2.801/4.711/1.909 ms') 2025-11-02 10:26:53,407 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-22728405 passed 2025-11-02 10:26:53,562 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-02 10:26:53,562 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-22728405, IP 133.217.185.133, Port 22 2025-11-02 10:26:53,717 - DEBUG - VM ctest-vn1-vm2-22728405 is ready for SSH connections 2025-11-02 10:26:53,717 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-02 10:26:53,717 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-02 10:26:53,717 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-02 10:26:53,717 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 99.92.6.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-11-02 10:26:53,717 - DEBUG - ping -s 56 -c 3 -W 1 99.92.6.5 2025-11-02 10:26:56,455 - DEBUG - PING 99.92.6.5 (99.92.6.5): 56 data bytes 64 bytes from 99.92.6.5: seq=0 ttl=63 time=4.302 ms 64 bytes from 99.92.6.5: seq=1 ttl=63 time=0.789 ms 64 bytes from 99.92.6.5: seq=2 ttl=63 time=0.757 ms --- 99.92.6.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.757/1.949/4.302 ms 2025-11-02 10:26:56,455 - INFO - Ping to IP 99.92.6.5 from VM ctest-vn1-vm2-22728405 passed 2025-11-02 10:26:56,456 - INFO - Detaching port 5eb9d463-039e-43e7-8531-9506ef64aba6 from VM ctest-vn1-vm2-22728405 2025-11-02 10:26:56,505 - INFO - Deleting VM ctest-vn1-vm2-22728405 2025-11-02 10:26:56,580 - INFO - Detaching port 5a4cd40f-b5a7-45d5-9b1b-396af52aee9d from VM ctest-vn1-vm1-04653730 2025-11-02 10:26:56,613 - INFO - Deleting VM ctest-vn1-vm1-04653730 2025-11-02 10:26:56,843 - DEBUG - Response for delete_port : () 2025-11-02 10:26:56,989 - DEBUG - Response for delete_port : () 2025-11-02 10:26:56,989 - INFO - Deleting VN ctest-vn1-62499992 2025-11-02 10:26:57,115 - DEBUG - Response for deleting network () 2025-11-02 10:26:57,367 - DEBUG - No XMPP flaps were noticed during the test 2025-11-02 10:26:57,368 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21] 2025-11-02 10:26:57,368 - INFO - -------------------------------------------------------------------------------- 2025-11-02 10:26:58,097 - INFO - Deleted project: ctest-TestPorts-96056581, ID : 2ea6c8fe-5038-4f53-8632-e84d421c860f