2026-04-20 02:07:08,932 - INFO - Domain Default found not creating 2026-04-20 02:07:09,107 - INFO - Project ctest-TestPorts-46251713 not found, creating it 2026-04-20 02:07:09,575 - INFO - Created Project:ctest-TestPorts-46251713, ID : eeb1d331-da8c-4ba7-99c7-d074b1daa4bb 2026-04-20 02:07:11,154 - INFO - ================================================================================ 2026-04-20 02:07:11,154 - INFO - STARTING TEST : test_ports_bindings 2026-04-20 02:07:11,154 - 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-04-20 02:07:11,409 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0'}} with 2026-04-20 02:07:11,409 - INFO - Initial checks done. Running the testcase now 2026-04-20 02:07:11,410 - INFO - 2026-04-20 02:07:11,961 - DEBUG - Response for create_network : {'network': {'id': 'a3c3d828-204b-4267-b2ba-20d724b47ba1', 'name': 'ctest-vn-05318681', 'tenant_id': 'eeb1d331da8c4ba799c7d074b1daa4bb', 'project_id': 'eeb1d331da8c4ba799c7d074b1daa4bb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-46251713', 'ctest-vn-05318681'], 'port_security_enabled': True, 'description': ''}} 2026-04-20 02:07:12,149 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bcb3b634-3498-4fa2-ad21-e42c7d5fe2ce', 'name': '', 'tenant_id': 'eeb1d331da8c4ba799c7d074b1daa4bb', 'network_id': 'a3c3d828-204b-4267-b2ba-20d724b47ba1', 'ip_version': 4, 'cidr': '103.2.241.128/26', 'allocation_pools': [{'start': '103.2.241.130', 'end': '103.2.241.190'}], 'gateway_ip': '103.2.241.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '103.2.241.130', 'tags': [], 'project_id': 'eeb1d331da8c4ba799c7d074b1daa4bb'}} 2026-04-20 02:07:12,167 - INFO - Created VN ctest-vn-05318681 2026-04-20 02:07:12,220 - DEBUG - VN ctest-vn-05318681 UUID is a3c3d828-204b-4267-b2ba-20d724b47ba1 2026-04-20 02:07:12,327 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-46251713', 'ctest-vmi-39950163']} 2026-04-20 02:07:12,548 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-39950163', 'id': '9a11704b-9c2f-4150-b4bf-42dd68a28afb', 'tenant_id': 'eeb1d331da8c4ba799c7d074b1daa4bb', 'network_id': 'a3c3d828-204b-4267-b2ba-20d724b47ba1', 'mac_address': '02:9a:11:70:4b:9c', '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': '103.2.241.131', 'subnet_id': 'bcb3b634-3498-4fa2-ad21-e42c7d5fe2ce'}], 'security_groups': ['8c6ac932-53cb-4b1e-94ba-aca6884009dc'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'eeb1d331da8c4ba799c7d074b1daa4bb'}} 2026-04-20 02:07:12,548 - DEBUG - Created port 9a11704b-9c2f-4150-b4bf-42dd68a28afb 2026-04-20 02:07:12,652 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/9a11704b-9c2f-4150-b4bf-42dd68a28afb 2026-04-20 02:07:12,944 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/9a11704b-9c2f-4150-b4bf-42dd68a28afb 2026-04-20 02:07:12,982 - INFO - VMI 9a11704b-9c2f-4150-b4bf-42dd68a28afb verification in API Server passed 2026-04-20 02:07:13,061 - DEBUG - Response for delete_port : () 2026-04-20 02:07:13,061 - INFO - Deleted port 9a11704b-9c2f-4150-b4bf-42dd68a28afb 2026-04-20 02:07:13,061 - INFO - Deleting VN ctest-vn-05318681 2026-04-20 02:07:13,159 - DEBUG - Response for deleting network () 2026-04-20 02:07:13,420 - DEBUG - No XMPP flaps were noticed during the test 2026-04-20 02:07:13,420 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2026-04-20 02:07:13,420 - INFO - -------------------------------------------------------------------------------- 2026-04-20 02:07:13,423 - INFO - ================================================================================ 2026-04-20 02:07:13,423 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-04-20 02:07:13,423 - 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-04-20 02:07:13,712 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0'}} with 2026-04-20 02:07:13,712 - INFO - Initial checks done. Running the testcase now 2026-04-20 02:07:13,712 - INFO - 2026-04-20 02:07:13,882 - DEBUG - Response for create_network : {'network': {'id': '021ded88-e15b-4d0d-a0c4-e37e72ecf760', 'name': 'ctest-vn1-64193161', 'tenant_id': 'eeb1d331da8c4ba799c7d074b1daa4bb', 'project_id': 'eeb1d331da8c4ba799c7d074b1daa4bb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-46251713', 'ctest-vn1-64193161'], 'port_security_enabled': True, 'description': ''}} 2026-04-20 02:07:14,024 - DEBUG - Response for create_subnet : {'subnet': {'id': '296e4402-8d28-4a96-9ebe-24c6fee094f8', 'name': '', 'tenant_id': 'eeb1d331da8c4ba799c7d074b1daa4bb', 'network_id': '021ded88-e15b-4d0d-a0c4-e37e72ecf760', 'ip_version': 4, 'cidr': '146.73.67.128/26', 'allocation_pools': [{'start': '146.73.67.130', 'end': '146.73.67.190'}], 'gateway_ip': '146.73.67.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.73.67.130', 'tags': [], 'project_id': 'eeb1d331da8c4ba799c7d074b1daa4bb'}} 2026-04-20 02:07:14,172 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cd2c8e65-7354-4edb-956a-02476edb3faf', 'name': '', 'tenant_id': 'eeb1d331da8c4ba799c7d074b1daa4bb', 'network_id': '021ded88-e15b-4d0d-a0c4-e37e72ecf760', 'ip_version': 4, 'cidr': '114.209.26.192/26', 'allocation_pools': [{'start': '114.209.26.194', 'end': '114.209.26.254'}], 'gateway_ip': '114.209.26.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.209.26.194', 'tags': [], 'project_id': 'eeb1d331da8c4ba799c7d074b1daa4bb'}} 2026-04-20 02:07:14,189 - INFO - Created VN ctest-vn1-64193161 2026-04-20 02:07:14,240 - DEBUG - VN ctest-vn1-64193161 UUID is 021ded88-e15b-4d0d-a0c4-e37e72ecf760 2026-04-20 02:07:14,508 - DEBUG - Response for create_port : {'port': {'name': '5014ad87-659a-40c4-a235-838749e1d3a0', 'id': '5014ad87-659a-40c4-a235-838749e1d3a0', 'tenant_id': 'eeb1d331da8c4ba799c7d074b1daa4bb', 'network_id': '021ded88-e15b-4d0d-a0c4-e37e72ecf760', 'mac_address': '02:50:14:ad:87:65', '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': '146.73.67.133', 'subnet_id': '296e4402-8d28-4a96-9ebe-24c6fee094f8'}], 'security_groups': ['8c6ac932-53cb-4b1e-94ba-aca6884009dc'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'eeb1d331da8c4ba799c7d074b1daa4bb'}} 2026-04-20 02:07:14,682 - DEBUG - Response for create_port : {'port': {'name': '71d7f4f1-d627-4ba2-a165-3238fe98d224', 'id': '71d7f4f1-d627-4ba2-a165-3238fe98d224', 'tenant_id': 'eeb1d331da8c4ba799c7d074b1daa4bb', 'network_id': '021ded88-e15b-4d0d-a0c4-e37e72ecf760', 'mac_address': '02:71:d7:f4:f1:d6', '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': '114.209.26.197', 'subnet_id': 'cd2c8e65-7354-4edb-956a-02476edb3faf'}], 'security_groups': ['8c6ac932-53cb-4b1e-94ba-aca6884009dc'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'eeb1d331da8c4ba799c7d074b1daa4bb'}} 2026-04-20 02:07:14,738 - DEBUG - Services list from nova: [, , ] 2026-04-20 02:07:15,051 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5647-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5647-1) 2026-04-20 02:07:15,457 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5647-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5647-1) 2026-04-20 02:07:15,458 - INFO - Waiting for VM ctest-vn1-vm1-72943461 to be up.. 2026-04-20 02:07:15,493 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-20 02:07:20,568 - DEBUG - VM is in ACTIVE state now 2026-04-20 02:07:20,568 - INFO - VM name : ctest-vn1-vm1-72943461 2026-04-20 02:07:20,636 - DEBUG - VM ctest-vn1-vm1-72943461 ID is 9dcacedf-ebdf-43ff-ac4f-3b8c818babaa 2026-04-20 02:07:20,659 - DEBUG - VM ctest-vn1-vm1-72943461 launched on Node cn-jenkins-deploy-platform-ansible-os-5647-1 2026-04-20 02:07:20,735 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/9dcacedf-ebdf-43ff-ac4f-3b8c818babaa 2026-04-20 02:07:20,742 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/5014ad87-659a-40c4-a235-838749e1d3a0 2026-04-20 02:07:24,003 - 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 1029ms') 2026-04-20 02:07:24,003 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-72943461 failed! 2026-04-20 02:07:24,060 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-46251713:ctest-vn1-64193161 is 146.73.67.129 and allocation pool is NOT set 2026-04-20 02:07:24,060 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-46251713:ctest-vn1-64193161 is 114.209.26.193 and allocation pool is NOT set 2026-04-20 02:07:26,124 - 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=8.41 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.98 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.982/5.196/8.411/3.214 ms') 2026-04-20 02:07:26,124 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-72943461 passed 2026-04-20 02:07:26,272 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 02:07:26,272 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-72943461, IP 146.73.67.133, Port 22 2026-04-20 02:07:26,328 - 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-04-20 02:07:26,407 - DEBUG - VM ctest-vn1-vm1-72943461 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-20 02:07:31,408 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 02:07:31,408 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-72943461, IP 146.73.67.133, Port 22 2026-04-20 02:07:31,563 - DEBUG - VM ctest-vn1-vm1-72943461 is ready for SSH connections 2026-04-20 02:07:31,564 - INFO - Waiting for VM ctest-vn1-vm2-23102127 to be up.. 2026-04-20 02:07:31,633 - DEBUG - VM is in ACTIVE state now 2026-04-20 02:07:31,633 - INFO - VM name : ctest-vn1-vm2-23102127 2026-04-20 02:07:31,709 - DEBUG - VM ctest-vn1-vm2-23102127 ID is 0106bac3-7f22-4644-b014-1dcec84a23c1 2026-04-20 02:07:31,710 - DEBUG - VM ctest-vn1-vm2-23102127 launched on Node cn-jenkins-deploy-platform-ansible-os-5647-1 2026-04-20 02:07:31,797 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/0106bac3-7f22-4644-b014-1dcec84a23c1 2026-04-20 02:07:31,805 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/71d7f4f1-d627-4ba2-a165-3238fe98d224 2026-04-20 02:07:33,040 - 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.28 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.592 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.592/1.933/3.275/1.341 ms') 2026-04-20 02:07:33,040 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-23102127 passed 2026-04-20 02:07:33,188 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 02:07:33,188 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-23102127, IP 114.209.26.197, Port 22 2026-04-20 02:07:33,365 - DEBUG - VM ctest-vn1-vm2-23102127 is ready for SSH connections 2026-04-20 02:07:33,365 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 02:07:33,366 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 02:07:33,366 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 02:07:33,366 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 146.73.67.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-04-20 02:07:33,366 - DEBUG - ping -s 56 -c 3 -W 1 146.73.67.133 2026-04-20 02:07:36,046 - DEBUG - PING 146.73.67.133 (146.73.67.133): 56 data bytes 64 bytes from 146.73.67.133: seq=0 ttl=63 time=5.432 ms 64 bytes from 146.73.67.133: seq=1 ttl=63 time=0.979 ms 64 bytes from 146.73.67.133: seq=2 ttl=63 time=1.292 ms --- 146.73.67.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.979/2.567/5.432 ms 2026-04-20 02:07:36,046 - INFO - Ping to IP 146.73.67.133 from VM ctest-vn1-vm2-23102127 passed 2026-04-20 02:07:36,046 - INFO - Detaching port 71d7f4f1-d627-4ba2-a165-3238fe98d224 from VM ctest-vn1-vm2-23102127 2026-04-20 02:07:36,102 - INFO - Deleting VM ctest-vn1-vm2-23102127 2026-04-20 02:07:36,168 - INFO - Detaching port 5014ad87-659a-40c4-a235-838749e1d3a0 from VM ctest-vn1-vm1-72943461 2026-04-20 02:07:36,209 - INFO - Deleting VM ctest-vn1-vm1-72943461 2026-04-20 02:07:36,412 - DEBUG - Response for delete_port : () 2026-04-20 02:07:36,582 - DEBUG - Response for delete_port : () 2026-04-20 02:07:36,582 - INFO - Deleting VN ctest-vn1-64193161 2026-04-20 02:07:36,733 - DEBUG - Response for deleting network () 2026-04-20 02:07:36,989 - DEBUG - No XMPP flaps were noticed during the test 2026-04-20 02:07:36,989 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23] 2026-04-20 02:07:36,989 - INFO - -------------------------------------------------------------------------------- 2026-04-20 02:07:37,670 - INFO - Deleted project: ctest-TestPorts-46251713, ID : eeb1d331-da8c-4ba7-99c7-d074b1daa4bb