2025-10-23 10:49:00,631 - INFO - Domain Default found not creating 2025-10-23 10:49:00,794 - INFO - Project ctest-TestRoutersBasic-57493330 not found, creating it 2025-10-23 10:49:01,281 - INFO - Created Project:ctest-TestRoutersBasic-57493330, ID : 5c22e0d0-2370-46a0-a4be-0ca3af0efb4e 2025-10-23 10:49:02,782 - INFO - ================================================================================ 2025-10-23 10:49:02,783 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-23 10:49:02,783 - INFO - TEST DESCRIPTION : Create an external network, a router set router-gateway to external network launch a private network and attach it to router validate left vm pinging right vm through Snat 2025-10-23 10:49:03,046 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-10-23 10:49:03,047 - INFO - Initial checks done. Running the testcase now 2025-10-23 10:49:03,047 - INFO - 2025-10-23 10:49:03,746 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-57493330 2025-10-23 10:49:03,840 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-57493330 2025-10-23 10:49:04,172 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-57493330', 'default']} 2025-10-23 10:49:04,464 - DEBUG - Response for create_network : {'network': {'id': '13685abe-f552-41a6-bedc-362c1e2d46ce', 'name': 'ctest-vn-00290821', 'tenant_id': '5c22e0d0237046a0a4be0ca3af0efb4e', 'project_id': '5c22e0d0237046a0a4be0ca3af0efb4e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-57493330', 'ctest-vn-00290821'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 10:49:04,669 - DEBUG - Response for create_subnet : {'subnet': {'id': '6aa97626-ee6a-44e1-a2a0-b5524ce183a8', 'name': '', 'tenant_id': '5c22e0d0237046a0a4be0ca3af0efb4e', 'network_id': '13685abe-f552-41a6-bedc-362c1e2d46ce', 'ip_version': 4, 'cidr': '148.15.128.128/26', 'allocation_pools': [{'start': '148.15.128.130', 'end': '148.15.128.190'}], 'gateway_ip': '148.15.128.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '148.15.128.130', 'tags': [], 'project_id': '5c22e0d0237046a0a4be0ca3af0efb4e'}} 2025-10-23 10:49:04,689 - INFO - Created VN ctest-vn-00290821 2025-10-23 10:49:04,740 - DEBUG - VN ctest-vn-00290821 UUID is 13685abe-f552-41a6-bedc-362c1e2d46ce 2025-10-23 10:49:05,077 - DEBUG - Response for create_network : {'network': {'id': 'd5accb23-f587-414d-b375-fe6dd7d39a22', 'name': 'ctest-ext_vn-21120291', 'tenant_id': '5c22e0d0237046a0a4be0ca3af0efb4e', 'project_id': '5c22e0d0237046a0a4be0ca3af0efb4e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-57493330', 'ctest-ext_vn-21120291'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 10:49:05,270 - DEBUG - Response for create_subnet : {'subnet': {'id': '1e47929d-f7ad-49b9-9d28-a09c3f57d177', 'name': '', 'tenant_id': '5c22e0d0237046a0a4be0ca3af0efb4e', 'network_id': 'd5accb23-f587-414d-b375-fe6dd7d39a22', 'ip_version': 4, 'cidr': '39.49.59.192/26', 'allocation_pools': [{'start': '39.49.59.194', 'end': '39.49.59.254'}], 'gateway_ip': '39.49.59.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '39.49.59.194', 'tags': [], 'project_id': '5c22e0d0237046a0a4be0ca3af0efb4e'}} 2025-10-23 10:49:05,287 - INFO - Created VN ctest-ext_vn-21120291 2025-10-23 10:49:05,340 - DEBUG - VN ctest-ext_vn-21120291 UUID is d5accb23-f587-414d-b375-fe6dd7d39a22 2025-10-23 10:49:05,539 - DEBUG - Services list from nova: [, , ] 2025-10-23 10:49:06,596 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4456-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4456-1) 2025-10-23 10:49:07,745 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4456-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4456-1) 2025-10-23 10:49:07,812 - INFO - Setting gateway for router c9903053-631e-4cc4-b1cd-68a781a93bb1 to network d5accb23-f587-414d-b375-fe6dd7d39a22 2025-10-23 10:49:07,880 - INFO - Adding interface with subnet_id 6aa97626-ee6a-44e1-a2a0-b5524ce183a8, port_id None to router c9903053-631e-4cc4-b1cd-68a781a93bb1 2025-10-23 10:49:08,320 - INFO - Waiting for VM ctest-TestRoutersBasic-57493330-67788572 to be up.. 2025-10-23 10:49:08,475 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-23 10:49:13,549 - DEBUG - VM is in ACTIVE state now 2025-10-23 10:49:13,550 - INFO - VM name : ctest-TestRoutersBasic-57493330-67788572 2025-10-23 10:49:13,619 - DEBUG - VM ctest-TestRoutersBasic-57493330-67788572 ID is 253f6320-1a64-4058-b9f6-b8ca5fa3c495 2025-10-23 10:49:13,638 - DEBUG - VM ctest-TestRoutersBasic-57493330-67788572 launched on Node cn-jenkins-deploy-platform-ansible-os-4456-1 2025-10-23 10:49:13,709 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/253f6320-1a64-4058-b9f6-b8ca5fa3c495 2025-10-23 10:49:14,000 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/253f6320-1a64-4058-b9f6-b8ca5fa3c495 2025-10-23 10:49:14,034 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/b51c5187-a04e-4914-8a70-6be19f12fbc6 2025-10-23 10:49:17,271 - 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 1003ms') 2025-10-23 10:49:17,272 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-57493330-67788572 failed! 2025-10-23 10:49:17,324 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-57493330:ctest-vn-00290821 is 148.15.128.129 and allocation pool is NOT set 2025-10-23 10:49:19,387 - 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.40 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.526 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.526/1.963/3.400/1.437 ms') 2025-10-23 10:49:19,387 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-57493330-67788572 passed 2025-10-23 10:49:19,536 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 10:49:19,537 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-57493330-67788572, IP 148.15.128.131, Port 22 2025-10-23 10:49:19,692 - DEBUG - VM ctest-TestRoutersBasic-57493330-67788572 is ready for SSH connections 2025-10-23 10:49:19,692 - INFO - Waiting for VM ctest-TestRoutersBasic-57493330-74352642 to be up.. 2025-10-23 10:49:19,765 - DEBUG - VM is in ACTIVE state now 2025-10-23 10:49:19,766 - INFO - VM name : ctest-TestRoutersBasic-57493330-74352642 2025-10-23 10:49:19,837 - DEBUG - VM ctest-TestRoutersBasic-57493330-74352642 ID is a59b1ed1-fc5b-4731-95e5-cc324042576e 2025-10-23 10:49:19,837 - DEBUG - VM ctest-TestRoutersBasic-57493330-74352642 launched on Node cn-jenkins-deploy-platform-ansible-os-4456-1 2025-10-23 10:49:19,910 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/a59b1ed1-fc5b-4731-95e5-cc324042576e 2025-10-23 10:49:19,918 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/fad0310d-746f-4720-b796-ee902c30bd89 2025-10-23 10:49:21,148 - 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.34 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.500 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.500/1.921/3.342/1.421 ms') 2025-10-23 10:49:21,148 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-57493330-74352642 passed 2025-10-23 10:49:21,304 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 10:49:21,304 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-57493330-74352642, IP 39.49.59.195, Port 22 2025-10-23 10:49:21,460 - DEBUG - VM ctest-TestRoutersBasic-57493330-74352642 is ready for SSH connections 2025-10-23 10:49:21,460 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 10:49:21,460 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 39.49.59.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-23 10:49:21,460 - DEBUG - ping -s 56 -c 3 -W 1 39.49.59.195 2025-10-23 10:49:25,494 - DEBUG - PING 39.49.59.195 (39.49.59.195): 56 data bytes 64 bytes from 39.49.59.195: seq=0 ttl=62 time=5.401 ms 64 bytes from 39.49.59.195: seq=1 ttl=62 time=0.854 ms 64 bytes from 39.49.59.195: seq=2 ttl=62 time=1.148 ms --- 39.49.59.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.854/2.467/5.401 ms 2025-10-23 10:49:25,494 - INFO - Ping to IP 39.49.59.195 from VM ctest-TestRoutersBasic-57493330-67788572 passed 2025-10-23 10:49:25,494 - INFO - Deleting interface with subnet_id 6aa97626-ee6a-44e1-a2a0-b5524ce183a8, port_id None from router c9903053-631e-4cc4-b1cd-68a781a93bb1 2025-10-23 10:49:25,669 - INFO - Deleting VM ctest-TestRoutersBasic-57493330-74352642 2025-10-23 10:49:25,734 - INFO - Deleting VM ctest-TestRoutersBasic-57493330-67788572 2025-10-23 10:49:25,814 - INFO - Deleting VN ctest-ext_vn-21120291 2025-10-23 10:49:25,883 - DEBUG - VN d5accb23-f587-414d-b375-fe6dd7d39a22 still in use: Unable to complete operation on network d5accb23-f587-414d-b375-fe6dd7d39a22. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-26169bb9-154c-41a2-9d64-08b936ded816'] 2025-10-23 10:49:25,883 - WARNING - Deleting VN ctest-ext_vn-21120291 failed..Will retry 2025-10-23 10:49:27,990 - DEBUG - Response for deleting network () 2025-10-23 10:49:27,990 - INFO - Deleting VN ctest-vn-00290821 2025-10-23 10:49:28,090 - DEBUG - Response for deleting network () 2025-10-23 10:49:28,345 - DEBUG - No XMPP flaps were noticed during the test 2025-10-23 10:49:28,345 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-10-23 10:49:28,345 - INFO - -------------------------------------------------------------------------------- 2025-10-23 10:49:29,009 - INFO - Deleted project: ctest-TestRoutersBasic-57493330, ID : 5c22e0d0-2370-46a0-a4be-0ca3af0efb4e