2025-11-04 13:57:20,343 - INFO - Domain Default found not creating 2025-11-04 13:57:21,083 - INFO - Project ctest-TestRoutersBasic-84947874 not found, creating it 2025-11-04 13:57:21,531 - INFO - Created Project:ctest-TestRoutersBasic-84947874, ID : d6f6a02b-2027-4e42-a089-20c1ab17dda2 2025-11-04 13:57:22,899 - INFO - ================================================================================ 2025-11-04 13:57:22,899 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-04 13:57:22,899 - 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-04 13:57:23,155 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-11-04 13:57:23,155 - INFO - Initial checks done. Running the testcase now 2025-11-04 13:57:23,155 - INFO - 2025-11-04 13:57:23,849 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-84947874 2025-11-04 13:57:23,945 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-84947874 2025-11-04 13:57:24,277 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-84947874', 'default']} 2025-11-04 13:57:24,572 - DEBUG - Response for create_network : {'network': {'id': 'e94476ce-0278-4666-8da9-82044b746c23', 'name': 'ctest-vn-77634334', 'tenant_id': 'd6f6a02b20274e42a08920c1ab17dda2', 'project_id': 'd6f6a02b20274e42a08920c1ab17dda2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-84947874', 'ctest-vn-77634334'], 'port_security_enabled': True, 'description': ''}} 2025-11-04 13:57:24,715 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd6a3874e-8fc9-4045-a908-92b299db6e65', 'name': '', 'tenant_id': 'd6f6a02b20274e42a08920c1ab17dda2', 'network_id': 'e94476ce-0278-4666-8da9-82044b746c23', 'ip_version': 4, 'cidr': '59.255.64.64/26', 'allocation_pools': [{'start': '59.255.64.66', 'end': '59.255.64.126'}], 'gateway_ip': '59.255.64.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '59.255.64.66', 'tags': [], 'project_id': 'd6f6a02b20274e42a08920c1ab17dda2'}} 2025-11-04 13:57:24,731 - INFO - Created VN ctest-vn-77634334 2025-11-04 13:57:24,781 - DEBUG - VN ctest-vn-77634334 UUID is e94476ce-0278-4666-8da9-82044b746c23 2025-11-04 13:57:25,119 - DEBUG - Response for create_network : {'network': {'id': '7edb069a-233a-42a9-bc4c-4eba890b6054', 'name': 'ctest-ext_vn-31468609', 'tenant_id': 'd6f6a02b20274e42a08920c1ab17dda2', 'project_id': 'd6f6a02b20274e42a08920c1ab17dda2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-84947874', 'ctest-ext_vn-31468609'], 'port_security_enabled': True, 'description': ''}} 2025-11-04 13:57:25,303 - DEBUG - Response for create_subnet : {'subnet': {'id': '86471094-56ac-44a8-803b-c7037f8aced5', 'name': '', 'tenant_id': 'd6f6a02b20274e42a08920c1ab17dda2', 'network_id': '7edb069a-233a-42a9-bc4c-4eba890b6054', 'ip_version': 4, 'cidr': '186.187.16.128/26', 'allocation_pools': [{'start': '186.187.16.130', 'end': '186.187.16.190'}], 'gateway_ip': '186.187.16.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '186.187.16.130', 'tags': [], 'project_id': 'd6f6a02b20274e42a08920c1ab17dda2'}} 2025-11-04 13:57:25,320 - INFO - Created VN ctest-ext_vn-31468609 2025-11-04 13:57:25,369 - DEBUG - VN ctest-ext_vn-31468609 UUID is 7edb069a-233a-42a9-bc4c-4eba890b6054 2025-11-04 13:57:25,557 - DEBUG - Services list from nova: [, , ] 2025-11-04 13:57:26,530 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4616-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4616-1) 2025-11-04 13:57:27,584 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4616-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4616-1) 2025-11-04 13:57:27,652 - INFO - Setting gateway for router 5e6b04a5-f983-48fe-8478-7cfcd4339b8c to network 7edb069a-233a-42a9-bc4c-4eba890b6054 2025-11-04 13:57:27,722 - INFO - Adding interface with subnet_id d6a3874e-8fc9-4045-a908-92b299db6e65, port_id None to router 5e6b04a5-f983-48fe-8478-7cfcd4339b8c 2025-11-04 13:57:28,046 - INFO - Waiting for VM ctest-TestRoutersBasic-84947874-69384565 to be up.. 2025-11-04 13:57:28,167 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-04 13:57:33,236 - DEBUG - VM is in ACTIVE state now 2025-11-04 13:57:33,236 - INFO - VM name : ctest-TestRoutersBasic-84947874-69384565 2025-11-04 13:57:33,316 - DEBUG - VM ctest-TestRoutersBasic-84947874-69384565 ID is 3c81aeaf-d66e-4497-a779-9b6fd953be2a 2025-11-04 13:57:33,335 - DEBUG - VM ctest-TestRoutersBasic-84947874-69384565 launched on Node cn-jenkins-deploy-platform-ansible-os-4616-1 2025-11-04 13:57:33,414 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/3c81aeaf-d66e-4497-a779-9b6fd953be2a 2025-11-04 13:57:33,728 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/3c81aeaf-d66e-4497-a779-9b6fd953be2a 2025-11-04 13:57:33,757 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/bbc66f60-87bb-4659-983e-8e666e2fbc41 2025-11-04 13:57:37,029 - 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 1031ms') 2025-11-04 13:57:37,029 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-84947874-69384565 failed! 2025-11-04 13:57:37,081 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-84947874:ctest-vn-77634334 is 59.255.64.65 and allocation pool is NOT set 2025-11-04 13:57:39,145 - 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.427 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.427/1.722/3.018/1.295 ms') 2025-11-04 13:57:39,145 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-84947874-69384565 passed 2025-11-04 13:57:39,257 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 13:57:39,257 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-84947874-69384565, IP 59.255.64.67, Port 22 2025-11-04 13:57:39,409 - DEBUG - VM ctest-TestRoutersBasic-84947874-69384565 is ready for SSH connections 2025-11-04 13:57:39,409 - INFO - Waiting for VM ctest-TestRoutersBasic-84947874-66245954 to be up.. 2025-11-04 13:57:39,471 - DEBUG - VM is in ACTIVE state now 2025-11-04 13:57:39,472 - INFO - VM name : ctest-TestRoutersBasic-84947874-66245954 2025-11-04 13:57:39,531 - DEBUG - VM ctest-TestRoutersBasic-84947874-66245954 ID is 652825e0-77f0-4718-88af-d7ec73c00187 2025-11-04 13:57:39,532 - DEBUG - VM ctest-TestRoutersBasic-84947874-66245954 launched on Node cn-jenkins-deploy-platform-ansible-os-4616-1 2025-11-04 13:57:39,592 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/652825e0-77f0-4718-88af-d7ec73c00187 2025-11-04 13:57:39,599 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/315665e7-7f51-4e9e-a496-367cd032f474 2025-11-04 13:57:40,828 - 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.80 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.403 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.403/1.602/2.802/1.199 ms') 2025-11-04 13:57:40,828 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-84947874-66245954 passed 2025-11-04 13:57:40,973 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 13:57:40,973 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-84947874-66245954, IP 186.187.16.131, Port 22 2025-11-04 13:57:41,125 - DEBUG - VM ctest-TestRoutersBasic-84947874-66245954 is ready for SSH connections 2025-11-04 13:57:41,125 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 13:57:41,125 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 186.187.16.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-04 13:57:41,125 - DEBUG - ping -s 56 -c 3 -W 1 186.187.16.131 2025-11-04 13:57:45,260 - DEBUG - PING 186.187.16.131 (186.187.16.131): 56 data bytes 64 bytes from 186.187.16.131: seq=0 ttl=62 time=6.292 ms 64 bytes from 186.187.16.131: seq=1 ttl=62 time=0.823 ms 64 bytes from 186.187.16.131: seq=2 ttl=62 time=0.787 ms --- 186.187.16.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.787/2.634/6.292 ms 2025-11-04 13:57:45,260 - INFO - Ping to IP 186.187.16.131 from VM ctest-TestRoutersBasic-84947874-69384565 passed 2025-11-04 13:57:45,260 - INFO - Deleting interface with subnet_id d6a3874e-8fc9-4045-a908-92b299db6e65, port_id None from router 5e6b04a5-f983-48fe-8478-7cfcd4339b8c 2025-11-04 13:57:45,456 - INFO - Deleting VM ctest-TestRoutersBasic-84947874-66245954 2025-11-04 13:57:45,531 - INFO - Deleting VM ctest-TestRoutersBasic-84947874-69384565 2025-11-04 13:57:45,616 - INFO - Deleting VN ctest-ext_vn-31468609 2025-11-04 13:57:45,683 - DEBUG - VN 7edb069a-233a-42a9-bc4c-4eba890b6054 still in use: Unable to complete operation on network 7edb069a-233a-42a9-bc4c-4eba890b6054. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8a7b4d32-f09a-4f42-b075-42cecf511e82'] 2025-11-04 13:57:45,683 - WARNING - Deleting VN ctest-ext_vn-31468609 failed..Will retry 2025-11-04 13:57:47,781 - DEBUG - Response for deleting network () 2025-11-04 13:57:47,781 - INFO - Deleting VN ctest-vn-77634334 2025-11-04 13:57:47,872 - DEBUG - Response for deleting network () 2025-11-04 13:57:48,122 - DEBUG - No XMPP flaps were noticed during the test
2025-11-04 13:57:48,122 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-11-04 13:57:48,122 - INFO - -------------------------------------------------------------------------------- 2025-11-04 13:57:48,777 - INFO - Deleted project: ctest-TestRoutersBasic-84947874, ID : d6f6a02b-2027-4e42-a089-20c1ab17dda2