2025-09-12 19:14:10,700 - INFO - Domain Default found not creating 2025-09-12 19:14:10,860 - INFO - Project ctest-TestPorts-70898800 not found, creating it 2025-09-12 19:14:11,318 - INFO - Created Project:ctest-TestPorts-70898800, ID : a5cd33a5-78bd-4019-8fa2-8fa817d6788a 2025-09-12 19:14:12,854 - INFO - ================================================================================ 2025-09-12 19:14:12,854 - INFO - STARTING TEST : test_ports_bindings 2025-09-12 19:14:12,854 - 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 2025-09-12 19:14:13,112 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2025-09-12 19:14:13,112 - INFO - Initial checks done. Running the testcase now 2025-09-12 19:14:13,112 - INFO - 2025-09-12 19:14:13,702 - DEBUG - Response for create_network : {'network': {'id': '32ab733e-4d7e-4e5d-9b47-512c2ee43b87', 'name': 'ctest-vn-79511747', 'tenant_id': 'a5cd33a578bd40198fa28fa817d6788a', 'project_id': 'a5cd33a578bd40198fa28fa817d6788a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-70898800', 'ctest-vn-79511747'], 'port_security_enabled': True, 'description': ''}} 2025-09-12 19:14:13,912 - DEBUG - Response for create_subnet : {'subnet': {'id': '4e8fbb62-f3ee-486c-b675-638f0820bdce', 'name': '', 'tenant_id': 'a5cd33a578bd40198fa28fa817d6788a', 'network_id': '32ab733e-4d7e-4e5d-9b47-512c2ee43b87', 'ip_version': 4, 'cidr': '99.198.223.192/26', 'allocation_pools': [{'start': '99.198.223.194', 'end': '99.198.223.254'}], 'gateway_ip': '99.198.223.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.198.223.194', 'tags': [], 'project_id': 'a5cd33a578bd40198fa28fa817d6788a'}} 2025-09-12 19:14:13,930 - INFO - Created VN ctest-vn-79511747 2025-09-12 19:14:13,982 - DEBUG - VN ctest-vn-79511747 UUID is 32ab733e-4d7e-4e5d-9b47-512c2ee43b87 2025-09-12 19:14:14,090 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-70898800', 'ctest-vmi-45386264']} 2025-09-12 19:14:14,382 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-45386264', 'id': 'f10bce74-653f-4c77-af67-4dd31fda5f05', 'tenant_id': 'a5cd33a578bd40198fa28fa817d6788a', 'network_id': '32ab733e-4d7e-4e5d-9b47-512c2ee43b87', 'mac_address': '02:f1:0b:ce:74:65', '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': '99.198.223.195', 'subnet_id': '4e8fbb62-f3ee-486c-b675-638f0820bdce'}], 'security_groups': ['f494a8e2-2b09-45fc-aaa7-4656d71621db'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a5cd33a578bd40198fa28fa817d6788a'}} 2025-09-12 19:14:14,382 - DEBUG - Created port f10bce74-653f-4c77-af67-4dd31fda5f05 2025-09-12 19:14:14,486 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/f10bce74-653f-4c77-af67-4dd31fda5f05 2025-09-12 19:14:14,793 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/f10bce74-653f-4c77-af67-4dd31fda5f05 2025-09-12 19:14:14,825 - INFO - VMI f10bce74-653f-4c77-af67-4dd31fda5f05 verification in API Server passed 2025-09-12 19:14:14,927 - DEBUG - Response for delete_port : () 2025-09-12 19:14:14,927 - INFO - Deleted port f10bce74-653f-4c77-af67-4dd31fda5f05 2025-09-12 19:14:14,927 - INFO - Deleting VN ctest-vn-79511747 2025-09-12 19:14:15,026 - DEBUG - Response for deleting network () 2025-09-12 19:14:15,284 - DEBUG - No XMPP flaps were noticed during the test 2025-09-12 19:14:15,284 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-09-12 19:14:15,284 - INFO - -------------------------------------------------------------------------------- 2025-09-12 19:14:15,290 - INFO - ================================================================================ 2025-09-12 19:14:15,290 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-12 19:14:15,290 - 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 2025-09-12 19:14:15,571 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2025-09-12 19:14:15,571 - INFO - Initial checks done. Running the testcase now 2025-09-12 19:14:15,571 - INFO - 2025-09-12 19:14:15,748 - DEBUG - Response for create_network : {'network': {'id': '9845320c-0659-45de-85ba-5a486d99c611', 'name': 'ctest-vn1-16611511', 'tenant_id': 'a5cd33a578bd40198fa28fa817d6788a', 'project_id': 'a5cd33a578bd40198fa28fa817d6788a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-70898800', 'ctest-vn1-16611511'], 'port_security_enabled': True, 'description': ''}} 2025-09-12 19:14:15,897 - DEBUG - Response for create_subnet : {'subnet': {'id': '2b100677-3453-4129-934a-2db04278f50e', 'name': '', 'tenant_id': 'a5cd33a578bd40198fa28fa817d6788a', 'network_id': '9845320c-0659-45de-85ba-5a486d99c611', 'ip_version': 4, 'cidr': '177.178.163.128/26', 'allocation_pools': [{'start': '177.178.163.130', 'end': '177.178.163.190'}], 'gateway_ip': '177.178.163.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '177.178.163.130', 'tags': [], 'project_id': 'a5cd33a578bd40198fa28fa817d6788a'}} 2025-09-12 19:14:16,085 - DEBUG - Response for create_subnet : {'subnet': {'id': '336d8ebf-3c45-4d86-af66-eaa90dce26c0', 'name': '', 'tenant_id': 'a5cd33a578bd40198fa28fa817d6788a', 'network_id': '9845320c-0659-45de-85ba-5a486d99c611', 'ip_version': 4, 'cidr': '192.82.224.64/26', 'allocation_pools': [{'start': '192.82.224.66', 'end': '192.82.224.126'}], 'gateway_ip': '192.82.224.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '192.82.224.66', 'tags': [], 'project_id': 'a5cd33a578bd40198fa28fa817d6788a'}} 2025-09-12 19:14:16,110 - INFO - Created VN ctest-vn1-16611511 2025-09-12 19:14:16,162 - DEBUG - VN ctest-vn1-16611511 UUID is 9845320c-0659-45de-85ba-5a486d99c611 2025-09-12 19:14:16,472 - DEBUG - Response for create_port : {'port': {'name': 'e7486bfb-a7e9-4915-9776-389823b8e323', 'id': 'e7486bfb-a7e9-4915-9776-389823b8e323', 'tenant_id': 'a5cd33a578bd40198fa28fa817d6788a', 'network_id': '9845320c-0659-45de-85ba-5a486d99c611', 'mac_address': '02:e7:48:6b:fb:a7', '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': '177.178.163.133', 'subnet_id': '2b100677-3453-4129-934a-2db04278f50e'}], 'security_groups': ['f494a8e2-2b09-45fc-aaa7-4656d71621db'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a5cd33a578bd40198fa28fa817d6788a'}} 2025-09-12 19:14:16,662 - DEBUG - Response for create_port : {'port': {'name': '6db3f335-310a-4cf0-91f6-25eabbefac8d', 'id': '6db3f335-310a-4cf0-91f6-25eabbefac8d', 'tenant_id': 'a5cd33a578bd40198fa28fa817d6788a', 'network_id': '9845320c-0659-45de-85ba-5a486d99c611', 'mac_address': '02:6d:b3:f3:35:31', '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': '192.82.224.69', 'subnet_id': '336d8ebf-3c45-4d86-af66-eaa90dce26c0'}], 'security_groups': ['f494a8e2-2b09-45fc-aaa7-4656d71621db'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a5cd33a578bd40198fa28fa817d6788a'}} 2025-09-12 19:14:16,723 - DEBUG - Services list from nova: [, , ] 2025-09-12 19:14:17,070 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4099-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4099-1) 2025-09-12 19:14:17,461 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4099-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4099-1) 2025-09-12 19:14:17,461 - INFO - Waiting for VM ctest-vn1-vm1-74852032 to be up.. 2025-09-12 19:14:17,503 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-12 19:14:22,588 - DEBUG - VM is in ACTIVE state now 2025-09-12 19:14:22,588 - INFO - VM name : ctest-vn1-vm1-74852032 2025-09-12 19:14:22,668 - DEBUG - VM ctest-vn1-vm1-74852032 ID is 7e2a946c-fb21-4d12-b608-5e9469cbb626 2025-09-12 19:14:22,691 - DEBUG - VM ctest-vn1-vm1-74852032 launched on Node cn-jenkins-deploy-platform-ansible-os-4099-1 2025-09-12 19:14:22,771 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/7e2a946c-fb21-4d12-b608-5e9469cbb626 2025-09-12 19:14:22,781 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/e7486bfb-a7e9-4915-9776-389823b8e323 2025-09-12 19:14:26,050 - 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 1008ms') 2025-09-12 19:14:26,050 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-74852032 failed! 2025-09-12 19:14:26,107 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-70898800:ctest-vn1-16611511 is 177.178.163.129 and allocation pool is NOT set 2025-09-12 19:14:26,107 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-70898800:ctest-vn1-16611511 is 192.82.224.65 and allocation pool is NOT set 2025-09-12 19:14:28,165 - 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=5.65 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.66 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 = 2.658/4.152/5.646/1.494 ms') 2025-09-12 19:14:28,166 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-74852032 passed 2025-09-12 19:14:28,314 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-12 19:14:28,315 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-74852032, IP 177.178.163.133, Port 22 2025-09-12 19:14:28,381 - 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': ''} 2025-09-12 19:14:28,457 - DEBUG - VM ctest-vn1-vm1-74852032 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-12 19:14:33,457 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-12 19:14:33,457 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-74852032, IP 177.178.163.133, Port 22 2025-09-12 19:14:33,613 - DEBUG - VM ctest-vn1-vm1-74852032 is ready for SSH connections 2025-09-12 19:14:33,613 - INFO - Waiting for VM ctest-vn1-vm2-61876369 to be up.. 2025-09-12 19:14:33,694 - DEBUG - VM is in ACTIVE state now 2025-09-12 19:14:33,694 - INFO - VM name : ctest-vn1-vm2-61876369 2025-09-12 19:14:33,772 - DEBUG - VM ctest-vn1-vm2-61876369 ID is 5c249dce-bab1-4a6e-9096-3bf87c16decf 2025-09-12 19:14:33,772 - DEBUG - VM ctest-vn1-vm2-61876369 launched on Node cn-jenkins-deploy-platform-ansible-os-4099-1 2025-09-12 19:14:33,856 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/5c249dce-bab1-4a6e-9096-3bf87c16decf 2025-09-12 19:14:33,864 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/6db3f335-310a-4cf0-91f6-25eabbefac8d 2025-09-12 19:14:35,100 - 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.73 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.471 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.471/2.101/3.731/1.630 ms') 2025-09-12 19:14:35,100 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-61876369 passed 2025-09-12 19:14:35,246 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-12 19:14:35,246 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-61876369, IP 192.82.224.69, Port 22 2025-09-12 19:14:35,410 - DEBUG - VM ctest-vn1-vm2-61876369 is ready for SSH connections 2025-09-12 19:14:35,410 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-12 19:14:35,410 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-12 19:14:35,410 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-12 19:14:35,410 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 177.178.163.133, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-12 19:14:35,410 - DEBUG - ping -s 56 -c 3 -W 1 177.178.163.133 2025-09-12 19:14:39,135 - DEBUG - PING 177.178.163.133 (177.178.163.133): 56 data bytes 64 bytes from 177.178.163.133: seq=0 ttl=63 time=4.077 ms 64 bytes from 177.178.163.133: seq=1 ttl=63 time=1.134 ms 64 bytes from 177.178.163.133: seq=2 ttl=63 time=1.043 ms --- 177.178.163.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.043/2.084/4.077 ms 2025-09-12 19:14:39,135 - INFO - Ping to IP 177.178.163.133 from VM ctest-vn1-vm2-61876369 passed 2025-09-12 19:14:39,135 - INFO - Detaching port 6db3f335-310a-4cf0-91f6-25eabbefac8d from VM ctest-vn1-vm2-61876369 2025-09-12 19:14:39,186 - INFO - Deleting VM ctest-vn1-vm2-61876369 2025-09-12 19:14:39,250 - INFO - Detaching port e7486bfb-a7e9-4915-9776-389823b8e323 from VM ctest-vn1-vm1-74852032 2025-09-12 19:14:39,282 - INFO - Deleting VM ctest-vn1-vm1-74852032 2025-09-12 19:14:39,532 - DEBUG - Response for delete_port : () 2025-09-12 19:14:39,703 - DEBUG - Response for delete_port : () 2025-09-12 19:14:39,703 - INFO - Deleting VN ctest-vn1-16611511 2025-09-12 19:14:39,834 - DEBUG - Response for deleting network () 2025-09-12 19:14:40,096 - DEBUG - No XMPP flaps were noticed during the test 2025-09-12 19:14:40,096 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:25] 2025-09-12 19:14:40,096 - INFO - -------------------------------------------------------------------------------- 2025-09-12 19:14:40,800 - INFO - Deleted project: ctest-TestPorts-70898800, ID : a5cd33a5-78bd-4019-8fa2-8fa817d6788a