2025-11-03 17:54:30,236 - INFO - Domain Default found not creating 2025-11-03 17:54:30,397 - INFO - Project ctest-TestPorts-81982611 not found, creating it 2025-11-03 17:54:30,867 - INFO - Created Project:ctest-TestPorts-81982611, ID : 5b47988b-5ded-4529-9f60-51d1ede7217d 2025-11-03 17:54:32,356 - INFO - ================================================================================ 2025-11-03 17:54:32,356 - INFO - STARTING TEST : test_ports_bindings 2025-11-03 17:54:32,356 - 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-11-03 17:54:32,620 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-11-03 17:54:32,620 - INFO - Initial checks done. Running the testcase now 2025-11-03 17:54:32,620 - INFO - 2025-11-03 17:54:33,202 - DEBUG - Response for create_network : {'network': {'id': 'ce4379e9-b213-4a5c-a4de-ab9a6c078aae', 'name': 'ctest-vn-42906789', 'tenant_id': '5b47988b5ded45299f6051d1ede7217d', 'project_id': '5b47988b5ded45299f6051d1ede7217d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-81982611', 'ctest-vn-42906789'], 'port_security_enabled': True, 'description': ''}} 2025-11-03 17:54:33,393 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b3738997-29d4-4e47-941b-4694abc3e236', 'name': '', 'tenant_id': '5b47988b5ded45299f6051d1ede7217d', 'network_id': 'ce4379e9-b213-4a5c-a4de-ab9a6c078aae', 'ip_version': 4, 'cidr': '44.244.169.0/26', 'allocation_pools': [{'start': '44.244.169.2', 'end': '44.244.169.62'}], 'gateway_ip': '44.244.169.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '44.244.169.2', 'tags': [], 'project_id': '5b47988b5ded45299f6051d1ede7217d'}} 2025-11-03 17:54:33,413 - INFO - Created VN ctest-vn-42906789 2025-11-03 17:54:33,466 - DEBUG - VN ctest-vn-42906789 UUID is ce4379e9-b213-4a5c-a4de-ab9a6c078aae 2025-11-03 17:54:33,577 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-81982611', 'ctest-vmi-51626167']} 2025-11-03 17:54:33,843 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-51626167', 'id': 'f93fba8a-9fda-4b0a-afb3-d91c2b0af196', 'tenant_id': '5b47988b5ded45299f6051d1ede7217d', 'network_id': 'ce4379e9-b213-4a5c-a4de-ab9a6c078aae', 'mac_address': '02:f9:3f:ba:8a:9f', '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': '44.244.169.3', 'subnet_id': 'b3738997-29d4-4e47-941b-4694abc3e236'}], 'security_groups': ['ffe06fdc-6c5d-4914-8c11-0ca5b9ebc6de'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5b47988b5ded45299f6051d1ede7217d'}} 2025-11-03 17:54:33,843 - DEBUG - Created port f93fba8a-9fda-4b0a-afb3-d91c2b0af196 2025-11-03 17:54:33,950 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/f93fba8a-9fda-4b0a-afb3-d91c2b0af196 2025-11-03 17:54:34,251 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/f93fba8a-9fda-4b0a-afb3-d91c2b0af196 2025-11-03 17:54:34,293 - INFO - VMI f93fba8a-9fda-4b0a-afb3-d91c2b0af196 verification in API Server passed 2025-11-03 17:54:34,416 - DEBUG - Response for delete_port : () 2025-11-03 17:54:34,416 - INFO - Deleted port f93fba8a-9fda-4b0a-afb3-d91c2b0af196 2025-11-03 17:54:34,416 - INFO - Deleting VN ctest-vn-42906789 2025-11-03 17:54:34,550 - DEBUG - Response for deleting network () 2025-11-03 17:54:34,818 - DEBUG - No XMPP flaps were noticed during the test 2025-11-03 17:54:34,818 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-11-03 17:54:34,818 - INFO - -------------------------------------------------------------------------------- 2025-11-03 17:54:34,822 - INFO - ================================================================================ 2025-11-03 17:54:34,822 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-03 17:54:34,822 - 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-11-03 17:54:35,116 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-11-03 17:54:35,116 - INFO - Initial checks done. Running the testcase now 2025-11-03 17:54:35,117 - INFO - 2025-11-03 17:54:35,317 - DEBUG - Response for create_network : {'network': {'id': '2ea484e0-3625-49ce-b850-c9b0f92e8d65', 'name': 'ctest-vn1-01302869', 'tenant_id': '5b47988b5ded45299f6051d1ede7217d', 'project_id': '5b47988b5ded45299f6051d1ede7217d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-81982611', 'ctest-vn1-01302869'], 'port_security_enabled': True, 'description': ''}} 2025-11-03 17:54:35,511 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b6f755af-61ee-4ba1-8afd-61b07bb30fc2', 'name': '', 'tenant_id': '5b47988b5ded45299f6051d1ede7217d', 'network_id': '2ea484e0-3625-49ce-b850-c9b0f92e8d65', 'ip_version': 4, 'cidr': '111.9.57.192/26', 'allocation_pools': [{'start': '111.9.57.194', 'end': '111.9.57.254'}], 'gateway_ip': '111.9.57.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.9.57.194', 'tags': [], 'project_id': '5b47988b5ded45299f6051d1ede7217d'}} 2025-11-03 17:54:35,724 - DEBUG - Response for create_subnet : {'subnet': {'id': '753e8c5b-d55c-470f-8036-5ae28dfc80a3', 'name': '', 'tenant_id': '5b47988b5ded45299f6051d1ede7217d', 'network_id': '2ea484e0-3625-49ce-b850-c9b0f92e8d65', 'ip_version': 4, 'cidr': '114.200.49.128/26', 'allocation_pools': [{'start': '114.200.49.130', 'end': '114.200.49.190'}], 'gateway_ip': '114.200.49.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.200.49.130', 'tags': [], 'project_id': '5b47988b5ded45299f6051d1ede7217d'}} 2025-11-03 17:54:35,748 - INFO - Created VN ctest-vn1-01302869 2025-11-03 17:54:35,802 - DEBUG - VN ctest-vn1-01302869 UUID is 2ea484e0-3625-49ce-b850-c9b0f92e8d65 2025-11-03 17:54:36,117 - DEBUG - Response for create_port : {'port': {'name': '1f5f7969-e11e-4cf7-92ea-c9b1d198a454', 'id': '1f5f7969-e11e-4cf7-92ea-c9b1d198a454', 'tenant_id': '5b47988b5ded45299f6051d1ede7217d', 'network_id': '2ea484e0-3625-49ce-b850-c9b0f92e8d65', 'mac_address': '02:1f:5f:79:69:e1', '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': '111.9.57.197', 'subnet_id': 'b6f755af-61ee-4ba1-8afd-61b07bb30fc2'}], 'security_groups': ['ffe06fdc-6c5d-4914-8c11-0ca5b9ebc6de'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5b47988b5ded45299f6051d1ede7217d'}} 2025-11-03 17:54:36,311 - DEBUG - Response for create_port : {'port': {'name': 'a6fdaa94-9935-4eee-82f8-bfe543977d7d', 'id': 'a6fdaa94-9935-4eee-82f8-bfe543977d7d', 'tenant_id': '5b47988b5ded45299f6051d1ede7217d', 'network_id': '2ea484e0-3625-49ce-b850-c9b0f92e8d65', 'mac_address': '02:a6:fd:aa:94:99', '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': '114.200.49.133', 'subnet_id': '753e8c5b-d55c-470f-8036-5ae28dfc80a3'}], 'security_groups': ['ffe06fdc-6c5d-4914-8c11-0ca5b9ebc6de'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5b47988b5ded45299f6051d1ede7217d'}} 2025-11-03 17:54:36,375 - DEBUG - Services list from nova: [, , ] 2025-11-03 17:54:36,763 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4611-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4611-1) 2025-11-03 17:54:37,207 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4611-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4611-1) 2025-11-03 17:54:37,207 - INFO - Waiting for VM ctest-vn1-vm1-16847804 to be up.. 2025-11-03 17:54:37,252 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-03 17:54:42,344 - DEBUG - VM is in ACTIVE state now 2025-11-03 17:54:42,344 - INFO - VM name : ctest-vn1-vm1-16847804 2025-11-03 17:54:42,429 - DEBUG - VM ctest-vn1-vm1-16847804 ID is 3484841e-d426-4c67-8f51-5e2ee8493447 2025-11-03 17:54:42,451 - DEBUG - VM ctest-vn1-vm1-16847804 launched on Node cn-jenkins-deploy-platform-ansible-os-4611-1 2025-11-03 17:54:42,534 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/3484841e-d426-4c67-8f51-5e2ee8493447 2025-11-03 17:54:42,543 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/1f5f7969-e11e-4cf7-92ea-c9b1d198a454 2025-11-03 17:54:45,784 - 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 1002ms') 2025-11-03 17:54:45,785 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-16847804 failed! 2025-11-03 17:54:45,842 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-81982611:ctest-vn1-01302869 is 111.9.57.193 and allocation pool is NOT set 2025-11-03 17:54:45,842 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-81982611:ctest-vn1-01302869 is 114.200.49.129 and allocation pool is NOT set 2025-11-03 17:54:49,912 - 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=9.06 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1008ms\r\nrtt min/avg/max/mdev = 9.059/9.059/9.059/0.000 ms') 2025-11-03 17:54:49,913 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-16847804 passed 2025-11-03 17:54:50,066 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 17:54:50,066 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-16847804, IP 111.9.57.197, Port 22 2025-11-03 17:54:50,226 - DEBUG - VM ctest-vn1-vm1-16847804 is ready for SSH connections 2025-11-03 17:54:50,226 - INFO - Waiting for VM ctest-vn1-vm2-30830076 to be up.. 2025-11-03 17:54:50,307 - DEBUG - VM is in ACTIVE state now 2025-11-03 17:54:50,307 - INFO - VM name : ctest-vn1-vm2-30830076 2025-11-03 17:54:50,383 - DEBUG - VM ctest-vn1-vm2-30830076 ID is b54210bb-ade0-4819-9f1e-144c6212e7f7 2025-11-03 17:54:50,383 - DEBUG - VM ctest-vn1-vm2-30830076 launched on Node cn-jenkins-deploy-platform-ansible-os-4611-1 2025-11-03 17:54:50,460 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/b54210bb-ade0-4819-9f1e-144c6212e7f7 2025-11-03 17:54:50,469 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/a6fdaa94-9935-4eee-82f8-bfe543977d7d 2025-11-03 17:54:51,709 - 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=4.25 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.52 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 = 1.516/2.884/4.253/1.368 ms') 2025-11-03 17:54:51,710 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-30830076 passed 2025-11-03 17:54:51,858 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 17:54:51,858 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-30830076, IP 114.200.49.133, Port 22 2025-11-03 17:54:52,014 - DEBUG - VM ctest-vn1-vm2-30830076 is ready for SSH connections 2025-11-03 17:54:52,014 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 17:54:52,014 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 17:54:52,014 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 17:54:52,014 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.9.57.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-03 17:54:52,014 - DEBUG - ping -s 56 -c 3 -W 1 111.9.57.197 2025-11-03 17:54:54,690 - DEBUG - PING 111.9.57.197 (111.9.57.197): 56 data bytes 64 bytes from 111.9.57.197: seq=0 ttl=63 time=4.628 ms 64 bytes from 111.9.57.197: seq=1 ttl=63 time=0.965 ms 64 bytes from 111.9.57.197: seq=2 ttl=63 time=0.851 ms --- 111.9.57.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.851/2.148/4.628 ms 2025-11-03 17:54:54,690 - INFO - Ping to IP 111.9.57.197 from VM ctest-vn1-vm2-30830076 passed 2025-11-03 17:54:54,690 - INFO - Detaching port a6fdaa94-9935-4eee-82f8-bfe543977d7d from VM ctest-vn1-vm2-30830076 2025-11-03 17:54:54,744 - INFO - Deleting VM ctest-vn1-vm2-30830076 2025-11-03 17:54:54,821 - INFO - Detaching port 1f5f7969-e11e-4cf7-92ea-c9b1d198a454 from VM ctest-vn1-vm1-16847804 2025-11-03 17:54:54,866 - INFO - Deleting VM ctest-vn1-vm1-16847804 2025-11-03 17:54:55,149 - DEBUG - Response for delete_port : () 2025-11-03 17:54:55,357 - DEBUG - Response for delete_port : () 2025-11-03 17:54:55,358 - INFO - Deleting VN ctest-vn1-01302869 2025-11-03 17:54:55,529 - DEBUG - Response for deleting network () 2025-11-03 17:54:55,784 - DEBUG - No XMPP flaps were noticed during the test 2025-11-03 17:54:55,784 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21] 2025-11-03 17:54:55,784 - INFO - -------------------------------------------------------------------------------- 2025-11-03 17:54:56,490 - INFO - Deleted project: ctest-TestPorts-81982611, ID : 5b47988b-5ded-4529-9f60-51d1ede7217d