2025-10-21 06:19:57,096 - INFO - Domain Default found not creating 2025-10-21 06:19:57,256 - INFO - Project ctest-TestPorts-60779345 not found, creating it 2025-10-21 06:19:57,740 - INFO - Created Project:ctest-TestPorts-60779345, ID : 31156567-1805-40fb-bf8d-9b7316b6eb84 2025-10-21 06:19:59,186 - INFO - ================================================================================ 2025-10-21 06:19:59,186 - INFO - STARTING TEST : test_ports_bindings 2025-10-21 06:19:59,187 - 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 06:19:59,439 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.17': '0'}} with 2025-10-21 06:19:59,440 - INFO - Initial checks done. Running the testcase now 2025-10-21 06:19:59,440 - INFO - 2025-10-21 06:20:00,040 - DEBUG - Response for create_network : {'network': {'id': '1e7df11f-0fe2-4201-b546-072344943826', 'name': 'ctest-vn-51245586', 'tenant_id': '31156567180540fbbf8d9b7316b6eb84', 'project_id': '31156567180540fbbf8d9b7316b6eb84', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-60779345', 'ctest-vn-51245586'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 06:20:00,233 - DEBUG - Response for create_subnet : {'subnet': {'id': '151c14c0-f539-4be0-ad5e-a52b6355d8e2', 'name': '', 'tenant_id': '31156567180540fbbf8d9b7316b6eb84', 'network_id': '1e7df11f-0fe2-4201-b546-072344943826', 'ip_version': 4, 'cidr': '125.213.144.128/26', 'allocation_pools': [{'start': '125.213.144.130', 'end': '125.213.144.190'}], 'gateway_ip': '125.213.144.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.213.144.130', 'tags': [], 'project_id': '31156567180540fbbf8d9b7316b6eb84'}} 2025-10-21 06:20:00,249 - INFO - Created VN ctest-vn-51245586 2025-10-21 06:20:00,309 - DEBUG - VN ctest-vn-51245586 UUID is 1e7df11f-0fe2-4201-b546-072344943826 2025-10-21 06:20:00,420 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-60779345', 'ctest-vmi-49277582']} 2025-10-21 06:20:00,669 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-49277582', 'id': '3cd261fe-825c-401c-af11-d3d008820514', 'tenant_id': '31156567180540fbbf8d9b7316b6eb84', 'network_id': '1e7df11f-0fe2-4201-b546-072344943826', 'mac_address': '02:3c:d2:61:fe:82', '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': '125.213.144.131', 'subnet_id': '151c14c0-f539-4be0-ad5e-a52b6355d8e2'}], 'security_groups': ['55f22e58-db5b-44f0-a20a-a1e49cd04c0e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '31156567180540fbbf8d9b7316b6eb84'}} 2025-10-21 06:20:00,670 - DEBUG - Created port 3cd261fe-825c-401c-af11-d3d008820514 2025-10-21 06:20:00,790 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/3cd261fe-825c-401c-af11-d3d008820514 2025-10-21 06:20:01,097 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/3cd261fe-825c-401c-af11-d3d008820514 2025-10-21 06:20:01,140 - INFO - VMI 3cd261fe-825c-401c-af11-d3d008820514 verification in API Server passed 2025-10-21 06:20:01,254 - DEBUG - Response for delete_port : () 2025-10-21 06:20:01,254 - INFO - Deleted port 3cd261fe-825c-401c-af11-d3d008820514 2025-10-21 06:20:01,254 - INFO - Deleting VN ctest-vn-51245586 2025-10-21 06:20:01,365 - DEBUG - Response for deleting network () 2025-10-21 06:20:01,619 - DEBUG - No XMPP flaps were noticed during the test 2025-10-21 06:20:01,619 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-10-21 06:20:01,619 - INFO - -------------------------------------------------------------------------------- 2025-10-21 06:20:01,621 - INFO - ================================================================================ 2025-10-21 06:20:01,621 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-21 06:20:01,621 - 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 06:20:01,913 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.17': '0'}} with 2025-10-21 06:20:01,913 - INFO - Initial checks done. Running the testcase now 2025-10-21 06:20:01,913 - INFO - 2025-10-21 06:20:02,097 - DEBUG - Response for create_network : {'network': {'id': '543d261b-eb28-4fff-928b-d74986f2a002', 'name': 'ctest-vn1-66165015', 'tenant_id': '31156567180540fbbf8d9b7316b6eb84', 'project_id': '31156567180540fbbf8d9b7316b6eb84', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-60779345', 'ctest-vn1-66165015'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 06:20:02,297 - DEBUG - Response for create_subnet : {'subnet': {'id': '99254d3c-553b-4585-afa7-2ef0d41fa8cf', 'name': '', 'tenant_id': '31156567180540fbbf8d9b7316b6eb84', 'network_id': '543d261b-eb28-4fff-928b-d74986f2a002', 'ip_version': 4, 'cidr': '140.245.137.128/26', 'allocation_pools': [{'start': '140.245.137.130', 'end': '140.245.137.190'}], 'gateway_ip': '140.245.137.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '140.245.137.130', 'tags': [], 'project_id': '31156567180540fbbf8d9b7316b6eb84'}} 2025-10-21 06:20:02,449 - DEBUG - Response for create_subnet : {'subnet': {'id': '08bcbc26-d999-4e7b-98b4-5ea90e40af2f', 'name': '', 'tenant_id': '31156567180540fbbf8d9b7316b6eb84', 'network_id': '543d261b-eb28-4fff-928b-d74986f2a002', 'ip_version': 4, 'cidr': '138.204.115.64/26', 'allocation_pools': [{'start': '138.204.115.66', 'end': '138.204.115.126'}], 'gateway_ip': '138.204.115.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '138.204.115.66', 'tags': [], 'project_id': '31156567180540fbbf8d9b7316b6eb84'}} 2025-10-21 06:20:02,466 - INFO - Created VN ctest-vn1-66165015 2025-10-21 06:20:02,518 - DEBUG - VN ctest-vn1-66165015 UUID is 543d261b-eb28-4fff-928b-d74986f2a002 2025-10-21 06:20:02,868 - DEBUG - Response for create_port : {'port': {'name': '060054ab-6057-42fd-adc1-11b9ad4aaf02', 'id': '060054ab-6057-42fd-adc1-11b9ad4aaf02', 'tenant_id': '31156567180540fbbf8d9b7316b6eb84', 'network_id': '543d261b-eb28-4fff-928b-d74986f2a002', 'mac_address': '02:06:00:54:ab:60', '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': '140.245.137.133', 'subnet_id': '99254d3c-553b-4585-afa7-2ef0d41fa8cf'}], 'security_groups': ['55f22e58-db5b-44f0-a20a-a1e49cd04c0e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '31156567180540fbbf8d9b7316b6eb84'}} 2025-10-21 06:20:03,036 - DEBUG - Response for create_port : {'port': {'name': '629a1e64-cf94-4c0a-9e9c-f0480a0d1a37', 'id': '629a1e64-cf94-4c0a-9e9c-f0480a0d1a37', 'tenant_id': '31156567180540fbbf8d9b7316b6eb84', 'network_id': '543d261b-eb28-4fff-928b-d74986f2a002', 'mac_address': '02:62:9a:1e:64:cf', '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': '138.204.115.69', 'subnet_id': '08bcbc26-d999-4e7b-98b4-5ea90e40af2f'}], 'security_groups': ['55f22e58-db5b-44f0-a20a-a1e49cd04c0e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '31156567180540fbbf8d9b7316b6eb84'}} 2025-10-21 06:20:03,094 - DEBUG - Services list from nova: [, , ] 2025-10-21 06:20:03,442 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4389-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4389-1) 2025-10-21 06:20:03,848 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4389-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4389-1) 2025-10-21 06:20:03,848 - INFO - Waiting for VM ctest-vn1-vm1-73988994 to be up.. 2025-10-21 06:20:03,895 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-21 06:20:08,969 - DEBUG - VM is in ACTIVE state now 2025-10-21 06:20:08,969 - INFO - VM name : ctest-vn1-vm1-73988994 2025-10-21 06:20:09,047 - DEBUG - VM ctest-vn1-vm1-73988994 ID is 66f7fc94-9acc-4f0f-b421-97149ea1c4da 2025-10-21 06:20:09,072 - DEBUG - VM ctest-vn1-vm1-73988994 launched on Node cn-jenkins-deploy-platform-ansible-os-4389-1 2025-10-21 06:20:09,315 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/66f7fc94-9acc-4f0f-b421-97149ea1c4da 2025-10-21 06:20:09,327 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/060054ab-6057-42fd-adc1-11b9ad4aaf02 2025-10-21 06:20:12,581 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1014ms') 2025-10-21 06:20:12,581 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-73988994 failed! 2025-10-21 06:20:12,634 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-60779345:ctest-vn1-66165015 is 140.245.137.129 and allocation pool is NOT set 2025-10-21 06:20:12,634 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-60779345:ctest-vn1-66165015 is 138.204.115.65 and allocation pool is NOT set 2025-10-21 06:20:16,712 - 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=2 ttl=63 time=7.31 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1018ms\r\nrtt min/avg/max/mdev = 7.305/7.305/7.305/0.000 ms') 2025-10-21 06:20:16,713 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-73988994 passed 2025-10-21 06:20:16,862 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 06:20:16,862 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-73988994, IP 140.245.137.133, Port 22 2025-10-21 06:20:17,036 - DEBUG - VM ctest-vn1-vm1-73988994 is ready for SSH connections 2025-10-21 06:20:17,036 - INFO - Waiting for VM ctest-vn1-vm2-09808517 to be up.. 2025-10-21 06:20:17,113 - DEBUG - VM is in ACTIVE state now 2025-10-21 06:20:17,113 - INFO - VM name : ctest-vn1-vm2-09808517 2025-10-21 06:20:17,190 - DEBUG - VM ctest-vn1-vm2-09808517 ID is 5695e274-58ea-490c-84ba-09b7adbd64fd 2025-10-21 06:20:17,190 - DEBUG - VM ctest-vn1-vm2-09808517 launched on Node cn-jenkins-deploy-platform-ansible-os-4389-1 2025-10-21 06:20:17,264 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/5695e274-58ea-490c-84ba-09b7adbd64fd 2025-10-21 06:20:17,274 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/629a1e64-cf94-4c0a-9e9c-f0480a0d1a37 2025-10-21 06:20:18,528 - 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=3.88 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.464 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.464/2.170/3.877/1.706 ms') 2025-10-21 06:20:18,528 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-09808517 passed 2025-10-21 06:20:18,682 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 06:20:18,682 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-09808517, IP 138.204.115.69, Port 22 2025-10-21 06:20:18,838 - DEBUG - VM ctest-vn1-vm2-09808517 is ready for SSH connections 2025-10-21 06:20:18,838 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 06:20:18,838 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 06:20:18,838 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 06:20:18,838 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 140.245.137.133, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-21 06:20:18,838 - DEBUG - ping -s 56 -c 3 -W 1 140.245.137.133 2025-10-21 06:20:22,561 - DEBUG - PING 140.245.137.133 (140.245.137.133): 56 data bytes 64 bytes from 140.245.137.133: seq=0 ttl=63 time=4.062 ms 64 bytes from 140.245.137.133: seq=1 ttl=63 time=1.234 ms 64 bytes from 140.245.137.133: seq=2 ttl=63 time=0.785 ms --- 140.245.137.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.785/2.027/4.062 ms 2025-10-21 06:20:22,561 - INFO - Ping to IP 140.245.137.133 from VM ctest-vn1-vm2-09808517 passed 2025-10-21 06:20:22,561 - INFO - Detaching port 629a1e64-cf94-4c0a-9e9c-f0480a0d1a37 from VM ctest-vn1-vm2-09808517 2025-10-21 06:20:22,611 - INFO - Deleting VM ctest-vn1-vm2-09808517 2025-10-21 06:20:22,687 - INFO - Detaching port 060054ab-6057-42fd-adc1-11b9ad4aaf02 from VM ctest-vn1-vm1-73988994 2025-10-21 06:20:22,727 - INFO - Deleting VM ctest-vn1-vm1-73988994 2025-10-21 06:20:22,972 - DEBUG - Response for delete_port : () 2025-10-21 06:20:23,154 - DEBUG - Response for delete_port : () 2025-10-21 06:20:23,155 - INFO - Deleting VN ctest-vn1-66165015 2025-10-21 06:20:23,281 - DEBUG - Response for deleting network () 2025-10-21 06:20:23,540 - DEBUG - No XMPP flaps were noticed during the test 2025-10-21 06:20:23,540 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:22] 2025-10-21 06:20:23,540 - INFO - -------------------------------------------------------------------------------- 2025-10-21 06:20:24,243 - INFO - Deleted project: ctest-TestPorts-60779345, ID : 31156567-1805-40fb-bf8d-9b7316b6eb84