2026-02-26 10:39:22,828 - INFO - Domain Default found not creating 2026-02-26 10:39:23,039 - INFO - Project ctest-TestPorts-61977992 not found, creating it 2026-02-26 10:39:23,533 - INFO - Created Project:ctest-TestPorts-61977992, ID : 921b6134-44e4-4de3-baec-86666a5d6c33 2026-02-26 10:39:25,206 - INFO - ================================================================================ 2026-02-26 10:39:25,206 - INFO - STARTING TEST : test_ports_bindings 2026-02-26 10:39:25,207 - 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-26 10:39:25,465 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.17': '0'}} with 2026-02-26 10:39:25,465 - INFO - Initial checks done. Running the testcase now 2026-02-26 10:39:25,465 - INFO - 2026-02-26 10:39:26,092 - DEBUG - Response for create_network : {'network': {'id': 'fed2fafc-2880-46e5-9645-8dab1a0c48db', 'name': 'ctest-vn-80380093', 'tenant_id': '921b613444e44de3baec86666a5d6c33', 'project_id': '921b613444e44de3baec86666a5d6c33', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-61977992', 'ctest-vn-80380093'], 'port_security_enabled': True, 'description': ''}} 2026-02-26 10:39:26,298 - DEBUG - Response for create_subnet : {'subnet': {'id': '975393bd-53bc-4371-b57c-be583e6efe72', 'name': '', 'tenant_id': '921b613444e44de3baec86666a5d6c33', 'network_id': 'fed2fafc-2880-46e5-9645-8dab1a0c48db', 'ip_version': 4, 'cidr': '160.143.222.0/26', 'allocation_pools': [{'start': '160.143.222.2', 'end': '160.143.222.62'}], 'gateway_ip': '160.143.222.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '160.143.222.2', 'tags': [], 'project_id': '921b613444e44de3baec86666a5d6c33'}} 2026-02-26 10:39:26,321 - INFO - Created VN ctest-vn-80380093 2026-02-26 10:39:26,375 - DEBUG - VN ctest-vn-80380093 UUID is fed2fafc-2880-46e5-9645-8dab1a0c48db 2026-02-26 10:39:26,502 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-61977992', 'ctest-vmi-21832139']} 2026-02-26 10:39:26,764 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-21832139', 'id': '2e9f4d97-9457-4101-91f8-6ee91295af55', 'tenant_id': '921b613444e44de3baec86666a5d6c33', 'network_id': 'fed2fafc-2880-46e5-9645-8dab1a0c48db', 'mac_address': '02:2e:9f:4d:97:94', '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': '160.143.222.3', 'subnet_id': '975393bd-53bc-4371-b57c-be583e6efe72'}], 'security_groups': ['e57989d3-b766-4900-bcc1-95eec2ff5d99'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '921b613444e44de3baec86666a5d6c33'}} 2026-02-26 10:39:26,764 - DEBUG - Created port 2e9f4d97-9457-4101-91f8-6ee91295af55 2026-02-26 10:39:26,871 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/2e9f4d97-9457-4101-91f8-6ee91295af55 2026-02-26 10:39:27,174 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/2e9f4d97-9457-4101-91f8-6ee91295af55 2026-02-26 10:39:27,216 - INFO - VMI 2e9f4d97-9457-4101-91f8-6ee91295af55 verification in API Server passed 2026-02-26 10:39:27,343 - DEBUG - Response for delete_port : () 2026-02-26 10:39:27,344 - INFO - Deleted port 2e9f4d97-9457-4101-91f8-6ee91295af55 2026-02-26 10:39:27,344 - INFO - Deleting VN ctest-vn-80380093 2026-02-26 10:39:27,482 - DEBUG - Response for deleting network () 2026-02-26 10:39:27,751 - DEBUG - No XMPP flaps were noticed during the test
2026-02-26 10:39:27,752 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-02-26 10:39:27,752 - INFO - -------------------------------------------------------------------------------- 2026-02-26 10:39:27,754 - INFO - ================================================================================ 2026-02-26 10:39:27,754 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-02-26 10:39:27,754 - 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-26 10:39:28,055 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.17': '0'}} with 2026-02-26 10:39:28,055 - INFO - Initial checks done. Running the testcase now 2026-02-26 10:39:28,055 - INFO - 2026-02-26 10:39:28,262 - DEBUG - Response for create_network : {'network': {'id': '0ad0ca4d-9b9e-4288-94ae-712c657a1795', 'name': 'ctest-vn1-83087166', 'tenant_id': '921b613444e44de3baec86666a5d6c33', 'project_id': '921b613444e44de3baec86666a5d6c33', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-61977992', 'ctest-vn1-83087166'], 'port_security_enabled': True, 'description': ''}} 2026-02-26 10:39:28,445 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fb73be88-e53a-41b8-aa62-84bc63237c98', 'name': '', 'tenant_id': '921b613444e44de3baec86666a5d6c33', 'network_id': '0ad0ca4d-9b9e-4288-94ae-712c657a1795', 'ip_version': 4, 'cidr': '103.25.221.192/26', 'allocation_pools': [{'start': '103.25.221.194', 'end': '103.25.221.254'}], 'gateway_ip': '103.25.221.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '103.25.221.194', 'tags': [], 'project_id': '921b613444e44de3baec86666a5d6c33'}} 2026-02-26 10:39:28,638 - DEBUG - Response for create_subnet : {'subnet': {'id': '30cb1e74-a922-4950-bffc-4db1c231d3d6', 'name': '', 'tenant_id': '921b613444e44de3baec86666a5d6c33', 'network_id': '0ad0ca4d-9b9e-4288-94ae-712c657a1795', 'ip_version': 4, 'cidr': '40.78.168.64/26', 'allocation_pools': [{'start': '40.78.168.66', 'end': '40.78.168.126'}], 'gateway_ip': '40.78.168.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '40.78.168.66', 'tags': [], 'project_id': '921b613444e44de3baec86666a5d6c33'}} 2026-02-26 10:39:28,659 - INFO - Created VN ctest-vn1-83087166 2026-02-26 10:39:28,711 - DEBUG - VN ctest-vn1-83087166 UUID is 0ad0ca4d-9b9e-4288-94ae-712c657a1795 2026-02-26 10:39:29,055 - DEBUG - Response for create_port : {'port': {'name': 'bb9be09c-9a74-43af-944d-e5acd2a4f1eb', 'id': 'bb9be09c-9a74-43af-944d-e5acd2a4f1eb', 'tenant_id': '921b613444e44de3baec86666a5d6c33', 'network_id': '0ad0ca4d-9b9e-4288-94ae-712c657a1795', 'mac_address': '02:bb:9b:e0:9c:9a', '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': '103.25.221.197', 'subnet_id': 'fb73be88-e53a-41b8-aa62-84bc63237c98'}], 'security_groups': ['e57989d3-b766-4900-bcc1-95eec2ff5d99'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '921b613444e44de3baec86666a5d6c33'}} 2026-02-26 10:39:29,232 - DEBUG - Response for create_port : {'port': {'name': '93c2eeab-0313-4ef7-ac1b-495f4c787644', 'id': '93c2eeab-0313-4ef7-ac1b-495f4c787644', 'tenant_id': '921b613444e44de3baec86666a5d6c33', 'network_id': '0ad0ca4d-9b9e-4288-94ae-712c657a1795', 'mac_address': '02:93:c2:ee:ab:03', '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': '40.78.168.69', 'subnet_id': '30cb1e74-a922-4950-bffc-4db1c231d3d6'}], 'security_groups': ['e57989d3-b766-4900-bcc1-95eec2ff5d99'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '921b613444e44de3baec86666a5d6c33'}} 2026-02-26 10:39:29,296 - DEBUG - Services list from nova: [, , ] 2026-02-26 10:39:29,684 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5405-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5405-1) 2026-02-26 10:39:30,184 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5405-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5405-1) 2026-02-26 10:39:30,185 - INFO - Waiting for VM ctest-vn1-vm1-70321173 to be up.. 2026-02-26 10:39:30,235 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-26 10:39:35,325 - DEBUG - VM is in ACTIVE state now 2026-02-26 10:39:35,325 - INFO - VM name : ctest-vn1-vm1-70321173 2026-02-26 10:39:35,416 - DEBUG - VM ctest-vn1-vm1-70321173 ID is 37d2ed9b-14f7-430f-a04e-908f8a53fa9e 2026-02-26 10:39:35,449 - DEBUG - VM ctest-vn1-vm1-70321173 launched on Node cn-jenkins-deploy-platform-ansible-os-5405-1 2026-02-26 10:39:35,534 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/37d2ed9b-14f7-430f-a04e-908f8a53fa9e 2026-02-26 10:39:35,546 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/bb9be09c-9a74-43af-944d-e5acd2a4f1eb 2026-02-26 10:39:38,812 - 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') 2026-02-26 10:39:38,812 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-70321173 failed! 2026-02-26 10:39:38,867 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-61977992:ctest-vn1-83087166 is 103.25.221.193 and allocation pool is NOT set 2026-02-26 10:39:38,867 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-61977992:ctest-vn1-83087166 is 40.78.168.65 and allocation pool is NOT set 2026-02-26 10:39:42,934 - 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=6.87 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1006ms\r\nrtt min/avg/max/mdev = 6.865/6.865/6.865/0.000 ms') 2026-02-26 10:39:42,934 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-70321173 passed 2026-02-26 10:39:43,095 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-26 10:39:43,095 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-70321173, IP 103.25.221.197, Port 22 2026-02-26 10:39:43,161 - 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-26 10:39:43,254 - DEBUG - VM ctest-vn1-vm1-70321173 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-26 10:39:48,255 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-26 10:39:48,255 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-70321173, IP 103.25.221.197, Port 22 2026-02-26 10:39:48,434 - DEBUG - VM ctest-vn1-vm1-70321173 is ready for SSH connections 2026-02-26 10:39:48,434 - INFO - Waiting for VM ctest-vn1-vm2-88413147 to be up.. 2026-02-26 10:39:48,529 - DEBUG - VM is in ACTIVE state now 2026-02-26 10:39:48,529 - INFO - VM name : ctest-vn1-vm2-88413147 2026-02-26 10:39:48,617 - DEBUG - VM ctest-vn1-vm2-88413147 ID is c80e57ff-eb64-4b41-9ba1-4be9164dabc3 2026-02-26 10:39:48,617 - DEBUG - VM ctest-vn1-vm2-88413147 launched on Node cn-jenkins-deploy-platform-ansible-os-5405-1 2026-02-26 10:39:48,715 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/c80e57ff-eb64-4b41-9ba1-4be9164dabc3 2026-02-26 10:39:48,725 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/93c2eeab-0313-4ef7-ac1b-495f4c787644 2026-02-26 10:39:49,990 - 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=5.51 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.564 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.564/3.038/5.512/2.474 ms') 2026-02-26 10:39:49,990 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-88413147 passed 2026-02-26 10:39:50,139 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-26 10:39:50,139 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-88413147, IP 40.78.168.69, Port 22 2026-02-26 10:39:50,306 - DEBUG - VM ctest-vn1-vm2-88413147 is ready for SSH connections 2026-02-26 10:39:50,306 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-26 10:39:50,306 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-26 10:39:50,306 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-26 10:39:50,306 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 103.25.221.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2026-02-26 10:39:50,306 - DEBUG - ping -s 56 -c 3 -W 1 103.25.221.197 2026-02-26 10:39:53,046 - DEBUG - PING 103.25.221.197 (103.25.221.197): 56 data bytes 64 bytes from 103.25.221.197: seq=0 ttl=63 time=4.387 ms 64 bytes from 103.25.221.197: seq=1 ttl=63 time=1.429 ms 64 bytes from 103.25.221.197: seq=2 ttl=63 time=1.395 ms --- 103.25.221.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.395/2.403/4.387 ms 2026-02-26 10:39:53,046 - INFO - Ping to IP 103.25.221.197 from VM ctest-vn1-vm2-88413147 passed 2026-02-26 10:39:53,046 - INFO - Detaching port 93c2eeab-0313-4ef7-ac1b-495f4c787644 from VM ctest-vn1-vm2-88413147 2026-02-26 10:39:53,104 - INFO - Deleting VM ctest-vn1-vm2-88413147 2026-02-26 10:39:53,194 - INFO - Detaching port bb9be09c-9a74-43af-944d-e5acd2a4f1eb from VM ctest-vn1-vm1-70321173 2026-02-26 10:39:53,240 - INFO - Deleting VM ctest-vn1-vm1-70321173 2026-02-26 10:39:53,548 - DEBUG - Response for delete_port : () 2026-02-26 10:39:53,749 - DEBUG - Response for delete_port : () 2026-02-26 10:39:53,749 - INFO - Deleting VN ctest-vn1-83087166 2026-02-26 10:39:53,906 - DEBUG - Response for deleting network () 2026-02-26 10:39:54,183 - DEBUG - No XMPP flaps were noticed during the test
2026-02-26 10:39:54,183 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:27]
2026-02-26 10:39:54,183 - INFO - -------------------------------------------------------------------------------- 2026-02-26 10:39:54,909 - INFO - Deleted project: ctest-TestPorts-61977992, ID : 921b6134-44e4-4de3-baec-86666a5d6c33