2026-01-30 15:03:55,153 - INFO - Domain Default found not creating 2026-01-30 15:03:55,307 - INFO - Project ctest-TestPorts-47822852 not found, creating it 2026-01-30 15:03:55,756 - INFO - Created Project:ctest-TestPorts-47822852, ID : 5e46d3ec-0f43-4a26-be20-907f860e0ce0 2026-01-30 15:03:57,225 - INFO - ================================================================================ 2026-01-30 15:03:57,225 - INFO - STARTING TEST : test_ports_bindings 2026-01-30 15:03:57,225 - 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-01-30 15:03:57,480 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.254': '0'}} with 2026-01-30 15:03:57,480 - INFO - Initial checks done. Running the testcase now 2026-01-30 15:03:57,480 - INFO - 2026-01-30 15:03:58,030 - DEBUG - Response for create_network : {'network': {'id': 'ab4ed85f-79f4-4fce-9644-f3f6ce6d3167', 'name': 'ctest-vn-67242199', 'tenant_id': '5e46d3ec0f434a26be20907f860e0ce0', 'project_id': '5e46d3ec0f434a26be20907f860e0ce0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-47822852', 'ctest-vn-67242199'], 'port_security_enabled': True, 'description': ''}} 2026-01-30 15:03:58,269 - DEBUG - Response for create_subnet : {'subnet': {'id': '81702a11-a089-44f3-bc68-8e4ef8b32fbd', 'name': '', 'tenant_id': '5e46d3ec0f434a26be20907f860e0ce0', 'network_id': 'ab4ed85f-79f4-4fce-9644-f3f6ce6d3167', 'ip_version': 4, 'cidr': '93.10.24.192/26', 'allocation_pools': [{'start': '93.10.24.194', 'end': '93.10.24.254'}], 'gateway_ip': '93.10.24.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '93.10.24.194', 'tags': [], 'project_id': '5e46d3ec0f434a26be20907f860e0ce0'}} 2026-01-30 15:03:58,287 - INFO - Created VN ctest-vn-67242199 2026-01-30 15:03:58,338 - DEBUG - VN ctest-vn-67242199 UUID is ab4ed85f-79f4-4fce-9644-f3f6ce6d3167 2026-01-30 15:03:58,443 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-47822852', 'ctest-vmi-27880652']} 2026-01-30 15:03:58,720 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-27880652', 'id': 'cbf46e07-7ddb-41c5-a633-2c3a1e76f5b8', 'tenant_id': '5e46d3ec0f434a26be20907f860e0ce0', 'network_id': 'ab4ed85f-79f4-4fce-9644-f3f6ce6d3167', 'mac_address': '02:cb:f4:6e:07:7d', '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': '93.10.24.195', 'subnet_id': '81702a11-a089-44f3-bc68-8e4ef8b32fbd'}], 'security_groups': ['b9506231-0274-47e7-b644-fcb8c7365437'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5e46d3ec0f434a26be20907f860e0ce0'}} 2026-01-30 15:03:58,721 - DEBUG - Created port cbf46e07-7ddb-41c5-a633-2c3a1e76f5b8 2026-01-30 15:03:58,842 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/cbf46e07-7ddb-41c5-a633-2c3a1e76f5b8 2026-01-30 15:03:59,135 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/cbf46e07-7ddb-41c5-a633-2c3a1e76f5b8 2026-01-30 15:03:59,175 - INFO - VMI cbf46e07-7ddb-41c5-a633-2c3a1e76f5b8 verification in API Server passed 2026-01-30 15:03:59,267 - DEBUG - Response for delete_port : () 2026-01-30 15:03:59,267 - INFO - Deleted port cbf46e07-7ddb-41c5-a633-2c3a1e76f5b8 2026-01-30 15:03:59,267 - INFO - Deleting VN ctest-vn-67242199 2026-01-30 15:03:59,370 - DEBUG - Response for deleting network () 2026-01-30 15:03:59,622 - DEBUG - No XMPP flaps were noticed during the test 2026-01-30 15:03:59,622 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2026-01-30 15:03:59,623 - INFO - -------------------------------------------------------------------------------- 2026-01-30 15:03:59,625 - INFO - ================================================================================ 2026-01-30 15:03:59,625 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-01-30 15:03:59,625 - 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-01-30 15:03:59,911 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.254': '0'}} with 2026-01-30 15:03:59,911 - INFO - Initial checks done. Running the testcase now 2026-01-30 15:03:59,911 - INFO - 2026-01-30 15:04:00,087 - DEBUG - Response for create_network : {'network': {'id': 'ffb829b3-d05a-48a0-b991-d6b29708bb7a', 'name': 'ctest-vn1-94570047', 'tenant_id': '5e46d3ec0f434a26be20907f860e0ce0', 'project_id': '5e46d3ec0f434a26be20907f860e0ce0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-47822852', 'ctest-vn1-94570047'], 'port_security_enabled': True, 'description': ''}} 2026-01-30 15:04:00,284 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b432020b-74ef-4096-aacf-199d56ca17e4', 'name': '', 'tenant_id': '5e46d3ec0f434a26be20907f860e0ce0', 'network_id': 'ffb829b3-d05a-48a0-b991-d6b29708bb7a', 'ip_version': 4, 'cidr': '189.243.99.0/26', 'allocation_pools': [{'start': '189.243.99.2', 'end': '189.243.99.62'}], 'gateway_ip': '189.243.99.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '189.243.99.2', 'tags': [], 'project_id': '5e46d3ec0f434a26be20907f860e0ce0'}} 2026-01-30 15:04:00,422 - DEBUG - Response for create_subnet : {'subnet': {'id': '5ace94c8-98cb-4c92-b971-236cda79e613', 'name': '', 'tenant_id': '5e46d3ec0f434a26be20907f860e0ce0', 'network_id': 'ffb829b3-d05a-48a0-b991-d6b29708bb7a', 'ip_version': 4, 'cidr': '8.36.1.128/26', 'allocation_pools': [{'start': '8.36.1.130', 'end': '8.36.1.190'}], 'gateway_ip': '8.36.1.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '8.36.1.130', 'tags': [], 'project_id': '5e46d3ec0f434a26be20907f860e0ce0'}} 2026-01-30 15:04:00,439 - INFO - Created VN ctest-vn1-94570047 2026-01-30 15:04:00,490 - DEBUG - VN ctest-vn1-94570047 UUID is ffb829b3-d05a-48a0-b991-d6b29708bb7a 2026-01-30 15:04:00,773 - DEBUG - Response for create_port : {'port': {'name': '9b71498f-5940-407d-8efd-94ad1606fcf8', 'id': '9b71498f-5940-407d-8efd-94ad1606fcf8', 'tenant_id': '5e46d3ec0f434a26be20907f860e0ce0', 'network_id': 'ffb829b3-d05a-48a0-b991-d6b29708bb7a', 'mac_address': '02:9b:71:49:8f:59', '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': '189.243.99.5', 'subnet_id': 'b432020b-74ef-4096-aacf-199d56ca17e4'}], 'security_groups': ['b9506231-0274-47e7-b644-fcb8c7365437'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5e46d3ec0f434a26be20907f860e0ce0'}} 2026-01-30 15:04:00,930 - DEBUG - Response for create_port : {'port': {'name': '3fb57e24-28c5-4d6a-97d6-a4afdb5fe7b6', 'id': '3fb57e24-28c5-4d6a-97d6-a4afdb5fe7b6', 'tenant_id': '5e46d3ec0f434a26be20907f860e0ce0', 'network_id': 'ffb829b3-d05a-48a0-b991-d6b29708bb7a', 'mac_address': '02:3f:b5:7e:24:28', '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': '8.36.1.133', 'subnet_id': '5ace94c8-98cb-4c92-b971-236cda79e613'}], 'security_groups': ['b9506231-0274-47e7-b644-fcb8c7365437'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5e46d3ec0f434a26be20907f860e0ce0'}} 2026-01-30 15:04:00,982 - DEBUG - Services list from nova: [, , ] 2026-01-30 15:04:01,319 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5149-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5149-1) 2026-01-30 15:04:01,804 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5149-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5149-1) 2026-01-30 15:04:01,805 - INFO - Waiting for VM ctest-vn1-vm1-58525814 to be up.. 2026-01-30 15:04:01,869 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-30 15:04:06,952 - DEBUG - VM is in ACTIVE state now 2026-01-30 15:04:06,952 - INFO - VM name : ctest-vn1-vm1-58525814 2026-01-30 15:04:07,038 - DEBUG - VM ctest-vn1-vm1-58525814 ID is 3c3b9dc5-094f-4137-84d5-5eedb31f07da 2026-01-30 15:04:07,060 - DEBUG - VM ctest-vn1-vm1-58525814 launched on Node cn-jenkins-deploy-platform-ansible-os-5149-1 2026-01-30 15:04:07,136 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/3c3b9dc5-094f-4137-84d5-5eedb31f07da 2026-01-30 15:04:07,144 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/9b71498f-5940-407d-8efd-94ad1606fcf8 2026-01-30 15:04:10,387 - 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 1006ms') 2026-01-30 15:04:10,388 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-58525814 failed! 2026-01-30 15:04:10,442 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-47822852:ctest-vn1-94570047 is 189.243.99.1 and allocation pool is NOT set 2026-01-30 15:04:10,442 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-47822852:ctest-vn1-94570047 is 8.36.1.129 and allocation pool is NOT set 2026-01-30 15:04:12,511 - 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=10.2 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.02 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 = 2.021/6.126/10.231/4.105 ms') 2026-01-30 15:04:12,511 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-58525814 passed 2026-01-30 15:04:12,658 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-30 15:04:12,658 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-58525814, IP 189.243.99.5, Port 22 2026-01-30 15:04:12,714 - 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-01-30 15:04:12,791 - DEBUG - VM ctest-vn1-vm1-58525814 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-30 15:04:17,792 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-30 15:04:17,793 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-58525814, IP 189.243.99.5, Port 22 2026-01-30 15:04:17,961 - DEBUG - VM ctest-vn1-vm1-58525814 is ready for SSH connections 2026-01-30 15:04:17,961 - INFO - Waiting for VM ctest-vn1-vm2-50895316 to be up.. 2026-01-30 15:04:18,033 - DEBUG - VM is in ACTIVE state now 2026-01-30 15:04:18,033 - INFO - VM name : ctest-vn1-vm2-50895316 2026-01-30 15:04:18,109 - DEBUG - VM ctest-vn1-vm2-50895316 ID is 6de42877-eae2-45b1-be1c-282952eb9bf6 2026-01-30 15:04:18,109 - DEBUG - VM ctest-vn1-vm2-50895316 launched on Node cn-jenkins-deploy-platform-ansible-os-5149-1 2026-01-30 15:04:18,183 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/6de42877-eae2-45b1-be1c-282952eb9bf6 2026-01-30 15:04:18,190 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/3fb57e24-28c5-4d6a-97d6-a4afdb5fe7b6 2026-01-30 15:04:19,427 - 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.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.545 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.545/2.229/3.914/1.684 ms') 2026-01-30 15:04:19,428 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-50895316 passed 2026-01-30 15:04:19,582 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-30 15:04:19,582 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-50895316, IP 8.36.1.133, Port 22 2026-01-30 15:04:19,753 - DEBUG - VM ctest-vn1-vm2-50895316 is ready for SSH connections 2026-01-30 15:04:19,753 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-30 15:04:19,753 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-30 15:04:19,753 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-30 15:04:19,753 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 189.243.99.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2026-01-30 15:04:19,753 - DEBUG - ping -s 56 -c 3 -W 1 189.243.99.5 2026-01-30 15:04:22,451 - DEBUG - PING 189.243.99.5 (189.243.99.5): 56 data bytes 64 bytes from 189.243.99.5: seq=0 ttl=63 time=4.390 ms 64 bytes from 189.243.99.5: seq=1 ttl=63 time=0.829 ms 64 bytes from 189.243.99.5: seq=2 ttl=63 time=1.019 ms --- 189.243.99.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.829/2.079/4.390 ms 2026-01-30 15:04:22,451 - INFO - Ping to IP 189.243.99.5 from VM ctest-vn1-vm2-50895316 passed 2026-01-30 15:04:22,451 - INFO - Detaching port 3fb57e24-28c5-4d6a-97d6-a4afdb5fe7b6 from VM ctest-vn1-vm2-50895316 2026-01-30 15:04:22,499 - INFO - Deleting VM ctest-vn1-vm2-50895316 2026-01-30 15:04:22,576 - INFO - Detaching port 9b71498f-5940-407d-8efd-94ad1606fcf8 from VM ctest-vn1-vm1-58525814 2026-01-30 15:04:22,608 - INFO - Deleting VM ctest-vn1-vm1-58525814 2026-01-30 15:04:22,842 - DEBUG - Response for delete_port : () 2026-01-30 15:04:22,986 - DEBUG - Response for delete_port : () 2026-01-30 15:04:22,987 - INFO - Deleting VN ctest-vn1-94570047 2026-01-30 15:04:23,111 - DEBUG - Response for deleting network () 2026-01-30 15:04:23,367 - DEBUG - No XMPP flaps were noticed during the test 2026-01-30 15:04:23,367 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24] 2026-01-30 15:04:23,367 - INFO - -------------------------------------------------------------------------------- 2026-01-30 15:04:24,120 - INFO - Deleted project: ctest-TestPorts-47822852, ID : 5e46d3ec-0f43-4a26-be20-907f860e0ce0