2026-03-23 15:22:45,677 - INFO - Domain Default found not creating 2026-03-23 15:22:45,841 - INFO - Project ctest-TestPorts-69983450 not found, creating it 2026-03-23 15:22:46,327 - INFO - Created Project:ctest-TestPorts-69983450, ID : 4225ee03-29df-4428-b0e9-49b28d3937df 2026-03-23 15:22:47,757 - INFO - ================================================================================ 2026-03-23 15:22:47,757 - INFO - STARTING TEST : test_ports_bindings 2026-03-23 15:22:47,758 - 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-03-23 15:22:48,014 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.14': '0'}} with 2026-03-23 15:22:48,014 - INFO - Initial checks done. Running the testcase now 2026-03-23 15:22:48,014 - INFO - 2026-03-23 15:22:48,540 - DEBUG - Response for create_network : {'network': {'id': '9c140d94-931a-4f91-9bb3-7149d9cc76f6', 'name': 'ctest-vn-75832783', 'tenant_id': '4225ee0329df4428b0e949b28d3937df', 'project_id': '4225ee0329df4428b0e949b28d3937df', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-69983450', 'ctest-vn-75832783'], 'port_security_enabled': True, 'description': ''}} 2026-03-23 15:22:48,887 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f5580841-084d-43e0-b9d2-5078c44a3fac', 'name': '', 'tenant_id': '4225ee0329df4428b0e949b28d3937df', 'network_id': '9c140d94-931a-4f91-9bb3-7149d9cc76f6', 'ip_version': 4, 'cidr': '78.108.98.64/26', 'allocation_pools': [{'start': '78.108.98.66', 'end': '78.108.98.126'}], 'gateway_ip': '78.108.98.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '78.108.98.66', 'tags': [], 'project_id': '4225ee0329df4428b0e949b28d3937df'}} 2026-03-23 15:22:48,906 - INFO - Created VN ctest-vn-75832783 2026-03-23 15:22:48,957 - DEBUG - VN ctest-vn-75832783 UUID is 9c140d94-931a-4f91-9bb3-7149d9cc76f6 2026-03-23 15:22:49,059 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-69983450', 'ctest-vmi-17159076']} 2026-03-23 15:22:49,333 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-17159076', 'id': 'de1ff0b1-f823-45ce-92c9-dea0eac36e75', 'tenant_id': '4225ee0329df4428b0e949b28d3937df', 'network_id': '9c140d94-931a-4f91-9bb3-7149d9cc76f6', 'mac_address': '02:de:1f:f0:b1:f8', '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': '78.108.98.67', 'subnet_id': 'f5580841-084d-43e0-b9d2-5078c44a3fac'}], 'security_groups': ['5470bf81-2c9c-4c4e-aa64-60de4f87a977'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4225ee0329df4428b0e949b28d3937df'}} 2026-03-23 15:22:49,333 - DEBUG - Created port de1ff0b1-f823-45ce-92c9-dea0eac36e75 2026-03-23 15:22:49,437 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/de1ff0b1-f823-45ce-92c9-dea0eac36e75 2026-03-23 15:22:49,728 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/de1ff0b1-f823-45ce-92c9-dea0eac36e75 2026-03-23 15:22:49,760 - INFO - VMI de1ff0b1-f823-45ce-92c9-dea0eac36e75 verification in API Server passed 2026-03-23 15:22:49,850 - DEBUG - Response for delete_port : () 2026-03-23 15:22:49,850 - INFO - Deleted port de1ff0b1-f823-45ce-92c9-dea0eac36e75 2026-03-23 15:22:49,850 - INFO - Deleting VN ctest-vn-75832783 2026-03-23 15:22:49,951 - DEBUG - Response for deleting network () 2026-03-23 15:22:50,206 - DEBUG - No XMPP flaps were noticed during the test
2026-03-23 15:22:50,206 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-03-23 15:22:50,206 - INFO - -------------------------------------------------------------------------------- 2026-03-23 15:22:50,208 - INFO - ================================================================================ 2026-03-23 15:22:50,208 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-03-23 15:22:50,208 - 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-03-23 15:22:50,501 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.14': '0'}} with 2026-03-23 15:22:50,501 - INFO - Initial checks done. Running the testcase now 2026-03-23 15:22:50,501 - INFO - 2026-03-23 15:22:50,668 - DEBUG - Response for create_network : {'network': {'id': '45140018-ac5a-4519-9908-2e4fffc11f24', 'name': 'ctest-vn1-61221984', 'tenant_id': '4225ee0329df4428b0e949b28d3937df', 'project_id': '4225ee0329df4428b0e949b28d3937df', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-69983450', 'ctest-vn1-61221984'], 'port_security_enabled': True, 'description': ''}} 2026-03-23 15:22:50,817 - DEBUG - Response for create_subnet : {'subnet': {'id': '9df9b8b8-0d6a-419b-a011-b6fdb3ba5abf', 'name': '', 'tenant_id': '4225ee0329df4428b0e949b28d3937df', 'network_id': '45140018-ac5a-4519-9908-2e4fffc11f24', 'ip_version': 4, 'cidr': '37.35.201.128/26', 'allocation_pools': [{'start': '37.35.201.130', 'end': '37.35.201.190'}], 'gateway_ip': '37.35.201.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '37.35.201.130', 'tags': [], 'project_id': '4225ee0329df4428b0e949b28d3937df'}} 2026-03-23 15:22:50,972 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ae422306-7ce7-40a4-aa5e-33323e587272', 'name': '', 'tenant_id': '4225ee0329df4428b0e949b28d3937df', 'network_id': '45140018-ac5a-4519-9908-2e4fffc11f24', 'ip_version': 4, 'cidr': '158.215.19.64/26', 'allocation_pools': [{'start': '158.215.19.66', 'end': '158.215.19.126'}], 'gateway_ip': '158.215.19.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '158.215.19.66', 'tags': [], 'project_id': '4225ee0329df4428b0e949b28d3937df'}} 2026-03-23 15:22:50,991 - INFO - Created VN ctest-vn1-61221984 2026-03-23 15:22:51,041 - DEBUG - VN ctest-vn1-61221984 UUID is 45140018-ac5a-4519-9908-2e4fffc11f24 2026-03-23 15:22:51,338 - DEBUG - Response for create_port : {'port': {'name': 'bf583871-610e-428c-818b-de59f21836fd', 'id': 'bf583871-610e-428c-818b-de59f21836fd', 'tenant_id': '4225ee0329df4428b0e949b28d3937df', 'network_id': '45140018-ac5a-4519-9908-2e4fffc11f24', 'mac_address': '02:bf:58:38:71:61', '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.35.201.133', 'subnet_id': '9df9b8b8-0d6a-419b-a011-b6fdb3ba5abf'}], 'security_groups': ['5470bf81-2c9c-4c4e-aa64-60de4f87a977'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4225ee0329df4428b0e949b28d3937df'}} 2026-03-23 15:22:51,521 - DEBUG - Response for create_port : {'port': {'name': '0b411d27-ef38-4c32-a8d0-0b18cb62d8f3', 'id': '0b411d27-ef38-4c32-a8d0-0b18cb62d8f3', 'tenant_id': '4225ee0329df4428b0e949b28d3937df', 'network_id': '45140018-ac5a-4519-9908-2e4fffc11f24', 'mac_address': '02:0b:41:1d:27:ef', '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': '158.215.19.69', 'subnet_id': 'ae422306-7ce7-40a4-aa5e-33323e587272'}], 'security_groups': ['5470bf81-2c9c-4c4e-aa64-60de4f87a977'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4225ee0329df4428b0e949b28d3937df'}} 2026-03-23 15:22:51,580 - DEBUG - Services list from nova: [, , ] 2026-03-23 15:22:51,901 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5519-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5519-1) 2026-03-23 15:22:52,295 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5519-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5519-1) 2026-03-23 15:22:52,296 - INFO - Waiting for VM ctest-vn1-vm1-84640702 to be up.. 2026-03-23 15:22:52,335 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-23 15:22:57,411 - DEBUG - VM is in ACTIVE state now 2026-03-23 15:22:57,411 - INFO - VM name : ctest-vn1-vm1-84640702 2026-03-23 15:22:57,480 - DEBUG - VM ctest-vn1-vm1-84640702 ID is 6b9b18de-221a-42e0-ad34-441d66a1257b 2026-03-23 15:22:57,499 - DEBUG - VM ctest-vn1-vm1-84640702 launched on Node cn-jenkins-deploy-platform-ansible-os-5519-1 2026-03-23 15:22:57,568 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/6b9b18de-221a-42e0-ad34-441d66a1257b 2026-03-23 15:22:57,577 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/bf583871-610e-428c-818b-de59f21836fd 2026-03-23 15:23:00,836 - 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 1027ms') 2026-03-23 15:23:00,836 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-84640702 failed! 2026-03-23 15:23:00,889 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-69983450:ctest-vn1-61221984 is 37.35.201.129 and allocation pool is NOT set 2026-03-23 15:23:00,889 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-69983450:ctest-vn1-61221984 is 158.215.19.65 and allocation pool is NOT set 2026-03-23 15:23:02,957 - 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=8.69 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.95 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.949/5.318/8.688/3.369 ms') 2026-03-23 15:23:02,957 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-84640702 passed 2026-03-23 15:23:03,109 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-23 15:23:03,109 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-84640702, IP 37.35.201.133, Port 22 2026-03-23 15:23:03,165 - 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-03-23 15:23:03,239 - DEBUG - VM ctest-vn1-vm1-84640702 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-23 15:23:08,240 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-23 15:23:08,240 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-84640702, IP 37.35.201.133, Port 22 2026-03-23 15:23:08,396 - DEBUG - VM ctest-vn1-vm1-84640702 is ready for SSH connections 2026-03-23 15:23:08,397 - INFO - Waiting for VM ctest-vn1-vm2-46902414 to be up.. 2026-03-23 15:23:08,463 - DEBUG - VM is in ACTIVE state now 2026-03-23 15:23:08,463 - INFO - VM name : ctest-vn1-vm2-46902414 2026-03-23 15:23:08,534 - DEBUG - VM ctest-vn1-vm2-46902414 ID is 092f4a33-e76e-4658-a546-44dc8d8d706f 2026-03-23 15:23:08,535 - DEBUG - VM ctest-vn1-vm2-46902414 launched on Node cn-jenkins-deploy-platform-ansible-os-5519-1 2026-03-23 15:23:08,602 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/092f4a33-e76e-4658-a546-44dc8d8d706f 2026-03-23 15:23:08,609 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/0b411d27-ef38-4c32-a8d0-0b18cb62d8f3 2026-03-23 15:23:09,839 - 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.74 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.436 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.436/2.089/3.742/1.653 ms') 2026-03-23 15:23:09,839 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-46902414 passed 2026-03-23 15:23:09,989 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-23 15:23:09,989 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-46902414, IP 158.215.19.69, Port 22 2026-03-23 15:23:10,144 - DEBUG - VM ctest-vn1-vm2-46902414 is ready for SSH connections 2026-03-23 15:23:10,145 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-23 15:23:10,145 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-23 15:23:10,145 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-23 15:23:10,145 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 37.35.201.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-03-23 15:23:10,145 - DEBUG - ping -s 56 -c 3 -W 1 37.35.201.133 2026-03-23 15:23:12,804 - DEBUG - PING 37.35.201.133 (37.35.201.133): 56 data bytes 64 bytes from 37.35.201.133: seq=0 ttl=63 time=3.314 ms 64 bytes from 37.35.201.133: seq=1 ttl=63 time=1.048 ms 64 bytes from 37.35.201.133: seq=2 ttl=63 time=0.968 ms --- 37.35.201.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.968/1.776/3.314 ms 2026-03-23 15:23:12,805 - INFO - Ping to IP 37.35.201.133 from VM ctest-vn1-vm2-46902414 passed 2026-03-23 15:23:12,805 - INFO - Detaching port 0b411d27-ef38-4c32-a8d0-0b18cb62d8f3 from VM ctest-vn1-vm2-46902414 2026-03-23 15:23:12,857 - INFO - Deleting VM ctest-vn1-vm2-46902414 2026-03-23 15:23:12,920 - INFO - Detaching port bf583871-610e-428c-818b-de59f21836fd from VM ctest-vn1-vm1-84640702 2026-03-23 15:23:12,953 - INFO - Deleting VM ctest-vn1-vm1-84640702 2026-03-23 15:23:13,190 - DEBUG - Response for delete_port : () 2026-03-23 15:23:13,372 - DEBUG - Response for delete_port : () 2026-03-23 15:23:13,372 - INFO - Deleting VN ctest-vn1-61221984 2026-03-23 15:23:13,496 - DEBUG - Response for deleting network () 2026-03-23 15:23:13,759 - DEBUG - No XMPP flaps were noticed during the test
2026-03-23 15:23:13,759 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23]
2026-03-23 15:23:13,759 - INFO - -------------------------------------------------------------------------------- 2026-03-23 15:23:14,439 - INFO - Deleted project: ctest-TestPorts-69983450, ID : 4225ee03-29df-4428-b0e9-49b28d3937df