2025-10-27 09:16:13,748 - INFO - Domain Default found not creating 2025-10-27 09:16:13,880 - INFO - Project ctest-TestPorts-27472831 not found, creating it 2025-10-27 09:16:14,318 - INFO - Created Project:ctest-TestPorts-27472831, ID : 0fbb5c38-3278-4621-b823-ea54ca8657bc 2025-10-27 09:16:15,713 - INFO - ================================================================================ 2025-10-27 09:16:15,714 - INFO - STARTING TEST : test_ports_bindings 2025-10-27 09:16:15,714 - 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-10-27 09:16:15,979 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.254': '0'}} with 2025-10-27 09:16:15,979 - INFO - Initial checks done. Running the testcase now 2025-10-27 09:16:15,980 - INFO - 2025-10-27 09:16:16,498 - DEBUG - Response for create_network : {'network': {'id': '1cdec490-a9bb-49be-a280-cc40940593f9', 'name': 'ctest-vn-43823192', 'tenant_id': '0fbb5c3832784621b823ea54ca8657bc', 'project_id': '0fbb5c3832784621b823ea54ca8657bc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-27472831', 'ctest-vn-43823192'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 09:16:16,650 - DEBUG - Response for create_subnet : {'subnet': {'id': '3ef4083d-6ab4-4971-82eb-a6666582903c', 'name': '', 'tenant_id': '0fbb5c3832784621b823ea54ca8657bc', 'network_id': '1cdec490-a9bb-49be-a280-cc40940593f9', 'ip_version': 4, 'cidr': '67.212.167.128/26', 'allocation_pools': [{'start': '67.212.167.130', 'end': '67.212.167.190'}], 'gateway_ip': '67.212.167.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '67.212.167.130', 'tags': [], 'project_id': '0fbb5c3832784621b823ea54ca8657bc'}} 2025-10-27 09:16:16,667 - INFO - Created VN ctest-vn-43823192 2025-10-27 09:16:16,721 - DEBUG - VN ctest-vn-43823192 UUID is 1cdec490-a9bb-49be-a280-cc40940593f9 2025-10-27 09:16:16,836 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-27472831', 'ctest-vmi-94452428']} 2025-10-27 09:16:17,075 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-94452428', 'id': '77927658-ae0d-49a9-a7c3-cb93ec34292f', 'tenant_id': '0fbb5c3832784621b823ea54ca8657bc', 'network_id': '1cdec490-a9bb-49be-a280-cc40940593f9', 'mac_address': '02:77:92:76:58:ae', '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': '67.212.167.131', 'subnet_id': '3ef4083d-6ab4-4971-82eb-a6666582903c'}], 'security_groups': ['ee2e6a05-8a20-4264-91cd-f8b194b20c65'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0fbb5c3832784621b823ea54ca8657bc'}} 2025-10-27 09:16:17,075 - DEBUG - Created port 77927658-ae0d-49a9-a7c3-cb93ec34292f 2025-10-27 09:16:17,177 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/77927658-ae0d-49a9-a7c3-cb93ec34292f 2025-10-27 09:16:17,473 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/77927658-ae0d-49a9-a7c3-cb93ec34292f 2025-10-27 09:16:17,503 - INFO - VMI 77927658-ae0d-49a9-a7c3-cb93ec34292f verification in API Server passed 2025-10-27 09:16:17,591 - DEBUG - Response for delete_port : () 2025-10-27 09:16:17,591 - INFO - Deleted port 77927658-ae0d-49a9-a7c3-cb93ec34292f 2025-10-27 09:16:17,591 - INFO - Deleting VN ctest-vn-43823192 2025-10-27 09:16:17,695 - DEBUG - Response for deleting network () 2025-10-27 09:16:17,950 - DEBUG - No XMPP flaps were noticed during the test
2025-10-27 09:16:17,951 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-27 09:16:17,951 - INFO - -------------------------------------------------------------------------------- 2025-10-27 09:16:17,954 - INFO - ================================================================================ 2025-10-27 09:16:17,955 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-27 09:16:17,955 - 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-10-27 09:16:18,238 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.254': '0'}} with 2025-10-27 09:16:18,238 - INFO - Initial checks done. Running the testcase now 2025-10-27 09:16:18,238 - INFO - 2025-10-27 09:16:18,409 - DEBUG - Response for create_network : {'network': {'id': '9594a43c-8cdc-4d53-be8b-aaa062880f8c', 'name': 'ctest-vn1-73550010', 'tenant_id': '0fbb5c3832784621b823ea54ca8657bc', 'project_id': '0fbb5c3832784621b823ea54ca8657bc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-27472831', 'ctest-vn1-73550010'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 09:16:18,611 - DEBUG - Response for create_subnet : {'subnet': {'id': '8943e494-df74-4c56-b778-c8f0b664628c', 'name': '', 'tenant_id': '0fbb5c3832784621b823ea54ca8657bc', 'network_id': '9594a43c-8cdc-4d53-be8b-aaa062880f8c', 'ip_version': 4, 'cidr': '136.42.108.64/26', 'allocation_pools': [{'start': '136.42.108.66', 'end': '136.42.108.126'}], 'gateway_ip': '136.42.108.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '136.42.108.66', 'tags': [], 'project_id': '0fbb5c3832784621b823ea54ca8657bc'}} 2025-10-27 09:16:18,799 - DEBUG - Response for create_subnet : {'subnet': {'id': '427aad05-7cd5-45af-9279-536043c019ca', 'name': '', 'tenant_id': '0fbb5c3832784621b823ea54ca8657bc', 'network_id': '9594a43c-8cdc-4d53-be8b-aaa062880f8c', 'ip_version': 4, 'cidr': '138.4.124.128/26', 'allocation_pools': [{'start': '138.4.124.130', 'end': '138.4.124.190'}], 'gateway_ip': '138.4.124.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '138.4.124.130', 'tags': [], 'project_id': '0fbb5c3832784621b823ea54ca8657bc'}} 2025-10-27 09:16:18,817 - INFO - Created VN ctest-vn1-73550010 2025-10-27 09:16:18,874 - DEBUG - VN ctest-vn1-73550010 UUID is 9594a43c-8cdc-4d53-be8b-aaa062880f8c 2025-10-27 09:16:19,181 - DEBUG - Response for create_port : {'port': {'name': '5f2f7558-391f-4ed2-9125-d41703b4e7e4', 'id': '5f2f7558-391f-4ed2-9125-d41703b4e7e4', 'tenant_id': '0fbb5c3832784621b823ea54ca8657bc', 'network_id': '9594a43c-8cdc-4d53-be8b-aaa062880f8c', 'mac_address': '02:5f:2f:75:58:39', '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': '136.42.108.69', 'subnet_id': '8943e494-df74-4c56-b778-c8f0b664628c'}], 'security_groups': ['ee2e6a05-8a20-4264-91cd-f8b194b20c65'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0fbb5c3832784621b823ea54ca8657bc'}} 2025-10-27 09:16:19,354 - DEBUG - Response for create_port : {'port': {'name': 'f70847a8-e268-4347-92e8-a83728df98a8', 'id': 'f70847a8-e268-4347-92e8-a83728df98a8', 'tenant_id': '0fbb5c3832784621b823ea54ca8657bc', 'network_id': '9594a43c-8cdc-4d53-be8b-aaa062880f8c', 'mac_address': '02:f7:08:47:a8:e2', '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': '138.4.124.133', 'subnet_id': '427aad05-7cd5-45af-9279-536043c019ca'}], 'security_groups': ['ee2e6a05-8a20-4264-91cd-f8b194b20c65'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0fbb5c3832784621b823ea54ca8657bc'}} 2025-10-27 09:16:19,414 - DEBUG - Services list from nova: [, , ] 2025-10-27 09:16:19,741 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4497-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4497-1) 2025-10-27 09:16:20,130 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4497-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4497-1) 2025-10-27 09:16:20,131 - INFO - Waiting for VM ctest-vn1-vm1-36489433 to be up.. 2025-10-27 09:16:20,176 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 09:16:25,257 - DEBUG - VM is in ACTIVE state now 2025-10-27 09:16:25,257 - INFO - VM name : ctest-vn1-vm1-36489433 2025-10-27 09:16:25,344 - DEBUG - VM ctest-vn1-vm1-36489433 ID is 41a5b0ae-b81c-40be-b94d-95447ded22cb 2025-10-27 09:16:25,367 - DEBUG - VM ctest-vn1-vm1-36489433 launched on Node cn-jenkins-deploy-platform-ansible-os-4497-1 2025-10-27 09:16:25,458 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/41a5b0ae-b81c-40be-b94d-95447ded22cb 2025-10-27 09:16:25,466 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/5f2f7558-391f-4ed2-9125-d41703b4e7e4 2025-10-27 09:16:28,740 - 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 1027ms') 2025-10-27 09:16:28,740 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-36489433 failed! 2025-10-27 09:16:28,797 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-27472831:ctest-vn1-73550010 is 136.42.108.65 and allocation pool is NOT set 2025-10-27 09:16:28,797 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-27472831:ctest-vn1-73550010 is 138.4.124.129 and allocation pool is NOT set 2025-10-27 09:16:30,856 - 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.02 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.00 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.997/3.508/4.019/0.511 ms') 2025-10-27 09:16:30,856 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-36489433 passed 2025-10-27 09:16:31,001 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 09:16:31,001 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-36489433, IP 136.42.108.69, Port 22 2025-10-27 09:16:31,066 - 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-10-27 09:16:31,139 - DEBUG - VM ctest-vn1-vm1-36489433 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-27 09:16:36,140 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 09:16:36,140 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-36489433, IP 136.42.108.69, Port 22 2025-10-27 09:16:36,196 - 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-10-27 09:16:36,277 - DEBUG - VM ctest-vn1-vm1-36489433 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-27 09:16:41,278 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 09:16:41,278 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-36489433, IP 136.42.108.69, Port 22 2025-10-27 09:16:41,432 - DEBUG - VM ctest-vn1-vm1-36489433 is ready for SSH connections 2025-10-27 09:16:41,432 - INFO - Waiting for VM ctest-vn1-vm2-62877998 to be up.. 2025-10-27 09:16:41,503 - DEBUG - VM is in ACTIVE state now 2025-10-27 09:16:41,503 - INFO - VM name : ctest-vn1-vm2-62877998 2025-10-27 09:16:41,586 - DEBUG - VM ctest-vn1-vm2-62877998 ID is 0b77d42c-db27-4f1b-9742-5ca1ee23c04d 2025-10-27 09:16:41,586 - DEBUG - VM ctest-vn1-vm2-62877998 launched on Node cn-jenkins-deploy-platform-ansible-os-4497-1 2025-10-27 09:16:41,663 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/0b77d42c-db27-4f1b-9742-5ca1ee23c04d 2025-10-27 09:16:41,671 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/f70847a8-e268-4347-92e8-a83728df98a8 2025-10-27 09:16:42,914 - 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.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.360 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.360/1.616/2.873/1.256 ms') 2025-10-27 09:16:42,915 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-62877998 passed 2025-10-27 09:16:43,065 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 09:16:43,065 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-62877998, IP 138.4.124.133, Port 22 2025-10-27 09:16:43,235 - DEBUG - VM ctest-vn1-vm2-62877998 is ready for SSH connections 2025-10-27 09:16:43,235 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 09:16:43,235 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 09:16:43,235 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 09:16:43,235 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 136.42.108.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-10-27 09:16:43,235 - DEBUG - ping -s 56 -c 3 -W 1 136.42.108.69 2025-10-27 09:16:46,180 - DEBUG - PING 136.42.108.69 (136.42.108.69): 56 data bytes 64 bytes from 136.42.108.69: seq=0 ttl=63 time=3.396 ms 64 bytes from 136.42.108.69: seq=1 ttl=63 time=1.011 ms 64 bytes from 136.42.108.69: seq=2 ttl=63 time=0.812 ms --- 136.42.108.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.812/1.739/3.396 ms 2025-10-27 09:16:46,180 - INFO - Ping to IP 136.42.108.69 from VM ctest-vn1-vm2-62877998 passed 2025-10-27 09:16:46,180 - INFO - Detaching port f70847a8-e268-4347-92e8-a83728df98a8 from VM ctest-vn1-vm2-62877998 2025-10-27 09:16:46,233 - INFO - Deleting VM ctest-vn1-vm2-62877998 2025-10-27 09:16:46,298 - INFO - Detaching port 5f2f7558-391f-4ed2-9125-d41703b4e7e4 from VM ctest-vn1-vm1-36489433 2025-10-27 09:16:46,333 - INFO - Deleting VM ctest-vn1-vm1-36489433 2025-10-27 09:16:46,568 - DEBUG - Response for delete_port : () 2025-10-27 09:16:46,714 - DEBUG - Response for delete_port : () 2025-10-27 09:16:46,714 - INFO - Deleting VN ctest-vn1-73550010 2025-10-27 09:16:46,904 - DEBUG - Response for deleting network () 2025-10-27 09:16:47,161 - DEBUG - No XMPP flaps were noticed during the test
2025-10-27 09:16:47,161 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:30]
2025-10-27 09:16:47,161 - INFO - -------------------------------------------------------------------------------- 2025-10-27 09:16:47,834 - INFO - Deleted project: ctest-TestPorts-27472831, ID : 0fbb5c38-3278-4621-b823-ea54ca8657bc