2025-09-11 08:27:22,632 - INFO - Domain Default found not creating 2025-09-11 08:27:22,779 - INFO - Project ctest-TestPorts-03732921 not found, creating it 2025-09-11 08:27:23,224 - INFO - Created Project:ctest-TestPorts-03732921, ID : ab49e7aa-32ea-4760-9c5e-0084a910b968 2025-09-11 08:27:24,629 - INFO - ================================================================================ 2025-09-11 08:27:24,629 - INFO - STARTING TEST : test_ports_bindings 2025-09-11 08:27:24,629 - 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-11 08:27:24,882 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.254': '0'}} with 2025-09-11 08:27:24,882 - INFO - Initial checks done. Running the testcase now 2025-09-11 08:27:24,882 - INFO - 2025-09-11 08:27:25,410 - DEBUG - Response for create_network : {'network': {'id': '26a11f8d-151b-46fe-9bf8-df40f3411493', 'name': 'ctest-vn-03167106', 'tenant_id': 'ab49e7aa32ea47609c5e0084a910b968', 'project_id': 'ab49e7aa32ea47609c5e0084a910b968', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-03732921', 'ctest-vn-03167106'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 08:27:25,587 - DEBUG - Response for create_subnet : {'subnet': {'id': '663a4c2b-0070-41cf-b215-d24d20ff6626', 'name': '', 'tenant_id': 'ab49e7aa32ea47609c5e0084a910b968', 'network_id': '26a11f8d-151b-46fe-9bf8-df40f3411493', 'ip_version': 4, 'cidr': '142.27.241.64/26', 'allocation_pools': [{'start': '142.27.241.66', 'end': '142.27.241.126'}], 'gateway_ip': '142.27.241.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '142.27.241.66', 'tags': [], 'project_id': 'ab49e7aa32ea47609c5e0084a910b968'}} 2025-09-11 08:27:25,602 - INFO - Created VN ctest-vn-03167106 2025-09-11 08:27:25,653 - DEBUG - VN ctest-vn-03167106 UUID is 26a11f8d-151b-46fe-9bf8-df40f3411493 2025-09-11 08:27:25,754 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-03732921', 'ctest-vmi-37207044']} 2025-09-11 08:27:26,017 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-37207044', 'id': 'b9896a9c-3e13-45f8-97c8-9b5c70e209a6', 'tenant_id': 'ab49e7aa32ea47609c5e0084a910b968', 'network_id': '26a11f8d-151b-46fe-9bf8-df40f3411493', 'mac_address': '02:b9:89:6a:9c:3e', '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': '142.27.241.67', 'subnet_id': '663a4c2b-0070-41cf-b215-d24d20ff6626'}], 'security_groups': ['494043ee-096a-44a6-b97b-c6d097ef55df'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ab49e7aa32ea47609c5e0084a910b968'}} 2025-09-11 08:27:26,017 - DEBUG - Created port b9896a9c-3e13-45f8-97c8-9b5c70e209a6 2025-09-11 08:27:26,121 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/b9896a9c-3e13-45f8-97c8-9b5c70e209a6 2025-09-11 08:27:26,409 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/b9896a9c-3e13-45f8-97c8-9b5c70e209a6 2025-09-11 08:27:26,438 - INFO - VMI b9896a9c-3e13-45f8-97c8-9b5c70e209a6 verification in API Server passed 2025-09-11 08:27:26,539 - DEBUG - Response for delete_port : () 2025-09-11 08:27:26,539 - INFO - Deleted port b9896a9c-3e13-45f8-97c8-9b5c70e209a6 2025-09-11 08:27:26,539 - INFO - Deleting VN ctest-vn-03167106 2025-09-11 08:27:26,633 - DEBUG - Response for deleting network () 2025-09-11 08:27:26,889 - DEBUG - No XMPP flaps were noticed during the test
2025-09-11 08:27:26,889 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-09-11 08:27:26,889 - INFO - -------------------------------------------------------------------------------- 2025-09-11 08:27:26,892 - INFO - ================================================================================ 2025-09-11 08:27:26,892 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-11 08:27:26,892 - 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-11 08:27:27,177 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.254': '0'}} with 2025-09-11 08:27:27,177 - INFO - Initial checks done. Running the testcase now 2025-09-11 08:27:27,178 - INFO - 2025-09-11 08:27:27,357 - DEBUG - Response for create_network : {'network': {'id': '9216433f-f44b-4fa1-8fa0-394380b75cfd', 'name': 'ctest-vn1-88814909', 'tenant_id': 'ab49e7aa32ea47609c5e0084a910b968', 'project_id': 'ab49e7aa32ea47609c5e0084a910b968', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-03732921', 'ctest-vn1-88814909'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 08:27:27,541 - DEBUG - Response for create_subnet : {'subnet': {'id': '04e12011-0fd3-4dad-8c5e-29bfa14c324f', 'name': '', 'tenant_id': 'ab49e7aa32ea47609c5e0084a910b968', 'network_id': '9216433f-f44b-4fa1-8fa0-394380b75cfd', 'ip_version': 4, 'cidr': '22.10.162.128/26', 'allocation_pools': [{'start': '22.10.162.130', 'end': '22.10.162.190'}], 'gateway_ip': '22.10.162.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '22.10.162.130', 'tags': [], 'project_id': 'ab49e7aa32ea47609c5e0084a910b968'}} 2025-09-11 08:27:27,704 - DEBUG - Response for create_subnet : {'subnet': {'id': '4e975cee-d20f-4dbe-87c2-c427f4ea3fd3', 'name': '', 'tenant_id': 'ab49e7aa32ea47609c5e0084a910b968', 'network_id': '9216433f-f44b-4fa1-8fa0-394380b75cfd', 'ip_version': 4, 'cidr': '101.153.148.128/26', 'allocation_pools': [{'start': '101.153.148.130', 'end': '101.153.148.190'}], 'gateway_ip': '101.153.148.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '101.153.148.130', 'tags': [], 'project_id': 'ab49e7aa32ea47609c5e0084a910b968'}} 2025-09-11 08:27:27,723 - INFO - Created VN ctest-vn1-88814909 2025-09-11 08:27:27,777 - DEBUG - VN ctest-vn1-88814909 UUID is 9216433f-f44b-4fa1-8fa0-394380b75cfd 2025-09-11 08:27:28,065 - DEBUG - Response for create_port : {'port': {'name': '206919ff-7ddf-401f-9121-3b0e6fbb02b5', 'id': '206919ff-7ddf-401f-9121-3b0e6fbb02b5', 'tenant_id': 'ab49e7aa32ea47609c5e0084a910b968', 'network_id': '9216433f-f44b-4fa1-8fa0-394380b75cfd', 'mac_address': '02:20:69:19:ff:7d', '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': '22.10.162.133', 'subnet_id': '04e12011-0fd3-4dad-8c5e-29bfa14c324f'}], 'security_groups': ['494043ee-096a-44a6-b97b-c6d097ef55df'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ab49e7aa32ea47609c5e0084a910b968'}} 2025-09-11 08:27:28,227 - DEBUG - Response for create_port : {'port': {'name': '187d676a-3e8a-4823-a615-c37d0e6c773d', 'id': '187d676a-3e8a-4823-a615-c37d0e6c773d', 'tenant_id': 'ab49e7aa32ea47609c5e0084a910b968', 'network_id': '9216433f-f44b-4fa1-8fa0-394380b75cfd', 'mac_address': '02:18:7d:67:6a: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': '101.153.148.133', 'subnet_id': '4e975cee-d20f-4dbe-87c2-c427f4ea3fd3'}], 'security_groups': ['494043ee-096a-44a6-b97b-c6d097ef55df'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ab49e7aa32ea47609c5e0084a910b968'}} 2025-09-11 08:27:28,288 - DEBUG - Services list from nova: [, , ] 2025-09-11 08:27:28,625 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4083-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4083-1) 2025-09-11 08:27:29,030 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4083-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4083-1) 2025-09-11 08:27:29,030 - INFO - Waiting for VM ctest-vn1-vm1-01553674 to be up.. 2025-09-11 08:27:29,077 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-11 08:27:34,150 - DEBUG - VM is in ACTIVE state now 2025-09-11 08:27:34,150 - INFO - VM name : ctest-vn1-vm1-01553674 2025-09-11 08:27:34,217 - DEBUG - VM ctest-vn1-vm1-01553674 ID is ddd80dfd-8ebe-4936-91f3-f65de9f1a9fe 2025-09-11 08:27:34,236 - DEBUG - VM ctest-vn1-vm1-01553674 launched on Node cn-jenkins-deploy-platform-ansible-os-4083-1 2025-09-11 08:27:34,306 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/ddd80dfd-8ebe-4936-91f3-f65de9f1a9fe 2025-09-11 08:27:34,315 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/206919ff-7ddf-401f-9121-3b0e6fbb02b5 2025-09-11 08:27:37,570 - 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 1014ms') 2025-09-11 08:27:37,570 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-01553674 failed! 2025-09-11 08:27:37,629 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-03732921:ctest-vn1-88814909 is 22.10.162.129 and allocation pool is NOT set 2025-09-11 08:27:37,629 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-03732921:ctest-vn1-88814909 is 101.153.148.129 and allocation pool is NOT set 2025-09-11 08:27:39,698 - 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.61 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.08 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 = 3.082/3.346/3.611/0.264 ms') 2025-09-11 08:27:39,699 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-01553674 passed 2025-09-11 08:27:39,845 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 08:27:39,845 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-01553674, IP 22.10.162.133, Port 22 2025-09-11 08:27:39,900 - 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-11 08:27:39,979 - DEBUG - VM ctest-vn1-vm1-01553674 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-11 08:27:44,980 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 08:27:44,980 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-01553674, IP 22.10.162.133, Port 22 2025-09-11 08:27:45,147 - DEBUG - VM ctest-vn1-vm1-01553674 is ready for SSH connections 2025-09-11 08:27:45,147 - INFO - Waiting for VM ctest-vn1-vm2-87288553 to be up.. 2025-09-11 08:27:45,222 - DEBUG - VM is in ACTIVE state now 2025-09-11 08:27:45,222 - INFO - VM name : ctest-vn1-vm2-87288553 2025-09-11 08:27:45,424 - DEBUG - VM ctest-vn1-vm2-87288553 ID is 41d0c34a-4017-4357-af3e-1d45f59436e7 2025-09-11 08:27:45,424 - DEBUG - VM ctest-vn1-vm2-87288553 launched on Node cn-jenkins-deploy-platform-ansible-os-4083-1 2025-09-11 08:27:45,502 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/41d0c34a-4017-4357-af3e-1d45f59436e7 2025-09-11 08:27:45,509 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/187d676a-3e8a-4823-a615-c37d0e6c773d 2025-09-11 08:27:46,744 - 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.67 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.338 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.338/1.504/2.671/1.166 ms') 2025-09-11 08:27:46,744 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-87288553 passed 2025-09-11 08:27:46,901 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 08:27:46,901 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-87288553, IP 101.153.148.133, Port 22 2025-09-11 08:27:47,052 - DEBUG - VM ctest-vn1-vm2-87288553 is ready for SSH connections 2025-09-11 08:27:47,052 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 08:27:47,052 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 08:27:47,052 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 08:27:47,052 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 22.10.162.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-09-11 08:27:47,052 - DEBUG - ping -s 56 -c 3 -W 1 22.10.162.133 2025-09-11 08:27:49,699 - DEBUG - PING 22.10.162.133 (22.10.162.133): 56 data bytes 64 bytes from 22.10.162.133: seq=0 ttl=63 time=3.456 ms 64 bytes from 22.10.162.133: seq=1 ttl=63 time=0.799 ms 64 bytes from 22.10.162.133: seq=2 ttl=63 time=1.223 ms --- 22.10.162.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.799/1.826/3.456 ms 2025-09-11 08:27:49,699 - INFO - Ping to IP 22.10.162.133 from VM ctest-vn1-vm2-87288553 passed 2025-09-11 08:27:49,699 - INFO - Detaching port 187d676a-3e8a-4823-a615-c37d0e6c773d from VM ctest-vn1-vm2-87288553 2025-09-11 08:27:49,749 - INFO - Deleting VM ctest-vn1-vm2-87288553 2025-09-11 08:27:49,818 - INFO - Detaching port 206919ff-7ddf-401f-9121-3b0e6fbb02b5 from VM ctest-vn1-vm1-01553674 2025-09-11 08:27:49,853 - INFO - Deleting VM ctest-vn1-vm1-01553674 2025-09-11 08:27:50,078 - DEBUG - Response for delete_port : () 2025-09-11 08:27:50,233 - DEBUG - Response for delete_port : () 2025-09-11 08:27:50,233 - INFO - Deleting VN ctest-vn1-88814909 2025-09-11 08:27:50,356 - DEBUG - Response for deleting network () 2025-09-11 08:27:50,623 - DEBUG - No XMPP flaps were noticed during the test
2025-09-11 08:27:50,623 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-09-11 08:27:50,623 - INFO - -------------------------------------------------------------------------------- 2025-09-11 08:27:51,316 - INFO - Deleted project: ctest-TestPorts-03732921, ID : ab49e7aa-32ea-4760-9c5e-0084a910b968