2025-11-05 16:26:23,337 - INFO - Domain Default found not creating 2025-11-05 16:26:23,483 - INFO - Project ctest-TestRoutersBasic-58682082 not found, creating it 2025-11-05 16:26:23,901 - INFO - Created Project:ctest-TestRoutersBasic-58682082, ID : def7a417-218e-4193-a4f8-1b12c1f3b6f8 2025-11-05 16:26:25,259 - INFO - ================================================================================ 2025-11-05 16:26:25,260 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-05 16:26:25,260 - 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-11-05 16:26:25,528 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.241': '0'}} with 2025-11-05 16:26:25,528 - INFO - Initial checks done. Running the testcase now 2025-11-05 16:26:25,528 - INFO - 2025-11-05 16:26:26,209 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-58682082 2025-11-05 16:26:26,306 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-58682082 2025-11-05 16:26:26,634 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-58682082', 'default']} 2025-11-05 16:26:26,928 - DEBUG - Response for create_network : {'network': {'id': '30c4348b-44e8-4fce-9b66-54a6eb58632b', 'name': 'ctest-vn-17509065', 'tenant_id': 'def7a417218e4193a4f81b12c1f3b6f8', 'project_id': 'def7a417218e4193a4f81b12c1f3b6f8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-58682082', 'ctest-vn-17509065'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 16:26:27,139 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dc6459ec-f7f9-421c-88d0-37dc3603b8de', 'name': '', 'tenant_id': 'def7a417218e4193a4f81b12c1f3b6f8', 'network_id': '30c4348b-44e8-4fce-9b66-54a6eb58632b', 'ip_version': 4, 'cidr': '44.87.6.0/26', 'allocation_pools': [{'start': '44.87.6.2', 'end': '44.87.6.62'}], 'gateway_ip': '44.87.6.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '44.87.6.2', 'tags': [], 'project_id': 'def7a417218e4193a4f81b12c1f3b6f8'}} 2025-11-05 16:26:27,155 - INFO - Created VN ctest-vn-17509065 2025-11-05 16:26:27,206 - DEBUG - VN ctest-vn-17509065 UUID is 30c4348b-44e8-4fce-9b66-54a6eb58632b 2025-11-05 16:26:27,528 - DEBUG - Response for create_network : {'network': {'id': 'f0dad2ae-9aef-452b-90d4-bc0cb4b93200', 'name': 'ctest-ext_vn-77839758', 'tenant_id': 'def7a417218e4193a4f81b12c1f3b6f8', 'project_id': 'def7a417218e4193a4f81b12c1f3b6f8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-58682082', 'ctest-ext_vn-77839758'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 16:26:27,736 - DEBUG - Response for create_subnet : {'subnet': {'id': '15897bf0-694e-4398-800e-3023ce8247d9', 'name': '', 'tenant_id': 'def7a417218e4193a4f81b12c1f3b6f8', 'network_id': 'f0dad2ae-9aef-452b-90d4-bc0cb4b93200', 'ip_version': 4, 'cidr': '114.243.98.192/26', 'allocation_pools': [{'start': '114.243.98.194', 'end': '114.243.98.254'}], 'gateway_ip': '114.243.98.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.243.98.194', 'tags': [], 'project_id': 'def7a417218e4193a4f81b12c1f3b6f8'}} 2025-11-05 16:26:27,751 - INFO - Created VN ctest-ext_vn-77839758 2025-11-05 16:26:27,802 - DEBUG - VN ctest-ext_vn-77839758 UUID is f0dad2ae-9aef-452b-90d4-bc0cb4b93200 2025-11-05 16:26:27,999 - DEBUG - Services list from nova: [, , ] 2025-11-05 16:26:28,964 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4650-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4650-1) 2025-11-05 16:26:30,041 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4650-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4650-1) 2025-11-05 16:26:30,111 - INFO - Setting gateway for router 44a71dcb-b564-4cdb-b3fe-a0d60bd0cca2 to network f0dad2ae-9aef-452b-90d4-bc0cb4b93200 2025-11-05 16:26:30,175 - INFO - Adding interface with subnet_id dc6459ec-f7f9-421c-88d0-37dc3603b8de, port_id None to router 44a71dcb-b564-4cdb-b3fe-a0d60bd0cca2 2025-11-05 16:26:30,515 - INFO - Waiting for VM ctest-TestRoutersBasic-58682082-75028546 to be up.. 2025-11-05 16:26:30,649 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-05 16:26:35,728 - DEBUG - VM is in ACTIVE state now 2025-11-05 16:26:35,728 - INFO - VM name : ctest-TestRoutersBasic-58682082-75028546 2025-11-05 16:26:35,806 - DEBUG - VM ctest-TestRoutersBasic-58682082-75028546 ID is 33d1cb42-cef3-4d7d-ac0b-5361d398da18 2025-11-05 16:26:35,827 - DEBUG - VM ctest-TestRoutersBasic-58682082-75028546 launched on Node cn-jenkins-deploy-platform-ansible-os-4650-1 2025-11-05 16:26:35,896 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/33d1cb42-cef3-4d7d-ac0b-5361d398da18 2025-11-05 16:26:36,189 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/33d1cb42-cef3-4d7d-ac0b-5361d398da18 2025-11-05 16:26:36,219 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/0e702224-72cf-417a-bd1d-e134069c1b49 2025-11-05 16:26:39,490 - 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 1016ms') 2025-11-05 16:26:39,490 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-58682082-75028546 failed! 2025-11-05 16:26:39,542 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-58682082:ctest-vn-17509065 is 44.87.6.1 and allocation pool is NOT set 2025-11-05 16:26:41,598 - 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=2.80 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.395 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.395/1.597/2.800/1.202 ms') 2025-11-05 16:26:41,598 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-58682082-75028546 passed 2025-11-05 16:26:41,746 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 16:26:41,746 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-58682082-75028546, IP 44.87.6.3, Port 22 2025-11-05 16:26:41,902 - DEBUG - VM ctest-TestRoutersBasic-58682082-75028546 is ready for SSH connections 2025-11-05 16:26:41,902 - INFO - Waiting for VM ctest-TestRoutersBasic-58682082-91250613 to be up.. 2025-11-05 16:26:41,968 - DEBUG - VM is in ACTIVE state now 2025-11-05 16:26:41,968 - INFO - VM name : ctest-TestRoutersBasic-58682082-91250613 2025-11-05 16:26:42,029 - DEBUG - VM ctest-TestRoutersBasic-58682082-91250613 ID is 276294e0-6302-4065-813b-f9eb71d7b8bb 2025-11-05 16:26:42,029 - DEBUG - VM ctest-TestRoutersBasic-58682082-91250613 launched on Node cn-jenkins-deploy-platform-ansible-os-4650-1 2025-11-05 16:26:42,094 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/276294e0-6302-4065-813b-f9eb71d7b8bb 2025-11-05 16:26:42,100 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/126ae26a-cca2-414c-b154-5d1643de5dad 2025-11-05 16:26:43,334 - 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.95 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.397 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.397/1.672/2.948/1.275 ms') 2025-11-05 16:26:43,334 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-58682082-91250613 passed 2025-11-05 16:26:43,482 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 16:26:43,482 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-58682082-91250613, IP 114.243.98.195, Port 22 2025-11-05 16:26:43,633 - DEBUG - VM ctest-TestRoutersBasic-58682082-91250613 is ready for SSH connections 2025-11-05 16:26:43,633 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 16:26:43,633 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 114.243.98.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-11-05 16:26:43,633 - DEBUG - ping -s 56 -c 3 -W 1 114.243.98.195 2025-11-05 16:26:47,657 - DEBUG - PING 114.243.98.195 (114.243.98.195): 56 data bytes 64 bytes from 114.243.98.195: seq=0 ttl=62 time=6.218 ms 64 bytes from 114.243.98.195: seq=1 ttl=62 time=0.781 ms 64 bytes from 114.243.98.195: seq=2 ttl=62 time=0.862 ms --- 114.243.98.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.781/2.620/6.218 ms 2025-11-05 16:26:47,657 - INFO - Ping to IP 114.243.98.195 from VM ctest-TestRoutersBasic-58682082-75028546 passed 2025-11-05 16:26:47,657 - INFO - Deleting interface with subnet_id dc6459ec-f7f9-421c-88d0-37dc3603b8de, port_id None from router 44a71dcb-b564-4cdb-b3fe-a0d60bd0cca2 2025-11-05 16:26:47,821 - INFO - Deleting VM ctest-TestRoutersBasic-58682082-91250613 2025-11-05 16:26:47,887 - INFO - Deleting VM ctest-TestRoutersBasic-58682082-75028546 2025-11-05 16:26:47,967 - INFO - Deleting VN ctest-ext_vn-77839758 2025-11-05 16:26:48,024 - DEBUG - VN f0dad2ae-9aef-452b-90d4-bc0cb4b93200 still in use: Unable to complete operation on network f0dad2ae-9aef-452b-90d4-bc0cb4b93200. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-16b701ff-ca24-4426-915e-ce17e6144b9f'] 2025-11-05 16:26:48,024 - WARNING - Deleting VN ctest-ext_vn-77839758 failed..Will retry 2025-11-05 16:26:50,117 - DEBUG - Response for deleting network () 2025-11-05 16:26:50,117 - INFO - Deleting VN ctest-vn-17509065 2025-11-05 16:26:50,198 - DEBUG - Response for deleting network () 2025-11-05 16:26:50,454 - DEBUG - No XMPP flaps were noticed during the test 2025-11-05 16:26:50,454 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-11-05 16:26:50,454 - INFO - -------------------------------------------------------------------------------- 2025-11-05 16:26:51,116 - INFO - Deleted project: ctest-TestRoutersBasic-58682082, ID : def7a417-218e-4193-a4f8-1b12c1f3b6f8