2026-02-09 16:59:29,895 - INFO - Domain Default found not creating 2026-02-09 16:59:30,059 - INFO - Project ctest-TestPorts-40699600 not found, creating it 2026-02-09 16:59:30,505 - INFO - Created Project:ctest-TestPorts-40699600, ID : af86c426-8d4e-4ba0-b90f-ba87b57f8d69 2026-02-09 16:59:31,953 - INFO - ================================================================================ 2026-02-09 16:59:31,953 - INFO - STARTING TEST : test_ports_bindings 2026-02-09 16:59:31,953 - 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-09 16:59:32,204 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2026-02-09 16:59:32,205 - INFO - Initial checks done. Running the testcase now 2026-02-09 16:59:32,205 - INFO - 2026-02-09 16:59:32,752 - DEBUG - Response for create_network : {'network': {'id': 'c1724c27-9f1a-49b7-857e-b24653babeda', 'name': 'ctest-vn-49081249', 'tenant_id': 'af86c4268d4e4ba0b90fba87b57f8d69', 'project_id': 'af86c4268d4e4ba0b90fba87b57f8d69', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-40699600', 'ctest-vn-49081249'], 'port_security_enabled': True, 'description': ''}} 2026-02-09 16:59:33,017 - DEBUG - Response for create_subnet : {'subnet': {'id': 'edff0b49-e39a-4421-a508-240a39eeeede', 'name': '', 'tenant_id': 'af86c4268d4e4ba0b90fba87b57f8d69', 'network_id': 'c1724c27-9f1a-49b7-857e-b24653babeda', 'ip_version': 4, 'cidr': '208.31.254.64/26', 'allocation_pools': [{'start': '208.31.254.66', 'end': '208.31.254.126'}], 'gateway_ip': '208.31.254.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '208.31.254.66', 'tags': [], 'project_id': 'af86c4268d4e4ba0b90fba87b57f8d69'}} 2026-02-09 16:59:33,033 - INFO - Created VN ctest-vn-49081249 2026-02-09 16:59:33,084 - DEBUG - VN ctest-vn-49081249 UUID is c1724c27-9f1a-49b7-857e-b24653babeda 2026-02-09 16:59:33,186 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-40699600', 'ctest-vmi-20560954']} 2026-02-09 16:59:33,451 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-20560954', 'id': 'b3fef3cc-ad98-4e43-bccb-d93cd1861f82', 'tenant_id': 'af86c4268d4e4ba0b90fba87b57f8d69', 'network_id': 'c1724c27-9f1a-49b7-857e-b24653babeda', 'mac_address': '02:b3:fe:f3:cc:ad', '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': '208.31.254.67', 'subnet_id': 'edff0b49-e39a-4421-a508-240a39eeeede'}], 'security_groups': ['2f530c7e-79b7-4cd1-b1a8-cb8aeddb7c88'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'af86c4268d4e4ba0b90fba87b57f8d69'}} 2026-02-09 16:59:33,451 - DEBUG - Created port b3fef3cc-ad98-4e43-bccb-d93cd1861f82 2026-02-09 16:59:33,556 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/b3fef3cc-ad98-4e43-bccb-d93cd1861f82 2026-02-09 16:59:33,854 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/b3fef3cc-ad98-4e43-bccb-d93cd1861f82 2026-02-09 16:59:33,888 - INFO - VMI b3fef3cc-ad98-4e43-bccb-d93cd1861f82 verification in API Server passed 2026-02-09 16:59:33,974 - DEBUG - Response for delete_port : () 2026-02-09 16:59:33,974 - INFO - Deleted port b3fef3cc-ad98-4e43-bccb-d93cd1861f82 2026-02-09 16:59:33,974 - INFO - Deleting VN ctest-vn-49081249 2026-02-09 16:59:34,066 - DEBUG - Response for deleting network () 2026-02-09 16:59:34,324 - DEBUG - No XMPP flaps were noticed during the test 2026-02-09 16:59:34,324 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2026-02-09 16:59:34,324 - INFO - -------------------------------------------------------------------------------- 2026-02-09 16:59:34,328 - INFO - ================================================================================ 2026-02-09 16:59:34,329 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-02-09 16:59:34,329 - 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-09 16:59:34,613 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2026-02-09 16:59:34,613 - INFO - Initial checks done. Running the testcase now 2026-02-09 16:59:34,613 - INFO - 2026-02-09 16:59:34,791 - DEBUG - Response for create_network : {'network': {'id': '1753afad-5830-43aa-89e8-09ea440f12d6', 'name': 'ctest-vn1-03756072', 'tenant_id': 'af86c4268d4e4ba0b90fba87b57f8d69', 'project_id': 'af86c4268d4e4ba0b90fba87b57f8d69', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-40699600', 'ctest-vn1-03756072'], 'port_security_enabled': True, 'description': ''}} 2026-02-09 16:59:34,973 - DEBUG - Response for create_subnet : {'subnet': {'id': '21072ce0-b71f-4a83-99dd-bbd63eced162', 'name': '', 'tenant_id': 'af86c4268d4e4ba0b90fba87b57f8d69', 'network_id': '1753afad-5830-43aa-89e8-09ea440f12d6', 'ip_version': 4, 'cidr': '212.64.244.128/26', 'allocation_pools': [{'start': '212.64.244.130', 'end': '212.64.244.190'}], 'gateway_ip': '212.64.244.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '212.64.244.130', 'tags': [], 'project_id': 'af86c4268d4e4ba0b90fba87b57f8d69'}} 2026-02-09 16:59:35,168 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b64568f1-1c36-46d3-8e26-168fe33af70d', 'name': '', 'tenant_id': 'af86c4268d4e4ba0b90fba87b57f8d69', 'network_id': '1753afad-5830-43aa-89e8-09ea440f12d6', 'ip_version': 4, 'cidr': '118.18.251.64/26', 'allocation_pools': [{'start': '118.18.251.66', 'end': '118.18.251.126'}], 'gateway_ip': '118.18.251.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '118.18.251.66', 'tags': [], 'project_id': 'af86c4268d4e4ba0b90fba87b57f8d69'}} 2026-02-09 16:59:35,188 - INFO - Created VN ctest-vn1-03756072 2026-02-09 16:59:35,240 - DEBUG - VN ctest-vn1-03756072 UUID is 1753afad-5830-43aa-89e8-09ea440f12d6 2026-02-09 16:59:35,519 - DEBUG - Response for create_port : {'port': {'name': '2841f5d0-d0a3-4cc9-86a4-1702438c467c', 'id': '2841f5d0-d0a3-4cc9-86a4-1702438c467c', 'tenant_id': 'af86c4268d4e4ba0b90fba87b57f8d69', 'network_id': '1753afad-5830-43aa-89e8-09ea440f12d6', 'mac_address': '02:28:41:f5:d0:d0', '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': '212.64.244.133', 'subnet_id': '21072ce0-b71f-4a83-99dd-bbd63eced162'}], 'security_groups': ['2f530c7e-79b7-4cd1-b1a8-cb8aeddb7c88'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'af86c4268d4e4ba0b90fba87b57f8d69'}} 2026-02-09 16:59:35,667 - DEBUG - Response for create_port : {'port': {'name': '914b09b1-8902-4b16-80b8-b8c565810867', 'id': '914b09b1-8902-4b16-80b8-b8c565810867', 'tenant_id': 'af86c4268d4e4ba0b90fba87b57f8d69', 'network_id': '1753afad-5830-43aa-89e8-09ea440f12d6', 'mac_address': '02:91:4b:09:b1:89', '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': '118.18.251.69', 'subnet_id': 'b64568f1-1c36-46d3-8e26-168fe33af70d'}], 'security_groups': ['2f530c7e-79b7-4cd1-b1a8-cb8aeddb7c88'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'af86c4268d4e4ba0b90fba87b57f8d69'}} 2026-02-09 16:59:35,718 - DEBUG - Services list from nova: [, , ] 2026-02-09 16:59:36,059 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5246-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5246-1) 2026-02-09 16:59:36,460 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5246-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5246-1) 2026-02-09 16:59:36,461 - INFO - Waiting for VM ctest-vn1-vm1-31754825 to be up.. 2026-02-09 16:59:36,509 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-09 16:59:41,595 - DEBUG - VM is in ACTIVE state now 2026-02-09 16:59:41,595 - INFO - VM name : ctest-vn1-vm1-31754825 2026-02-09 16:59:41,695 - DEBUG - VM ctest-vn1-vm1-31754825 ID is 69b6b383-0668-4f3b-a239-0d11c07ca356 2026-02-09 16:59:41,714 - DEBUG - VM ctest-vn1-vm1-31754825 launched on Node cn-jenkins-deploy-platform-ansible-os-5246-1 2026-02-09 16:59:41,786 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/69b6b383-0668-4f3b-a239-0d11c07ca356 2026-02-09 16:59:41,795 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/2841f5d0-d0a3-4cc9-86a4-1702438c467c 2026-02-09 16:59:45,044 - 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 1015ms') 2026-02-09 16:59:45,044 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-31754825 failed! 2026-02-09 16:59:45,096 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-40699600:ctest-vn1-03756072 is 212.64.244.129 and allocation pool is NOT set 2026-02-09 16:59:45,096 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-40699600:ctest-vn1-03756072 is 118.18.251.65 and allocation pool is NOT set 2026-02-09 16:59:47,155 - 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=7.47 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.06 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 3.063/5.264/7.465/2.201 ms') 2026-02-09 16:59:47,155 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-31754825 passed 2026-02-09 16:59:47,304 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 16:59:47,304 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-31754825, IP 212.64.244.133, Port 22 2026-02-09 16:59:47,360 - 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-09 16:59:47,449 - DEBUG - VM ctest-vn1-vm1-31754825 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-09 16:59:52,449 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 16:59:52,449 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-31754825, IP 212.64.244.133, Port 22 2026-02-09 16:59:52,606 - DEBUG - VM ctest-vn1-vm1-31754825 is ready for SSH connections 2026-02-09 16:59:52,607 - INFO - Waiting for VM ctest-vn1-vm2-11153044 to be up.. 2026-02-09 16:59:52,702 - DEBUG - VM is in ACTIVE state now 2026-02-09 16:59:52,702 - INFO - VM name : ctest-vn1-vm2-11153044 2026-02-09 16:59:52,811 - DEBUG - VM ctest-vn1-vm2-11153044 ID is 7803a031-7dd2-4e91-ba19-7868cecee408 2026-02-09 16:59:52,811 - DEBUG - VM ctest-vn1-vm2-11153044 launched on Node cn-jenkins-deploy-platform-ansible-os-5246-1 2026-02-09 16:59:52,919 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/7803a031-7dd2-4e91-ba19-7868cecee408 2026-02-09 16:59:52,938 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/914b09b1-8902-4b16-80b8-b8c565810867 2026-02-09 16:59:54,189 - 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.36 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.430 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.430/1.896/3.363/1.466 ms') 2026-02-09 16:59:54,189 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-11153044 passed 2026-02-09 16:59:54,340 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 16:59:54,340 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-11153044, IP 118.18.251.69, Port 22 2026-02-09 16:59:54,496 - DEBUG - VM ctest-vn1-vm2-11153044 is ready for SSH connections 2026-02-09 16:59:54,496 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 16:59:54,496 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 16:59:54,496 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 16:59:54,496 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 212.64.244.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-02-09 16:59:54,496 - DEBUG - ping -s 56 -c 3 -W 1 212.64.244.133 2026-02-09 16:59:57,465 - DEBUG - PING 212.64.244.133 (212.64.244.133): 56 data bytes 64 bytes from 212.64.244.133: seq=0 ttl=63 time=3.570 ms 64 bytes from 212.64.244.133: seq=1 ttl=63 time=0.906 ms 64 bytes from 212.64.244.133: seq=2 ttl=63 time=0.907 ms --- 212.64.244.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.906/1.794/3.570 ms 2026-02-09 16:59:57,465 - INFO - Ping to IP 212.64.244.133 from VM ctest-vn1-vm2-11153044 passed 2026-02-09 16:59:57,465 - INFO - Detaching port 914b09b1-8902-4b16-80b8-b8c565810867 from VM ctest-vn1-vm2-11153044 2026-02-09 16:59:57,522 - INFO - Deleting VM ctest-vn1-vm2-11153044 2026-02-09 16:59:57,598 - INFO - Detaching port 2841f5d0-d0a3-4cc9-86a4-1702438c467c from VM ctest-vn1-vm1-31754825 2026-02-09 16:59:57,636 - INFO - Deleting VM ctest-vn1-vm1-31754825 2026-02-09 16:59:57,855 - DEBUG - Response for delete_port : () 2026-02-09 16:59:58,006 - DEBUG - Response for delete_port : () 2026-02-09 16:59:58,007 - INFO - Deleting VN ctest-vn1-03756072 2026-02-09 16:59:58,154 - DEBUG - Response for deleting network () 2026-02-09 16:59:58,413 - DEBUG - No XMPP flaps were noticed during the test 2026-02-09 16:59:58,413 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24] 2026-02-09 16:59:58,413 - INFO - -------------------------------------------------------------------------------- 2026-02-09 16:59:59,095 - INFO - Deleted project: ctest-TestPorts-40699600, ID : af86c426-8d4e-4ba0-b90f-ba87b57f8d69