2026-02-09 13:32:09,575 - INFO - Domain Default found not creating 2026-02-09 13:32:09,827 - INFO - Project ctest-TestPorts-37176215 not found, creating it 2026-02-09 13:32:10,515 - INFO - Created Project:ctest-TestPorts-37176215, ID : a3435c0c-e40b-44d3-9871-d7d64d320274 2026-02-09 13:32:12,016 - INFO - ================================================================================ 2026-02-09 13:32:12,016 - INFO - STARTING TEST : test_ports_bindings 2026-02-09 13:32:12,016 - 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 13:32:12,270 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2026-02-09 13:32:12,270 - INFO - Initial checks done. Running the testcase now 2026-02-09 13:32:12,270 - INFO - 2026-02-09 13:32:12,836 - DEBUG - Response for create_network : {'network': {'id': 'e3ab319d-f6bb-4f03-aa9e-ba594aaefa2e', 'name': 'ctest-vn-66722413', 'tenant_id': 'a3435c0ce40b44d39871d7d64d320274', 'project_id': 'a3435c0ce40b44d39871d7d64d320274', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-37176215', 'ctest-vn-66722413'], 'port_security_enabled': True, 'description': ''}} 2026-02-09 13:32:13,021 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd7e80654-a823-43c7-a785-c1af4de68ed7', 'name': '', 'tenant_id': 'a3435c0ce40b44d39871d7d64d320274', 'network_id': 'e3ab319d-f6bb-4f03-aa9e-ba594aaefa2e', 'ip_version': 4, 'cidr': '200.166.52.0/26', 'allocation_pools': [{'start': '200.166.52.2', 'end': '200.166.52.62'}], 'gateway_ip': '200.166.52.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '200.166.52.2', 'tags': [], 'project_id': 'a3435c0ce40b44d39871d7d64d320274'}} 2026-02-09 13:32:13,040 - INFO - Created VN ctest-vn-66722413 2026-02-09 13:32:13,092 - DEBUG - VN ctest-vn-66722413 UUID is e3ab319d-f6bb-4f03-aa9e-ba594aaefa2e 2026-02-09 13:32:13,206 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-37176215', 'ctest-vmi-10470283']} 2026-02-09 13:32:13,433 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-10470283', 'id': '7fcbb5bb-3b1e-45c5-bf6f-4cb16378911c', 'tenant_id': 'a3435c0ce40b44d39871d7d64d320274', 'network_id': 'e3ab319d-f6bb-4f03-aa9e-ba594aaefa2e', 'mac_address': '02:7f:cb:b5:bb:3b', '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': '200.166.52.3', 'subnet_id': 'd7e80654-a823-43c7-a785-c1af4de68ed7'}], 'security_groups': ['a50e3245-3796-4864-b938-6a750e6cbaa5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a3435c0ce40b44d39871d7d64d320274'}} 2026-02-09 13:32:13,434 - DEBUG - Created port 7fcbb5bb-3b1e-45c5-bf6f-4cb16378911c 2026-02-09 13:32:13,540 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/7fcbb5bb-3b1e-45c5-bf6f-4cb16378911c 2026-02-09 13:32:13,838 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/7fcbb5bb-3b1e-45c5-bf6f-4cb16378911c 2026-02-09 13:32:13,875 - INFO - VMI 7fcbb5bb-3b1e-45c5-bf6f-4cb16378911c verification in API Server passed 2026-02-09 13:32:13,978 - DEBUG - Response for delete_port : () 2026-02-09 13:32:13,978 - INFO - Deleted port 7fcbb5bb-3b1e-45c5-bf6f-4cb16378911c 2026-02-09 13:32:13,978 - INFO - Deleting VN ctest-vn-66722413 2026-02-09 13:32:14,102 - DEBUG - Response for deleting network () 2026-02-09 13:32:14,358 - DEBUG - No XMPP flaps were noticed during the test
2026-02-09 13:32:14,358 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-02-09 13:32:14,358 - INFO - -------------------------------------------------------------------------------- 2026-02-09 13:32:14,361 - INFO - ================================================================================ 2026-02-09 13:32:14,361 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-02-09 13:32:14,361 - 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 13:32:14,650 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2026-02-09 13:32:14,650 - INFO - Initial checks done. Running the testcase now 2026-02-09 13:32:14,650 - INFO - 2026-02-09 13:32:14,840 - DEBUG - Response for create_network : {'network': {'id': '895d4be3-19c3-41e0-a651-36c0b6c9f81a', 'name': 'ctest-vn1-35366478', 'tenant_id': 'a3435c0ce40b44d39871d7d64d320274', 'project_id': 'a3435c0ce40b44d39871d7d64d320274', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-37176215', 'ctest-vn1-35366478'], 'port_security_enabled': True, 'description': ''}} 2026-02-09 13:32:15,059 - DEBUG - Response for create_subnet : {'subnet': {'id': '95599d99-5ec2-4c1a-a0d1-83f9c943bf2a', 'name': '', 'tenant_id': 'a3435c0ce40b44d39871d7d64d320274', 'network_id': '895d4be3-19c3-41e0-a651-36c0b6c9f81a', 'ip_version': 4, 'cidr': '74.52.37.192/26', 'allocation_pools': [{'start': '74.52.37.194', 'end': '74.52.37.254'}], 'gateway_ip': '74.52.37.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '74.52.37.194', 'tags': [], 'project_id': 'a3435c0ce40b44d39871d7d64d320274'}} 2026-02-09 13:32:15,218 - DEBUG - Response for create_subnet : {'subnet': {'id': '6bd47eab-528c-44fa-85c7-1a28eb20397d', 'name': '', 'tenant_id': 'a3435c0ce40b44d39871d7d64d320274', 'network_id': '895d4be3-19c3-41e0-a651-36c0b6c9f81a', 'ip_version': 4, 'cidr': '213.126.73.128/26', 'allocation_pools': [{'start': '213.126.73.130', 'end': '213.126.73.190'}], 'gateway_ip': '213.126.73.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '213.126.73.130', 'tags': [], 'project_id': 'a3435c0ce40b44d39871d7d64d320274'}} 2026-02-09 13:32:15,241 - INFO - Created VN ctest-vn1-35366478 2026-02-09 13:32:15,296 - DEBUG - VN ctest-vn1-35366478 UUID is 895d4be3-19c3-41e0-a651-36c0b6c9f81a 2026-02-09 13:32:15,605 - DEBUG - Response for create_port : {'port': {'name': '7388fa15-83b1-4c75-81bb-946ce618cdbe', 'id': '7388fa15-83b1-4c75-81bb-946ce618cdbe', 'tenant_id': 'a3435c0ce40b44d39871d7d64d320274', 'network_id': '895d4be3-19c3-41e0-a651-36c0b6c9f81a', 'mac_address': '02:73:88:fa:15:83', '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': '74.52.37.197', 'subnet_id': '95599d99-5ec2-4c1a-a0d1-83f9c943bf2a'}], 'security_groups': ['a50e3245-3796-4864-b938-6a750e6cbaa5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a3435c0ce40b44d39871d7d64d320274'}} 2026-02-09 13:32:15,806 - DEBUG - Response for create_port : {'port': {'name': '67aeef0b-d480-4b64-8fd8-c17da3c1ffd3', 'id': '67aeef0b-d480-4b64-8fd8-c17da3c1ffd3', 'tenant_id': 'a3435c0ce40b44d39871d7d64d320274', 'network_id': '895d4be3-19c3-41e0-a651-36c0b6c9f81a', 'mac_address': '02:67:ae:ef:0b:d4', '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': '213.126.73.133', 'subnet_id': '6bd47eab-528c-44fa-85c7-1a28eb20397d'}], 'security_groups': ['a50e3245-3796-4864-b938-6a750e6cbaa5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a3435c0ce40b44d39871d7d64d320274'}} 2026-02-09 13:32:15,864 - DEBUG - Services list from nova: [, , ] 2026-02-09 13:32:16,272 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5244-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5244-1) 2026-02-09 13:32:16,700 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5244-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5244-1) 2026-02-09 13:32:16,700 - INFO - Waiting for VM ctest-vn1-vm1-54128014 to be up.. 2026-02-09 13:32:16,744 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-09 13:32:21,835 - DEBUG - VM is in ACTIVE state now 2026-02-09 13:32:21,835 - INFO - VM name : ctest-vn1-vm1-54128014 2026-02-09 13:32:21,918 - DEBUG - VM ctest-vn1-vm1-54128014 ID is 173925f1-2c18-48ad-b423-2f7c9c0201cd 2026-02-09 13:32:21,942 - DEBUG - VM ctest-vn1-vm1-54128014 launched on Node cn-jenkins-deploy-platform-ansible-os-5244-1 2026-02-09 13:32:22,035 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/173925f1-2c18-48ad-b423-2f7c9c0201cd 2026-02-09 13:32:22,045 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/7388fa15-83b1-4c75-81bb-946ce618cdbe 2026-02-09 13:32:25,318 - 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 1028ms') 2026-02-09 13:32:25,318 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-54128014 failed! 2026-02-09 13:32:25,372 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-37176215:ctest-vn1-35366478 is 74.52.37.193 and allocation pool is NOT set 2026-02-09 13:32:25,372 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-37176215:ctest-vn1-35366478 is 213.126.73.129 and allocation pool is NOT set 2026-02-09 13:32:27,430 - 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=13.5 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.08 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 = 1.079/7.276/13.473/6.197 ms') 2026-02-09 13:32:27,430 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-54128014 passed 2026-02-09 13:32:27,584 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 13:32:27,584 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-54128014, IP 74.52.37.197, Port 22 2026-02-09 13:32:27,650 - 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 13:32:27,734 - DEBUG - VM ctest-vn1-vm1-54128014 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-09 13:32:32,735 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 13:32:32,735 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-54128014, IP 74.52.37.197, Port 22 2026-02-09 13:32:32,902 - DEBUG - VM ctest-vn1-vm1-54128014 is ready for SSH connections 2026-02-09 13:32:32,902 - INFO - Waiting for VM ctest-vn1-vm2-23270582 to be up.. 2026-02-09 13:32:32,980 - DEBUG - VM is in ACTIVE state now 2026-02-09 13:32:32,980 - INFO - VM name : ctest-vn1-vm2-23270582 2026-02-09 13:32:33,057 - DEBUG - VM ctest-vn1-vm2-23270582 ID is 2c40850d-c56e-4d73-8aac-5d6b15969f75 2026-02-09 13:32:33,057 - DEBUG - VM ctest-vn1-vm2-23270582 launched on Node cn-jenkins-deploy-platform-ansible-os-5244-1 2026-02-09 13:32:33,134 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/2c40850d-c56e-4d73-8aac-5d6b15969f75 2026-02-09 13:32:33,143 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/67aeef0b-d480-4b64-8fd8-c17da3c1ffd3 2026-02-09 13:32:34,379 - 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.82 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.462 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.462/1.641/2.821/1.179 ms') 2026-02-09 13:32:34,379 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-23270582 passed 2026-02-09 13:32:34,532 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 13:32:34,532 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-23270582, IP 213.126.73.133, Port 22 2026-02-09 13:32:34,691 - DEBUG - VM ctest-vn1-vm2-23270582 is ready for SSH connections 2026-02-09 13:32:34,691 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 13:32:34,691 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 13:32:34,691 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 13:32:34,691 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 74.52.37.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-02-09 13:32:34,691 - DEBUG - ping -s 56 -c 3 -W 1 74.52.37.197 2026-02-09 13:32:37,334 - DEBUG - PING 74.52.37.197 (74.52.37.197): 56 data bytes 64 bytes from 74.52.37.197: seq=0 ttl=63 time=3.520 ms 64 bytes from 74.52.37.197: seq=1 ttl=63 time=0.990 ms 64 bytes from 74.52.37.197: seq=2 ttl=63 time=1.119 ms --- 74.52.37.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.990/1.876/3.520 ms 2026-02-09 13:32:37,335 - INFO - Ping to IP 74.52.37.197 from VM ctest-vn1-vm2-23270582 passed 2026-02-09 13:32:37,335 - INFO - Detaching port 67aeef0b-d480-4b64-8fd8-c17da3c1ffd3 from VM ctest-vn1-vm2-23270582 2026-02-09 13:32:37,388 - INFO - Deleting VM ctest-vn1-vm2-23270582 2026-02-09 13:32:37,460 - INFO - Detaching port 7388fa15-83b1-4c75-81bb-946ce618cdbe from VM ctest-vn1-vm1-54128014 2026-02-09 13:32:37,500 - INFO - Deleting VM ctest-vn1-vm1-54128014 2026-02-09 13:32:37,747 - DEBUG - Response for delete_port : () 2026-02-09 13:32:37,933 - DEBUG - Response for delete_port : () 2026-02-09 13:32:37,933 - INFO - Deleting VN ctest-vn1-35366478 2026-02-09 13:32:38,078 - DEBUG - Response for deleting network () 2026-02-09 13:32:38,334 - DEBUG - No XMPP flaps were noticed during the test
2026-02-09 13:32:38,334 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2026-02-09 13:32:38,334 - INFO - -------------------------------------------------------------------------------- 2026-02-09 13:32:39,043 - INFO - Deleted project: ctest-TestPorts-37176215, ID : a3435c0c-e40b-44d3-9871-d7d64d320274