2025-07-31 13:24:11,176 - INFO - Domain Default found not creating 2025-07-31 13:24:11,344 - INFO - Project ctest-TestPorts-79977340 not found, creating it 2025-07-31 13:24:11,880 - INFO - Created Project:ctest-TestPorts-79977340, ID : b64cb0da-5228-43e9-8deb-6fd5fa569fb7 2025-07-31 13:24:13,398 - INFO - ================================================================================ 2025-07-31 13:24:13,398 - INFO - STARTING TEST : test_ports_bindings 2025-07-31 13:24:13,398 - 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-07-31 13:24:13,665 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.0.0.38': '0'}} with 2025-07-31 13:24:13,665 - INFO - Initial checks done. Running the testcase now 2025-07-31 13:24:13,666 - INFO - 2025-07-31 13:24:14,273 - DEBUG - Response for create_network : {'network': {'id': '45f03e0d-b456-476e-94c1-722dc5514175', 'name': 'ctest-vn-46726742', 'tenant_id': 'b64cb0da522843e98deb6fd5fa569fb7', 'project_id': 'b64cb0da522843e98deb6fd5fa569fb7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-79977340', 'ctest-vn-46726742'], 'port_security_enabled': True, 'description': ''}} 2025-07-31 13:24:14,484 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a470d3cf-74fa-4005-9382-ad33c1e782af', 'name': '', 'tenant_id': 'b64cb0da522843e98deb6fd5fa569fb7', 'network_id': '45f03e0d-b456-476e-94c1-722dc5514175', 'ip_version': 4, 'cidr': '193.47.212.64/26', 'allocation_pools': [{'start': '193.47.212.66', 'end': '193.47.212.126'}], 'gateway_ip': '193.47.212.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '193.47.212.66', 'tags': [], 'project_id': 'b64cb0da522843e98deb6fd5fa569fb7'}} 2025-07-31 13:24:14,503 - INFO - Created VN ctest-vn-46726742 2025-07-31 13:24:14,555 - DEBUG - VN ctest-vn-46726742 UUID is 45f03e0d-b456-476e-94c1-722dc5514175 2025-07-31 13:24:14,679 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-79977340', 'ctest-vmi-15249585']} 2025-07-31 13:24:14,935 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-15249585', 'id': 'cfb672ff-2c8f-454a-bac0-21793254e439', 'tenant_id': 'b64cb0da522843e98deb6fd5fa569fb7', 'network_id': '45f03e0d-b456-476e-94c1-722dc5514175', 'mac_address': '02:cf:b6:72:ff:2c', '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': '193.47.212.67', 'subnet_id': 'a470d3cf-74fa-4005-9382-ad33c1e782af'}], 'security_groups': ['e176611a-13f3-41b0-a85b-99e8562b38dc'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b64cb0da522843e98deb6fd5fa569fb7'}} 2025-07-31 13:24:14,935 - DEBUG - Created port cfb672ff-2c8f-454a-bac0-21793254e439 2025-07-31 13:24:15,043 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/cfb672ff-2c8f-454a-bac0-21793254e439 2025-07-31 13:24:15,347 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/cfb672ff-2c8f-454a-bac0-21793254e439 2025-07-31 13:24:15,411 - INFO - VMI cfb672ff-2c8f-454a-bac0-21793254e439 verification in API Server passed 2025-07-31 13:24:15,538 - DEBUG - Response for delete_port : () 2025-07-31 13:24:15,538 - INFO - Deleted port cfb672ff-2c8f-454a-bac0-21793254e439 2025-07-31 13:24:15,538 - INFO - Deleting VN ctest-vn-46726742 2025-07-31 13:24:15,674 - DEBUG - Response for deleting network () 2025-07-31 13:24:15,948 - DEBUG - No XMPP flaps were noticed during the test 2025-07-31 13:24:15,948 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-07-31 13:24:15,948 - INFO - -------------------------------------------------------------------------------- 2025-07-31 13:24:15,951 - INFO - ================================================================================ 2025-07-31 13:24:15,951 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-07-31 13:24:15,951 - 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-07-31 13:24:16,228 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.0.0.38': '0'}} with 2025-07-31 13:24:16,228 - INFO - Initial checks done. Running the testcase now 2025-07-31 13:24:16,228 - INFO - 2025-07-31 13:24:16,442 - DEBUG - Response for create_network : {'network': {'id': 'fc7bc067-0487-407d-82a2-88548d7f8206', 'name': 'ctest-vn1-53794141', 'tenant_id': 'b64cb0da522843e98deb6fd5fa569fb7', 'project_id': 'b64cb0da522843e98deb6fd5fa569fb7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-79977340', 'ctest-vn1-53794141'], 'port_security_enabled': True, 'description': ''}} 2025-07-31 13:24:16,619 - DEBUG - Response for create_subnet : {'subnet': {'id': '734a0c0b-2c37-4265-9988-edce93e514e7', 'name': '', 'tenant_id': 'b64cb0da522843e98deb6fd5fa569fb7', 'network_id': 'fc7bc067-0487-407d-82a2-88548d7f8206', 'ip_version': 4, 'cidr': '54.124.239.64/26', 'allocation_pools': [{'start': '54.124.239.66', 'end': '54.124.239.126'}], 'gateway_ip': '54.124.239.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '54.124.239.66', 'tags': [], 'project_id': 'b64cb0da522843e98deb6fd5fa569fb7'}} 2025-07-31 13:24:16,796 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c732a8ee-6dab-41e1-b077-bc273967ad7e', 'name': '', 'tenant_id': 'b64cb0da522843e98deb6fd5fa569fb7', 'network_id': 'fc7bc067-0487-407d-82a2-88548d7f8206', 'ip_version': 4, 'cidr': '71.142.227.128/26', 'allocation_pools': [{'start': '71.142.227.130', 'end': '71.142.227.190'}], 'gateway_ip': '71.142.227.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '71.142.227.130', 'tags': [], 'project_id': 'b64cb0da522843e98deb6fd5fa569fb7'}} 2025-07-31 13:24:16,819 - INFO - Created VN ctest-vn1-53794141 2025-07-31 13:24:16,875 - DEBUG - VN ctest-vn1-53794141 UUID is fc7bc067-0487-407d-82a2-88548d7f8206 2025-07-31 13:24:17,205 - DEBUG - Response for create_port : {'port': {'name': 'd194546c-533c-428d-a8d9-99a57e368dec', 'id': 'd194546c-533c-428d-a8d9-99a57e368dec', 'tenant_id': 'b64cb0da522843e98deb6fd5fa569fb7', 'network_id': 'fc7bc067-0487-407d-82a2-88548d7f8206', 'mac_address': '02:d1:94:54:6c:53', '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': '54.124.239.69', 'subnet_id': '734a0c0b-2c37-4265-9988-edce93e514e7'}], 'security_groups': ['e176611a-13f3-41b0-a85b-99e8562b38dc'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b64cb0da522843e98deb6fd5fa569fb7'}} 2025-07-31 13:24:17,402 - DEBUG - Response for create_port : {'port': {'name': '01daa87b-9e64-46ae-ab01-ddcb3c8a6a8f', 'id': '01daa87b-9e64-46ae-ab01-ddcb3c8a6a8f', 'tenant_id': 'b64cb0da522843e98deb6fd5fa569fb7', 'network_id': 'fc7bc067-0487-407d-82a2-88548d7f8206', 'mac_address': '02:01:da:a8:7b:9e', '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': '71.142.227.133', 'subnet_id': 'c732a8ee-6dab-41e1-b077-bc273967ad7e'}], 'security_groups': ['e176611a-13f3-41b0-a85b-99e8562b38dc'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b64cb0da522843e98deb6fd5fa569fb7'}} 2025-07-31 13:24:17,465 - DEBUG - Services list from nova: [, , ] 2025-07-31 13:24:17,843 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3736-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3736-1) 2025-07-31 13:24:18,312 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3736-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3736-1) 2025-07-31 13:24:18,312 - INFO - Waiting for VM ctest-vn1-vm1-82422273 to be up.. 2025-07-31 13:24:18,355 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-31 13:24:23,451 - DEBUG - VM is in ACTIVE state now 2025-07-31 13:24:23,451 - INFO - VM name : ctest-vn1-vm1-82422273 2025-07-31 13:24:23,540 - DEBUG - VM ctest-vn1-vm1-82422273 ID is 50269476-cb3d-4eb1-b8e7-b9fecfe29ccf 2025-07-31 13:24:23,562 - DEBUG - VM ctest-vn1-vm1-82422273 launched on Node cn-jenkins-deploy-platform-ansible-os-3736-1. 2025-07-31 13:24:23,655 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/50269476-cb3d-4eb1-b8e7-b9fecfe29ccf 2025-07-31 13:24:23,665 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d194546c-533c-428d-a8d9-99a57e368dec 2025-07-31 13:24:26,917 - 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 1009ms') 2025-07-31 13:24:26,917 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-82422273 failed! 2025-07-31 13:24:26,975 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-79977340:ctest-vn1-53794141 is 54.124.239.65 and allocation pool is NOT set 2025-07-31 13:24:26,975 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-79977340:ctest-vn1-53794141 is 71.142.227.129 and allocation pool is NOT set 2025-07-31 13:24:31,054 - 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=3.45 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1010ms\r\nrtt min/avg/max/mdev = 3.445/3.445/3.445/0.000 ms') 2025-07-31 13:24:31,054 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-82422273 passed 2025-07-31 13:24:31,203 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 13:24:31,203 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-82422273, IP 54.124.239.69, Port 22 2025-07-31 13:24:31,382 - DEBUG - VM ctest-vn1-vm1-82422273 is ready for SSH connections 2025-07-31 13:24:31,382 - INFO - Waiting for VM ctest-vn1-vm2-36171540 to be up.. 2025-07-31 13:24:31,476 - DEBUG - VM is in ACTIVE state now 2025-07-31 13:24:31,476 - INFO - VM name : ctest-vn1-vm2-36171540 2025-07-31 13:24:31,561 - DEBUG - VM ctest-vn1-vm2-36171540 ID is 2cdf6e96-9466-48bf-8933-5f67a98e2d40 2025-07-31 13:24:31,562 - DEBUG - VM ctest-vn1-vm2-36171540 launched on Node cn-jenkins-deploy-platform-ansible-os-3736-1. 2025-07-31 13:24:31,658 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/2cdf6e96-9466-48bf-8933-5f67a98e2d40 2025-07-31 13:24:31,669 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/01daa87b-9e64-46ae-ab01-ddcb3c8a6a8f 2025-07-31 13:24:32,917 - 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.95 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.556 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.556/2.251/3.946/1.695 ms') 2025-07-31 13:24:32,917 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-36171540 passed 2025-07-31 13:24:33,071 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 13:24:33,071 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-36171540, IP 71.142.227.133, Port 22 2025-07-31 13:24:33,241 - DEBUG - VM ctest-vn1-vm2-36171540 is ready for SSH connections 2025-07-31 13:24:33,241 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 13:24:33,241 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 13:24:33,241 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 13:24:33,241 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 54.124.239.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-07-31 13:24:33,241 - DEBUG - ping -s 56 -c 3 -W 1 54.124.239.69 2025-07-31 13:24:35,981 - DEBUG - PING 54.124.239.69 (54.124.239.69): 56 data bytes 64 bytes from 54.124.239.69: seq=0 ttl=63 time=4.715 ms 64 bytes from 54.124.239.69: seq=1 ttl=63 time=0.926 ms 64 bytes from 54.124.239.69: seq=2 ttl=63 time=1.033 ms --- 54.124.239.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.926/2.224/4.715 ms 2025-07-31 13:24:35,981 - INFO - Ping to IP 54.124.239.69 from VM ctest-vn1-vm2-36171540 passed 2025-07-31 13:24:35,982 - INFO - Detaching port 01daa87b-9e64-46ae-ab01-ddcb3c8a6a8f from VM ctest-vn1-vm2-36171540 2025-07-31 13:24:36,038 - INFO - Deleting VM ctest-vn1-vm2-36171540 2025-07-31 13:24:36,117 - INFO - Detaching port d194546c-533c-428d-a8d9-99a57e368dec from VM ctest-vn1-vm1-82422273 2025-07-31 13:24:36,165 - INFO - Deleting VM ctest-vn1-vm1-82422273 2025-07-31 13:24:36,443 - DEBUG - Response for delete_port : () 2025-07-31 13:24:36,609 - DEBUG - Response for delete_port : () 2025-07-31 13:24:36,609 - INFO - Deleting VN ctest-vn1-53794141 2025-07-31 13:24:36,770 - DEBUG - Response for deleting network () 2025-07-31 13:24:37,038 - DEBUG - No XMPP flaps were noticed during the test 2025-07-31 13:24:37,038 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:22] 2025-07-31 13:24:37,039 - INFO - -------------------------------------------------------------------------------- 2025-07-31 13:24:37,748 - INFO - Deleted project: ctest-TestPorts-79977340, ID : b64cb0da-5228-43e9-8deb-6fd5fa569fb7