2025-10-17 10:18:03,368 - INFO - Domain Default found not creating 2025-10-17 10:18:03,506 - INFO - Project ctest-TestPorts-23713022 not found, creating it 2025-10-17 10:18:03,937 - INFO - Created Project:ctest-TestPorts-23713022, ID : bafeafb9-d42c-46a1-a86e-92c8c647ba45 2025-10-17 10:18:05,349 - INFO - ================================================================================ 2025-10-17 10:18:05,349 - INFO - STARTING TEST : test_ports_bindings 2025-10-17 10:18:05,349 - 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-17 10:18:05,603 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.17': '0'}} with 2025-10-17 10:18:05,603 - INFO - Initial checks done. Running the testcase now 2025-10-17 10:18:05,603 - INFO - 2025-10-17 10:18:06,116 - DEBUG - Response for create_network : {'network': {'id': '5b2162db-1349-413b-91cc-d97d882dc2dd', 'name': 'ctest-vn-63057604', 'tenant_id': 'bafeafb9d42c46a1a86e92c8c647ba45', 'project_id': 'bafeafb9d42c46a1a86e92c8c647ba45', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-23713022', 'ctest-vn-63057604'], 'port_security_enabled': True, 'description': ''}} 2025-10-17 10:18:06,294 - DEBUG - Response for create_subnet : {'subnet': {'id': '0b464f91-a773-4367-8201-9cb42e044405', 'name': '', 'tenant_id': 'bafeafb9d42c46a1a86e92c8c647ba45', 'network_id': '5b2162db-1349-413b-91cc-d97d882dc2dd', 'ip_version': 4, 'cidr': '177.42.45.64/26', 'allocation_pools': [{'start': '177.42.45.66', 'end': '177.42.45.126'}], 'gateway_ip': '177.42.45.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '177.42.45.66', 'tags': [], 'project_id': 'bafeafb9d42c46a1a86e92c8c647ba45'}} 2025-10-17 10:18:06,307 - INFO - Created VN ctest-vn-63057604 2025-10-17 10:18:06,358 - DEBUG - VN ctest-vn-63057604 UUID is 5b2162db-1349-413b-91cc-d97d882dc2dd 2025-10-17 10:18:06,586 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-23713022', 'ctest-vmi-75850939']} 2025-10-17 10:18:06,823 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-75850939', 'id': '8575c425-1f55-4dc2-8bfb-f8086a257431', 'tenant_id': 'bafeafb9d42c46a1a86e92c8c647ba45', 'network_id': '5b2162db-1349-413b-91cc-d97d882dc2dd', 'mac_address': '02:85:75:c4:25:1f', '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': '177.42.45.67', 'subnet_id': '0b464f91-a773-4367-8201-9cb42e044405'}], 'security_groups': ['02c6475e-224e-4e42-892e-fe93f6f913b0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'bafeafb9d42c46a1a86e92c8c647ba45'}} 2025-10-17 10:18:06,823 - DEBUG - Created port 8575c425-1f55-4dc2-8bfb-f8086a257431 2025-10-17 10:18:06,926 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/8575c425-1f55-4dc2-8bfb-f8086a257431 2025-10-17 10:18:07,221 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/8575c425-1f55-4dc2-8bfb-f8086a257431 2025-10-17 10:18:07,251 - INFO - VMI 8575c425-1f55-4dc2-8bfb-f8086a257431 verification in API Server passed 2025-10-17 10:18:07,329 - DEBUG - Response for delete_port : () 2025-10-17 10:18:07,329 - INFO - Deleted port 8575c425-1f55-4dc2-8bfb-f8086a257431 2025-10-17 10:18:07,329 - INFO - Deleting VN ctest-vn-63057604 2025-10-17 10:18:07,425 - DEBUG - Response for deleting network () 2025-10-17 10:18:07,679 - DEBUG - No XMPP flaps were noticed during the test
2025-10-17 10:18:07,680 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-17 10:18:07,680 - INFO - -------------------------------------------------------------------------------- 2025-10-17 10:18:07,682 - INFO - ================================================================================ 2025-10-17 10:18:07,682 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-17 10:18:07,683 - 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-17 10:18:07,975 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.17': '0'}} with 2025-10-17 10:18:07,975 - INFO - Initial checks done. Running the testcase now 2025-10-17 10:18:07,975 - INFO - 2025-10-17 10:18:08,138 - DEBUG - Response for create_network : {'network': {'id': '7a4747bf-681b-4860-9117-36fc3ce45656', 'name': 'ctest-vn1-79638092', 'tenant_id': 'bafeafb9d42c46a1a86e92c8c647ba45', 'project_id': 'bafeafb9d42c46a1a86e92c8c647ba45', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-23713022', 'ctest-vn1-79638092'], 'port_security_enabled': True, 'description': ''}} 2025-10-17 10:18:08,312 - DEBUG - Response for create_subnet : {'subnet': {'id': '0de50737-cc0c-40b6-a8ce-f95c83aa4491', 'name': '', 'tenant_id': 'bafeafb9d42c46a1a86e92c8c647ba45', 'network_id': '7a4747bf-681b-4860-9117-36fc3ce45656', 'ip_version': 4, 'cidr': '124.214.38.0/26', 'allocation_pools': [{'start': '124.214.38.2', 'end': '124.214.38.62'}], 'gateway_ip': '124.214.38.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '124.214.38.2', 'tags': [], 'project_id': 'bafeafb9d42c46a1a86e92c8c647ba45'}} 2025-10-17 10:18:08,489 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ba20129c-92e0-4595-9a49-9c8f8606c37c', 'name': '', 'tenant_id': 'bafeafb9d42c46a1a86e92c8c647ba45', 'network_id': '7a4747bf-681b-4860-9117-36fc3ce45656', 'ip_version': 4, 'cidr': '51.246.86.192/26', 'allocation_pools': [{'start': '51.246.86.194', 'end': '51.246.86.254'}], 'gateway_ip': '51.246.86.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '51.246.86.194', 'tags': [], 'project_id': 'bafeafb9d42c46a1a86e92c8c647ba45'}} 2025-10-17 10:18:08,505 - INFO - Created VN ctest-vn1-79638092 2025-10-17 10:18:08,554 - DEBUG - VN ctest-vn1-79638092 UUID is 7a4747bf-681b-4860-9117-36fc3ce45656 2025-10-17 10:18:08,823 - DEBUG - Response for create_port : {'port': {'name': 'a4854cbf-a947-4919-8f8c-aa1267a99596', 'id': 'a4854cbf-a947-4919-8f8c-aa1267a99596', 'tenant_id': 'bafeafb9d42c46a1a86e92c8c647ba45', 'network_id': '7a4747bf-681b-4860-9117-36fc3ce45656', 'mac_address': '02:a4:85:4c:bf:a9', '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': '124.214.38.5', 'subnet_id': '0de50737-cc0c-40b6-a8ce-f95c83aa4491'}], 'security_groups': ['02c6475e-224e-4e42-892e-fe93f6f913b0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'bafeafb9d42c46a1a86e92c8c647ba45'}} 2025-10-17 10:18:08,976 - DEBUG - Response for create_port : {'port': {'name': 'f29aad43-ac96-4e0b-bfbc-3c0435bdfe5e', 'id': 'f29aad43-ac96-4e0b-bfbc-3c0435bdfe5e', 'tenant_id': 'bafeafb9d42c46a1a86e92c8c647ba45', 'network_id': '7a4747bf-681b-4860-9117-36fc3ce45656', 'mac_address': '02:f2:9a:ad:43:ac', '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': '51.246.86.197', 'subnet_id': 'ba20129c-92e0-4595-9a49-9c8f8606c37c'}], 'security_groups': ['02c6475e-224e-4e42-892e-fe93f6f913b0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'bafeafb9d42c46a1a86e92c8c647ba45'}} 2025-10-17 10:18:09,029 - DEBUG - Services list from nova: [, , ] 2025-10-17 10:18:09,348 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4354-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4354-1) 2025-10-17 10:18:09,718 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4354-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4354-1) 2025-10-17 10:18:09,718 - INFO - Waiting for VM ctest-vn1-vm1-10613353 to be up.. 2025-10-17 10:18:09,753 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-17 10:18:14,818 - DEBUG - VM is in ACTIVE state now 2025-10-17 10:18:14,819 - INFO - VM name : ctest-vn1-vm1-10613353 2025-10-17 10:18:14,883 - DEBUG - VM ctest-vn1-vm1-10613353 ID is 8e73cee7-ec36-476a-a730-07f1786a1a52 2025-10-17 10:18:14,900 - DEBUG - VM ctest-vn1-vm1-10613353 launched on Node cn-jenkins-deploy-platform-ansible-os-4354-1 2025-10-17 10:18:14,967 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/8e73cee7-ec36-476a-a730-07f1786a1a52 2025-10-17 10:18:14,976 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/a4854cbf-a947-4919-8f8c-aa1267a99596 2025-10-17 10:18:18,214 - 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 1007ms') 2025-10-17 10:18:18,214 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-10613353 failed! 2025-10-17 10:18:18,267 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-23713022:ctest-vn1-79638092 is 124.214.38.1 and allocation pool is NOT set 2025-10-17 10:18:18,267 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-23713022:ctest-vn1-79638092 is 51.246.86.193 and allocation pool is NOT set 2025-10-17 10:18:20,332 - 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.61 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.836 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.836/2.223/3.611/1.387 ms') 2025-10-17 10:18:20,333 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-10613353 passed 2025-10-17 10:18:20,478 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 10:18:20,478 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-10613353, IP 124.214.38.5, Port 22 2025-10-17 10:18:20,537 - 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-10-17 10:18:20,606 - DEBUG - VM ctest-vn1-vm1-10613353 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-17 10:18:25,607 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 10:18:25,607 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-10613353, IP 124.214.38.5, Port 22 2025-10-17 10:18:25,762 - DEBUG - VM ctest-vn1-vm1-10613353 is ready for SSH connections 2025-10-17 10:18:25,762 - INFO - Waiting for VM ctest-vn1-vm2-08243861 to be up.. 2025-10-17 10:18:25,831 - DEBUG - VM is in ACTIVE state now 2025-10-17 10:18:25,831 - INFO - VM name : ctest-vn1-vm2-08243861 2025-10-17 10:18:25,894 - DEBUG - VM ctest-vn1-vm2-08243861 ID is 8df5ea1b-bdf2-4482-b21f-bebddcc3b8f4 2025-10-17 10:18:25,894 - DEBUG - VM ctest-vn1-vm2-08243861 launched on Node cn-jenkins-deploy-platform-ansible-os-4354-1 2025-10-17 10:18:25,957 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/8df5ea1b-bdf2-4482-b21f-bebddcc3b8f4 2025-10-17 10:18:25,965 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/f29aad43-ac96-4e0b-bfbc-3c0435bdfe5e 2025-10-17 10:18:27,198 - 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.02 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.383 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.383/1.701/3.020/1.318 ms') 2025-10-17 10:18:27,199 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-08243861 passed 2025-10-17 10:18:27,346 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 10:18:27,346 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-08243861, IP 51.246.86.197, Port 22 2025-10-17 10:18:27,502 - DEBUG - VM ctest-vn1-vm2-08243861 is ready for SSH connections 2025-10-17 10:18:27,502 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 10:18:27,502 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 10:18:27,502 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 10:18:27,502 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 124.214.38.5, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-10-17 10:18:27,502 - DEBUG - ping -s 56 -c 3 -W 1 124.214.38.5 2025-10-17 10:18:31,552 - DEBUG - PING 124.214.38.5 (124.214.38.5): 56 data bytes 64 bytes from 124.214.38.5: seq=0 ttl=63 time=3.663 ms 64 bytes from 124.214.38.5: seq=1 ttl=63 time=1.015 ms 64 bytes from 124.214.38.5: seq=2 ttl=63 time=0.848 ms --- 124.214.38.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.848/1.842/3.663 ms 2025-10-17 10:18:31,552 - INFO - Ping to IP 124.214.38.5 from VM ctest-vn1-vm2-08243861 passed 2025-10-17 10:18:31,552 - INFO - Detaching port f29aad43-ac96-4e0b-bfbc-3c0435bdfe5e from VM ctest-vn1-vm2-08243861 2025-10-17 10:18:31,600 - INFO - Deleting VM ctest-vn1-vm2-08243861 2025-10-17 10:18:31,660 - INFO - Detaching port a4854cbf-a947-4919-8f8c-aa1267a99596 from VM ctest-vn1-vm1-10613353 2025-10-17 10:18:31,698 - INFO - Deleting VM ctest-vn1-vm1-10613353 2025-10-17 10:18:31,944 - DEBUG - Response for delete_port : () 2025-10-17 10:18:32,084 - DEBUG - Response for delete_port : () 2025-10-17 10:18:32,084 - INFO - Deleting VN ctest-vn1-79638092 2025-10-17 10:18:32,198 - DEBUG - Response for deleting network () 2025-10-17 10:18:32,451 - DEBUG - No XMPP flaps were noticed during the test
2025-10-17 10:18:32,451 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:25]
2025-10-17 10:18:32,451 - INFO - -------------------------------------------------------------------------------- 2025-10-17 10:18:33,136 - INFO - Deleted project: ctest-TestPorts-23713022, ID : bafeafb9-d42c-46a1-a86e-92c8c647ba45