2025-08-14 02:03:25,585 - INFO - Domain Default found not creating 2025-08-14 02:03:25,711 - INFO - Project ctest-TestPorts-41863360 not found, creating it 2025-08-14 02:03:26,158 - INFO - Created Project:ctest-TestPorts-41863360, ID : 7e6eeeed-1127-4a0c-b87d-5248000e49f5 2025-08-14 02:03:27,488 - INFO - ================================================================================ 2025-08-14 02:03:27,488 - INFO - STARTING TEST : test_ports_bindings 2025-08-14 02:03:27,488 - 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-14 02:03:27,741 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0'}} with 2025-08-14 02:03:27,741 - INFO - Initial checks done. Running the testcase now 2025-08-14 02:03:27,741 - INFO - 2025-08-14 02:03:28,252 - DEBUG - Response for create_network : {'network': {'id': '1fdc916f-01ef-4ed7-a62c-0d2376910dae', 'name': 'ctest-vn-50329240', 'tenant_id': '7e6eeeed11274a0cb87d5248000e49f5', 'project_id': '7e6eeeed11274a0cb87d5248000e49f5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-41863360', 'ctest-vn-50329240'], 'port_security_enabled': True, 'description': ''}} 2025-08-14 02:03:28,469 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b96e3bdd-7e82-4eb4-91fd-6348cf15d576', 'name': '', 'tenant_id': '7e6eeeed11274a0cb87d5248000e49f5', 'network_id': '1fdc916f-01ef-4ed7-a62c-0d2376910dae', 'ip_version': 4, 'cidr': '37.112.111.192/26', 'allocation_pools': [{'start': '37.112.111.194', 'end': '37.112.111.254'}], 'gateway_ip': '37.112.111.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '37.112.111.194', 'tags': [], 'project_id': '7e6eeeed11274a0cb87d5248000e49f5'}} 2025-08-14 02:03:28,486 - INFO - Created VN ctest-vn-50329240 2025-08-14 02:03:28,540 - DEBUG - VN ctest-vn-50329240 UUID is 1fdc916f-01ef-4ed7-a62c-0d2376910dae 2025-08-14 02:03:28,641 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-41863360', 'ctest-vmi-71679117']} 2025-08-14 02:03:28,902 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-71679117', 'id': 'aa188be6-b9b3-4ec0-9afc-aaaa7b0b5ca0', 'tenant_id': '7e6eeeed11274a0cb87d5248000e49f5', 'network_id': '1fdc916f-01ef-4ed7-a62c-0d2376910dae', 'mac_address': '02:aa:18:8b:e6:b9', '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': '37.112.111.195', 'subnet_id': 'b96e3bdd-7e82-4eb4-91fd-6348cf15d576'}], 'security_groups': ['2b4a02d9-271a-4d40-a02c-78ae055953c5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7e6eeeed11274a0cb87d5248000e49f5'}} 2025-08-14 02:03:28,902 - DEBUG - Created port aa188be6-b9b3-4ec0-9afc-aaaa7b0b5ca0 2025-08-14 02:03:29,008 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/aa188be6-b9b3-4ec0-9afc-aaaa7b0b5ca0 2025-08-14 02:03:29,296 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/aa188be6-b9b3-4ec0-9afc-aaaa7b0b5ca0 2025-08-14 02:03:29,325 - INFO - VMI aa188be6-b9b3-4ec0-9afc-aaaa7b0b5ca0 verification in API Server passed 2025-08-14 02:03:29,404 - DEBUG - Response for delete_port : () 2025-08-14 02:03:29,404 - INFO - Deleted port aa188be6-b9b3-4ec0-9afc-aaaa7b0b5ca0 2025-08-14 02:03:29,404 - INFO - Deleting VN ctest-vn-50329240 2025-08-14 02:03:29,505 - DEBUG - Response for deleting network () 2025-08-14 02:03:29,764 - DEBUG - No XMPP flaps were noticed during the test 2025-08-14 02:03:29,764 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-08-14 02:03:29,764 - INFO - -------------------------------------------------------------------------------- 2025-08-14 02:03:29,767 - INFO - ================================================================================ 2025-08-14 02:03:29,768 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-14 02:03:29,768 - 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-14 02:03:30,056 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0'}} with 2025-08-14 02:03:30,056 - INFO - Initial checks done. Running the testcase now 2025-08-14 02:03:30,056 - INFO - 2025-08-14 02:03:30,234 - DEBUG - Response for create_network : {'network': {'id': '11c1eaf3-ba5e-4f7a-9484-278add759f9d', 'name': 'ctest-vn1-87939825', 'tenant_id': '7e6eeeed11274a0cb87d5248000e49f5', 'project_id': '7e6eeeed11274a0cb87d5248000e49f5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-41863360', 'ctest-vn1-87939825'], 'port_security_enabled': True, 'description': ''}} 2025-08-14 02:03:30,395 - DEBUG - Response for create_subnet : {'subnet': {'id': '20c6ce1b-f940-4c21-a7b1-fd09f3ea885d', 'name': '', 'tenant_id': '7e6eeeed11274a0cb87d5248000e49f5', 'network_id': '11c1eaf3-ba5e-4f7a-9484-278add759f9d', 'ip_version': 4, 'cidr': '14.51.139.192/26', 'allocation_pools': [{'start': '14.51.139.194', 'end': '14.51.139.254'}], 'gateway_ip': '14.51.139.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '14.51.139.194', 'tags': [], 'project_id': '7e6eeeed11274a0cb87d5248000e49f5'}} 2025-08-14 02:03:30,540 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c29acdab-46d3-4168-8ec8-86bd713396b9', 'name': '', 'tenant_id': '7e6eeeed11274a0cb87d5248000e49f5', 'network_id': '11c1eaf3-ba5e-4f7a-9484-278add759f9d', 'ip_version': 4, 'cidr': '223.123.2.64/26', 'allocation_pools': [{'start': '223.123.2.66', 'end': '223.123.2.126'}], 'gateway_ip': '223.123.2.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '223.123.2.66', 'tags': [], 'project_id': '7e6eeeed11274a0cb87d5248000e49f5'}} 2025-08-14 02:03:30,558 - INFO - Created VN ctest-vn1-87939825 2025-08-14 02:03:30,607 - DEBUG - VN ctest-vn1-87939825 UUID is 11c1eaf3-ba5e-4f7a-9484-278add759f9d 2025-08-14 02:03:30,904 - DEBUG - Response for create_port : {'port': {'name': 'c73ca8be-a95e-4692-b9cb-b4043bd5d6bc', 'id': 'c73ca8be-a95e-4692-b9cb-b4043bd5d6bc', 'tenant_id': '7e6eeeed11274a0cb87d5248000e49f5', 'network_id': '11c1eaf3-ba5e-4f7a-9484-278add759f9d', 'mac_address': '02:c7:3c:a8:be:a9', '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': '14.51.139.197', 'subnet_id': '20c6ce1b-f940-4c21-a7b1-fd09f3ea885d'}], 'security_groups': ['2b4a02d9-271a-4d40-a02c-78ae055953c5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7e6eeeed11274a0cb87d5248000e49f5'}} 2025-08-14 02:03:31,090 - DEBUG - Response for create_port : {'port': {'name': '99efb434-7867-4973-9348-6561fa311d4b', 'id': '99efb434-7867-4973-9348-6561fa311d4b', 'tenant_id': '7e6eeeed11274a0cb87d5248000e49f5', 'network_id': '11c1eaf3-ba5e-4f7a-9484-278add759f9d', 'mac_address': '02:99:ef:b4:34:78', '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': '223.123.2.69', 'subnet_id': 'c29acdab-46d3-4168-8ec8-86bd713396b9'}], 'security_groups': ['2b4a02d9-271a-4d40-a02c-78ae055953c5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7e6eeeed11274a0cb87d5248000e49f5'}} 2025-08-14 02:03:31,146 - DEBUG - Services list from nova: [, , ] 2025-08-14 02:03:31,436 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3850-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3850-1) 2025-08-14 02:03:31,768 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3850-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3850-1) 2025-08-14 02:03:31,768 - INFO - Waiting for VM ctest-vn1-vm1-87855155 to be up.. 2025-08-14 02:03:31,802 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-14 02:03:36,881 - DEBUG - VM is in ACTIVE state now 2025-08-14 02:03:36,881 - INFO - VM name : ctest-vn1-vm1-87855155 2025-08-14 02:03:37,005 - DEBUG - VM ctest-vn1-vm1-87855155 ID is de063276-8048-46d3-8f59-d99f9c0226eb 2025-08-14 02:03:37,022 - DEBUG - VM ctest-vn1-vm1-87855155 launched on Node cn-jenkins-deploy-platform-ansible-os-3850-1 2025-08-14 02:03:37,087 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/de063276-8048-46d3-8f59-d99f9c0226eb 2025-08-14 02:03:37,095 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/c73ca8be-a95e-4692-b9cb-b4043bd5d6bc 2025-08-14 02:03:40,349 - 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-08-14 02:03:40,350 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-87855155 failed! 2025-08-14 02:03:40,404 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-41863360:ctest-vn1-87939825 is 14.51.139.193 and allocation pool is NOT set 2025-08-14 02:03:40,404 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-41863360:ctest-vn1-87939825 is 223.123.2.65 and allocation pool is NOT set 2025-08-14 02:03:42,462 - 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=5.23 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.780 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.780/3.004/5.229/2.224 ms') 2025-08-14 02:03:42,462 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-87855155 passed 2025-08-14 02:03:42,615 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 02:03:42,616 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-87855155, IP 14.51.139.197, Port 22 2025-08-14 02:03:42,775 - DEBUG - VM ctest-vn1-vm1-87855155 is ready for SSH connections 2025-08-14 02:03:42,775 - INFO - Waiting for VM ctest-vn1-vm2-08633928 to be up.. 2025-08-14 02:03:42,859 - DEBUG - VM is in ACTIVE state now 2025-08-14 02:03:42,859 - INFO - VM name : ctest-vn1-vm2-08633928 2025-08-14 02:03:42,926 - DEBUG - VM ctest-vn1-vm2-08633928 ID is 859aa717-c300-41f0-83a9-c15dc505fb62 2025-08-14 02:03:42,926 - DEBUG - VM ctest-vn1-vm2-08633928 launched on Node cn-jenkins-deploy-platform-ansible-os-3850-1 2025-08-14 02:03:42,989 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/859aa717-c300-41f0-83a9-c15dc505fb62 2025-08-14 02:03:42,998 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/99efb434-7867-4973-9348-6561fa311d4b 2025-08-14 02:03:44,231 - 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.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.600 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.600/1.687/2.775/1.087 ms') 2025-08-14 02:03:44,231 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-08633928 passed 2025-08-14 02:03:44,384 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 02:03:44,384 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-08633928, IP 223.123.2.69, Port 22 2025-08-14 02:03:44,558 - DEBUG - VM ctest-vn1-vm2-08633928 is ready for SSH connections 2025-08-14 02:03:44,558 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 02:03:44,558 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 02:03:44,558 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 02:03:44,558 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 14.51.139.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-14 02:03:44,559 - DEBUG - ping -s 56 -c 3 -W 1 14.51.139.197 2025-08-14 02:03:47,169 - DEBUG - PING 14.51.139.197 (14.51.139.197): 56 data bytes 64 bytes from 14.51.139.197: seq=0 ttl=63 time=3.762 ms 64 bytes from 14.51.139.197: seq=1 ttl=63 time=0.721 ms 64 bytes from 14.51.139.197: seq=2 ttl=63 time=0.732 ms --- 14.51.139.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.721/1.738/3.762 ms 2025-08-14 02:03:47,169 - INFO - Ping to IP 14.51.139.197 from VM ctest-vn1-vm2-08633928 passed 2025-08-14 02:03:47,169 - INFO - Detaching port 99efb434-7867-4973-9348-6561fa311d4b from VM ctest-vn1-vm2-08633928 2025-08-14 02:03:47,215 - INFO - Deleting VM ctest-vn1-vm2-08633928 2025-08-14 02:03:47,279 - INFO - Detaching port c73ca8be-a95e-4692-b9cb-b4043bd5d6bc from VM ctest-vn1-vm1-87855155 2025-08-14 02:03:47,310 - INFO - Deleting VM ctest-vn1-vm1-87855155 2025-08-14 02:03:47,549 - DEBUG - Response for delete_port : () 2025-08-14 02:03:47,713 - DEBUG - Response for delete_port : () 2025-08-14 02:03:47,714 - INFO - Deleting VN ctest-vn1-87939825 2025-08-14 02:03:47,866 - DEBUG - Response for deleting network () 2025-08-14 02:03:48,122 - DEBUG - No XMPP flaps were noticed during the test 2025-08-14 02:03:48,122 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19] 2025-08-14 02:03:48,122 - INFO - -------------------------------------------------------------------------------- 2025-08-14 02:03:48,801 - INFO - Deleted project: ctest-TestPorts-41863360, ID : 7e6eeeed-1127-4a0c-b87d-5248000e49f5