2026-05-25 02:04:39,545 - INFO - Domain Default found not creating 2026-05-25 02:04:39,696 - INFO - Project ctest-TestPorts-76823110 not found, creating it 2026-05-25 02:04:40,136 - INFO - Created Project:ctest-TestPorts-76823110, ID : edc55b0e-494c-4b5e-8e18-6e1e623c48e6 2026-05-25 02:04:41,626 - INFO - ================================================================================ 2026-05-25 02:04:41,626 - INFO - STARTING TEST : test_ports_bindings 2026-05-25 02:04:41,627 - 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-05-25 02:04:41,887 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.201': '0'}} with 2026-05-25 02:04:41,887 - INFO - Initial checks done. Running the testcase now 2026-05-25 02:04:41,887 - INFO - 2026-05-25 02:04:42,489 - DEBUG - Response for create_network : {'network': {'id': '9dc814d6-42c7-4a13-8d6a-9f4bf80d6465', 'name': 'ctest-vn-20733664', 'tenant_id': 'edc55b0e494c4b5e8e186e1e623c48e6', 'project_id': 'edc55b0e494c4b5e8e186e1e623c48e6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-76823110', 'ctest-vn-20733664'], 'port_security_enabled': True, 'description': ''}} 2026-05-25 02:04:42,710 - DEBUG - Response for create_subnet : {'subnet': {'id': '14127924-2838-4232-bccd-062d24f220c9', 'name': '', 'tenant_id': 'edc55b0e494c4b5e8e186e1e623c48e6', 'network_id': '9dc814d6-42c7-4a13-8d6a-9f4bf80d6465', 'ip_version': 4, 'cidr': '215.216.106.192/26', 'allocation_pools': [{'start': '215.216.106.194', 'end': '215.216.106.254'}], 'gateway_ip': '215.216.106.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '215.216.106.194', 'tags': [], 'project_id': 'edc55b0e494c4b5e8e186e1e623c48e6'}} 2026-05-25 02:04:42,727 - INFO - Created VN ctest-vn-20733664 2026-05-25 02:04:42,777 - DEBUG - VN ctest-vn-20733664 UUID is 9dc814d6-42c7-4a13-8d6a-9f4bf80d6465 2026-05-25 02:04:42,884 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-76823110', 'ctest-vmi-68909027']} 2026-05-25 02:04:43,186 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-68909027', 'id': '2a1158ff-3119-407f-b9c8-5b882fc4ef45', 'tenant_id': 'edc55b0e494c4b5e8e186e1e623c48e6', 'network_id': '9dc814d6-42c7-4a13-8d6a-9f4bf80d6465', 'mac_address': '02:2a:11:58:ff:31', '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': '215.216.106.195', 'subnet_id': '14127924-2838-4232-bccd-062d24f220c9'}], 'security_groups': ['6131894a-770a-49d3-800f-afb20adf119c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'edc55b0e494c4b5e8e186e1e623c48e6'}} 2026-05-25 02:04:43,186 - DEBUG - Created port 2a1158ff-3119-407f-b9c8-5b882fc4ef45 2026-05-25 02:04:43,293 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/2a1158ff-3119-407f-b9c8-5b882fc4ef45 2026-05-25 02:04:43,585 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/2a1158ff-3119-407f-b9c8-5b882fc4ef45 2026-05-25 02:04:43,615 - INFO - VMI 2a1158ff-3119-407f-b9c8-5b882fc4ef45 verification in API Server passed 2026-05-25 02:04:43,703 - DEBUG - Response for delete_port : () 2026-05-25 02:04:43,703 - INFO - Deleted port 2a1158ff-3119-407f-b9c8-5b882fc4ef45 2026-05-25 02:04:43,703 - INFO - Deleting VN ctest-vn-20733664 2026-05-25 02:04:43,801 - DEBUG - Response for deleting network () 2026-05-25 02:04:44,058 - DEBUG - No XMPP flaps were noticed during the test 2026-05-25 02:04:44,058 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2026-05-25 02:04:44,058 - INFO - -------------------------------------------------------------------------------- 2026-05-25 02:04:44,060 - INFO - ================================================================================ 2026-05-25 02:04:44,060 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-05-25 02:04:44,060 - 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-05-25 02:04:44,352 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.201': '0'}} with 2026-05-25 02:04:44,352 - INFO - Initial checks done. Running the testcase now 2026-05-25 02:04:44,352 - INFO - 2026-05-25 02:04:44,511 - DEBUG - Response for create_network : {'network': {'id': '8e3d29d5-6dac-40bb-acdc-a82a5349ac54', 'name': 'ctest-vn1-67615566', 'tenant_id': 'edc55b0e494c4b5e8e186e1e623c48e6', 'project_id': 'edc55b0e494c4b5e8e186e1e623c48e6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-76823110', 'ctest-vn1-67615566'], 'port_security_enabled': True, 'description': ''}} 2026-05-25 02:04:44,650 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cc9f2f76-4031-4d8a-a97a-91f691c5c4b2', 'name': '', 'tenant_id': 'edc55b0e494c4b5e8e186e1e623c48e6', 'network_id': '8e3d29d5-6dac-40bb-acdc-a82a5349ac54', 'ip_version': 4, 'cidr': '212.135.87.64/26', 'allocation_pools': [{'start': '212.135.87.66', 'end': '212.135.87.126'}], 'gateway_ip': '212.135.87.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '212.135.87.66', 'tags': [], 'project_id': 'edc55b0e494c4b5e8e186e1e623c48e6'}} 2026-05-25 02:04:44,812 - DEBUG - Response for create_subnet : {'subnet': {'id': '3d858b82-0e2d-4a37-868f-ba06f3625b68', 'name': '', 'tenant_id': 'edc55b0e494c4b5e8e186e1e623c48e6', 'network_id': '8e3d29d5-6dac-40bb-acdc-a82a5349ac54', 'ip_version': 4, 'cidr': '159.71.70.192/26', 'allocation_pools': [{'start': '159.71.70.194', 'end': '159.71.70.254'}], 'gateway_ip': '159.71.70.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '159.71.70.194', 'tags': [], 'project_id': 'edc55b0e494c4b5e8e186e1e623c48e6'}} 2026-05-25 02:04:44,831 - INFO - Created VN ctest-vn1-67615566 2026-05-25 02:04:44,881 - DEBUG - VN ctest-vn1-67615566 UUID is 8e3d29d5-6dac-40bb-acdc-a82a5349ac54 2026-05-25 02:04:45,165 - DEBUG - Response for create_port : {'port': {'name': '7456dba2-a6b2-4a65-9b89-5fc5e9104210', 'id': '7456dba2-a6b2-4a65-9b89-5fc5e9104210', 'tenant_id': 'edc55b0e494c4b5e8e186e1e623c48e6', 'network_id': '8e3d29d5-6dac-40bb-acdc-a82a5349ac54', 'mac_address': '02:74:56:db:a2:a6', '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': '212.135.87.69', 'subnet_id': 'cc9f2f76-4031-4d8a-a97a-91f691c5c4b2'}], 'security_groups': ['6131894a-770a-49d3-800f-afb20adf119c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'edc55b0e494c4b5e8e186e1e623c48e6'}} 2026-05-25 02:04:45,316 - DEBUG - Response for create_port : {'port': {'name': 'aee1a57f-3ebb-42f9-b02e-49d07fdb33d0', 'id': 'aee1a57f-3ebb-42f9-b02e-49d07fdb33d0', 'tenant_id': 'edc55b0e494c4b5e8e186e1e623c48e6', 'network_id': '8e3d29d5-6dac-40bb-acdc-a82a5349ac54', 'mac_address': '02:ae:e1:a5:7f:3e', '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': '159.71.70.197', 'subnet_id': '3d858b82-0e2d-4a37-868f-ba06f3625b68'}], 'security_groups': ['6131894a-770a-49d3-800f-afb20adf119c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'edc55b0e494c4b5e8e186e1e623c48e6'}} 2026-05-25 02:04:45,364 - DEBUG - Services list from nova: [, , ] 2026-05-25 02:04:45,696 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5821-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5821-1) 2026-05-25 02:04:46,052 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5821-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5821-1) 2026-05-25 02:04:46,052 - INFO - Waiting for VM ctest-vn1-vm1-57564874 to be up.. 2026-05-25 02:04:46,087 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-25 02:04:51,154 - DEBUG - VM is in ACTIVE state now 2026-05-25 02:04:51,154 - INFO - VM name : ctest-vn1-vm1-57564874 2026-05-25 02:04:51,226 - DEBUG - VM ctest-vn1-vm1-57564874 ID is 124a5082-2b3a-4468-a379-352e53044ff9 2026-05-25 02:04:51,248 - DEBUG - VM ctest-vn1-vm1-57564874 launched on Node cn-jenkins-deploy-platform-ansible-os-5821-1 2026-05-25 02:04:51,319 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/124a5082-2b3a-4468-a379-352e53044ff9 2026-05-25 02:04:51,327 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/7456dba2-a6b2-4a65-9b89-5fc5e9104210 2026-05-25 02:04:54,562 - 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 1008ms') 2026-05-25 02:04:54,562 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-57564874 failed! 2026-05-25 02:04:54,613 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-76823110:ctest-vn1-67615566 is 212.135.87.65 and allocation pool is NOT set 2026-05-25 02:04:54,614 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-76823110:ctest-vn1-67615566 is 159.71.70.193 and allocation pool is NOT set 2026-05-25 02:04:56,674 - 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=4.34 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.47 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.468/2.901/4.335/1.433 ms') 2026-05-25 02:04:56,674 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-57564874 passed 2026-05-25 02:04:56,821 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-25 02:04:56,821 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-57564874, IP 212.135.87.69, Port 22 2026-05-25 02:04:56,876 - 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-05-25 02:04:56,947 - DEBUG - VM ctest-vn1-vm1-57564874 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-25 02:05:01,947 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-25 02:05:01,948 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-57564874, IP 212.135.87.69, Port 22 2026-05-25 02:05:02,105 - DEBUG - VM ctest-vn1-vm1-57564874 is ready for SSH connections 2026-05-25 02:05:02,105 - INFO - Waiting for VM ctest-vn1-vm2-45915347 to be up.. 2026-05-25 02:05:02,175 - DEBUG - VM is in ACTIVE state now 2026-05-25 02:05:02,175 - INFO - VM name : ctest-vn1-vm2-45915347 2026-05-25 02:05:02,243 - DEBUG - VM ctest-vn1-vm2-45915347 ID is 3a398b6b-5251-46a4-a015-bc7a7f3a5794 2026-05-25 02:05:02,244 - DEBUG - VM ctest-vn1-vm2-45915347 launched on Node cn-jenkins-deploy-platform-ansible-os-5821-1 2026-05-25 02:05:02,311 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/3a398b6b-5251-46a4-a015-bc7a7f3a5794 2026-05-25 02:05:02,319 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/aee1a57f-3ebb-42f9-b02e-49d07fdb33d0 2026-05-25 02:05:03,554 - 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.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.480 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.480/1.696/2.912/1.216 ms') 2026-05-25 02:05:03,554 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-45915347 passed 2026-05-25 02:05:03,701 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-25 02:05:03,701 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-45915347, IP 159.71.70.197, Port 22 2026-05-25 02:05:03,857 - DEBUG - VM ctest-vn1-vm2-45915347 is ready for SSH connections 2026-05-25 02:05:03,857 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-25 02:05:03,857 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-25 02:05:03,857 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-25 02:05:03,857 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 212.135.87.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2026-05-25 02:05:03,857 - DEBUG - ping -s 56 -c 3 -W 1 212.135.87.69 2026-05-25 02:05:06,518 - DEBUG - PING 212.135.87.69 (212.135.87.69): 56 data bytes 64 bytes from 212.135.87.69: seq=0 ttl=63 time=4.384 ms 64 bytes from 212.135.87.69: seq=1 ttl=63 time=1.021 ms 64 bytes from 212.135.87.69: seq=2 ttl=63 time=1.057 ms --- 212.135.87.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.021/2.154/4.384 ms 2026-05-25 02:05:06,519 - INFO - Ping to IP 212.135.87.69 from VM ctest-vn1-vm2-45915347 passed 2026-05-25 02:05:06,519 - INFO - Detaching port aee1a57f-3ebb-42f9-b02e-49d07fdb33d0 from VM ctest-vn1-vm2-45915347 2026-05-25 02:05:06,565 - INFO - Deleting VM ctest-vn1-vm2-45915347 2026-05-25 02:05:06,638 - INFO - Detaching port 7456dba2-a6b2-4a65-9b89-5fc5e9104210 from VM ctest-vn1-vm1-57564874 2026-05-25 02:05:06,670 - INFO - Deleting VM ctest-vn1-vm1-57564874 2026-05-25 02:05:06,888 - DEBUG - Response for delete_port : () 2026-05-25 02:05:07,044 - DEBUG - Response for delete_port : () 2026-05-25 02:05:07,045 - INFO - Deleting VN ctest-vn1-67615566 2026-05-25 02:05:07,168 - DEBUG - Response for deleting network () 2026-05-25 02:05:07,422 - DEBUG - No XMPP flaps were noticed during the test 2026-05-25 02:05:07,422 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23] 2026-05-25 02:05:07,422 - INFO - -------------------------------------------------------------------------------- 2026-05-25 02:05:08,126 - INFO - Deleted project: ctest-TestPorts-76823110, ID : edc55b0e-494c-4b5e-8e18-6e1e623c48e6