2025-10-21 17:48:37,602 - INFO - Domain Default found not creating 2025-10-21 17:48:37,767 - INFO - Project ctest-TestPorts-35689364 not found, creating it 2025-10-21 17:48:38,340 - INFO - Created Project:ctest-TestPorts-35689364, ID : 2c4f8864-f134-4ddc-b1d6-45364e4bc16c 2025-10-21 17:48:40,418 - INFO - ================================================================================ 2025-10-21 17:48:40,418 - INFO - STARTING TEST : test_ports_bindings 2025-10-21 17:48:40,418 - 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-21 17:48:40,733 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-10-21 17:48:40,733 - INFO - Initial checks done. Running the testcase now 2025-10-21 17:48:40,733 - INFO - 2025-10-21 17:48:41,483 - DEBUG - Response for create_network : {'network': {'id': 'b95e7dbb-648c-4c67-bc81-ed9627c02c96', 'name': 'ctest-vn-74529652', 'tenant_id': '2c4f8864f1344ddcb1d645364e4bc16c', 'project_id': '2c4f8864f1344ddcb1d645364e4bc16c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-35689364', 'ctest-vn-74529652'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 17:48:41,723 - DEBUG - Response for create_subnet : {'subnet': {'id': '37516e6f-78e6-4713-986d-0e85721b4339', 'name': '', 'tenant_id': '2c4f8864f1344ddcb1d645364e4bc16c', 'network_id': 'b95e7dbb-648c-4c67-bc81-ed9627c02c96', 'ip_version': 4, 'cidr': '87.250.132.192/26', 'allocation_pools': [{'start': '87.250.132.194', 'end': '87.250.132.254'}], 'gateway_ip': '87.250.132.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '87.250.132.194', 'tags': [], 'project_id': '2c4f8864f1344ddcb1d645364e4bc16c'}} 2025-10-21 17:48:41,746 - INFO - Created VN ctest-vn-74529652 2025-10-21 17:48:41,801 - DEBUG - VN ctest-vn-74529652 UUID is b95e7dbb-648c-4c67-bc81-ed9627c02c96 2025-10-21 17:48:41,962 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-35689364', 'ctest-vmi-42914664']} 2025-10-21 17:48:42,306 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-42914664', 'id': 'fbc63787-e977-42b8-ab8a-d77178760332', 'tenant_id': '2c4f8864f1344ddcb1d645364e4bc16c', 'network_id': 'b95e7dbb-648c-4c67-bc81-ed9627c02c96', 'mac_address': '02:fb:c6:37:87:e9', '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': '87.250.132.195', 'subnet_id': '37516e6f-78e6-4713-986d-0e85721b4339'}], 'security_groups': ['18d511af-001e-4859-9f9e-528414da7370'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2c4f8864f1344ddcb1d645364e4bc16c'}} 2025-10-21 17:48:42,306 - DEBUG - Created port fbc63787-e977-42b8-ab8a-d77178760332 2025-10-21 17:48:42,425 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/fbc63787-e977-42b8-ab8a-d77178760332 2025-10-21 17:48:42,726 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/fbc63787-e977-42b8-ab8a-d77178760332 2025-10-21 17:48:42,782 - INFO - VMI fbc63787-e977-42b8-ab8a-d77178760332 verification in API Server passed 2025-10-21 17:48:42,945 - DEBUG - Response for delete_port : () 2025-10-21 17:48:42,945 - INFO - Deleted port fbc63787-e977-42b8-ab8a-d77178760332 2025-10-21 17:48:42,945 - INFO - Deleting VN ctest-vn-74529652 2025-10-21 17:48:43,055 - DEBUG - Response for deleting network () 2025-10-21 17:48:43,342 - DEBUG - No XMPP flaps were noticed during the test
2025-10-21 17:48:43,343 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-10-21 17:48:43,343 - INFO - -------------------------------------------------------------------------------- 2025-10-21 17:48:43,346 - INFO - ================================================================================ 2025-10-21 17:48:43,346 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-21 17:48:43,346 - 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-21 17:48:43,668 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-10-21 17:48:43,668 - INFO - Initial checks done. Running the testcase now 2025-10-21 17:48:43,669 - INFO - 2025-10-21 17:48:43,959 - DEBUG - Response for create_network : {'network': {'id': 'f23aaab3-194a-467e-ada9-a0edbfbb787e', 'name': 'ctest-vn1-29806412', 'tenant_id': '2c4f8864f1344ddcb1d645364e4bc16c', 'project_id': '2c4f8864f1344ddcb1d645364e4bc16c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-35689364', 'ctest-vn1-29806412'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 17:48:44,227 - DEBUG - Response for create_subnet : {'subnet': {'id': '34f9a5f7-1677-4f7b-a2d2-eef48c29dc4e', 'name': '', 'tenant_id': '2c4f8864f1344ddcb1d645364e4bc16c', 'network_id': 'f23aaab3-194a-467e-ada9-a0edbfbb787e', 'ip_version': 4, 'cidr': '210.11.22.0/26', 'allocation_pools': [{'start': '210.11.22.2', 'end': '210.11.22.62'}], 'gateway_ip': '210.11.22.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '210.11.22.2', 'tags': [], 'project_id': '2c4f8864f1344ddcb1d645364e4bc16c'}} 2025-10-21 17:48:44,464 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a29b4b05-a043-4d67-98dc-cff80b718b21', 'name': '', 'tenant_id': '2c4f8864f1344ddcb1d645364e4bc16c', 'network_id': 'f23aaab3-194a-467e-ada9-a0edbfbb787e', 'ip_version': 4, 'cidr': '144.155.25.192/26', 'allocation_pools': [{'start': '144.155.25.194', 'end': '144.155.25.254'}], 'gateway_ip': '144.155.25.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.155.25.194', 'tags': [], 'project_id': '2c4f8864f1344ddcb1d645364e4bc16c'}} 2025-10-21 17:48:44,497 - INFO - Created VN ctest-vn1-29806412 2025-10-21 17:48:44,566 - DEBUG - VN ctest-vn1-29806412 UUID is f23aaab3-194a-467e-ada9-a0edbfbb787e 2025-10-21 17:48:45,049 - DEBUG - Response for create_port : {'port': {'name': 'caf715c3-068e-4328-b879-8a8edc351910', 'id': 'caf715c3-068e-4328-b879-8a8edc351910', 'tenant_id': '2c4f8864f1344ddcb1d645364e4bc16c', 'network_id': 'f23aaab3-194a-467e-ada9-a0edbfbb787e', 'mac_address': '02:ca:f7:15:c3:06', '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': '210.11.22.5', 'subnet_id': '34f9a5f7-1677-4f7b-a2d2-eef48c29dc4e'}], 'security_groups': ['18d511af-001e-4859-9f9e-528414da7370'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2c4f8864f1344ddcb1d645364e4bc16c'}} 2025-10-21 17:48:45,237 - DEBUG - Response for create_port : {'port': {'name': '92fd6b11-b550-4fbb-8fa4-ced7a2197b43', 'id': '92fd6b11-b550-4fbb-8fa4-ced7a2197b43', 'tenant_id': '2c4f8864f1344ddcb1d645364e4bc16c', 'network_id': 'f23aaab3-194a-467e-ada9-a0edbfbb787e', 'mac_address': '02:92:fd:6b:11: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': '144.155.25.197', 'subnet_id': 'a29b4b05-a043-4d67-98dc-cff80b718b21'}], 'security_groups': ['18d511af-001e-4859-9f9e-528414da7370'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2c4f8864f1344ddcb1d645364e4bc16c'}} 2025-10-21 17:48:45,299 - DEBUG - Services list from nova: [, , ] 2025-10-21 17:48:45,982 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4401-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4401-1) 2025-10-21 17:48:46,845 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4401-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4401-1) 2025-10-21 17:48:46,845 - INFO - Waiting for VM ctest-vn1-vm1-14050398 to be up.. 2025-10-21 17:48:46,920 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-21 17:48:52,052 - DEBUG - VM is in ACTIVE state now 2025-10-21 17:48:52,053 - INFO - VM name : ctest-vn1-vm1-14050398 2025-10-21 17:48:52,146 - DEBUG - VM ctest-vn1-vm1-14050398 ID is 04023a5f-8d1c-41da-b88c-0c9452c17240 2025-10-21 17:48:52,167 - DEBUG - VM ctest-vn1-vm1-14050398 launched on Node cn-jenkins-deploy-platform-ansible-os-4401-1 2025-10-21 17:48:52,256 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/04023a5f-8d1c-41da-b88c-0c9452c17240 2025-10-21 17:48:52,265 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/caf715c3-068e-4328-b879-8a8edc351910 2025-10-21 17:48:55,549 - 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 1017ms') 2025-10-21 17:48:55,549 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-14050398 failed! 2025-10-21 17:48:55,613 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-35689364:ctest-vn1-29806412 is 210.11.22.1 and allocation pool is NOT set 2025-10-21 17:48:55,613 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-35689364:ctest-vn1-29806412 is 144.155.25.193 and allocation pool is NOT set 2025-10-21 17:48:59,716 - 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 1018ms') 2025-10-21 17:48:59,716 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-14050398 failed! 2025-10-21 17:48:59,782 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-35689364:ctest-vn1-29806412 is 210.11.22.1 and allocation pool is NOT set 2025-10-21 17:48:59,782 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-35689364:ctest-vn1-29806412 is 144.155.25.193 and allocation pool is NOT set 2025-10-21 17:49:01,850 - 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=6.24 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.490 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.490/3.362/6.235/2.872 ms') 2025-10-21 17:49:01,850 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-14050398 passed 2025-10-21 17:49:02,009 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 17:49:02,009 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-14050398, IP 210.11.22.5, Port 22 2025-10-21 17:49:02,195 - DEBUG - VM ctest-vn1-vm1-14050398 is ready for SSH connections 2025-10-21 17:49:02,195 - INFO - Waiting for VM ctest-vn1-vm2-90518577 to be up.. 2025-10-21 17:49:02,356 - DEBUG - VM is in ACTIVE state now 2025-10-21 17:49:02,356 - INFO - VM name : ctest-vn1-vm2-90518577 2025-10-21 17:49:02,468 - DEBUG - VM ctest-vn1-vm2-90518577 ID is 2f717777-e7a2-433f-9d38-4e51afe46740 2025-10-21 17:49:02,468 - DEBUG - VM ctest-vn1-vm2-90518577 launched on Node cn-jenkins-deploy-platform-ansible-os-4401-1 2025-10-21 17:49:02,589 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/2f717777-e7a2-433f-9d38-4e51afe46740 2025-10-21 17:49:02,601 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/92fd6b11-b550-4fbb-8fa4-ced7a2197b43 2025-10-21 17:49:03,871 - 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=7.82 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.575 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.575/4.195/7.816/3.620 ms') 2025-10-21 17:49:03,871 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-90518577 passed 2025-10-21 17:49:04,033 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 17:49:04,033 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-90518577, IP 144.155.25.197, Port 22 2025-10-21 17:49:04,230 - DEBUG - VM ctest-vn1-vm2-90518577 is ready for SSH connections 2025-10-21 17:49:04,230 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 17:49:04,230 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 17:49:04,230 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 17:49:04,230 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 210.11.22.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-21 17:49:04,230 - DEBUG - ping -s 56 -c 3 -W 1 210.11.22.5 2025-10-21 17:49:07,237 - DEBUG - PING 210.11.22.5 (210.11.22.5): 56 data bytes 64 bytes from 210.11.22.5: seq=0 ttl=63 time=4.458 ms 64 bytes from 210.11.22.5: seq=1 ttl=63 time=2.085 ms 64 bytes from 210.11.22.5: seq=2 ttl=63 time=1.199 ms --- 210.11.22.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.199/2.580/4.458 ms 2025-10-21 17:49:07,238 - INFO - Ping to IP 210.11.22.5 from VM ctest-vn1-vm2-90518577 passed 2025-10-21 17:49:07,238 - INFO - Detaching port 92fd6b11-b550-4fbb-8fa4-ced7a2197b43 from VM ctest-vn1-vm2-90518577 2025-10-21 17:49:07,370 - INFO - Deleting VM ctest-vn1-vm2-90518577 2025-10-21 17:49:07,533 - INFO - Detaching port caf715c3-068e-4328-b879-8a8edc351910 from VM ctest-vn1-vm1-14050398 2025-10-21 17:49:07,593 - INFO - Deleting VM ctest-vn1-vm1-14050398 2025-10-21 17:49:07,970 - DEBUG - Response for delete_port : () 2025-10-21 17:49:08,137 - DEBUG - Response for delete_port : () 2025-10-21 17:49:08,137 - INFO - Deleting VN ctest-vn1-29806412 2025-10-21 17:49:08,273 - DEBUG - Response for deleting network () 2025-10-21 17:49:08,562 - DEBUG - No XMPP flaps were noticed during the test
2025-10-21 17:49:08,562 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:25]
2025-10-21 17:49:08,563 - INFO - -------------------------------------------------------------------------------- 2025-10-21 17:49:09,278 - INFO - Deleted project: ctest-TestPorts-35689364, ID : 2c4f8864-f134-4ddc-b1d6-45364e4bc16c