2026-02-23 19:06:13,455 - INFO - Domain Default found not creating 2026-02-23 19:06:13,813 - INFO - Project ctest-TestPorts-18520554 not found, creating it 2026-02-23 19:06:14,526 - INFO - Created Project:ctest-TestPorts-18520554, ID : ca6e6191-fc6e-42ad-b507-dd23beb779f3 2026-02-23 19:06:16,755 - INFO - ================================================================================ 2026-02-23 19:06:16,756 - INFO - STARTING TEST : test_ports_bindings 2026-02-23 19:06:16,756 - 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 2026-02-23 19:06:17,080 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-02-23 19:06:17,080 - INFO - Initial checks done. Running the testcase now 2026-02-23 19:06:17,080 - INFO - 2026-02-23 19:06:17,860 - DEBUG - Response for create_network : {'network': {'id': '8eefe1c1-f168-4849-82ec-6f04a260be81', 'name': 'ctest-vn-83896249', 'tenant_id': 'ca6e6191fc6e42adb507dd23beb779f3', 'project_id': 'ca6e6191fc6e42adb507dd23beb779f3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-18520554', 'ctest-vn-83896249'], 'port_security_enabled': True, 'description': ''}} 2026-02-23 19:06:18,063 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dce0f131-8ba1-465e-9bc8-a106a60b33b6', 'name': '', 'tenant_id': 'ca6e6191fc6e42adb507dd23beb779f3', 'network_id': '8eefe1c1-f168-4849-82ec-6f04a260be81', 'ip_version': 4, 'cidr': '203.168.103.0/26', 'allocation_pools': [{'start': '203.168.103.2', 'end': '203.168.103.62'}], 'gateway_ip': '203.168.103.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.168.103.2', 'tags': [], 'project_id': 'ca6e6191fc6e42adb507dd23beb779f3'}} 2026-02-23 19:06:18,086 - INFO - Created VN ctest-vn-83896249 2026-02-23 19:06:18,144 - DEBUG - VN ctest-vn-83896249 UUID is 8eefe1c1-f168-4849-82ec-6f04a260be81 2026-02-23 19:06:18,292 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-18520554', 'ctest-vmi-97717152']} 2026-02-23 19:06:18,678 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-97717152', 'id': '14afb26a-8122-4b0e-9181-1abfa8106363', 'tenant_id': 'ca6e6191fc6e42adb507dd23beb779f3', 'network_id': '8eefe1c1-f168-4849-82ec-6f04a260be81', 'mac_address': '02:14:af:b2:6a:81', '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': '203.168.103.3', 'subnet_id': 'dce0f131-8ba1-465e-9bc8-a106a60b33b6'}], 'security_groups': ['4cfeaab6-5a76-4f8c-bd21-7278fd693ff1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ca6e6191fc6e42adb507dd23beb779f3'}} 2026-02-23 19:06:18,678 - DEBUG - Created port 14afb26a-8122-4b0e-9181-1abfa8106363 2026-02-23 19:06:18,787 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/14afb26a-8122-4b0e-9181-1abfa8106363 2026-02-23 19:06:19,141 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/14afb26a-8122-4b0e-9181-1abfa8106363 2026-02-23 19:06:19,216 - INFO - VMI 14afb26a-8122-4b0e-9181-1abfa8106363 verification in API Server passed 2026-02-23 19:06:19,436 - DEBUG - Response for delete_port : () 2026-02-23 19:06:19,436 - INFO - Deleted port 14afb26a-8122-4b0e-9181-1abfa8106363 2026-02-23 19:06:19,436 - INFO - Deleting VN ctest-vn-83896249 2026-02-23 19:06:19,564 - DEBUG - Response for deleting network () 2026-02-23 19:06:19,855 - DEBUG - No XMPP flaps were noticed during the test
2026-02-23 19:06:19,856 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-02-23 19:06:19,856 - INFO - -------------------------------------------------------------------------------- 2026-02-23 19:06:19,863 - INFO - ================================================================================ 2026-02-23 19:06:19,863 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-02-23 19:06:19,863 - 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 2026-02-23 19:06:20,202 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-02-23 19:06:20,202 - INFO - Initial checks done. Running the testcase now 2026-02-23 19:06:20,202 - INFO - 2026-02-23 19:06:20,504 - DEBUG - Response for create_network : {'network': {'id': 'e6103aef-acde-4413-bb8d-9f033bac8bbf', 'name': 'ctest-vn1-53155802', 'tenant_id': 'ca6e6191fc6e42adb507dd23beb779f3', 'project_id': 'ca6e6191fc6e42adb507dd23beb779f3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-18520554', 'ctest-vn1-53155802'], 'port_security_enabled': True, 'description': ''}} 2026-02-23 19:06:20,721 - DEBUG - Response for create_subnet : {'subnet': {'id': '17793010-edb3-4d0d-a28f-1d9af9033a6a', 'name': '', 'tenant_id': 'ca6e6191fc6e42adb507dd23beb779f3', 'network_id': 'e6103aef-acde-4413-bb8d-9f033bac8bbf', 'ip_version': 4, 'cidr': '144.85.222.0/26', 'allocation_pools': [{'start': '144.85.222.2', 'end': '144.85.222.62'}], 'gateway_ip': '144.85.222.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.85.222.2', 'tags': [], 'project_id': 'ca6e6191fc6e42adb507dd23beb779f3'}} 2026-02-23 19:06:20,946 - DEBUG - Response for create_subnet : {'subnet': {'id': '39540048-59b5-4815-8af2-1370d9cd0bdf', 'name': '', 'tenant_id': 'ca6e6191fc6e42adb507dd23beb779f3', 'network_id': 'e6103aef-acde-4413-bb8d-9f033bac8bbf', 'ip_version': 4, 'cidr': '222.153.218.64/26', 'allocation_pools': [{'start': '222.153.218.66', 'end': '222.153.218.126'}], 'gateway_ip': '222.153.218.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '222.153.218.66', 'tags': [], 'project_id': 'ca6e6191fc6e42adb507dd23beb779f3'}} 2026-02-23 19:06:20,971 - INFO - Created VN ctest-vn1-53155802 2026-02-23 19:06:21,036 - DEBUG - VN ctest-vn1-53155802 UUID is e6103aef-acde-4413-bb8d-9f033bac8bbf 2026-02-23 19:06:21,436 - DEBUG - Response for create_port : {'port': {'name': 'd3fcb4db-2dd6-49f6-be8d-8c95b84b46cd', 'id': 'd3fcb4db-2dd6-49f6-be8d-8c95b84b46cd', 'tenant_id': 'ca6e6191fc6e42adb507dd23beb779f3', 'network_id': 'e6103aef-acde-4413-bb8d-9f033bac8bbf', 'mac_address': '02:d3:fc:b4:db:2d', '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': '144.85.222.5', 'subnet_id': '17793010-edb3-4d0d-a28f-1d9af9033a6a'}], 'security_groups': ['4cfeaab6-5a76-4f8c-bd21-7278fd693ff1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ca6e6191fc6e42adb507dd23beb779f3'}} 2026-02-23 19:06:21,654 - DEBUG - Response for create_port : {'port': {'name': 'c8eb4cba-7162-4c34-9a71-81e7b172b3ee', 'id': 'c8eb4cba-7162-4c34-9a71-81e7b172b3ee', 'tenant_id': 'ca6e6191fc6e42adb507dd23beb779f3', 'network_id': 'e6103aef-acde-4413-bb8d-9f033bac8bbf', 'mac_address': '02:c8:eb:4c:ba:71', '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': '222.153.218.69', 'subnet_id': '39540048-59b5-4815-8af2-1370d9cd0bdf'}], 'security_groups': ['4cfeaab6-5a76-4f8c-bd21-7278fd693ff1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ca6e6191fc6e42adb507dd23beb779f3'}} 2026-02-23 19:06:21,733 - DEBUG - Services list from nova: [, , ] 2026-02-23 19:06:22,463 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5389-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5389-1) 2026-02-23 19:06:23,294 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5389-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5389-1) 2026-02-23 19:06:23,295 - INFO - Waiting for VM ctest-vn1-vm1-74483149 to be up.. 2026-02-23 19:06:23,399 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-23 19:06:28,566 - DEBUG - VM is in ACTIVE state now 2026-02-23 19:06:28,567 - INFO - VM name : ctest-vn1-vm1-74483149 2026-02-23 19:06:28,713 - DEBUG - VM ctest-vn1-vm1-74483149 ID is 26602c41-cd62-4b1f-86bb-dab2e0f71004 2026-02-23 19:06:28,762 - DEBUG - VM ctest-vn1-vm1-74483149 launched on Node cn-jenkins-deploy-platform-ansible-os-5389-1 2026-02-23 19:06:28,920 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/26602c41-cd62-4b1f-86bb-dab2e0f71004 2026-02-23 19:06:28,938 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d3fcb4db-2dd6-49f6-be8d-8c95b84b46cd 2026-02-23 19:06:32,266 - 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 1032ms') 2026-02-23 19:06:32,266 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-74483149 failed! 2026-02-23 19:06:32,327 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-18520554:ctest-vn1-53155802 is 144.85.222.1 and allocation pool is NOT set 2026-02-23 19:06:32,327 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-18520554:ctest-vn1-53155802 is 222.153.218.65 and allocation pool is NOT set 2026-02-23 19:06:36,393 - 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=22.1 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1004ms\r\nrtt min/avg/max/mdev = 22.111/22.111/22.111/0.000 ms') 2026-02-23 19:06:36,394 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-74483149 passed 2026-02-23 19:06:36,575 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-23 19:06:36,576 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-74483149, IP 144.85.222.5, Port 22 2026-02-23 19:06:36,646 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-02-23 19:06:36,823 - DEBUG - VM ctest-vn1-vm1-74483149 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-23 19:06:41,824 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-23 19:06:41,824 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-74483149, IP 144.85.222.5, Port 22 2026-02-23 19:06:42,014 - DEBUG - VM ctest-vn1-vm1-74483149 is ready for SSH connections 2026-02-23 19:06:42,015 - INFO - Waiting for VM ctest-vn1-vm2-33772729 to be up.. 2026-02-23 19:06:42,173 - DEBUG - VM is in ACTIVE state now 2026-02-23 19:06:42,174 - INFO - VM name : ctest-vn1-vm2-33772729 2026-02-23 19:06:42,365 - DEBUG - VM ctest-vn1-vm2-33772729 ID is 98b68523-fcdb-48d1-9791-0324e2efae29 2026-02-23 19:06:42,365 - DEBUG - VM ctest-vn1-vm2-33772729 launched on Node cn-jenkins-deploy-platform-ansible-os-5389-1 2026-02-23 19:06:42,561 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/98b68523-fcdb-48d1-9791-0324e2efae29 2026-02-23 19:06:42,579 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/c8eb4cba-7162-4c34-9a71-81e7b172b3ee 2026-02-23 19:06:43,904 - 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=9.55 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.845 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.845/5.198/9.551/4.353 ms') 2026-02-23 19:06:43,905 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-33772729 passed 2026-02-23 19:06:44,084 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-23 19:06:44,084 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-33772729, IP 222.153.218.69, Port 22 2026-02-23 19:06:44,272 - DEBUG - VM ctest-vn1-vm2-33772729 is ready for SSH connections 2026-02-23 19:06:44,272 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-23 19:06:44,272 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-23 19:06:44,272 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-23 19:06:44,272 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 144.85.222.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-02-23 19:06:44,272 - DEBUG - ping -s 56 -c 3 -W 1 144.85.222.5 2026-02-23 19:06:47,417 - DEBUG - PING 144.85.222.5 (144.85.222.5): 56 data bytes 64 bytes from 144.85.222.5: seq=0 ttl=63 time=4.304 ms 64 bytes from 144.85.222.5: seq=1 ttl=63 time=2.714 ms 64 bytes from 144.85.222.5: seq=2 ttl=63 time=1.579 ms --- 144.85.222.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.579/2.865/4.304 ms 2026-02-23 19:06:47,417 - INFO - Ping to IP 144.85.222.5 from VM ctest-vn1-vm2-33772729 passed 2026-02-23 19:06:47,417 - INFO - Detaching port c8eb4cba-7162-4c34-9a71-81e7b172b3ee from VM ctest-vn1-vm2-33772729 2026-02-23 19:06:47,474 - INFO - Deleting VM ctest-vn1-vm2-33772729 2026-02-23 19:06:47,567 - INFO - Detaching port d3fcb4db-2dd6-49f6-be8d-8c95b84b46cd from VM ctest-vn1-vm1-74483149 2026-02-23 19:06:47,615 - INFO - Deleting VM ctest-vn1-vm1-74483149 2026-02-23 19:06:47,916 - DEBUG - Response for delete_port : () 2026-02-23 19:06:48,155 - DEBUG - Response for delete_port : () 2026-02-23 19:06:48,155 - INFO - Deleting VN ctest-vn1-53155802 2026-02-23 19:06:48,315 - DEBUG - Response for deleting network () 2026-02-23 19:06:48,602 - DEBUG - No XMPP flaps were noticed during the test
2026-02-23 19:06:48,604 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:29]
2026-02-23 19:06:48,604 - INFO - -------------------------------------------------------------------------------- 2026-02-23 19:06:49,480 - INFO - Deleted project: ctest-TestPorts-18520554, ID : ca6e6191-fc6e-42ad-b507-dd23beb779f3