2025-10-05 18:50:20,556 - INFO - Domain Default found not creating 2025-10-05 18:50:20,675 - INFO - Project ctest-TestPorts-25945886 not found, creating it 2025-10-05 18:50:21,187 - INFO - Created Project:ctest-TestPorts-25945886, ID : b41e3a3b-5182-4aaa-8af8-4421c0ca2858 2025-10-05 18:50:22,506 - INFO - ================================================================================ 2025-10-05 18:50:22,506 - INFO - STARTING TEST : test_ports_bindings 2025-10-05 18:50:22,506 - 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-05 18:50:22,755 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-05 18:50:22,755 - INFO - Initial checks done. Running the testcase now 2025-10-05 18:50:22,755 - INFO - 2025-10-05 18:50:23,275 - DEBUG - Response for create_network : {'network': {'id': 'e4be8675-ef4a-4158-9617-a339b9fd6c4c', 'name': 'ctest-vn-03519559', 'tenant_id': 'b41e3a3b51824aaa8af84421c0ca2858', 'project_id': 'b41e3a3b51824aaa8af84421c0ca2858', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-25945886', 'ctest-vn-03519559'], 'port_security_enabled': True, 'description': ''}} 2025-10-05 18:50:23,455 - DEBUG - Response for create_subnet : {'subnet': {'id': '0c3d4b2b-717d-49e8-be27-5b0bed00292f', 'name': '', 'tenant_id': 'b41e3a3b51824aaa8af84421c0ca2858', 'network_id': 'e4be8675-ef4a-4158-9617-a339b9fd6c4c', 'ip_version': 4, 'cidr': '93.40.140.128/26', 'allocation_pools': [{'start': '93.40.140.130', 'end': '93.40.140.190'}], 'gateway_ip': '93.40.140.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '93.40.140.130', 'tags': [], 'project_id': 'b41e3a3b51824aaa8af84421c0ca2858'}} 2025-10-05 18:50:23,469 - INFO - Created VN ctest-vn-03519559 2025-10-05 18:50:23,519 - DEBUG - VN ctest-vn-03519559 UUID is e4be8675-ef4a-4158-9617-a339b9fd6c4c 2025-10-05 18:50:23,619 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-25945886', 'ctest-vmi-08583071']} 2025-10-05 18:50:23,889 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-08583071', 'id': '574c93b4-13e1-4e3e-a35b-b11f0fae5306', 'tenant_id': 'b41e3a3b51824aaa8af84421c0ca2858', 'network_id': 'e4be8675-ef4a-4158-9617-a339b9fd6c4c', 'mac_address': '02:57:4c:93:b4:13', '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': '93.40.140.131', 'subnet_id': '0c3d4b2b-717d-49e8-be27-5b0bed00292f'}], 'security_groups': ['ce0d4e8b-e484-4056-90d0-905fedd7c66e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b41e3a3b51824aaa8af84421c0ca2858'}} 2025-10-05 18:50:23,889 - DEBUG - Created port 574c93b4-13e1-4e3e-a35b-b11f0fae5306 2025-10-05 18:50:23,996 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/574c93b4-13e1-4e3e-a35b-b11f0fae5306 2025-10-05 18:50:24,287 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/574c93b4-13e1-4e3e-a35b-b11f0fae5306 2025-10-05 18:50:24,315 - INFO - VMI 574c93b4-13e1-4e3e-a35b-b11f0fae5306 verification in API Server passed 2025-10-05 18:50:24,393 - DEBUG - Response for delete_port : () 2025-10-05 18:50:24,393 - INFO - Deleted port 574c93b4-13e1-4e3e-a35b-b11f0fae5306 2025-10-05 18:50:24,393 - INFO - Deleting VN ctest-vn-03519559 2025-10-05 18:50:24,496 - DEBUG - Response for deleting network () 2025-10-05 18:50:24,743 - DEBUG - No XMPP flaps were noticed during the test 2025-10-05 18:50:24,743 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-10-05 18:50:24,743 - INFO - -------------------------------------------------------------------------------- 2025-10-05 18:50:24,745 - INFO - ================================================================================ 2025-10-05 18:50:24,745 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-05 18:50:24,745 - 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-05 18:50:25,032 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-05 18:50:25,032 - INFO - Initial checks done. Running the testcase now 2025-10-05 18:50:25,032 - INFO - 2025-10-05 18:50:25,184 - DEBUG - Response for create_network : {'network': {'id': '2ca3759c-0a58-47e4-87f3-6639fd3edcc3', 'name': 'ctest-vn1-17054887', 'tenant_id': 'b41e3a3b51824aaa8af84421c0ca2858', 'project_id': 'b41e3a3b51824aaa8af84421c0ca2858', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-25945886', 'ctest-vn1-17054887'], 'port_security_enabled': True, 'description': ''}} 2025-10-05 18:50:25,348 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e22acb61-48e7-4f73-bcdd-ff803598abbf', 'name': '', 'tenant_id': 'b41e3a3b51824aaa8af84421c0ca2858', 'network_id': '2ca3759c-0a58-47e4-87f3-6639fd3edcc3', 'ip_version': 4, 'cidr': '164.194.246.128/26', 'allocation_pools': [{'start': '164.194.246.130', 'end': '164.194.246.190'}], 'gateway_ip': '164.194.246.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.194.246.130', 'tags': [], 'project_id': 'b41e3a3b51824aaa8af84421c0ca2858'}} 2025-10-05 18:50:25,482 - DEBUG - Response for create_subnet : {'subnet': {'id': '26ed35d3-0a1b-4e59-8b1c-3c19993ee8f3', 'name': '', 'tenant_id': 'b41e3a3b51824aaa8af84421c0ca2858', 'network_id': '2ca3759c-0a58-47e4-87f3-6639fd3edcc3', 'ip_version': 4, 'cidr': '106.88.36.192/26', 'allocation_pools': [{'start': '106.88.36.194', 'end': '106.88.36.254'}], 'gateway_ip': '106.88.36.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '106.88.36.194', 'tags': [], 'project_id': 'b41e3a3b51824aaa8af84421c0ca2858'}} 2025-10-05 18:50:25,498 - INFO - Created VN ctest-vn1-17054887 2025-10-05 18:50:25,547 - DEBUG - VN ctest-vn1-17054887 UUID is 2ca3759c-0a58-47e4-87f3-6639fd3edcc3 2025-10-05 18:50:25,803 - DEBUG - Response for create_port : {'port': {'name': 'd7d918bc-2230-4f95-92ad-3f8c385f2a4e', 'id': 'd7d918bc-2230-4f95-92ad-3f8c385f2a4e', 'tenant_id': 'b41e3a3b51824aaa8af84421c0ca2858', 'network_id': '2ca3759c-0a58-47e4-87f3-6639fd3edcc3', 'mac_address': '02:d7:d9:18:bc:22', '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': '164.194.246.133', 'subnet_id': 'e22acb61-48e7-4f73-bcdd-ff803598abbf'}], 'security_groups': ['ce0d4e8b-e484-4056-90d0-905fedd7c66e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b41e3a3b51824aaa8af84421c0ca2858'}} 2025-10-05 18:50:25,956 - DEBUG - Response for create_port : {'port': {'name': 'e9488e0e-4aad-4025-ac3d-b9b1b8670622', 'id': 'e9488e0e-4aad-4025-ac3d-b9b1b8670622', 'tenant_id': 'b41e3a3b51824aaa8af84421c0ca2858', 'network_id': '2ca3759c-0a58-47e4-87f3-6639fd3edcc3', 'mac_address': '02:e9:48:8e:0e:4a', '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': '106.88.36.197', 'subnet_id': '26ed35d3-0a1b-4e59-8b1c-3c19993ee8f3'}], 'security_groups': ['ce0d4e8b-e484-4056-90d0-905fedd7c66e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b41e3a3b51824aaa8af84421c0ca2858'}} 2025-10-05 18:50:26,003 - DEBUG - Services list from nova: [, , ] 2025-10-05 18:50:26,271 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4214-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4214-1) 2025-10-05 18:50:26,587 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4214-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4214-1) 2025-10-05 18:50:26,587 - INFO - Waiting for VM ctest-vn1-vm1-85743974 to be up.. 2025-10-05 18:50:26,621 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-05 18:50:31,689 - DEBUG - VM is in ACTIVE state now 2025-10-05 18:50:31,689 - INFO - VM name : ctest-vn1-vm1-85743974 2025-10-05 18:50:31,753 - DEBUG - VM ctest-vn1-vm1-85743974 ID is 6c2cd4f9-74f1-4b53-9478-f296f70acf58 2025-10-05 18:50:31,772 - DEBUG - VM ctest-vn1-vm1-85743974 launched on Node cn-jenkins-deploy-platform-ansible-os-4214-1 2025-10-05 18:50:31,952 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/6c2cd4f9-74f1-4b53-9478-f296f70acf58 2025-10-05 18:50:31,960 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/d7d918bc-2230-4f95-92ad-3f8c385f2a4e 2025-10-05 18:50:35,195 - 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 1007ms') 2025-10-05 18:50:35,195 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-85743974 failed! 2025-10-05 18:50:35,255 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-25945886:ctest-vn1-17054887 is 164.194.246.129 and allocation pool is NOT set 2025-10-05 18:50:35,255 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-25945886:ctest-vn1-17054887 is 106.88.36.193 and allocation pool is NOT set 2025-10-05 18:50:37,313 - 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=4.23 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.920 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.920/2.577/4.234/1.657 ms') 2025-10-05 18:50:37,313 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-85743974 passed 2025-10-05 18:50:37,459 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-05 18:50:37,459 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-85743974, IP 164.194.246.133, Port 22 2025-10-05 18:50:37,610 - DEBUG - VM ctest-vn1-vm1-85743974 is ready for SSH connections 2025-10-05 18:50:37,610 - INFO - Waiting for VM ctest-vn1-vm2-37725792 to be up.. 2025-10-05 18:50:37,677 - DEBUG - VM is in ACTIVE state now 2025-10-05 18:50:37,678 - INFO - VM name : ctest-vn1-vm2-37725792 2025-10-05 18:50:37,746 - DEBUG - VM ctest-vn1-vm2-37725792 ID is fc73375b-e95b-4643-822b-72812dab429b 2025-10-05 18:50:37,746 - DEBUG - VM ctest-vn1-vm2-37725792 launched on Node cn-jenkins-deploy-platform-ansible-os-4214-1 2025-10-05 18:50:37,816 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/fc73375b-e95b-4643-822b-72812dab429b 2025-10-05 18:50:37,824 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/e9488e0e-4aad-4025-ac3d-b9b1b8670622 2025-10-05 18:50:39,047 - 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.364 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.364/1.604/2.844/1.240 ms') 2025-10-05 18:50:39,047 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-37725792 passed 2025-10-05 18:50:39,195 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-05 18:50:39,195 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-37725792, IP 106.88.36.197, Port 22 2025-10-05 18:50:39,350 - DEBUG - VM ctest-vn1-vm2-37725792 is ready for SSH connections 2025-10-05 18:50:39,350 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-05 18:50:39,350 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-05 18:50:39,350 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-05 18:50:39,350 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 164.194.246.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-05 18:50:39,350 - DEBUG - ping -s 56 -c 3 -W 1 164.194.246.133 2025-10-05 18:50:42,300 - DEBUG - PING 164.194.246.133 (164.194.246.133): 56 data bytes 64 bytes from 164.194.246.133: seq=0 ttl=63 time=5.218 ms 64 bytes from 164.194.246.133: seq=1 ttl=63 time=0.702 ms 64 bytes from 164.194.246.133: seq=2 ttl=63 time=0.817 ms --- 164.194.246.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.702/2.245/5.218 ms 2025-10-05 18:50:42,300 - INFO - Ping to IP 164.194.246.133 from VM ctest-vn1-vm2-37725792 passed 2025-10-05 18:50:42,300 - INFO - Detaching port e9488e0e-4aad-4025-ac3d-b9b1b8670622 from VM ctest-vn1-vm2-37725792 2025-10-05 18:50:42,350 - INFO - Deleting VM ctest-vn1-vm2-37725792 2025-10-05 18:50:42,416 - INFO - Detaching port d7d918bc-2230-4f95-92ad-3f8c385f2a4e from VM ctest-vn1-vm1-85743974 2025-10-05 18:50:42,453 - INFO - Deleting VM ctest-vn1-vm1-85743974 2025-10-05 18:50:42,663 - DEBUG - Response for delete_port : () 2025-10-05 18:50:42,812 - DEBUG - Response for delete_port : () 2025-10-05 18:50:42,813 - INFO - Deleting VN ctest-vn1-17054887 2025-10-05 18:50:42,947 - DEBUG - Response for deleting network () 2025-10-05 18:50:43,211 - DEBUG - No XMPP flaps were noticed during the test 2025-10-05 18:50:43,211 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19] 2025-10-05 18:50:43,211 - INFO - -------------------------------------------------------------------------------- 2025-10-05 18:50:43,955 - INFO - Deleted project: ctest-TestPorts-25945886, ID : b41e3a3b-5182-4aaa-8af8-4421c0ca2858