2025-11-13 08:05:33,591 - INFO - Domain Default found not creating 2025-11-13 08:05:33,747 - INFO - Project ctest-TestRoutersBasic-79532911 not found, creating it 2025-11-13 08:05:34,197 - INFO - Created Project:ctest-TestRoutersBasic-79532911, ID : 9c6c479c-1a64-4790-b479-64572a989641 2025-11-13 08:05:35,673 - INFO - ================================================================================ 2025-11-13 08:05:35,673 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-13 08:05:35,673 - 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-13 08:05:35,941 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-11-13 08:05:35,941 - INFO - Initial checks done. Running the testcase now 2025-11-13 08:05:35,941 - INFO - 2025-11-13 08:05:36,651 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-79532911 2025-11-13 08:05:36,747 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-79532911 2025-11-13 08:05:37,067 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-79532911', 'default']} 2025-11-13 08:05:37,367 - DEBUG - Response for create_network : {'network': {'id': '9218ea95-f0d5-4b7f-b8cb-d245e1908323', 'name': 'ctest-vn-20982837', 'tenant_id': '9c6c479c1a644790b47964572a989641', 'project_id': '9c6c479c1a644790b47964572a989641', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-79532911', 'ctest-vn-20982837'], 'port_security_enabled': True, 'description': ''}} 2025-11-13 08:05:37,547 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e4f93dfe-6754-4ac5-abe8-0bfad2e69e43', 'name': '', 'tenant_id': '9c6c479c1a644790b47964572a989641', 'network_id': '9218ea95-f0d5-4b7f-b8cb-d245e1908323', 'ip_version': 4, 'cidr': '178.28.5.192/26', 'allocation_pools': [{'start': '178.28.5.194', 'end': '178.28.5.254'}], 'gateway_ip': '178.28.5.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '178.28.5.194', 'tags': [], 'project_id': '9c6c479c1a644790b47964572a989641'}} 2025-11-13 08:05:37,566 - INFO - Created VN ctest-vn-20982837 2025-11-13 08:05:37,619 - DEBUG - VN ctest-vn-20982837 UUID is 9218ea95-f0d5-4b7f-b8cb-d245e1908323 2025-11-13 08:05:37,967 - DEBUG - Response for create_network : {'network': {'id': '88b7c8b8-3f7b-437d-ad58-4924ccdf1925', 'name': 'ctest-ext_vn-53355896', 'tenant_id': '9c6c479c1a644790b47964572a989641', 'project_id': '9c6c479c1a644790b47964572a989641', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-79532911', 'ctest-ext_vn-53355896'], 'port_security_enabled': True, 'description': ''}} 2025-11-13 08:05:38,125 - DEBUG - Response for create_subnet : {'subnet': {'id': '16b67631-08d7-4dd2-b0dd-a256f6e3b50a', 'name': '', 'tenant_id': '9c6c479c1a644790b47964572a989641', 'network_id': '88b7c8b8-3f7b-437d-ad58-4924ccdf1925', 'ip_version': 4, 'cidr': '4.220.214.192/26', 'allocation_pools': [{'start': '4.220.214.194', 'end': '4.220.214.254'}], 'gateway_ip': '4.220.214.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '4.220.214.194', 'tags': [], 'project_id': '9c6c479c1a644790b47964572a989641'}} 2025-11-13 08:05:38,142 - INFO - Created VN ctest-ext_vn-53355896 2025-11-13 08:05:38,195 - DEBUG - VN ctest-ext_vn-53355896 UUID is 88b7c8b8-3f7b-437d-ad58-4924ccdf1925 2025-11-13 08:05:38,398 - DEBUG - Services list from nova: [, , ] 2025-11-13 08:05:39,412 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4716-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4716-1) 2025-11-13 08:05:40,550 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4716-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4716-1) 2025-11-13 08:05:40,619 - INFO - Setting gateway for router 11e5b082-4ca0-4d79-ba95-d1a09dcfb323 to network 88b7c8b8-3f7b-437d-ad58-4924ccdf1925 2025-11-13 08:05:40,738 - INFO - Adding interface with subnet_id e4f93dfe-6754-4ac5-abe8-0bfad2e69e43, port_id None to router 11e5b082-4ca0-4d79-ba95-d1a09dcfb323 2025-11-13 08:05:41,058 - INFO - Waiting for VM ctest-TestRoutersBasic-79532911-19909515 to be up.. 2025-11-13 08:05:41,211 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-13 08:05:46,283 - DEBUG - VM is in ACTIVE state now 2025-11-13 08:05:46,283 - INFO - VM name : ctest-TestRoutersBasic-79532911-19909515 2025-11-13 08:05:46,358 - DEBUG - VM ctest-TestRoutersBasic-79532911-19909515 ID is a8653e12-4cf4-4500-b5ae-1796f539b73b 2025-11-13 08:05:46,378 - DEBUG - VM ctest-TestRoutersBasic-79532911-19909515 launched on Node cn-jenkins-deploy-platform-ansible-os-4716-1 2025-11-13 08:05:46,454 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/a8653e12-4cf4-4500-b5ae-1796f539b73b 2025-11-13 08:05:46,750 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/a8653e12-4cf4-4500-b5ae-1796f539b73b 2025-11-13 08:05:46,780 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/01a86c5f-4c0a-4436-9357-4fdd583b10ce 2025-11-13 08:05:50,046 - 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-13 08:05:50,047 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-79532911-19909515 failed! 2025-11-13 08:05:50,103 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-79532911:ctest-vn-20982837 is 178.28.5.193 and allocation pool is NOT set 2025-11-13 08:05:52,165 - 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.33 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.399 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.399/1.865/3.332/1.466 ms') 2025-11-13 08:05:52,165 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-79532911-19909515 passed 2025-11-13 08:05:52,315 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 08:05:52,315 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-79532911-19909515, IP 178.28.5.195, Port 22 2025-11-13 08:05:52,471 - DEBUG - VM ctest-TestRoutersBasic-79532911-19909515 is ready for SSH connections 2025-11-13 08:05:52,471 - INFO - Waiting for VM ctest-TestRoutersBasic-79532911-40068121 to be up.. 2025-11-13 08:05:52,548 - DEBUG - VM is in ACTIVE state now 2025-11-13 08:05:52,548 - INFO - VM name : ctest-TestRoutersBasic-79532911-40068121 2025-11-13 08:05:52,627 - DEBUG - VM ctest-TestRoutersBasic-79532911-40068121 ID is bb3c8cc2-f6fe-45bf-a136-36db7634f05b 2025-11-13 08:05:52,627 - DEBUG - VM ctest-TestRoutersBasic-79532911-40068121 launched on Node cn-jenkins-deploy-platform-ansible-os-4716-1 2025-11-13 08:05:52,700 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/bb3c8cc2-f6fe-45bf-a136-36db7634f05b 2025-11-13 08:05:52,709 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/7e6ed76e-5a07-4e59-ad60-5978bc1a662f 2025-11-13 08:05:53,954 - 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.01 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.512 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.512/1.761/3.011/1.249 ms') 2025-11-13 08:05:53,955 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-79532911-40068121 passed 2025-11-13 08:05:54,107 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 08:05:54,107 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-79532911-40068121, IP 4.220.214.195, Port 22 2025-11-13 08:05:54,271 - DEBUG - VM ctest-TestRoutersBasic-79532911-40068121 is ready for SSH connections 2025-11-13 08:05:54,271 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 08:05:54,272 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 4.220.214.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-13 08:05:54,272 - DEBUG - ping -s 56 -c 3 -W 1 4.220.214.195 2025-11-13 08:05:58,017 - DEBUG - PING 4.220.214.195 (4.220.214.195): 56 data bytes 64 bytes from 4.220.214.195: seq=0 ttl=62 time=7.362 ms 64 bytes from 4.220.214.195: seq=1 ttl=62 time=1.063 ms 64 bytes from 4.220.214.195: seq=2 ttl=62 time=1.010 ms --- 4.220.214.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.010/3.145/7.362 ms 2025-11-13 08:05:58,018 - INFO - Ping to IP 4.220.214.195 from VM ctest-TestRoutersBasic-79532911-19909515 passed 2025-11-13 08:05:58,018 - INFO - Deleting interface with subnet_id e4f93dfe-6754-4ac5-abe8-0bfad2e69e43, port_id None from router 11e5b082-4ca0-4d79-ba95-d1a09dcfb323 2025-11-13 08:05:58,182 - INFO - Deleting VM ctest-TestRoutersBasic-79532911-40068121 2025-11-13 08:05:58,249 - INFO - Deleting VM ctest-TestRoutersBasic-79532911-19909515 2025-11-13 08:05:58,331 - INFO - Deleting VN ctest-ext_vn-53355896 2025-11-13 08:05:58,399 - DEBUG - VN 88b7c8b8-3f7b-437d-ad58-4924ccdf1925 still in use: Unable to complete operation on network 88b7c8b8-3f7b-437d-ad58-4924ccdf1925. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5a5ffa5c-834c-4177-b143-3520bf12bb8d'] 2025-11-13 08:05:58,399 - WARNING - Deleting VN ctest-ext_vn-53355896 failed..Will retry 2025-11-13 08:06:00,492 - DEBUG - Response for deleting network () 2025-11-13 08:06:00,492 - INFO - Deleting VN ctest-vn-20982837 2025-11-13 08:06:00,593 - DEBUG - Response for deleting network () 2025-11-13 08:06:00,852 - DEBUG - No XMPP flaps were noticed during the test
2025-11-13 08:06:00,852 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-11-13 08:06:00,852 - INFO - -------------------------------------------------------------------------------- 2025-11-13 08:06:01,542 - INFO - Deleted project: ctest-TestRoutersBasic-79532911, ID : 9c6c479c-1a64-4790-b479-64572a989641