2026-11-02 21:29:43,557 - INFO - Domain Default found not creating 2026-11-02 21:29:43,723 - INFO - Project ctest-TestPorts-15493575 not found, creating it 2026-11-02 21:29:44,182 - INFO - Created Project:ctest-TestPorts-15493575, ID : 2d162355-ea0d-45e2-93c3-45e5ca105f01 2026-11-02 21:29:45,709 - INFO - ================================================================================ 2026-11-02 21:29:45,709 - INFO - STARTING TEST : test_ports_bindings 2026-11-02 21:29:45,709 - 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-11-02 21:29:45,964 - DEBUG - Nothing to compare xmpp stats {'10.0.0.250': {'10.20.0.25': '0'}} with 2026-11-02 21:29:45,965 - INFO - Initial checks done. Running the testcase now 2026-11-02 21:29:45,965 - INFO - 2026-11-02 21:29:46,537 - DEBUG - Response for create_network : {'network': {'id': '79cf787a-b579-40c5-9df3-51640bb294f6', 'name': 'ctest-vn-44834073', 'tenant_id': '2d162355ea0d45e293c345e5ca105f01', 'project_id': '2d162355ea0d45e293c345e5ca105f01', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-15493575', 'ctest-vn-44834073'], 'port_security_enabled': True, 'description': ''}} 2026-11-02 21:29:46,750 - DEBUG - Response for create_subnet : {'subnet': {'id': '71dc4aca-8ab5-4db5-810f-fec129b1137a', 'name': '', 'tenant_id': '2d162355ea0d45e293c345e5ca105f01', 'network_id': '79cf787a-b579-40c5-9df3-51640bb294f6', 'ip_version': 4, 'cidr': '26.236.157.64/26', 'allocation_pools': [{'start': '26.236.157.66', 'end': '26.236.157.126'}], 'gateway_ip': '26.236.157.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.236.157.66', 'tags': [], 'project_id': '2d162355ea0d45e293c345e5ca105f01'}} 2026-11-02 21:29:46,764 - INFO - Created VN ctest-vn-44834073 2026-11-02 21:29:46,818 - DEBUG - VN ctest-vn-44834073 UUID is 79cf787a-b579-40c5-9df3-51640bb294f6 2026-11-02 21:29:46,912 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-15493575', 'ctest-vmi-83659153']} 2026-11-02 21:29:47,212 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-83659153', 'id': '794b47b2-8750-4095-9f07-f32104e5d56e', 'tenant_id': '2d162355ea0d45e293c345e5ca105f01', 'network_id': '79cf787a-b579-40c5-9df3-51640bb294f6', 'mac_address': '02:79:4b:47:b2:87', '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': '26.236.157.67', 'subnet_id': '71dc4aca-8ab5-4db5-810f-fec129b1137a'}], 'security_groups': ['474bd601-338a-4f2f-bb52-af346fca3f2c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'project_id': '2d162355ea0d45e293c345e5ca105f01'}} 2026-11-02 21:29:47,212 - DEBUG - Created port 794b47b2-8750-4095-9f07-f32104e5d56e 2026-11-02 21:29:47,322 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine-interface/794b47b2-8750-4095-9f07-f32104e5d56e 2026-11-02 21:29:47,659 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine-interface/794b47b2-8750-4095-9f07-f32104e5d56e 2026-11-02 21:29:47,691 - INFO - VMI 794b47b2-8750-4095-9f07-f32104e5d56e verification in API Server passed 2026-11-02 21:29:47,777 - DEBUG - Response for delete_port : () 2026-11-02 21:29:47,778 - INFO - Deleted port 794b47b2-8750-4095-9f07-f32104e5d56e 2026-11-02 21:29:47,778 - INFO - Deleting VN ctest-vn-44834073 2026-11-02 21:29:47,877 - DEBUG - Response for deleting network () 2026-11-02 21:29:48,137 - DEBUG - No XMPP flaps were noticed during the test
2026-11-02 21:29:48,137 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-11-02 21:29:48,137 - INFO - -------------------------------------------------------------------------------- 2026-11-02 21:29:48,139 - INFO - ================================================================================ 2026-11-02 21:29:48,140 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-11-02 21:29:48,140 - 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-11-02 21:29:48,443 - DEBUG - Nothing to compare xmpp stats {'10.0.0.250': {'10.20.0.25': '0'}} with 2026-11-02 21:29:48,443 - INFO - Initial checks done. Running the testcase now 2026-11-02 21:29:48,443 - INFO - 2026-11-02 21:29:48,605 - DEBUG - Response for create_network : {'network': {'id': '0550f40c-2821-4dd8-a55a-ae59e5d5048c', 'name': 'ctest-vn1-80032344', 'tenant_id': '2d162355ea0d45e293c345e5ca105f01', 'project_id': '2d162355ea0d45e293c345e5ca105f01', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-15493575', 'ctest-vn1-80032344'], 'port_security_enabled': True, 'description': ''}} 2026-11-02 21:29:48,818 - DEBUG - Response for create_subnet : {'subnet': {'id': '8ea3af24-82c2-4c5a-a7c7-671b98c6e456', 'name': '', 'tenant_id': '2d162355ea0d45e293c345e5ca105f01', 'network_id': '0550f40c-2821-4dd8-a55a-ae59e5d5048c', 'ip_version': 4, 'cidr': '31.35.209.192/26', 'allocation_pools': [{'start': '31.35.209.194', 'end': '31.35.209.254'}], 'gateway_ip': '31.35.209.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.35.209.194', 'tags': [], 'project_id': '2d162355ea0d45e293c345e5ca105f01'}} 2026-11-02 21:29:49,018 - DEBUG - Response for create_subnet : {'subnet': {'id': '461eb9b1-c5f0-4c3f-8214-8d5e3e221a3d', 'name': '', 'tenant_id': '2d162355ea0d45e293c345e5ca105f01', 'network_id': '0550f40c-2821-4dd8-a55a-ae59e5d5048c', 'ip_version': 4, 'cidr': '22.143.221.0/26', 'allocation_pools': [{'start': '22.143.221.2', 'end': '22.143.221.62'}], 'gateway_ip': '22.143.221.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '22.143.221.2', 'tags': [], 'project_id': '2d162355ea0d45e293c345e5ca105f01'}} 2026-11-02 21:29:49,033 - INFO - Created VN ctest-vn1-80032344 2026-11-02 21:29:49,086 - DEBUG - VN ctest-vn1-80032344 UUID is 0550f40c-2821-4dd8-a55a-ae59e5d5048c 2026-11-02 21:29:49,382 - DEBUG - Response for create_port : {'port': {'name': '5a54a904-d772-49fb-8111-88b1fb2278e2', 'id': '5a54a904-d772-49fb-8111-88b1fb2278e2', 'tenant_id': '2d162355ea0d45e293c345e5ca105f01', 'network_id': '0550f40c-2821-4dd8-a55a-ae59e5d5048c', 'mac_address': '02:5a:54:a9:04:d7', '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': '31.35.209.197', 'subnet_id': '8ea3af24-82c2-4c5a-a7c7-671b98c6e456'}], 'security_groups': ['474bd601-338a-4f2f-bb52-af346fca3f2c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'project_id': '2d162355ea0d45e293c345e5ca105f01'}} 2026-11-02 21:29:49,558 - DEBUG - Response for create_port : {'port': {'name': 'efc0822e-610a-480e-a513-1dc3ebd7b81e', 'id': 'efc0822e-610a-480e-a513-1dc3ebd7b81e', 'tenant_id': '2d162355ea0d45e293c345e5ca105f01', 'network_id': '0550f40c-2821-4dd8-a55a-ae59e5d5048c', 'mac_address': '02:ef:c0:82:2e: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': '22.143.221.5', 'subnet_id': '461eb9b1-c5f0-4c3f-8214-8d5e3e221a3d'}], 'security_groups': ['474bd601-338a-4f2f-bb52-af346fca3f2c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'project_id': '2d162355ea0d45e293c345e5ca105f01'}} 2026-11-02 21:29:49,616 - DEBUG - Services list from nova: [, , ] 2026-11-02 21:29:49,962 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6471-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6471-1) 2026-11-02 21:29:50,340 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6471-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6471-1) 2026-11-02 21:29:50,340 - INFO - Waiting for VM ctest-vn1-vm1-74373185 to be up.. 2026-11-02 21:29:50,377 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 21:29:55,428 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 21:30:00,544 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 21:30:05,614 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 21:30:10,686 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 21:30:15,755 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 21:30:20,822 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 21:30:25,898 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 21:30:30,973 - DEBUG - VM is in ACTIVE state now 2026-11-02 21:30:30,973 - INFO - VM name : ctest-vn1-vm1-74373185 2026-11-02 21:30:31,043 - DEBUG - VM ctest-vn1-vm1-74373185 ID is 8dff4740-01d9-4d06-8b97-e258937c648c 2026-11-02 21:30:31,067 - DEBUG - VM ctest-vn1-vm1-74373185 launched on Node cn-jenkins-deploy-platform-ansible-os-6471-1 2026-11-02 21:30:31,142 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine/8dff4740-01d9-4d06-8b97-e258937c648c 2026-11-02 21:30:31,150 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine-interface/5a54a904-d772-49fb-8111-88b1fb2278e2 2026-11-02 21:30:34,410 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1018ms') 2026-11-02 21:30:34,410 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-74373185 failed! 2026-11-02 21:30:34,466 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-15493575:ctest-vn1-80032344 is 31.35.209.193 and allocation pool is NOT set 2026-11-02 21:30:34,466 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-15493575:ctest-vn1-80032344 is 22.143.221.1 and allocation pool is NOT set 2026-11-02 21:30:36,531 - 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.17 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.97 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 = 1.974/3.569/5.165/1.595 ms') 2026-11-02 21:30:36,531 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-74373185 passed 2026-11-02 21:30:36,682 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 21:30:36,682 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-74373185, IP 31.35.209.197, Port 22 2026-11-02 21:30:36,738 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-11-02 21:30:36,804 - DEBUG - VM ctest-vn1-vm1-74373185 is NOT ready for SSH connections, VM status: ACTIVE 2026-11-02 21:30:41,805 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 21:30:41,806 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-74373185, IP 31.35.209.197, Port 22 2026-11-02 21:30:41,965 - DEBUG - VM ctest-vn1-vm1-74373185 is ready for SSH connections 2026-11-02 21:30:41,965 - INFO - Waiting for VM ctest-vn1-vm2-96798876 to be up.. 2026-11-02 21:30:42,033 - DEBUG - VM is in ACTIVE state now 2026-11-02 21:30:42,033 - INFO - VM name : ctest-vn1-vm2-96798876 2026-11-02 21:30:42,103 - DEBUG - VM ctest-vn1-vm2-96798876 ID is 6e106dde-0cc5-466f-9c58-1d84bb922d08 2026-11-02 21:30:42,104 - DEBUG - VM ctest-vn1-vm2-96798876 launched on Node cn-jenkins-deploy-platform-ansible-os-6471-1 2026-11-02 21:30:42,167 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine/6e106dde-0cc5-466f-9c58-1d84bb922d08 2026-11-02 21:30:42,174 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine-interface/efc0822e-610a-480e-a513-1dc3ebd7b81e 2026-11-02 21:30:43,405 - 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=3.46 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.405 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 = 0.405/1.934/3.464/1.529 ms') 2026-11-02 21:30:43,405 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-96798876 passed 2026-11-02 21:30:43,559 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 21:30:43,559 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-96798876, IP 22.143.221.5, Port 22 2026-11-02 21:30:43,718 - DEBUG - VM ctest-vn1-vm2-96798876 is ready for SSH connections 2026-11-02 21:30:43,718 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 21:30:43,718 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 21:30:43,718 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 21:30:43,718 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.35.209.197, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.250, gateway password: c0ntrail123 2026-11-02 21:30:43,718 - DEBUG - ping -s 56 -c 3 -W 1 31.35.209.197 2026-11-02 21:30:47,640 - DEBUG - PING 31.35.209.197 (31.35.209.197): 56 data bytes 64 bytes from 31.35.209.197: seq=0 ttl=63 time=4.409 ms 64 bytes from 31.35.209.197: seq=1 ttl=63 time=0.952 ms 64 bytes from 31.35.209.197: seq=2 ttl=63 time=0.886 ms --- 31.35.209.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.886/2.082/4.409 ms 2026-11-02 21:30:47,641 - INFO - Ping to IP 31.35.209.197 from VM ctest-vn1-vm2-96798876 passed 2026-11-02 21:30:47,641 - INFO - Detaching port efc0822e-610a-480e-a513-1dc3ebd7b81e from VM ctest-vn1-vm2-96798876 2026-11-02 21:30:47,686 - INFO - Deleting VM ctest-vn1-vm2-96798876 2026-11-02 21:30:47,751 - INFO - Detaching port 5a54a904-d772-49fb-8111-88b1fb2278e2 from VM ctest-vn1-vm1-74373185 2026-11-02 21:30:47,782 - INFO - Deleting VM ctest-vn1-vm1-74373185 2026-11-02 21:30:47,992 - DEBUG - Response for delete_port : () 2026-11-02 21:30:48,139 - DEBUG - Response for delete_port : () 2026-11-02 21:30:48,139 - INFO - Deleting VN ctest-vn1-80032344 2026-11-02 21:30:48,251 - DEBUG - Response for deleting network () 2026-11-02 21:30:48,516 - DEBUG - No XMPP flaps were noticed during the test
2026-11-02 21:30:48,516 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:01:00]
2026-11-02 21:30:48,516 - INFO - -------------------------------------------------------------------------------- 2026-11-02 21:30:49,239 - INFO - Deleted project: ctest-TestPorts-15493575, ID : 2d162355-ea0d-45e2-93c3-45e5ca105f01