2026-02-04 10:06:03,437 - INFO - Domain Default found not creating 2026-02-04 10:06:03,578 - INFO - Project ctest-TestPorts-59902712 not found, creating it 2026-02-04 10:06:03,996 - INFO - Created Project:ctest-TestPorts-59902712, ID : 34195d84-31b8-48eb-adb7-d1d8cdec15d1 2026-02-04 10:06:05,386 - INFO - ================================================================================ 2026-02-04 10:06:05,387 - INFO - STARTING TEST : test_ports_bindings 2026-02-04 10:06:05,387 - 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-04 10:06:05,638 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.14': '0'}} with 2026-02-04 10:06:05,639 - INFO - Initial checks done. Running the testcase now 2026-02-04 10:06:05,639 - INFO - 2026-02-04 10:06:06,171 - DEBUG - Response for create_network : {'network': {'id': 'daa9b640-4edb-4d39-9338-3c418d58cc5e', 'name': 'ctest-vn-47886797', 'tenant_id': '34195d8431b848ebadb7d1d8cdec15d1', 'project_id': '34195d8431b848ebadb7d1d8cdec15d1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-59902712', 'ctest-vn-47886797'], 'port_security_enabled': True, 'description': ''}} 2026-02-04 10:06:06,388 - DEBUG - Response for create_subnet : {'subnet': {'id': '1b722358-be8b-4eca-8e77-f3850be21047', 'name': '', 'tenant_id': '34195d8431b848ebadb7d1d8cdec15d1', 'network_id': 'daa9b640-4edb-4d39-9338-3c418d58cc5e', 'ip_version': 4, 'cidr': '156.209.142.0/26', 'allocation_pools': [{'start': '156.209.142.2', 'end': '156.209.142.62'}], 'gateway_ip': '156.209.142.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.209.142.2', 'tags': [], 'project_id': '34195d8431b848ebadb7d1d8cdec15d1'}} 2026-02-04 10:06:06,405 - INFO - Created VN ctest-vn-47886797 2026-02-04 10:06:06,458 - DEBUG - VN ctest-vn-47886797 UUID is daa9b640-4edb-4d39-9338-3c418d58cc5e 2026-02-04 10:06:06,574 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-59902712', 'ctest-vmi-09202107']} 2026-02-04 10:06:06,799 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-09202107', 'id': '79cd23cf-6c51-43da-a89c-42971f5f8949', 'tenant_id': '34195d8431b848ebadb7d1d8cdec15d1', 'network_id': 'daa9b640-4edb-4d39-9338-3c418d58cc5e', 'mac_address': '02:79:cd:23:cf:6c', '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': '156.209.142.3', 'subnet_id': '1b722358-be8b-4eca-8e77-f3850be21047'}], 'security_groups': ['744198b9-f3bf-4a9e-9dc6-d3edf2a4c0a4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '34195d8431b848ebadb7d1d8cdec15d1'}} 2026-02-04 10:06:06,799 - DEBUG - Created port 79cd23cf-6c51-43da-a89c-42971f5f8949 2026-02-04 10:06:06,901 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/79cd23cf-6c51-43da-a89c-42971f5f8949 2026-02-04 10:06:07,193 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/79cd23cf-6c51-43da-a89c-42971f5f8949 2026-02-04 10:06:07,227 - INFO - VMI 79cd23cf-6c51-43da-a89c-42971f5f8949 verification in API Server passed 2026-02-04 10:06:07,306 - DEBUG - Response for delete_port : () 2026-02-04 10:06:07,306 - INFO - Deleted port 79cd23cf-6c51-43da-a89c-42971f5f8949 2026-02-04 10:06:07,306 - INFO - Deleting VN ctest-vn-47886797 2026-02-04 10:06:07,402 - DEBUG - Response for deleting network () 2026-02-04 10:06:07,654 - DEBUG - No XMPP flaps were noticed during the test
2026-02-04 10:06:07,654 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-02-04 10:06:07,654 - INFO - -------------------------------------------------------------------------------- 2026-02-04 10:06:07,656 - INFO - ================================================================================ 2026-02-04 10:06:07,656 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-02-04 10:06:07,656 - 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-04 10:06:07,941 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.14': '0'}} with 2026-02-04 10:06:07,941 - INFO - Initial checks done. Running the testcase now 2026-02-04 10:06:07,942 - INFO - 2026-02-04 10:06:08,109 - DEBUG - Response for create_network : {'network': {'id': 'b76f5941-43ae-4f4a-9ab3-9dda4d53d634', 'name': 'ctest-vn1-22553001', 'tenant_id': '34195d8431b848ebadb7d1d8cdec15d1', 'project_id': '34195d8431b848ebadb7d1d8cdec15d1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-59902712', 'ctest-vn1-22553001'], 'port_security_enabled': True, 'description': ''}} 2026-02-04 10:06:08,274 - DEBUG - Response for create_subnet : {'subnet': {'id': '12db364b-f83a-4bf4-b73f-c7d5d81b4b37', 'name': '', 'tenant_id': '34195d8431b848ebadb7d1d8cdec15d1', 'network_id': 'b76f5941-43ae-4f4a-9ab3-9dda4d53d634', 'ip_version': 4, 'cidr': '217.166.54.128/26', 'allocation_pools': [{'start': '217.166.54.130', 'end': '217.166.54.190'}], 'gateway_ip': '217.166.54.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '217.166.54.130', 'tags': [], 'project_id': '34195d8431b848ebadb7d1d8cdec15d1'}} 2026-02-04 10:06:08,499 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ee3b762b-57a6-4ed6-9ac4-61fee6c02bcf', 'name': '', 'tenant_id': '34195d8431b848ebadb7d1d8cdec15d1', 'network_id': 'b76f5941-43ae-4f4a-9ab3-9dda4d53d634', 'ip_version': 4, 'cidr': '208.186.35.0/26', 'allocation_pools': [{'start': '208.186.35.2', 'end': '208.186.35.62'}], 'gateway_ip': '208.186.35.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '208.186.35.2', 'tags': [], 'project_id': '34195d8431b848ebadb7d1d8cdec15d1'}} 2026-02-04 10:06:08,517 - INFO - Created VN ctest-vn1-22553001 2026-02-04 10:06:08,569 - DEBUG - VN ctest-vn1-22553001 UUID is b76f5941-43ae-4f4a-9ab3-9dda4d53d634 2026-02-04 10:06:08,845 - DEBUG - Response for create_port : {'port': {'name': '00f6b264-800a-4cc2-a7bd-7f1f33d66e4b', 'id': '00f6b264-800a-4cc2-a7bd-7f1f33d66e4b', 'tenant_id': '34195d8431b848ebadb7d1d8cdec15d1', 'network_id': 'b76f5941-43ae-4f4a-9ab3-9dda4d53d634', 'mac_address': '02:00:f6:b2:64:80', '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': '217.166.54.133', 'subnet_id': '12db364b-f83a-4bf4-b73f-c7d5d81b4b37'}], 'security_groups': ['744198b9-f3bf-4a9e-9dc6-d3edf2a4c0a4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '34195d8431b848ebadb7d1d8cdec15d1'}} 2026-02-04 10:06:08,999 - DEBUG - Response for create_port : {'port': {'name': 'b0070fda-a17b-4e6a-82b3-77eba173bdac', 'id': 'b0070fda-a17b-4e6a-82b3-77eba173bdac', 'tenant_id': '34195d8431b848ebadb7d1d8cdec15d1', 'network_id': 'b76f5941-43ae-4f4a-9ab3-9dda4d53d634', 'mac_address': '02:b0:07:0f:da:a1', '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': '208.186.35.5', 'subnet_id': 'ee3b762b-57a6-4ed6-9ac4-61fee6c02bcf'}], 'security_groups': ['744198b9-f3bf-4a9e-9dc6-d3edf2a4c0a4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '34195d8431b848ebadb7d1d8cdec15d1'}} 2026-02-04 10:06:09,050 - DEBUG - Services list from nova: [, , ] 2026-02-04 10:06:09,356 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5201-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5201-1) 2026-02-04 10:06:09,715 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5201-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5201-1) 2026-02-04 10:06:09,715 - INFO - Waiting for VM ctest-vn1-vm1-37479890 to be up.. 2026-02-04 10:06:09,764 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-04 10:06:14,832 - DEBUG - VM is in ACTIVE state now 2026-02-04 10:06:14,832 - INFO - VM name : ctest-vn1-vm1-37479890 2026-02-04 10:06:14,900 - DEBUG - VM ctest-vn1-vm1-37479890 ID is a5b5fe25-01fb-48d9-b3de-d1b261243b20 2026-02-04 10:06:14,924 - DEBUG - VM ctest-vn1-vm1-37479890 launched on Node cn-jenkins-deploy-platform-ansible-os-5201-1 2026-02-04 10:06:15,126 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/a5b5fe25-01fb-48d9-b3de-d1b261243b20 2026-02-04 10:06:15,136 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/00f6b264-800a-4cc2-a7bd-7f1f33d66e4b 2026-02-04 10:06:18,390 - 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 1015ms') 2026-02-04 10:06:18,390 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-37479890 failed! 2026-02-04 10:06:18,441 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-59902712:ctest-vn1-22553001 is 217.166.54.129 and allocation pool is NOT set 2026-02-04 10:06:18,441 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-59902712:ctest-vn1-22553001 is 208.186.35.1 and allocation pool is NOT set 2026-02-04 10:06:20,508 - 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=4.08 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.81 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.812/2.947/4.083/1.135 ms') 2026-02-04 10:06:20,509 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-37479890 passed 2026-02-04 10:06:20,657 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-04 10:06:20,657 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-37479890, IP 217.166.54.133, Port 22 2026-02-04 10:06:20,727 - 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-02-04 10:06:20,800 - DEBUG - VM ctest-vn1-vm1-37479890 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-04 10:06:25,801 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-04 10:06:25,801 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-37479890, IP 217.166.54.133, Port 22 2026-02-04 10:06:25,969 - DEBUG - VM ctest-vn1-vm1-37479890 is ready for SSH connections 2026-02-04 10:06:25,969 - INFO - Waiting for VM ctest-vn1-vm2-78990835 to be up.. 2026-02-04 10:06:26,049 - DEBUG - VM is in ACTIVE state now 2026-02-04 10:06:26,049 - INFO - VM name : ctest-vn1-vm2-78990835 2026-02-04 10:06:26,116 - DEBUG - VM ctest-vn1-vm2-78990835 ID is 1a0f66b1-2f0c-4310-bda7-ba00032d4d0d 2026-02-04 10:06:26,116 - DEBUG - VM ctest-vn1-vm2-78990835 launched on Node cn-jenkins-deploy-platform-ansible-os-5201-1 2026-02-04 10:06:26,190 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/1a0f66b1-2f0c-4310-bda7-ba00032d4d0d 2026-02-04 10:06:26,197 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/b0070fda-a17b-4e6a-82b3-77eba173bdac 2026-02-04 10:06:27,424 - 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.26 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.360 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 = 0.360/1.810/3.261/1.450 ms') 2026-02-04 10:06:27,424 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-78990835 passed 2026-02-04 10:06:27,573 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-04 10:06:27,573 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-78990835, IP 208.186.35.5, Port 22 2026-02-04 10:06:27,739 - DEBUG - VM ctest-vn1-vm2-78990835 is ready for SSH connections 2026-02-04 10:06:27,739 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-04 10:06:27,739 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-04 10:06:27,739 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-04 10:06:27,739 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 217.166.54.133, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-02-04 10:06:27,740 - DEBUG - ping -s 56 -c 3 -W 1 217.166.54.133 2026-02-04 10:06:31,473 - DEBUG - PING 217.166.54.133 (217.166.54.133): 56 data bytes 64 bytes from 217.166.54.133: seq=0 ttl=63 time=4.528 ms 64 bytes from 217.166.54.133: seq=1 ttl=63 time=1.099 ms 64 bytes from 217.166.54.133: seq=2 ttl=63 time=2.218 ms --- 217.166.54.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.099/2.615/4.528 ms 2026-02-04 10:06:31,473 - INFO - Ping to IP 217.166.54.133 from VM ctest-vn1-vm2-78990835 passed 2026-02-04 10:06:31,473 - INFO - Detaching port b0070fda-a17b-4e6a-82b3-77eba173bdac from VM ctest-vn1-vm2-78990835 2026-02-04 10:06:31,528 - INFO - Deleting VM ctest-vn1-vm2-78990835 2026-02-04 10:06:31,602 - INFO - Detaching port 00f6b264-800a-4cc2-a7bd-7f1f33d66e4b from VM ctest-vn1-vm1-37479890 2026-02-04 10:06:31,645 - INFO - Deleting VM ctest-vn1-vm1-37479890 2026-02-04 10:06:31,888 - DEBUG - Response for delete_port : () 2026-02-04 10:06:32,038 - DEBUG - Response for delete_port : () 2026-02-04 10:06:32,038 - INFO - Deleting VN ctest-vn1-22553001 2026-02-04 10:06:32,149 - DEBUG - Response for deleting network () 2026-02-04 10:06:32,403 - DEBUG - No XMPP flaps were noticed during the test
2026-02-04 10:06:32,403 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:25]
2026-02-04 10:06:32,403 - INFO - -------------------------------------------------------------------------------- 2026-02-04 10:06:33,066 - INFO - Deleted project: ctest-TestPorts-59902712, ID : 34195d84-31b8-48eb-adb7-d1d8cdec15d1