2025-08-13 18:42:49,060 - INFO - Domain Default found not creating 2025-08-13 18:42:49,189 - INFO - Project ctest-TestPorts-01345400 not found, creating it 2025-08-13 18:42:49,625 - INFO - Created Project:ctest-TestPorts-01345400, ID : 5118eb00-f747-4f54-83f2-e64c3e256b0e 2025-08-13 18:42:51,108 - INFO - ================================================================================ 2025-08-13 18:42:51,108 - INFO - STARTING TEST : test_ports_bindings 2025-08-13 18:42:51,108 - 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-08-13 18:42:51,362 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.17': '0'}} with 2025-08-13 18:42:51,362 - INFO - Initial checks done. Running the testcase now 2025-08-13 18:42:51,362 - INFO - 2025-08-13 18:42:51,888 - DEBUG - Response for create_network : {'network': {'id': 'b7f25a16-071b-4291-996e-aca3c7fd05cd', 'name': 'ctest-vn-41758888', 'tenant_id': '5118eb00f7474f5483f2e64c3e256b0e', 'project_id': '5118eb00f7474f5483f2e64c3e256b0e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-01345400', 'ctest-vn-41758888'], 'port_security_enabled': True, 'description': ''}} 2025-08-13 18:42:52,056 - DEBUG - Response for create_subnet : {'subnet': {'id': '29b4f0e1-1c7e-431d-aa5c-244ff3132500', 'name': '', 'tenant_id': '5118eb00f7474f5483f2e64c3e256b0e', 'network_id': 'b7f25a16-071b-4291-996e-aca3c7fd05cd', 'ip_version': 4, 'cidr': '175.206.157.192/26', 'allocation_pools': [{'start': '175.206.157.194', 'end': '175.206.157.254'}], 'gateway_ip': '175.206.157.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '175.206.157.194', 'tags': [], 'project_id': '5118eb00f7474f5483f2e64c3e256b0e'}} 2025-08-13 18:42:52,072 - INFO - Created VN ctest-vn-41758888 2025-08-13 18:42:52,123 - DEBUG - VN ctest-vn-41758888 UUID is b7f25a16-071b-4291-996e-aca3c7fd05cd 2025-08-13 18:42:52,230 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-01345400', 'ctest-vmi-42843018']} 2025-08-13 18:42:52,465 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-42843018', 'id': '3c77502b-52ea-4ede-b684-20332c9a1d02', 'tenant_id': '5118eb00f7474f5483f2e64c3e256b0e', 'network_id': 'b7f25a16-071b-4291-996e-aca3c7fd05cd', 'mac_address': '02:3c:77:50:2b:52', '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': '175.206.157.195', 'subnet_id': '29b4f0e1-1c7e-431d-aa5c-244ff3132500'}], 'security_groups': ['529a18b5-6e1c-4558-8ef5-a8ec7df73611'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5118eb00f7474f5483f2e64c3e256b0e'}} 2025-08-13 18:42:52,465 - DEBUG - Created port 3c77502b-52ea-4ede-b684-20332c9a1d02 2025-08-13 18:42:52,571 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/3c77502b-52ea-4ede-b684-20332c9a1d02 2025-08-13 18:42:52,865 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/3c77502b-52ea-4ede-b684-20332c9a1d02 2025-08-13 18:42:52,897 - INFO - VMI 3c77502b-52ea-4ede-b684-20332c9a1d02 verification in API Server passed 2025-08-13 18:42:52,981 - DEBUG - Response for delete_port : () 2025-08-13 18:42:52,981 - INFO - Deleted port 3c77502b-52ea-4ede-b684-20332c9a1d02 2025-08-13 18:42:52,981 - INFO - Deleting VN ctest-vn-41758888 2025-08-13 18:42:53,079 - DEBUG - Response for deleting network () 2025-08-13 18:42:53,339 - DEBUG - No XMPP flaps were noticed during the test 2025-08-13 18:42:53,339 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-08-13 18:42:53,339 - INFO - -------------------------------------------------------------------------------- 2025-08-13 18:42:53,342 - INFO - ================================================================================ 2025-08-13 18:42:53,342 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-13 18:42:53,342 - 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-08-13 18:42:53,624 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.17': '0'}} with 2025-08-13 18:42:53,624 - INFO - Initial checks done. Running the testcase now 2025-08-13 18:42:53,624 - INFO - 2025-08-13 18:42:53,795 - DEBUG - Response for create_network : {'network': {'id': '07946f53-11c0-4e6f-9b44-24b08dc06ff4', 'name': 'ctest-vn1-48330804', 'tenant_id': '5118eb00f7474f5483f2e64c3e256b0e', 'project_id': '5118eb00f7474f5483f2e64c3e256b0e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-01345400', 'ctest-vn1-48330804'], 'port_security_enabled': True, 'description': ''}} 2025-08-13 18:42:53,941 - DEBUG - Response for create_subnet : {'subnet': {'id': '4be1a009-8f22-4028-8efd-8e6e225a5432', 'name': '', 'tenant_id': '5118eb00f7474f5483f2e64c3e256b0e', 'network_id': '07946f53-11c0-4e6f-9b44-24b08dc06ff4', 'ip_version': 4, 'cidr': '110.147.102.192/26', 'allocation_pools': [{'start': '110.147.102.194', 'end': '110.147.102.254'}], 'gateway_ip': '110.147.102.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '110.147.102.194', 'tags': [], 'project_id': '5118eb00f7474f5483f2e64c3e256b0e'}} 2025-08-13 18:42:54,123 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e3698e56-0c41-431f-b0cd-0bf27f7d0598', 'name': '', 'tenant_id': '5118eb00f7474f5483f2e64c3e256b0e', 'network_id': '07946f53-11c0-4e6f-9b44-24b08dc06ff4', 'ip_version': 4, 'cidr': '5.101.250.64/26', 'allocation_pools': [{'start': '5.101.250.66', 'end': '5.101.250.126'}], 'gateway_ip': '5.101.250.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '5.101.250.66', 'tags': [], 'project_id': '5118eb00f7474f5483f2e64c3e256b0e'}} 2025-08-13 18:42:54,141 - INFO - Created VN ctest-vn1-48330804 2025-08-13 18:42:54,191 - DEBUG - VN ctest-vn1-48330804 UUID is 07946f53-11c0-4e6f-9b44-24b08dc06ff4 2025-08-13 18:42:54,533 - DEBUG - Response for create_port : {'port': {'name': '9bcbb6da-1161-48ad-a13b-6305cd407689', 'id': '9bcbb6da-1161-48ad-a13b-6305cd407689', 'tenant_id': '5118eb00f7474f5483f2e64c3e256b0e', 'network_id': '07946f53-11c0-4e6f-9b44-24b08dc06ff4', 'mac_address': '02:9b:cb:b6:da:11', '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': '110.147.102.197', 'subnet_id': '4be1a009-8f22-4028-8efd-8e6e225a5432'}], 'security_groups': ['529a18b5-6e1c-4558-8ef5-a8ec7df73611'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5118eb00f7474f5483f2e64c3e256b0e'}} 2025-08-13 18:42:54,702 - DEBUG - Response for create_port : {'port': {'name': 'ece999c7-3e8d-4f05-be5a-d947f4e2dd40', 'id': 'ece999c7-3e8d-4f05-be5a-d947f4e2dd40', 'tenant_id': '5118eb00f7474f5483f2e64c3e256b0e', 'network_id': '07946f53-11c0-4e6f-9b44-24b08dc06ff4', 'mac_address': '02:ec:e9:99:c7:3e', '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': '5.101.250.69', 'subnet_id': 'e3698e56-0c41-431f-b0cd-0bf27f7d0598'}], 'security_groups': ['529a18b5-6e1c-4558-8ef5-a8ec7df73611'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5118eb00f7474f5483f2e64c3e256b0e'}} 2025-08-13 18:42:54,752 - DEBUG - Services list from nova: [, , ] 2025-08-13 18:42:55,042 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3846-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3846-1) 2025-08-13 18:42:55,417 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3846-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3846-1) 2025-08-13 18:42:55,417 - INFO - Waiting for VM ctest-vn1-vm1-43032097 to be up.. 2025-08-13 18:42:55,568 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-13 18:43:00,636 - DEBUG - VM is in ACTIVE state now 2025-08-13 18:43:00,636 - INFO - VM name : ctest-vn1-vm1-43032097 2025-08-13 18:43:00,700 - DEBUG - VM ctest-vn1-vm1-43032097 ID is b5dce1a0-6ae1-41b9-beb6-23cae42fb0da 2025-08-13 18:43:00,718 - DEBUG - VM ctest-vn1-vm1-43032097 launched on Node cn-jenkins-deploy-platform-ansible-os-3846-1 2025-08-13 18:43:00,794 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/b5dce1a0-6ae1-41b9-beb6-23cae42fb0da 2025-08-13 18:43:00,803 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/9bcbb6da-1161-48ad-a13b-6305cd407689 2025-08-13 18:43:04,060 - 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 1016ms') 2025-08-13 18:43:04,060 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-43032097 failed! 2025-08-13 18:43:04,115 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-01345400:ctest-vn1-48330804 is 110.147.102.193 and allocation pool is NOT set 2025-08-13 18:43:04,115 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-01345400:ctest-vn1-48330804 is 5.101.250.65 and allocation pool is NOT set 2025-08-13 18:43:06,176 - 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=2.51 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.381 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.381/1.447/2.513/1.066 ms') 2025-08-13 18:43:06,176 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-43032097 passed 2025-08-13 18:43:06,323 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 18:43:06,323 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-43032097, IP 110.147.102.197, Port 22 2025-08-13 18:43:06,478 - DEBUG - VM ctest-vn1-vm1-43032097 is ready for SSH connections 2025-08-13 18:43:06,478 - INFO - Waiting for VM ctest-vn1-vm2-48572515 to be up.. 2025-08-13 18:43:06,549 - DEBUG - VM is in ACTIVE state now 2025-08-13 18:43:06,549 - INFO - VM name : ctest-vn1-vm2-48572515 2025-08-13 18:43:06,613 - DEBUG - VM ctest-vn1-vm2-48572515 ID is 821aead7-246d-4645-a3be-74c9b98ebd9f 2025-08-13 18:43:06,613 - DEBUG - VM ctest-vn1-vm2-48572515 launched on Node cn-jenkins-deploy-platform-ansible-os-3846-1 2025-08-13 18:43:06,676 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/821aead7-246d-4645-a3be-74c9b98ebd9f 2025-08-13 18:43:06,683 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/ece999c7-3e8d-4f05-be5a-d947f4e2dd40 2025-08-13 18:43:07,919 - 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.23 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.403 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.403/1.818/3.234/1.415 ms') 2025-08-13 18:43:07,919 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-48572515 passed 2025-08-13 18:43:08,071 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 18:43:08,071 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-48572515, IP 5.101.250.69, Port 22 2025-08-13 18:43:08,227 - DEBUG - VM ctest-vn1-vm2-48572515 is ready for SSH connections 2025-08-13 18:43:08,227 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 18:43:08,227 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 18:43:08,227 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 18:43:08,227 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 110.147.102.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-08-13 18:43:08,227 - DEBUG - ping -s 56 -c 3 -W 1 110.147.102.197 2025-08-13 18:43:10,873 - DEBUG - PING 110.147.102.197 (110.147.102.197): 56 data bytes 64 bytes from 110.147.102.197: seq=0 ttl=63 time=3.227 ms 64 bytes from 110.147.102.197: seq=1 ttl=63 time=0.733 ms 64 bytes from 110.147.102.197: seq=2 ttl=63 time=0.801 ms --- 110.147.102.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.733/1.587/3.227 ms 2025-08-13 18:43:10,873 - INFO - Ping to IP 110.147.102.197 from VM ctest-vn1-vm2-48572515 passed 2025-08-13 18:43:10,873 - INFO - Detaching port ece999c7-3e8d-4f05-be5a-d947f4e2dd40 from VM ctest-vn1-vm2-48572515 2025-08-13 18:43:10,926 - INFO - Deleting VM ctest-vn1-vm2-48572515 2025-08-13 18:43:11,014 - INFO - Detaching port 9bcbb6da-1161-48ad-a13b-6305cd407689 from VM ctest-vn1-vm1-43032097 2025-08-13 18:43:11,051 - INFO - Deleting VM ctest-vn1-vm1-43032097 2025-08-13 18:43:11,353 - DEBUG - Response for delete_port : () 2025-08-13 18:43:11,519 - DEBUG - Response for delete_port : () 2025-08-13 18:43:11,519 - INFO - Deleting VN ctest-vn1-48330804 2025-08-13 18:43:11,680 - DEBUG - Response for deleting network () 2025-08-13 18:43:11,944 - DEBUG - No XMPP flaps were noticed during the test 2025-08-13 18:43:11,944 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18] 2025-08-13 18:43:11,944 - INFO - -------------------------------------------------------------------------------- 2025-08-13 18:43:12,659 - INFO - Deleted project: ctest-TestPorts-01345400, ID : 5118eb00-f747-4f54-83f2-e64c3e256b0e