2026-04-27 02:29:25,136 - INFO - Domain Default found not creating 2026-04-27 02:29:25,286 - INFO - Project ctest-TestPorts-21641034 not found, creating it 2026-04-27 02:29:25,731 - INFO - Created Project:ctest-TestPorts-21641034, ID : c3d7ab73-cf57-4e02-b1d4-6eddedc9abc9 2026-04-27 02:29:27,295 - INFO - ================================================================================ 2026-04-27 02:29:27,295 - INFO - STARTING TEST : test_ports_bindings 2026-04-27 02:29:27,295 - 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-04-27 02:29:27,553 - DEBUG - Nothing to compare xmpp stats {'10.0.0.240': {'10.20.0.129': '0'}} with 2026-04-27 02:29:27,554 - INFO - Initial checks done. Running the testcase now 2026-04-27 02:29:27,554 - INFO - 2026-04-27 02:29:28,119 - DEBUG - Response for create_network : {'network': {'id': 'b486a8c5-44a8-4533-b6a3-ccbddef0acab', 'name': 'ctest-vn-20749745', 'tenant_id': 'c3d7ab73cf574e02b1d46eddedc9abc9', 'project_id': 'c3d7ab73cf574e02b1d46eddedc9abc9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-21641034', 'ctest-vn-20749745'], 'port_security_enabled': True, 'description': ''}} 2026-04-27 02:29:28,298 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e4e6f4e3-9aa9-46b1-befa-720681c801c4', 'name': '', 'tenant_id': 'c3d7ab73cf574e02b1d46eddedc9abc9', 'network_id': 'b486a8c5-44a8-4533-b6a3-ccbddef0acab', 'ip_version': 4, 'cidr': '222.218.105.0/26', 'allocation_pools': [{'start': '222.218.105.2', 'end': '222.218.105.62'}], 'gateway_ip': '222.218.105.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '222.218.105.2', 'tags': [], 'project_id': 'c3d7ab73cf574e02b1d46eddedc9abc9'}} 2026-04-27 02:29:28,318 - INFO - Created VN ctest-vn-20749745 2026-04-27 02:29:28,368 - DEBUG - VN ctest-vn-20749745 UUID is b486a8c5-44a8-4533-b6a3-ccbddef0acab 2026-04-27 02:29:28,479 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-21641034', 'ctest-vmi-99772960']} 2026-04-27 02:29:28,717 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-99772960', 'id': '6616ee7c-1f61-4830-aeee-15c11e4c191f', 'tenant_id': 'c3d7ab73cf574e02b1d46eddedc9abc9', 'network_id': 'b486a8c5-44a8-4533-b6a3-ccbddef0acab', 'mac_address': '02:66:16:ee:7c:1f', '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': '222.218.105.3', 'subnet_id': 'e4e6f4e3-9aa9-46b1-befa-720681c801c4'}], 'security_groups': ['ed524360-6920-47bf-b561-1de55a3031d3'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c3d7ab73cf574e02b1d46eddedc9abc9'}} 2026-04-27 02:29:28,717 - DEBUG - Created port 6616ee7c-1f61-4830-aeee-15c11e4c191f 2026-04-27 02:29:28,820 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine-interface/6616ee7c-1f61-4830-aeee-15c11e4c191f 2026-04-27 02:29:29,115 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine-interface/6616ee7c-1f61-4830-aeee-15c11e4c191f 2026-04-27 02:29:29,151 - INFO - VMI 6616ee7c-1f61-4830-aeee-15c11e4c191f verification in API Server passed 2026-04-27 02:29:29,260 - DEBUG - Response for delete_port : () 2026-04-27 02:29:29,260 - INFO - Deleted port 6616ee7c-1f61-4830-aeee-15c11e4c191f 2026-04-27 02:29:29,260 - INFO - Deleting VN ctest-vn-20749745 2026-04-27 02:29:29,366 - DEBUG - Response for deleting network () 2026-04-27 02:29:29,621 - DEBUG - No XMPP flaps were noticed during the test 2026-04-27 02:29:29,621 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2026-04-27 02:29:29,621 - INFO - -------------------------------------------------------------------------------- 2026-04-27 02:29:29,624 - INFO - ================================================================================ 2026-04-27 02:29:29,624 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-04-27 02:29:29,624 - 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-04-27 02:29:29,910 - DEBUG - Nothing to compare xmpp stats {'10.0.0.240': {'10.20.0.129': '0'}} with 2026-04-27 02:29:29,910 - INFO - Initial checks done. Running the testcase now 2026-04-27 02:29:29,910 - INFO - 2026-04-27 02:29:30,079 - DEBUG - Response for create_network : {'network': {'id': 'b0189d78-25d8-415e-8e62-fcf07dfa01c3', 'name': 'ctest-vn1-24942579', 'tenant_id': 'c3d7ab73cf574e02b1d46eddedc9abc9', 'project_id': 'c3d7ab73cf574e02b1d46eddedc9abc9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-21641034', 'ctest-vn1-24942579'], 'port_security_enabled': True, 'description': ''}} 2026-04-27 02:29:30,258 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd19afaa0-5290-4231-877d-07bc582fc5af', 'name': '', 'tenant_id': 'c3d7ab73cf574e02b1d46eddedc9abc9', 'network_id': 'b0189d78-25d8-415e-8e62-fcf07dfa01c3', 'ip_version': 4, 'cidr': '37.164.121.0/26', 'allocation_pools': [{'start': '37.164.121.2', 'end': '37.164.121.62'}], 'gateway_ip': '37.164.121.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '37.164.121.2', 'tags': [], 'project_id': 'c3d7ab73cf574e02b1d46eddedc9abc9'}} 2026-04-27 02:29:30,404 - DEBUG - Response for create_subnet : {'subnet': {'id': '4e1600db-f695-4c48-b4b4-1d7a7148d9cc', 'name': '', 'tenant_id': 'c3d7ab73cf574e02b1d46eddedc9abc9', 'network_id': 'b0189d78-25d8-415e-8e62-fcf07dfa01c3', 'ip_version': 4, 'cidr': '164.160.221.128/26', 'allocation_pools': [{'start': '164.160.221.130', 'end': '164.160.221.190'}], 'gateway_ip': '164.160.221.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.160.221.130', 'tags': [], 'project_id': 'c3d7ab73cf574e02b1d46eddedc9abc9'}} 2026-04-27 02:29:30,425 - INFO - Created VN ctest-vn1-24942579 2026-04-27 02:29:30,476 - DEBUG - VN ctest-vn1-24942579 UUID is b0189d78-25d8-415e-8e62-fcf07dfa01c3 2026-04-27 02:29:30,766 - DEBUG - Response for create_port : {'port': {'name': '1bfc6c88-7b4e-49b6-9d7e-40cb1896b027', 'id': '1bfc6c88-7b4e-49b6-9d7e-40cb1896b027', 'tenant_id': 'c3d7ab73cf574e02b1d46eddedc9abc9', 'network_id': 'b0189d78-25d8-415e-8e62-fcf07dfa01c3', 'mac_address': '02:1b:fc:6c:88:7b', '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': '37.164.121.5', 'subnet_id': 'd19afaa0-5290-4231-877d-07bc582fc5af'}], 'security_groups': ['ed524360-6920-47bf-b561-1de55a3031d3'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c3d7ab73cf574e02b1d46eddedc9abc9'}} 2026-04-27 02:29:30,937 - DEBUG - Response for create_port : {'port': {'name': 'ca6f38e2-0dba-49e1-9f0e-6b728c345541', 'id': 'ca6f38e2-0dba-49e1-9f0e-6b728c345541', 'tenant_id': 'c3d7ab73cf574e02b1d46eddedc9abc9', 'network_id': 'b0189d78-25d8-415e-8e62-fcf07dfa01c3', 'mac_address': '02:ca:6f:38:e2:0d', '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': '164.160.221.133', 'subnet_id': '4e1600db-f695-4c48-b4b4-1d7a7148d9cc'}], 'security_groups': ['ed524360-6920-47bf-b561-1de55a3031d3'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c3d7ab73cf574e02b1d46eddedc9abc9'}} 2026-04-27 02:29:30,996 - DEBUG - Services list from nova: [, , ] 2026-04-27 02:29:31,350 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5691-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5691-1) 2026-04-27 02:29:31,764 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5691-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5691-1) 2026-04-27 02:29:31,764 - INFO - Waiting for VM ctest-vn1-vm1-14227224 to be up.. 2026-04-27 02:29:31,806 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-27 02:29:36,883 - DEBUG - VM is in ACTIVE state now 2026-04-27 02:29:36,883 - INFO - VM name : ctest-vn1-vm1-14227224 2026-04-27 02:29:36,955 - DEBUG - VM ctest-vn1-vm1-14227224 ID is e1cde097-89aa-4742-9c4b-559bd1cf1b3f 2026-04-27 02:29:36,974 - DEBUG - VM ctest-vn1-vm1-14227224 launched on Node cn-jenkins-deploy-platform-ansible-os-5691-1 2026-04-27 02:29:37,053 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/e1cde097-89aa-4742-9c4b-559bd1cf1b3f 2026-04-27 02:29:37,061 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine-interface/1bfc6c88-7b4e-49b6-9d7e-40cb1896b027 2026-04-27 02:29:40,305 - 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 1019ms') 2026-04-27 02:29:40,305 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-14227224 failed! 2026-04-27 02:29:40,360 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-21641034:ctest-vn1-24942579 is 37.164.121.1 and allocation pool is NOT set 2026-04-27 02:29:40,360 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-21641034:ctest-vn1-24942579 is 164.160.221.129 and allocation pool is NOT set 2026-04-27 02:29:44,444 - 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=4.31 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1019ms\r\nrtt min/avg/max/mdev = 4.307/4.307/4.307/0.000 ms') 2026-04-27 02:29:44,444 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-14227224 passed 2026-04-27 02:29:44,596 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-27 02:29:44,596 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-14227224, IP 37.164.121.5, Port 22 2026-04-27 02:29:44,662 - 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-04-27 02:29:44,746 - DEBUG - VM ctest-vn1-vm1-14227224 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-27 02:29:49,747 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-27 02:29:49,747 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-14227224, IP 37.164.121.5, Port 22 2026-04-27 02:29:49,904 - DEBUG - VM ctest-vn1-vm1-14227224 is ready for SSH connections 2026-04-27 02:29:49,904 - INFO - Waiting for VM ctest-vn1-vm2-78051809 to be up.. 2026-04-27 02:29:49,976 - DEBUG - VM is in ACTIVE state now 2026-04-27 02:29:49,976 - INFO - VM name : ctest-vn1-vm2-78051809 2026-04-27 02:29:50,049 - DEBUG - VM ctest-vn1-vm2-78051809 ID is 2b2d89ff-7f53-4b22-a3cc-5551150948b7 2026-04-27 02:29:50,050 - DEBUG - VM ctest-vn1-vm2-78051809 launched on Node cn-jenkins-deploy-platform-ansible-os-5691-1 2026-04-27 02:29:50,117 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/2b2d89ff-7f53-4b22-a3cc-5551150948b7 2026-04-27 02:29:50,125 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine-interface/ca6f38e2-0dba-49e1-9f0e-6b728c345541 2026-04-27 02:29:51,356 - 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=2.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.373 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.373/1.568/2.764/1.195 ms') 2026-04-27 02:29:51,356 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-78051809 passed 2026-04-27 02:29:51,504 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-27 02:29:51,504 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-78051809, IP 164.160.221.133, Port 22 2026-04-27 02:29:51,667 - DEBUG - VM ctest-vn1-vm2-78051809 is ready for SSH connections 2026-04-27 02:29:51,667 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-27 02:29:51,668 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-27 02:29:51,668 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-27 02:29:51,668 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 37.164.121.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.240, gateway password: c0ntrail123 2026-04-27 02:29:51,668 - DEBUG - ping -s 56 -c 3 -W 1 37.164.121.5 2026-04-27 02:29:54,377 - DEBUG - PING 37.164.121.5 (37.164.121.5): 56 data bytes 64 bytes from 37.164.121.5: seq=0 ttl=63 time=3.977 ms 64 bytes from 37.164.121.5: seq=1 ttl=63 time=1.146 ms 64 bytes from 37.164.121.5: seq=2 ttl=63 time=1.136 ms --- 37.164.121.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.136/2.086/3.977 ms 2026-04-27 02:29:54,377 - INFO - Ping to IP 37.164.121.5 from VM ctest-vn1-vm2-78051809 passed 2026-04-27 02:29:54,377 - INFO - Detaching port ca6f38e2-0dba-49e1-9f0e-6b728c345541 from VM ctest-vn1-vm2-78051809 2026-04-27 02:29:54,425 - INFO - Deleting VM ctest-vn1-vm2-78051809 2026-04-27 02:29:54,494 - INFO - Detaching port 1bfc6c88-7b4e-49b6-9d7e-40cb1896b027 from VM ctest-vn1-vm1-14227224 2026-04-27 02:29:54,530 - INFO - Deleting VM ctest-vn1-vm1-14227224 2026-04-27 02:29:54,767 - DEBUG - Response for delete_port : () 2026-04-27 02:29:54,941 - DEBUG - Response for delete_port : () 2026-04-27 02:29:54,941 - INFO - Deleting VN ctest-vn1-24942579 2026-04-27 02:29:55,070 - DEBUG - Response for deleting network () 2026-04-27 02:29:55,333 - DEBUG - No XMPP flaps were noticed during the test 2026-04-27 02:29:55,333 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:26] 2026-04-27 02:29:55,334 - INFO - -------------------------------------------------------------------------------- 2026-04-27 02:29:56,039 - INFO - Deleted project: ctest-TestPorts-21641034, ID : c3d7ab73-cf57-4e02-b1d4-6eddedc9abc9