2026-11-04 10:43:42,371 - INFO - Domain Default found not creating 2026-11-04 10:43:42,566 - INFO - Project ctest-TestRoutersBasic-34430247 not found, creating it 2026-11-04 10:43:43,051 - INFO - Created Project:ctest-TestRoutersBasic-34430247, ID : f7b3f9d0-1d2b-4679-8ae7-ee6e720827f6 2026-11-04 10:43:44,683 - INFO - ================================================================================ 2026-11-04 10:43:44,683 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-11-04 10:43:44,683 - 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 2026-11-04 10:43:44,937 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.29': '0'}} with 2026-11-04 10:43:44,937 - INFO - Initial checks done. Running the testcase now 2026-11-04 10:43:44,937 - INFO - 2026-11-04 10:43:45,723 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-34430247 2026-11-04 10:43:45,819 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-34430247 2026-11-04 10:43:46,147 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-34430247', 'default']} 2026-11-04 10:43:46,453 - DEBUG - Response for create_network : {'network': {'id': '703bd9a9-1bdf-49eb-9644-dc857d0737eb', 'name': 'ctest-vn-70156466', 'tenant_id': 'f7b3f9d01d2b46798ae7ee6e720827f6', 'project_id': 'f7b3f9d01d2b46798ae7ee6e720827f6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-34430247', 'ctest-vn-70156466'], 'port_security_enabled': True, 'description': ''}} 2026-11-04 10:43:46,600 - DEBUG - Response for create_subnet : {'subnet': {'id': '57cb3c22-dc46-4a5f-8c4f-0084bdb8f4fb', 'name': '', 'tenant_id': 'f7b3f9d01d2b46798ae7ee6e720827f6', 'network_id': '703bd9a9-1bdf-49eb-9644-dc857d0737eb', 'ip_version': 4, 'cidr': '172.98.126.0/26', 'allocation_pools': [{'start': '172.98.126.2', 'end': '172.98.126.62'}], 'gateway_ip': '172.98.126.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '172.98.126.2', 'tags': [], 'project_id': 'f7b3f9d01d2b46798ae7ee6e720827f6'}} 2026-11-04 10:43:46,615 - INFO - Created VN ctest-vn-70156466 2026-11-04 10:43:46,671 - DEBUG - VN ctest-vn-70156466 UUID is 703bd9a9-1bdf-49eb-9644-dc857d0737eb 2026-11-04 10:43:47,032 - DEBUG - Response for create_network : {'network': {'id': 'b3f11a60-a787-4123-a5a5-194c78908a75', 'name': 'ctest-ext_vn-33551034', 'tenant_id': 'f7b3f9d01d2b46798ae7ee6e720827f6', 'project_id': 'f7b3f9d01d2b46798ae7ee6e720827f6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-34430247', 'ctest-ext_vn-33551034'], 'port_security_enabled': True, 'description': ''}} 2026-11-04 10:43:47,218 - DEBUG - Response for create_subnet : {'subnet': {'id': '5f945071-50ce-4ca1-8dcb-c89412d381e6', 'name': '', 'tenant_id': 'f7b3f9d01d2b46798ae7ee6e720827f6', 'network_id': 'b3f11a60-a787-4123-a5a5-194c78908a75', 'ip_version': 4, 'cidr': '142.213.64.0/26', 'allocation_pools': [{'start': '142.213.64.2', 'end': '142.213.64.62'}], 'gateway_ip': '142.213.64.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '142.213.64.2', 'tags': [], 'project_id': 'f7b3f9d01d2b46798ae7ee6e720827f6'}} 2026-11-04 10:43:47,234 - INFO - Created VN ctest-ext_vn-33551034 2026-11-04 10:43:47,287 - DEBUG - VN ctest-ext_vn-33551034 UUID is b3f11a60-a787-4123-a5a5-194c78908a75 2026-11-04 10:43:47,499 - DEBUG - Services list from nova: [, , ] 2026-11-04 10:43:47,821 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6480-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6480-1) 2026-11-04 10:43:48,196 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6480-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6480-1) 2026-11-04 10:43:48,268 - INFO - Setting gateway for router 1b7c54e2-142a-4f76-8024-046243bd9838 to network b3f11a60-a787-4123-a5a5-194c78908a75 2026-11-04 10:43:48,320 - INFO - Adding interface with subnet_id 57cb3c22-dc46-4a5f-8c4f-0084bdb8f4fb, port_id None to router 1b7c54e2-142a-4f76-8024-046243bd9838 2026-11-04 10:43:48,603 - INFO - Waiting for VM ctest-TestRoutersBasic-34430247-66185456 to be up.. 2026-11-04 10:43:48,657 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-04 10:43:53,733 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-04 10:43:58,816 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-04 10:44:03,994 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-04 10:44:09,083 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-04 10:44:14,173 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-04 10:44:19,276 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-04 10:44:24,390 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-04 10:44:29,480 - DEBUG - VM is in ACTIVE state now 2026-11-04 10:44:29,480 - INFO - VM name : ctest-TestRoutersBasic-34430247-66185456 2026-11-04 10:44:29,589 - DEBUG - VM ctest-TestRoutersBasic-34430247-66185456 ID is 658cfceb-71ae-4655-8153-ebb9a0013fbe 2026-11-04 10:44:29,623 - DEBUG - VM ctest-TestRoutersBasic-34430247-66185456 launched on Node cn-jenkins-deploy-platform-ansible-os-6480-1 2026-11-04 10:44:29,716 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/658cfceb-71ae-4655-8153-ebb9a0013fbe 2026-11-04 10:44:30,062 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/658cfceb-71ae-4655-8153-ebb9a0013fbe 2026-11-04 10:44:30,113 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/e496dc73-ebd9-408b-99e0-a535e34c5078 2026-11-04 10:44:33,421 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=4.34 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1005ms\r\nrtt min/avg/max/mdev = 4.335/4.335/4.335/0.000 ms') 2026-11-04 10:44:33,421 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-34430247-66185456 passed 2026-11-04 10:44:33,575 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-04 10:44:33,575 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-34430247-66185456, IP 172.98.126.3, Port 22 2026-11-04 10:44:33,735 - DEBUG - VM ctest-TestRoutersBasic-34430247-66185456 is ready for SSH connections 2026-11-04 10:44:33,735 - INFO - Waiting for VM ctest-TestRoutersBasic-34430247-09861027 to be up.. 2026-11-04 10:44:33,812 - DEBUG - VM is in ACTIVE state now 2026-11-04 10:44:33,812 - INFO - VM name : ctest-TestRoutersBasic-34430247-09861027 2026-11-04 10:44:33,887 - DEBUG - VM ctest-TestRoutersBasic-34430247-09861027 ID is 45dc60fa-b521-487c-90c9-0879f742b4c9 2026-11-04 10:44:33,887 - DEBUG - VM ctest-TestRoutersBasic-34430247-09861027 launched on Node cn-jenkins-deploy-platform-ansible-os-6480-1 2026-11-04 10:44:33,966 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/45dc60fa-b521-487c-90c9-0879f742b4c9 2026-11-04 10:44:33,975 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/80e7b982-12d9-46e1-803d-8cb0762c9690 2026-11-04 10:44:37,256 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=10.5 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1031ms\r\nrtt min/avg/max/mdev = 10.484/10.484/10.484/0.000 ms') 2026-11-04 10:44:37,256 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-34430247-09861027 passed 2026-11-04 10:44:37,411 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-04 10:44:37,411 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-34430247-09861027, IP 142.213.64.4, Port 22 2026-11-04 10:44:37,566 - DEBUG - VM ctest-TestRoutersBasic-34430247-09861027 is ready for SSH connections 2026-11-04 10:44:37,567 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-04 10:44:37,567 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 142.213.64.4, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-11-04 10:44:37,567 - DEBUG - ping -s 56 -c 3 -W 1 142.213.64.4 2026-11-04 10:44:40,525 - DEBUG - PING 142.213.64.4 (142.213.64.4): 56 data bytes 64 bytes from 142.213.64.4: seq=0 ttl=62 time=6.724 ms 64 bytes from 142.213.64.4: seq=1 ttl=62 time=1.268 ms 64 bytes from 142.213.64.4: seq=2 ttl=62 time=1.110 ms --- 142.213.64.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.110/3.034/6.724 ms 2026-11-04 10:44:40,525 - INFO - Ping to IP 142.213.64.4 from VM ctest-TestRoutersBasic-34430247-66185456 passed 2026-11-04 10:44:40,526 - INFO - Deleting interface with subnet_id 57cb3c22-dc46-4a5f-8c4f-0084bdb8f4fb, port_id None from router 1b7c54e2-142a-4f76-8024-046243bd9838 2026-11-04 10:44:40,742 - INFO - Deleting VM ctest-TestRoutersBasic-34430247-09861027 2026-11-04 10:44:40,835 - INFO - Deleting VM ctest-TestRoutersBasic-34430247-66185456 2026-11-04 10:44:40,916 - INFO - Deleting VN ctest-ext_vn-33551034 2026-11-04 10:44:40,993 - DEBUG - VN b3f11a60-a787-4123-a5a5-194c78908a75 still in use: Unable to complete operation on network b3f11a60-a787-4123-a5a5-194c78908a75. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f4a25ba6-1009-4ce8-8990-4a9a628605c9'] 2026-11-04 10:44:40,993 - WARNING - Deleting VN ctest-ext_vn-33551034 failed..Will retry 2026-11-04 10:44:43,032 - DEBUG - VN b3f11a60-a787-4123-a5a5-194c78908a75 still in use: Unable to complete operation on network b3f11a60-a787-4123-a5a5-194c78908a75. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f21acfae-4d27-4640-81e1-3427590861f9'] 2026-11-04 10:44:43,032 - WARNING - Deleting VN ctest-ext_vn-33551034 failed..Will retry 2026-11-04 10:44:45,145 - DEBUG - Response for deleting network () 2026-11-04 10:44:45,146 - INFO - Deleting VN ctest-vn-70156466 2026-11-04 10:44:45,275 - DEBUG - Response for deleting network () 2026-11-04 10:44:45,537 - DEBUG - No XMPP flaps were noticed during the test
2026-11-04 10:44:45,537 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:01]
2026-11-04 10:44:45,537 - INFO - -------------------------------------------------------------------------------- 2026-11-04 10:44:46,347 - INFO - Deleted project: ctest-TestRoutersBasic-34430247, ID : f7b3f9d0-1d2b-4679-8ae7-ee6e720827f6