2026-03-30 03:38:08,442 - INFO - Domain Default found not creating 2026-03-30 03:38:08,594 - INFO - Project ctest-TestRoutersBasic-67043569 not found, creating it 2026-03-30 03:38:09,054 - INFO - Created Project:ctest-TestRoutersBasic-67043569, ID : ec118f67-5345-4cd7-a29a-c63b5944faba 2026-03-30 03:38:10,550 - INFO - ================================================================================ 2026-03-30 03:38:10,550 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-03-30 03:38:10,550 - 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-03-30 03:38:10,809 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.14': '0'}} with 2026-03-30 03:38:10,809 - INFO - Initial checks done. Running the testcase now 2026-03-30 03:38:10,809 - INFO - 2026-03-30 03:38:11,565 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-67043569 2026-03-30 03:38:11,665 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-67043569 2026-03-30 03:38:11,988 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-67043569', 'default']} 2026-03-30 03:38:12,291 - DEBUG - Response for create_network : {'network': {'id': '167e05cb-d273-46c9-85c5-32b67382a065', 'name': 'ctest-vn-44965759', 'tenant_id': 'ec118f6753454cd7a29ac63b5944faba', 'project_id': 'ec118f6753454cd7a29ac63b5944faba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-67043569', 'ctest-vn-44965759'], 'port_security_enabled': True, 'description': ''}} 2026-03-30 03:38:12,497 - DEBUG - Response for create_subnet : {'subnet': {'id': '7a34f96b-7f61-48b9-adfa-22821dba2d3f', 'name': '', 'tenant_id': 'ec118f6753454cd7a29ac63b5944faba', 'network_id': '167e05cb-d273-46c9-85c5-32b67382a065', 'ip_version': 4, 'cidr': '74.245.151.192/26', 'allocation_pools': [{'start': '74.245.151.194', 'end': '74.245.151.254'}], 'gateway_ip': '74.245.151.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '74.245.151.194', 'tags': [], 'project_id': 'ec118f6753454cd7a29ac63b5944faba'}} 2026-03-30 03:38:12,513 - INFO - Created VN ctest-vn-44965759 2026-03-30 03:38:12,564 - DEBUG - VN ctest-vn-44965759 UUID is 167e05cb-d273-46c9-85c5-32b67382a065 2026-03-30 03:38:12,915 - DEBUG - Response for create_network : {'network': {'id': '93eff948-c181-4eeb-beee-98592b45cccc', 'name': 'ctest-ext_vn-98109064', 'tenant_id': 'ec118f6753454cd7a29ac63b5944faba', 'project_id': 'ec118f6753454cd7a29ac63b5944faba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-67043569', 'ctest-ext_vn-98109064'], 'port_security_enabled': True, 'description': ''}} 2026-03-30 03:38:13,115 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c7f9aaaa-b5b7-42c2-bd74-ada923d9942b', 'name': '', 'tenant_id': 'ec118f6753454cd7a29ac63b5944faba', 'network_id': '93eff948-c181-4eeb-beee-98592b45cccc', 'ip_version': 4, 'cidr': '99.38.155.64/26', 'allocation_pools': [{'start': '99.38.155.66', 'end': '99.38.155.126'}], 'gateway_ip': '99.38.155.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.38.155.66', 'tags': [], 'project_id': 'ec118f6753454cd7a29ac63b5944faba'}} 2026-03-30 03:38:13,131 - INFO - Created VN ctest-ext_vn-98109064 2026-03-30 03:38:13,184 - DEBUG - VN ctest-ext_vn-98109064 UUID is 93eff948-c181-4eeb-beee-98592b45cccc 2026-03-30 03:38:13,384 - DEBUG - Services list from nova: [, , ] 2026-03-30 03:38:14,412 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5561-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5561-1) 2026-03-30 03:38:15,586 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5561-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5561-1) 2026-03-30 03:38:15,652 - INFO - Setting gateway for router f7307d0d-2ca9-4ed3-9b44-6af8fa04bd09 to network 93eff948-c181-4eeb-beee-98592b45cccc 2026-03-30 03:38:15,710 - INFO - Adding interface with subnet_id 7a34f96b-7f61-48b9-adfa-22821dba2d3f, port_id None to router f7307d0d-2ca9-4ed3-9b44-6af8fa04bd09 2026-03-30 03:38:16,063 - INFO - Waiting for VM ctest-TestRoutersBasic-67043569-07573628 to be up.. 2026-03-30 03:38:16,253 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-30 03:38:21,350 - DEBUG - VM is in ACTIVE state now 2026-03-30 03:38:21,351 - INFO - VM name : ctest-TestRoutersBasic-67043569-07573628 2026-03-30 03:38:21,451 - DEBUG - VM ctest-TestRoutersBasic-67043569-07573628 ID is 20fb8015-ef95-42af-9dac-8911a6bdb9fa 2026-03-30 03:38:21,478 - DEBUG - VM ctest-TestRoutersBasic-67043569-07573628 launched on Node cn-jenkins-deploy-platform-ansible-os-5561-1 2026-03-30 03:38:21,564 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/20fb8015-ef95-42af-9dac-8911a6bdb9fa 2026-03-30 03:38:21,861 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/20fb8015-ef95-42af-9dac-8911a6bdb9fa 2026-03-30 03:38:21,895 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/0932c0a3-2780-4948-be17-f0c819bd9081 2026-03-30 03:38:25,158 - 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 1025ms') 2026-03-30 03:38:25,159 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-67043569-07573628 failed! 2026-03-30 03:38:25,217 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-67043569:ctest-vn-44965759 is 74.245.151.193 and allocation pool is NOT set 2026-03-30 03:38:27,283 - 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.70 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.446 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.446/1.575/2.704/1.129 ms') 2026-03-30 03:38:27,283 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-67043569-07573628 passed 2026-03-30 03:38:27,432 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-30 03:38:27,433 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-67043569-07573628, IP 74.245.151.195, Port 22 2026-03-30 03:38:27,588 - DEBUG - VM ctest-TestRoutersBasic-67043569-07573628 is ready for SSH connections 2026-03-30 03:38:27,588 - INFO - Waiting for VM ctest-TestRoutersBasic-67043569-80952995 to be up.. 2026-03-30 03:38:27,679 - DEBUG - VM is in ACTIVE state now 2026-03-30 03:38:27,679 - INFO - VM name : ctest-TestRoutersBasic-67043569-80952995 2026-03-30 03:38:27,755 - DEBUG - VM ctest-TestRoutersBasic-67043569-80952995 ID is 8e887832-988b-41aa-acee-60ffa3552019 2026-03-30 03:38:27,755 - DEBUG - VM ctest-TestRoutersBasic-67043569-80952995 launched on Node cn-jenkins-deploy-platform-ansible-os-5561-1 2026-03-30 03:38:27,837 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/8e887832-988b-41aa-acee-60ffa3552019 2026-03-30 03:38:27,849 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/6136d160-add5-4aa2-a055-73a99c6530d2 2026-03-30 03:38:29,093 - 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.82 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.559 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.559/1.690/2.822/1.131 ms') 2026-03-30 03:38:29,093 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-67043569-80952995 passed 2026-03-30 03:38:29,245 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-30 03:38:29,245 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-67043569-80952995, IP 99.38.155.67, Port 22 2026-03-30 03:38:29,399 - DEBUG - VM ctest-TestRoutersBasic-67043569-80952995 is ready for SSH connections 2026-03-30 03:38:29,400 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-30 03:38:29,400 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 99.38.155.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-03-30 03:38:29,400 - DEBUG - ping -s 56 -c 3 -W 1 99.38.155.67 2026-03-30 03:38:33,114 - DEBUG - PING 99.38.155.67 (99.38.155.67): 56 data bytes 64 bytes from 99.38.155.67: seq=0 ttl=62 time=7.167 ms 64 bytes from 99.38.155.67: seq=1 ttl=62 time=0.960 ms 64 bytes from 99.38.155.67: seq=2 ttl=62 time=0.899 ms --- 99.38.155.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.899/3.008/7.167 ms 2026-03-30 03:38:33,114 - INFO - Ping to IP 99.38.155.67 from VM ctest-TestRoutersBasic-67043569-07573628 passed 2026-03-30 03:38:33,114 - INFO - Deleting interface with subnet_id 7a34f96b-7f61-48b9-adfa-22821dba2d3f, port_id None from router f7307d0d-2ca9-4ed3-9b44-6af8fa04bd09 2026-03-30 03:38:33,295 - INFO - Deleting VM ctest-TestRoutersBasic-67043569-80952995 2026-03-30 03:38:33,365 - INFO - Deleting VM ctest-TestRoutersBasic-67043569-07573628 2026-03-30 03:38:33,471 - INFO - Deleting VN ctest-ext_vn-98109064 2026-03-30 03:38:33,548 - DEBUG - VN 93eff948-c181-4eeb-beee-98592b45cccc still in use: Unable to complete operation on network 93eff948-c181-4eeb-beee-98592b45cccc. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c0aeb919-8d6b-40f2-a52d-5a0c0a92beef'] 2026-03-30 03:38:33,548 - WARNING - Deleting VN ctest-ext_vn-98109064 failed..Will retry 2026-03-30 03:38:35,659 - DEBUG - Response for deleting network () 2026-03-30 03:38:35,660 - INFO - Deleting VN ctest-vn-44965759 2026-03-30 03:38:35,768 - DEBUG - Response for deleting network () 2026-03-30 03:38:36,021 - DEBUG - No XMPP flaps were noticed during the test
2026-03-30 03:38:36,021 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2026-03-30 03:38:36,021 - INFO - -------------------------------------------------------------------------------- 2026-03-30 03:38:36,696 - INFO - Deleted project: ctest-TestRoutersBasic-67043569, ID : ec118f67-5345-4cd7-a29a-c63b5944faba