2025-10-23 18:26:51,513 - INFO - Domain Default found not creating 2025-10-23 18:26:51,648 - INFO - Project ctest-TestPorts-45016537 not found, creating it 2025-10-23 18:26:52,102 - INFO - Created Project:ctest-TestPorts-45016537, ID : 456b17ff-6b87-45ef-a4da-0e54be10ea2e 2025-10-23 18:26:53,532 - INFO - ================================================================================ 2025-10-23 18:26:53,532 - INFO - STARTING TEST : test_ports_bindings 2025-10-23 18:26:53,532 - 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-23 18:26:53,786 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.17': '0'}} with 2025-10-23 18:26:53,786 - INFO - Initial checks done. Running the testcase now 2025-10-23 18:26:53,787 - INFO - 2025-10-23 18:26:54,340 - DEBUG - Response for create_network : {'network': {'id': '271ff08b-e9bb-42e1-b46b-c9fa1562f7e9', 'name': 'ctest-vn-95481099', 'tenant_id': '456b17ff6b8745efa4da0e54be10ea2e', 'project_id': '456b17ff6b8745efa4da0e54be10ea2e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-45016537', 'ctest-vn-95481099'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 18:26:54,499 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd5afce0d-7a34-4d8f-8711-6168fbbe4a5d', 'name': '', 'tenant_id': '456b17ff6b8745efa4da0e54be10ea2e', 'network_id': '271ff08b-e9bb-42e1-b46b-c9fa1562f7e9', 'ip_version': 4, 'cidr': '117.133.102.64/26', 'allocation_pools': [{'start': '117.133.102.66', 'end': '117.133.102.126'}], 'gateway_ip': '117.133.102.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '117.133.102.66', 'tags': [], 'project_id': '456b17ff6b8745efa4da0e54be10ea2e'}} 2025-10-23 18:26:54,518 - INFO - Created VN ctest-vn-95481099 2025-10-23 18:26:54,569 - DEBUG - VN ctest-vn-95481099 UUID is 271ff08b-e9bb-42e1-b46b-c9fa1562f7e9 2025-10-23 18:26:54,675 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-45016537', 'ctest-vmi-47674427']} 2025-10-23 18:26:54,929 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-47674427', 'id': '0494b5f2-1617-4997-ad52-a92a1c14596a', 'tenant_id': '456b17ff6b8745efa4da0e54be10ea2e', 'network_id': '271ff08b-e9bb-42e1-b46b-c9fa1562f7e9', 'mac_address': '02:04:94:b5:f2:16', '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': '117.133.102.67', 'subnet_id': 'd5afce0d-7a34-4d8f-8711-6168fbbe4a5d'}], 'security_groups': ['694a60e3-4bbc-4f07-8d42-954f41c2e09f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '456b17ff6b8745efa4da0e54be10ea2e'}} 2025-10-23 18:26:54,929 - DEBUG - Created port 0494b5f2-1617-4997-ad52-a92a1c14596a 2025-10-23 18:26:55,029 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/0494b5f2-1617-4997-ad52-a92a1c14596a 2025-10-23 18:26:55,318 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/0494b5f2-1617-4997-ad52-a92a1c14596a 2025-10-23 18:26:55,347 - INFO - VMI 0494b5f2-1617-4997-ad52-a92a1c14596a verification in API Server passed 2025-10-23 18:26:55,437 - DEBUG - Response for delete_port : () 2025-10-23 18:26:55,437 - INFO - Deleted port 0494b5f2-1617-4997-ad52-a92a1c14596a 2025-10-23 18:26:55,437 - INFO - Deleting VN ctest-vn-95481099 2025-10-23 18:26:55,532 - DEBUG - Response for deleting network () 2025-10-23 18:26:55,794 - DEBUG - No XMPP flaps were noticed during the test 2025-10-23 18:26:55,794 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-10-23 18:26:55,794 - INFO - -------------------------------------------------------------------------------- 2025-10-23 18:26:55,796 - INFO - ================================================================================ 2025-10-23 18:26:55,796 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-23 18:26:55,796 - 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-23 18:26:56,083 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.17': '0'}} with 2025-10-23 18:26:56,083 - INFO - Initial checks done. Running the testcase now 2025-10-23 18:26:56,083 - INFO - 2025-10-23 18:26:56,255 - DEBUG - Response for create_network : {'network': {'id': '2b7efb6d-e1da-437f-9599-3fb2d4a14c4a', 'name': 'ctest-vn1-03043046', 'tenant_id': '456b17ff6b8745efa4da0e54be10ea2e', 'project_id': '456b17ff6b8745efa4da0e54be10ea2e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-45016537', 'ctest-vn1-03043046'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 18:26:56,442 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a3ea7543-a603-4653-a776-ec46a210b7fc', 'name': '', 'tenant_id': '456b17ff6b8745efa4da0e54be10ea2e', 'network_id': '2b7efb6d-e1da-437f-9599-3fb2d4a14c4a', 'ip_version': 4, 'cidr': '40.180.32.192/26', 'allocation_pools': [{'start': '40.180.32.194', 'end': '40.180.32.254'}], 'gateway_ip': '40.180.32.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '40.180.32.194', 'tags': [], 'project_id': '456b17ff6b8745efa4da0e54be10ea2e'}} 2025-10-23 18:26:56,599 - DEBUG - Response for create_subnet : {'subnet': {'id': '422e503e-b32d-47a6-ad5b-8744cd53fbd5', 'name': '', 'tenant_id': '456b17ff6b8745efa4da0e54be10ea2e', 'network_id': '2b7efb6d-e1da-437f-9599-3fb2d4a14c4a', 'ip_version': 4, 'cidr': '205.196.221.192/26', 'allocation_pools': [{'start': '205.196.221.194', 'end': '205.196.221.254'}], 'gateway_ip': '205.196.221.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '205.196.221.194', 'tags': [], 'project_id': '456b17ff6b8745efa4da0e54be10ea2e'}} 2025-10-23 18:26:56,616 - INFO - Created VN ctest-vn1-03043046 2025-10-23 18:26:56,665 - DEBUG - VN ctest-vn1-03043046 UUID is 2b7efb6d-e1da-437f-9599-3fb2d4a14c4a 2025-10-23 18:26:56,940 - DEBUG - Response for create_port : {'port': {'name': '4e67a9c6-0274-4e57-b399-20d3a6983500', 'id': '4e67a9c6-0274-4e57-b399-20d3a6983500', 'tenant_id': '456b17ff6b8745efa4da0e54be10ea2e', 'network_id': '2b7efb6d-e1da-437f-9599-3fb2d4a14c4a', 'mac_address': '02:4e:67:a9:c6:02', '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': '40.180.32.197', 'subnet_id': 'a3ea7543-a603-4653-a776-ec46a210b7fc'}], 'security_groups': ['694a60e3-4bbc-4f07-8d42-954f41c2e09f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '456b17ff6b8745efa4da0e54be10ea2e'}} 2025-10-23 18:26:57,110 - DEBUG - Response for create_port : {'port': {'name': 'af28b34d-507b-433c-b121-b1af32c7145e', 'id': 'af28b34d-507b-433c-b121-b1af32c7145e', 'tenant_id': '456b17ff6b8745efa4da0e54be10ea2e', 'network_id': '2b7efb6d-e1da-437f-9599-3fb2d4a14c4a', 'mac_address': '02:af:28:b3:4d:50', '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': '205.196.221.197', 'subnet_id': '422e503e-b32d-47a6-ad5b-8744cd53fbd5'}], 'security_groups': ['694a60e3-4bbc-4f07-8d42-954f41c2e09f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '456b17ff6b8745efa4da0e54be10ea2e'}} 2025-10-23 18:26:57,170 - DEBUG - Services list from nova: [, , ] 2025-10-23 18:26:57,472 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4464-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4464-1) 2025-10-23 18:26:57,865 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4464-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4464-1) 2025-10-23 18:26:57,865 - INFO - Waiting for VM ctest-vn1-vm1-22573700 to be up.. 2025-10-23 18:26:57,910 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-23 18:27:02,992 - DEBUG - VM is in ACTIVE state now 2025-10-23 18:27:02,992 - INFO - VM name : ctest-vn1-vm1-22573700 2025-10-23 18:27:03,060 - DEBUG - VM ctest-vn1-vm1-22573700 ID is da5d754f-11ec-4347-88ed-ede462954d5d 2025-10-23 18:27:03,079 - DEBUG - VM ctest-vn1-vm1-22573700 launched on Node cn-jenkins-deploy-platform-ansible-os-4464-1 2025-10-23 18:27:03,153 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/da5d754f-11ec-4347-88ed-ede462954d5d 2025-10-23 18:27:03,162 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/4e67a9c6-0274-4e57-b399-20d3a6983500 2025-10-23 18:27:06,403 - 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 1001ms') 2025-10-23 18:27:06,404 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-22573700 failed! 2025-10-23 18:27:06,457 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-45016537:ctest-vn1-03043046 is 40.180.32.193 and allocation pool is NOT set 2025-10-23 18:27:06,458 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-45016537:ctest-vn1-03043046 is 205.196.221.193 and allocation pool is NOT set 2025-10-23 18:27:08,522 - 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=12.1 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.44 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.437/6.747/12.058/5.310 ms') 2025-10-23 18:27:08,522 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-22573700 passed 2025-10-23 18:27:08,669 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 18:27:08,670 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-22573700, IP 40.180.32.197, Port 22 2025-10-23 18:27:08,821 - DEBUG - VM ctest-vn1-vm1-22573700 is ready for SSH connections 2025-10-23 18:27:08,821 - INFO - Waiting for VM ctest-vn1-vm2-33985432 to be up.. 2025-10-23 18:27:08,891 - DEBUG - VM is in ACTIVE state now 2025-10-23 18:27:08,891 - INFO - VM name : ctest-vn1-vm2-33985432 2025-10-23 18:27:08,956 - DEBUG - VM ctest-vn1-vm2-33985432 ID is eda1e2dd-f8c7-410a-a2ca-d5d43dec2606 2025-10-23 18:27:08,956 - DEBUG - VM ctest-vn1-vm2-33985432 launched on Node cn-jenkins-deploy-platform-ansible-os-4464-1 2025-10-23 18:27:09,028 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/eda1e2dd-f8c7-410a-a2ca-d5d43dec2606 2025-10-23 18:27:09,035 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/af28b34d-507b-433c-b121-b1af32c7145e 2025-10-23 18:27:10,269 - 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.16 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.425 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.425/1.794/3.164/1.369 ms') 2025-10-23 18:27:10,269 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-33985432 passed 2025-10-23 18:27:10,417 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 18:27:10,417 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-33985432, IP 205.196.221.197, Port 22 2025-10-23 18:27:10,574 - DEBUG - VM ctest-vn1-vm2-33985432 is ready for SSH connections 2025-10-23 18:27:10,574 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 18:27:10,574 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 18:27:10,574 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 18:27:10,574 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 40.180.32.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-23 18:27:10,574 - DEBUG - ping -s 56 -c 3 -W 1 40.180.32.197 2025-10-23 18:27:13,224 - DEBUG - PING 40.180.32.197 (40.180.32.197): 56 data bytes 64 bytes from 40.180.32.197: seq=0 ttl=63 time=3.808 ms 64 bytes from 40.180.32.197: seq=1 ttl=63 time=0.820 ms 64 bytes from 40.180.32.197: seq=2 ttl=63 time=0.704 ms --- 40.180.32.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.704/1.777/3.808 ms 2025-10-23 18:27:13,224 - INFO - Ping to IP 40.180.32.197 from VM ctest-vn1-vm2-33985432 passed 2025-10-23 18:27:13,224 - INFO - Detaching port af28b34d-507b-433c-b121-b1af32c7145e from VM ctest-vn1-vm2-33985432 2025-10-23 18:27:13,272 - INFO - Deleting VM ctest-vn1-vm2-33985432 2025-10-23 18:27:13,336 - INFO - Detaching port 4e67a9c6-0274-4e57-b399-20d3a6983500 from VM ctest-vn1-vm1-22573700 2025-10-23 18:27:13,368 - INFO - Deleting VM ctest-vn1-vm1-22573700 2025-10-23 18:27:13,580 - DEBUG - Response for delete_port : () 2025-10-23 18:27:13,739 - DEBUG - Response for delete_port : () 2025-10-23 18:27:13,739 - INFO - Deleting VN ctest-vn1-03043046 2025-10-23 18:27:13,863 - DEBUG - Response for deleting network () 2025-10-23 18:27:14,119 - DEBUG - No XMPP flaps were noticed during the test 2025-10-23 18:27:14,119 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19] 2025-10-23 18:27:14,119 - INFO - -------------------------------------------------------------------------------- 2025-10-23 18:27:14,803 - INFO - Deleted project: ctest-TestPorts-45016537, ID : 456b17ff-6b87-45ef-a4da-0e54be10ea2e