2025-09-19 06:27:55,641 - INFO - Domain Default found not creating 2025-09-19 06:27:55,822 - INFO - Project ctest-TestPorts-93738676 not found, creating it 2025-09-19 06:27:56,404 - INFO - Created Project:ctest-TestPorts-93738676, ID : 6316696c-29ad-4b51-98fb-3fe6da55e1de 2025-09-19 06:27:57,752 - INFO - ================================================================================ 2025-09-19 06:27:57,752 - INFO - STARTING TEST : test_ports_bindings 2025-09-19 06:27:57,752 - 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-19 06:27:58,006 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0'}} with 2025-09-19 06:27:58,006 - INFO - Initial checks done. Running the testcase now 2025-09-19 06:27:58,006 - INFO - 2025-09-19 06:27:58,538 - DEBUG - Response for create_network : {'network': {'id': '15544026-3326-497f-9419-b0a31388b4e5', 'name': 'ctest-vn-23416558', 'tenant_id': '6316696c29ad4b5198fb3fe6da55e1de', 'project_id': '6316696c29ad4b5198fb3fe6da55e1de', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-93738676', 'ctest-vn-23416558'], 'port_security_enabled': True, 'description': ''}} 2025-09-19 06:27:58,731 - DEBUG - Response for create_subnet : {'subnet': {'id': '067519d4-4e1c-4da7-9547-da249b4b4d1c', 'name': '', 'tenant_id': '6316696c29ad4b5198fb3fe6da55e1de', 'network_id': '15544026-3326-497f-9419-b0a31388b4e5', 'ip_version': 4, 'cidr': '174.246.73.192/26', 'allocation_pools': [{'start': '174.246.73.194', 'end': '174.246.73.254'}], 'gateway_ip': '174.246.73.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.246.73.194', 'tags': [], 'project_id': '6316696c29ad4b5198fb3fe6da55e1de'}} 2025-09-19 06:27:58,748 - INFO - Created VN ctest-vn-23416558 2025-09-19 06:27:58,801 - DEBUG - VN ctest-vn-23416558 UUID is 15544026-3326-497f-9419-b0a31388b4e5 2025-09-19 06:27:58,899 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-93738676', 'ctest-vmi-81159733']} 2025-09-19 06:27:59,171 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-81159733', 'id': '26ec9ac7-b22e-4f38-857f-b6d7c8eee911', 'tenant_id': '6316696c29ad4b5198fb3fe6da55e1de', 'network_id': '15544026-3326-497f-9419-b0a31388b4e5', 'mac_address': '02:26:ec:9a:c7:b2', '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': '174.246.73.195', 'subnet_id': '067519d4-4e1c-4da7-9547-da249b4b4d1c'}], 'security_groups': ['1ad86e0f-6091-4307-9182-813252e7dd78'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6316696c29ad4b5198fb3fe6da55e1de'}} 2025-09-19 06:27:59,171 - DEBUG - Created port 26ec9ac7-b22e-4f38-857f-b6d7c8eee911 2025-09-19 06:27:59,277 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/26ec9ac7-b22e-4f38-857f-b6d7c8eee911 2025-09-19 06:27:59,565 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/26ec9ac7-b22e-4f38-857f-b6d7c8eee911 2025-09-19 06:27:59,596 - INFO - VMI 26ec9ac7-b22e-4f38-857f-b6d7c8eee911 verification in API Server passed 2025-09-19 06:27:59,670 - DEBUG - Response for delete_port : () 2025-09-19 06:27:59,670 - INFO - Deleted port 26ec9ac7-b22e-4f38-857f-b6d7c8eee911 2025-09-19 06:27:59,670 - INFO - Deleting VN ctest-vn-23416558 2025-09-19 06:27:59,762 - DEBUG - Response for deleting network () 2025-09-19 06:28:00,019 - DEBUG - No XMPP flaps were noticed during the test 2025-09-19 06:28:00,019 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-09-19 06:28:00,019 - INFO - -------------------------------------------------------------------------------- 2025-09-19 06:28:00,022 - INFO - ================================================================================ 2025-09-19 06:28:00,022 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-19 06:28:00,022 - 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-19 06:28:00,314 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0'}} with 2025-09-19 06:28:00,314 - INFO - Initial checks done. Running the testcase now 2025-09-19 06:28:00,314 - INFO - 2025-09-19 06:28:00,500 - DEBUG - Response for create_network : {'network': {'id': 'f11ee5ed-0d11-4920-b323-3fe99db30195', 'name': 'ctest-vn1-01944275', 'tenant_id': '6316696c29ad4b5198fb3fe6da55e1de', 'project_id': '6316696c29ad4b5198fb3fe6da55e1de', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-93738676', 'ctest-vn1-01944275'], 'port_security_enabled': True, 'description': ''}} 2025-09-19 06:28:00,722 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a249f22d-fbfd-43df-9eac-a68563da5b4d', 'name': '', 'tenant_id': '6316696c29ad4b5198fb3fe6da55e1de', 'network_id': 'f11ee5ed-0d11-4920-b323-3fe99db30195', 'ip_version': 4, 'cidr': '201.230.144.192/26', 'allocation_pools': [{'start': '201.230.144.194', 'end': '201.230.144.254'}], 'gateway_ip': '201.230.144.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '201.230.144.194', 'tags': [], 'project_id': '6316696c29ad4b5198fb3fe6da55e1de'}} 2025-09-19 06:28:00,915 - DEBUG - Response for create_subnet : {'subnet': {'id': '6ea28109-3681-489b-979c-f6e0f8018011', 'name': '', 'tenant_id': '6316696c29ad4b5198fb3fe6da55e1de', 'network_id': 'f11ee5ed-0d11-4920-b323-3fe99db30195', 'ip_version': 4, 'cidr': '91.23.249.128/26', 'allocation_pools': [{'start': '91.23.249.130', 'end': '91.23.249.190'}], 'gateway_ip': '91.23.249.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '91.23.249.130', 'tags': [], 'project_id': '6316696c29ad4b5198fb3fe6da55e1de'}} 2025-09-19 06:28:00,932 - INFO - Created VN ctest-vn1-01944275 2025-09-19 06:28:00,981 - DEBUG - VN ctest-vn1-01944275 UUID is f11ee5ed-0d11-4920-b323-3fe99db30195 2025-09-19 06:28:01,262 - DEBUG - Response for create_port : {'port': {'name': '70d1e3a0-b938-44a9-8e39-c14e3de21774', 'id': '70d1e3a0-b938-44a9-8e39-c14e3de21774', 'tenant_id': '6316696c29ad4b5198fb3fe6da55e1de', 'network_id': 'f11ee5ed-0d11-4920-b323-3fe99db30195', 'mac_address': '02:70:d1:e3:a0:b9', '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': '201.230.144.197', 'subnet_id': 'a249f22d-fbfd-43df-9eac-a68563da5b4d'}], 'security_groups': ['1ad86e0f-6091-4307-9182-813252e7dd78'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6316696c29ad4b5198fb3fe6da55e1de'}} 2025-09-19 06:28:01,419 - DEBUG - Response for create_port : {'port': {'name': '6293f184-99ff-4663-aeaf-9e37ef256277', 'id': '6293f184-99ff-4663-aeaf-9e37ef256277', 'tenant_id': '6316696c29ad4b5198fb3fe6da55e1de', 'network_id': 'f11ee5ed-0d11-4920-b323-3fe99db30195', 'mac_address': '02:62:93:f1:84:99', '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': '91.23.249.133', 'subnet_id': '6ea28109-3681-489b-979c-f6e0f8018011'}], 'security_groups': ['1ad86e0f-6091-4307-9182-813252e7dd78'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6316696c29ad4b5198fb3fe6da55e1de'}} 2025-09-19 06:28:01,476 - DEBUG - Services list from nova: [, , ] 2025-09-19 06:28:01,792 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4146-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4146-1) 2025-09-19 06:28:02,154 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4146-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4146-1) 2025-09-19 06:28:02,155 - INFO - Waiting for VM ctest-vn1-vm1-45886323 to be up.. 2025-09-19 06:28:02,191 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-19 06:28:07,269 - DEBUG - VM is in ACTIVE state now 2025-09-19 06:28:07,269 - INFO - VM name : ctest-vn1-vm1-45886323 2025-09-19 06:28:07,355 - DEBUG - VM ctest-vn1-vm1-45886323 ID is 589125d1-1905-4f7b-9ae0-232a2225779c 2025-09-19 06:28:07,377 - DEBUG - VM ctest-vn1-vm1-45886323 launched on Node cn-jenkins-deploy-platform-ansible-os-4146-1 2025-09-19 06:28:07,455 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/589125d1-1905-4f7b-9ae0-232a2225779c 2025-09-19 06:28:07,466 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/70d1e3a0-b938-44a9-8e39-c14e3de21774 2025-09-19 06:28:10,722 - 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 1023ms') 2025-09-19 06:28:10,722 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-45886323 failed! 2025-09-19 06:28:10,777 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-93738676:ctest-vn1-01944275 is 201.230.144.193 and allocation pool is NOT set 2025-09-19 06:28:10,777 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-93738676:ctest-vn1-01944275 is 91.23.249.129 and allocation pool is NOT set 2025-09-19 06:28:12,834 - 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.05 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.714 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.714/4.381/8.048/3.667 ms') 2025-09-19 06:28:12,834 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-45886323 passed 2025-09-19 06:28:12,993 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 06:28:12,993 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-45886323, IP 201.230.144.197, Port 22 2025-09-19 06:28:13,048 - 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': ''} 2025-09-19 06:28:13,241 - DEBUG - VM ctest-vn1-vm1-45886323 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-19 06:28:18,241 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 06:28:18,242 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-45886323, IP 201.230.144.197, Port 22 2025-09-19 06:28:18,396 - DEBUG - VM ctest-vn1-vm1-45886323 is ready for SSH connections 2025-09-19 06:28:18,396 - INFO - Waiting for VM ctest-vn1-vm2-02020819 to be up.. 2025-09-19 06:28:18,466 - DEBUG - VM is in ACTIVE state now 2025-09-19 06:28:18,466 - INFO - VM name : ctest-vn1-vm2-02020819 2025-09-19 06:28:18,537 - DEBUG - VM ctest-vn1-vm2-02020819 ID is de534e37-b8ba-4017-a06e-7167c50799af 2025-09-19 06:28:18,537 - DEBUG - VM ctest-vn1-vm2-02020819 launched on Node cn-jenkins-deploy-platform-ansible-os-4146-1 2025-09-19 06:28:18,601 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/de534e37-b8ba-4017-a06e-7167c50799af 2025-09-19 06:28:18,609 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/6293f184-99ff-4663-aeaf-9e37ef256277 2025-09-19 06:28:19,844 - 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.59 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.368 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.368/1.479/2.591/1.111 ms') 2025-09-19 06:28:19,844 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-02020819 passed 2025-09-19 06:28:19,989 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 06:28:19,989 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-02020819, IP 91.23.249.133, Port 22 2025-09-19 06:28:20,154 - DEBUG - VM ctest-vn1-vm2-02020819 is ready for SSH connections 2025-09-19 06:28:20,154 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 06:28:20,154 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 06:28:20,154 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 06:28:20,154 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 201.230.144.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-09-19 06:28:20,154 - DEBUG - ping -s 56 -c 3 -W 1 201.230.144.197 2025-09-19 06:28:23,097 - DEBUG - PING 201.230.144.197 (201.230.144.197): 56 data bytes 64 bytes from 201.230.144.197: seq=0 ttl=63 time=3.635 ms 64 bytes from 201.230.144.197: seq=1 ttl=63 time=1.056 ms 64 bytes from 201.230.144.197: seq=2 ttl=63 time=0.749 ms --- 201.230.144.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.749/1.813/3.635 ms 2025-09-19 06:28:23,097 - INFO - Ping to IP 201.230.144.197 from VM ctest-vn1-vm2-02020819 passed 2025-09-19 06:28:23,097 - INFO - Detaching port 6293f184-99ff-4663-aeaf-9e37ef256277 from VM ctest-vn1-vm2-02020819 2025-09-19 06:28:23,144 - INFO - Deleting VM ctest-vn1-vm2-02020819 2025-09-19 06:28:23,208 - INFO - Detaching port 70d1e3a0-b938-44a9-8e39-c14e3de21774 from VM ctest-vn1-vm1-45886323 2025-09-19 06:28:23,245 - INFO - Deleting VM ctest-vn1-vm1-45886323 2025-09-19 06:28:23,473 - DEBUG - Response for delete_port : () 2025-09-19 06:28:23,643 - DEBUG - Response for delete_port : () 2025-09-19 06:28:23,643 - INFO - Deleting VN ctest-vn1-01944275 2025-09-19 06:28:23,766 - DEBUG - Response for deleting network () 2025-09-19 06:28:24,021 - DEBUG - No XMPP flaps were noticed during the test 2025-09-19 06:28:24,021 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24] 2025-09-19 06:28:24,021 - INFO - -------------------------------------------------------------------------------- 2025-09-19 06:28:24,737 - INFO - Deleted project: ctest-TestPorts-93738676, ID : 6316696c-29ad-4b51-98fb-3fe6da55e1de