2025-08-07 02:13:39,036 - INFO - Domain Default found not creating 2025-08-07 02:13:39,178 - INFO - Project ctest-TestPorts-79374110 not found, creating it 2025-08-07 02:13:39,628 - INFO - Created Project:ctest-TestPorts-79374110, ID : 0708fffc-bf14-4da2-a65c-475dd4ec44f2 2025-08-07 02:13:41,172 - INFO - ================================================================================ 2025-08-07 02:13:41,172 - INFO - STARTING TEST : test_ports_bindings 2025-08-07 02:13:41,172 - 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-07 02:13:41,428 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-08-07 02:13:41,428 - INFO - Initial checks done. Running the testcase now 2025-08-07 02:13:41,428 - INFO - 2025-08-07 02:13:42,046 - DEBUG - Response for create_network : {'network': {'id': '8fa7ba9b-2dc0-41e6-ba17-bd70f2d7d71d', 'name': 'ctest-vn-97339673', 'tenant_id': '0708fffcbf144da2a65c475dd4ec44f2', 'project_id': '0708fffcbf144da2a65c475dd4ec44f2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-79374110', 'ctest-vn-97339673'], 'port_security_enabled': True, 'description': ''}} 2025-08-07 02:13:42,222 - DEBUG - Response for create_subnet : {'subnet': {'id': '0751af41-6baa-47b8-a79f-46ec0ff85418', 'name': '', 'tenant_id': '0708fffcbf144da2a65c475dd4ec44f2', 'network_id': '8fa7ba9b-2dc0-41e6-ba17-bd70f2d7d71d', 'ip_version': 4, 'cidr': '59.107.184.128/26', 'allocation_pools': [{'start': '59.107.184.130', 'end': '59.107.184.190'}], 'gateway_ip': '59.107.184.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '59.107.184.130', 'tags': [], 'project_id': '0708fffcbf144da2a65c475dd4ec44f2'}} 2025-08-07 02:13:42,244 - INFO - Created VN ctest-vn-97339673 2025-08-07 02:13:42,298 - DEBUG - VN ctest-vn-97339673 UUID is 8fa7ba9b-2dc0-41e6-ba17-bd70f2d7d71d 2025-08-07 02:13:42,409 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-79374110', 'ctest-vmi-60706940']} 2025-08-07 02:13:42,672 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-60706940', 'id': '1b03859b-d8cb-49ce-a53d-5ee99bcd1183', 'tenant_id': '0708fffcbf144da2a65c475dd4ec44f2', 'network_id': '8fa7ba9b-2dc0-41e6-ba17-bd70f2d7d71d', 'mac_address': '02:1b:03:85:9b:d8', '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': '59.107.184.131', 'subnet_id': '0751af41-6baa-47b8-a79f-46ec0ff85418'}], 'security_groups': ['a8ba90ac-c5f9-4806-8f12-6696f1abf302'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0708fffcbf144da2a65c475dd4ec44f2'}} 2025-08-07 02:13:42,672 - DEBUG - Created port 1b03859b-d8cb-49ce-a53d-5ee99bcd1183 2025-08-07 02:13:42,782 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/1b03859b-d8cb-49ce-a53d-5ee99bcd1183 2025-08-07 02:13:43,117 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/1b03859b-d8cb-49ce-a53d-5ee99bcd1183 2025-08-07 02:13:43,151 - INFO - VMI 1b03859b-d8cb-49ce-a53d-5ee99bcd1183 verification in API Server passed 2025-08-07 02:13:43,243 - DEBUG - Response for delete_port : () 2025-08-07 02:13:43,243 - INFO - Deleted port 1b03859b-d8cb-49ce-a53d-5ee99bcd1183 2025-08-07 02:13:43,243 - INFO - Deleting VN ctest-vn-97339673 2025-08-07 02:13:43,350 - DEBUG - Response for deleting network () 2025-08-07 02:13:43,608 - DEBUG - No XMPP flaps were noticed during the test 2025-08-07 02:13:43,608 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-08-07 02:13:43,608 - INFO - -------------------------------------------------------------------------------- 2025-08-07 02:13:43,611 - INFO - ================================================================================ 2025-08-07 02:13:43,611 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-07 02:13:43,611 - 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-07 02:13:43,896 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-08-07 02:13:43,897 - INFO - Initial checks done. Running the testcase now 2025-08-07 02:13:43,897 - INFO - 2025-08-07 02:13:44,075 - DEBUG - Response for create_network : {'network': {'id': '480b497e-ecd5-4e20-b4f6-a0801e4e60f6', 'name': 'ctest-vn1-01420827', 'tenant_id': '0708fffcbf144da2a65c475dd4ec44f2', 'project_id': '0708fffcbf144da2a65c475dd4ec44f2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-79374110', 'ctest-vn1-01420827'], 'port_security_enabled': True, 'description': ''}} 2025-08-07 02:13:44,265 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd6b4f946-f84d-4f02-8381-17ce89324250', 'name': '', 'tenant_id': '0708fffcbf144da2a65c475dd4ec44f2', 'network_id': '480b497e-ecd5-4e20-b4f6-a0801e4e60f6', 'ip_version': 4, 'cidr': '21.253.89.64/26', 'allocation_pools': [{'start': '21.253.89.66', 'end': '21.253.89.126'}], 'gateway_ip': '21.253.89.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '21.253.89.66', 'tags': [], 'project_id': '0708fffcbf144da2a65c475dd4ec44f2'}} 2025-08-07 02:13:44,455 - DEBUG - Response for create_subnet : {'subnet': {'id': '96054f28-762d-410f-96c6-a860f8e5656d', 'name': '', 'tenant_id': '0708fffcbf144da2a65c475dd4ec44f2', 'network_id': '480b497e-ecd5-4e20-b4f6-a0801e4e60f6', 'ip_version': 4, 'cidr': '29.33.208.192/26', 'allocation_pools': [{'start': '29.33.208.194', 'end': '29.33.208.254'}], 'gateway_ip': '29.33.208.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '29.33.208.194', 'tags': [], 'project_id': '0708fffcbf144da2a65c475dd4ec44f2'}} 2025-08-07 02:13:44,475 - INFO - Created VN ctest-vn1-01420827 2025-08-07 02:13:44,530 - DEBUG - VN ctest-vn1-01420827 UUID is 480b497e-ecd5-4e20-b4f6-a0801e4e60f6 2025-08-07 02:13:44,836 - DEBUG - Response for create_port : {'port': {'name': '153cf073-e277-4784-8ce8-5aa6a3d9c8e3', 'id': '153cf073-e277-4784-8ce8-5aa6a3d9c8e3', 'tenant_id': '0708fffcbf144da2a65c475dd4ec44f2', 'network_id': '480b497e-ecd5-4e20-b4f6-a0801e4e60f6', 'mac_address': '02:15:3c:f0:73:e2', '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': '21.253.89.69', 'subnet_id': 'd6b4f946-f84d-4f02-8381-17ce89324250'}], 'security_groups': ['a8ba90ac-c5f9-4806-8f12-6696f1abf302'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0708fffcbf144da2a65c475dd4ec44f2'}} 2025-08-07 02:13:45,017 - DEBUG - Response for create_port : {'port': {'name': 'a5377804-e3d7-4a33-ba13-d389eca64e28', 'id': 'a5377804-e3d7-4a33-ba13-d389eca64e28', 'tenant_id': '0708fffcbf144da2a65c475dd4ec44f2', 'network_id': '480b497e-ecd5-4e20-b4f6-a0801e4e60f6', 'mac_address': '02:a5:37:78:04:e3', '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': '29.33.208.197', 'subnet_id': '96054f28-762d-410f-96c6-a860f8e5656d'}], 'security_groups': ['a8ba90ac-c5f9-4806-8f12-6696f1abf302'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0708fffcbf144da2a65c475dd4ec44f2'}} 2025-08-07 02:13:45,072 - DEBUG - Services list from nova: [, , ] 2025-08-07 02:13:45,388 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3764-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3764-1) 2025-08-07 02:13:45,803 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3764-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3764-1) 2025-08-07 02:13:45,803 - INFO - Waiting for VM ctest-vn1-vm1-24958568 to be up.. 2025-08-07 02:13:45,846 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-07 02:13:50,918 - DEBUG - VM is in ACTIVE state now 2025-08-07 02:13:50,918 - INFO - VM name : ctest-vn1-vm1-24958568 2025-08-07 02:13:50,994 - DEBUG - VM ctest-vn1-vm1-24958568 ID is 7264f19c-08d3-4706-89a7-e41e4d7b2452 2025-08-07 02:13:51,013 - DEBUG - VM ctest-vn1-vm1-24958568 launched on Node cn-jenkins-deploy-platform-ansible-os-3764-1 2025-08-07 02:13:51,081 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/7264f19c-08d3-4706-89a7-e41e4d7b2452 2025-08-07 02:13:51,090 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/153cf073-e277-4784-8ce8-5aa6a3d9c8e3 2025-08-07 02:13:54,329 - 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 1003ms') 2025-08-07 02:13:54,329 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-24958568 failed! 2025-08-07 02:13:54,386 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-79374110:ctest-vn1-01420827 is 21.253.89.65 and allocation pool is NOT set 2025-08-07 02:13:54,386 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-79374110:ctest-vn1-01420827 is 29.33.208.193 and allocation pool is NOT set 2025-08-07 02:13:58,461 - 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=2 ttl=63 time=8.22 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1015ms\r\nrtt min/avg/max/mdev = 8.222/8.222/8.222/0.000 ms') 2025-08-07 02:13:58,461 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-24958568 passed 2025-08-07 02:13:58,618 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:13:58,618 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-24958568, IP 21.253.89.69, Port 22 2025-08-07 02:13:58,774 - DEBUG - VM ctest-vn1-vm1-24958568 is ready for SSH connections 2025-08-07 02:13:58,774 - INFO - Waiting for VM ctest-vn1-vm2-08941882 to be up.. 2025-08-07 02:13:58,864 - DEBUG - VM is in ACTIVE state now 2025-08-07 02:13:58,864 - INFO - VM name : ctest-vn1-vm2-08941882 2025-08-07 02:13:58,948 - DEBUG - VM ctest-vn1-vm2-08941882 ID is a722f4c5-3538-4767-b4d3-f33c70011964 2025-08-07 02:13:58,948 - DEBUG - VM ctest-vn1-vm2-08941882 launched on Node cn-jenkins-deploy-platform-ansible-os-3764-1 2025-08-07 02:13:59,034 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/a722f4c5-3538-4767-b4d3-f33c70011964 2025-08-07 02:13:59,046 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a5377804-e3d7-4a33-ba13-d389eca64e28 2025-08-07 02:14:00,306 - 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.97 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.408 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.408/1.690/2.972/1.282 ms') 2025-08-07 02:14:00,306 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-08941882 passed 2025-08-07 02:14:00,466 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:14:00,466 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-08941882, IP 29.33.208.197, Port 22 2025-08-07 02:14:00,622 - DEBUG - VM ctest-vn1-vm2-08941882 is ready for SSH connections 2025-08-07 02:14:00,622 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:14:00,622 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:14:00,622 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:14:00,623 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 21.253.89.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-07 02:14:00,623 - DEBUG - ping -s 56 -c 3 -W 1 21.253.89.69 2025-08-07 02:14:03,333 - DEBUG - PING 21.253.89.69 (21.253.89.69): 56 data bytes 64 bytes from 21.253.89.69: seq=0 ttl=63 time=3.940 ms 64 bytes from 21.253.89.69: seq=1 ttl=63 time=0.999 ms 64 bytes from 21.253.89.69: seq=2 ttl=63 time=0.706 ms --- 21.253.89.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.706/1.881/3.940 ms 2025-08-07 02:14:03,333 - INFO - Ping to IP 21.253.89.69 from VM ctest-vn1-vm2-08941882 passed 2025-08-07 02:14:03,334 - INFO - Detaching port a5377804-e3d7-4a33-ba13-d389eca64e28 from VM ctest-vn1-vm2-08941882 2025-08-07 02:14:03,387 - INFO - Deleting VM ctest-vn1-vm2-08941882 2025-08-07 02:14:03,456 - INFO - Detaching port 153cf073-e277-4784-8ce8-5aa6a3d9c8e3 from VM ctest-vn1-vm1-24958568 2025-08-07 02:14:03,496 - INFO - Deleting VM ctest-vn1-vm1-24958568 2025-08-07 02:14:03,776 - DEBUG - Response for delete_port : () 2025-08-07 02:14:04,006 - DEBUG - Response for delete_port : () 2025-08-07 02:14:04,006 - INFO - Deleting VN ctest-vn1-01420827 2025-08-07 02:14:04,186 - DEBUG - Response for deleting network () 2025-08-07 02:14:04,457 - DEBUG - No XMPP flaps were noticed during the test 2025-08-07 02:14:04,457 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21] 2025-08-07 02:14:04,457 - INFO - -------------------------------------------------------------------------------- 2025-08-07 02:14:05,309 - INFO - Deleted project: ctest-TestPorts-79374110, ID : 0708fffc-bf14-4da2-a65c-475dd4ec44f2