2025-11-13 08:12:26,315 - INFO - Domain Default found not creating 2025-11-13 08:12:26,499 - INFO - Project ctest-TestRoutersBasic-95684631 not found, creating it 2025-11-13 08:12:26,946 - INFO - Created Project:ctest-TestRoutersBasic-95684631, ID : a79edb14-4489-436c-80d0-e8b019fe450e 2025-11-13 08:12:28,427 - INFO - ================================================================================ 2025-11-13 08:12:28,427 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-13 08:12:28,427 - 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:12:28,688 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-11-13 08:12:28,688 - INFO - Initial checks done. Running the testcase now 2025-11-13 08:12:28,688 - INFO - 2025-11-13 08:12:29,392 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-95684631 2025-11-13 08:12:29,486 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-95684631 2025-11-13 08:12:29,818 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-95684631', 'default']} 2025-11-13 08:12:30,125 - DEBUG - Response for create_network : {'network': {'id': '8cb369dc-c8d4-47ee-b3b8-090542653aef', 'name': 'ctest-vn-52975575', 'tenant_id': 'a79edb144489436c80d0e8b019fe450e', 'project_id': 'a79edb144489436c80d0e8b019fe450e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-95684631', 'ctest-vn-52975575'], 'port_security_enabled': True, 'description': ''}} 2025-11-13 08:12:30,309 - DEBUG - Response for create_subnet : {'subnet': {'id': '48052661-5a34-4885-b983-56e428518155', 'name': '', 'tenant_id': 'a79edb144489436c80d0e8b019fe450e', 'network_id': '8cb369dc-c8d4-47ee-b3b8-090542653aef', 'ip_version': 4, 'cidr': '55.37.10.128/26', 'allocation_pools': [{'start': '55.37.10.130', 'end': '55.37.10.190'}], 'gateway_ip': '55.37.10.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '55.37.10.130', 'tags': [], 'project_id': 'a79edb144489436c80d0e8b019fe450e'}} 2025-11-13 08:12:30,327 - INFO - Created VN ctest-vn-52975575 2025-11-13 08:12:30,378 - DEBUG - VN ctest-vn-52975575 UUID is 8cb369dc-c8d4-47ee-b3b8-090542653aef 2025-11-13 08:12:30,674 - DEBUG - Response for create_network : {'network': {'id': '0451f375-6efe-4b19-a546-616f130565ad', 'name': 'ctest-ext_vn-44532005', 'tenant_id': 'a79edb144489436c80d0e8b019fe450e', 'project_id': 'a79edb144489436c80d0e8b019fe450e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-95684631', 'ctest-ext_vn-44532005'], 'port_security_enabled': True, 'description': ''}} 2025-11-13 08:12:30,883 - DEBUG - Response for create_subnet : {'subnet': {'id': '4ba57dfc-5bbd-486e-bb13-657635bcdf88', 'name': '', 'tenant_id': 'a79edb144489436c80d0e8b019fe450e', 'network_id': '0451f375-6efe-4b19-a546-616f130565ad', 'ip_version': 4, 'cidr': '119.233.136.128/26', 'allocation_pools': [{'start': '119.233.136.130', 'end': '119.233.136.190'}], 'gateway_ip': '119.233.136.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '119.233.136.130', 'tags': [], 'project_id': 'a79edb144489436c80d0e8b019fe450e'}} 2025-11-13 08:12:30,902 - INFO - Created VN ctest-ext_vn-44532005 2025-11-13 08:12:30,954 - DEBUG - VN ctest-ext_vn-44532005 UUID is 0451f375-6efe-4b19-a546-616f130565ad 2025-11-13 08:12:31,134 - DEBUG - Services list from nova: [, , ] 2025-11-13 08:12:32,190 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4717-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4717-1) 2025-11-13 08:12:33,379 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4717-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4717-1) 2025-11-13 08:12:33,459 - INFO - Setting gateway for router 667a7ac6-b65c-4a60-b838-ed62bd0d719d to network 0451f375-6efe-4b19-a546-616f130565ad 2025-11-13 08:12:33,531 - INFO - Adding interface with subnet_id 48052661-5a34-4885-b983-56e428518155, port_id None to router 667a7ac6-b65c-4a60-b838-ed62bd0d719d 2025-11-13 08:12:33,776 - INFO - Waiting for VM ctest-TestRoutersBasic-95684631-49042016 to be up.. 2025-11-13 08:12:33,934 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-13 08:12:39,011 - DEBUG - VM is in ACTIVE state now 2025-11-13 08:12:39,011 - INFO - VM name : ctest-TestRoutersBasic-95684631-49042016 2025-11-13 08:12:39,087 - DEBUG - VM ctest-TestRoutersBasic-95684631-49042016 ID is 0e655752-7497-4898-bdd4-fc0178aa4bf8 2025-11-13 08:12:39,108 - DEBUG - VM ctest-TestRoutersBasic-95684631-49042016 launched on Node cn-jenkins-deploy-platform-ansible-os-4717-1 2025-11-13 08:12:39,182 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/0e655752-7497-4898-bdd4-fc0178aa4bf8 2025-11-13 08:12:39,473 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/0e655752-7497-4898-bdd4-fc0178aa4bf8 2025-11-13 08:12:39,506 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ba963e4e-5e7d-4142-bd0f-6cadac45a8ae 2025-11-13 08:12:42,751 - 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 1003ms') 2025-11-13 08:12:42,751 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-95684631-49042016 failed! 2025-11-13 08:12:42,806 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-95684631:ctest-vn-52975575 is 55.37.10.129 and allocation pool is NOT set 2025-11-13 08:12:44,875 - 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.28 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.835 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.835/2.059/3.284/1.224 ms') 2025-11-13 08:12:44,875 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-95684631-49042016 passed 2025-11-13 08:12:45,034 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 08:12:45,034 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-95684631-49042016, IP 55.37.10.131, Port 22 2025-11-13 08:12:45,193 - DEBUG - VM ctest-TestRoutersBasic-95684631-49042016 is ready for SSH connections 2025-11-13 08:12:45,193 - INFO - Waiting for VM ctest-TestRoutersBasic-95684631-63422133 to be up.. 2025-11-13 08:12:45,273 - DEBUG - VM is in ACTIVE state now 2025-11-13 08:12:45,273 - INFO - VM name : ctest-TestRoutersBasic-95684631-63422133 2025-11-13 08:12:45,356 - DEBUG - VM ctest-TestRoutersBasic-95684631-63422133 ID is 2e25bec0-1790-44f6-a4cb-eda77a26aa52 2025-11-13 08:12:45,356 - DEBUG - VM ctest-TestRoutersBasic-95684631-63422133 launched on Node cn-jenkins-deploy-platform-ansible-os-4717-1 2025-11-13 08:12:45,433 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/2e25bec0-1790-44f6-a4cb-eda77a26aa52 2025-11-13 08:12:45,443 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ce48226f-b32f-4240-9114-a5191e3f859f 2025-11-13 08:12:46,693 - 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.14 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.819 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.819/1.978/3.138/1.159 ms') 2025-11-13 08:12:46,694 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-95684631-63422133 passed 2025-11-13 08:12:46,846 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 08:12:46,846 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-95684631-63422133, IP 119.233.136.131, Port 22 2025-11-13 08:12:47,010 - DEBUG - VM ctest-TestRoutersBasic-95684631-63422133 is ready for SSH connections 2025-11-13 08:12:47,010 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 08:12:47,010 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 119.233.136.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-13 08:12:47,010 - DEBUG - ping -s 56 -c 3 -W 1 119.233.136.131 2025-11-13 08:12:50,768 - DEBUG - PING 119.233.136.131 (119.233.136.131): 56 data bytes 64 bytes from 119.233.136.131: seq=0 ttl=62 time=6.991 ms 64 bytes from 119.233.136.131: seq=1 ttl=62 time=1.127 ms 64 bytes from 119.233.136.131: seq=2 ttl=62 time=0.937 ms --- 119.233.136.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.937/3.018/6.991 ms 2025-11-13 08:12:50,768 - INFO - Ping to IP 119.233.136.131 from VM ctest-TestRoutersBasic-95684631-49042016 passed 2025-11-13 08:12:50,768 - INFO - Deleting interface with subnet_id 48052661-5a34-4885-b983-56e428518155, port_id None from router 667a7ac6-b65c-4a60-b838-ed62bd0d719d 2025-11-13 08:12:50,950 - INFO - Deleting VM ctest-TestRoutersBasic-95684631-63422133 2025-11-13 08:12:51,024 - INFO - Deleting VM ctest-TestRoutersBasic-95684631-49042016 2025-11-13 08:12:51,146 - INFO - Deleting VN ctest-ext_vn-44532005 2025-11-13 08:12:51,225 - DEBUG - VN 0451f375-6efe-4b19-a546-616f130565ad still in use: Unable to complete operation on network 0451f375-6efe-4b19-a546-616f130565ad. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8117d2fb-1638-4b1e-9206-5669f23de750'] 2025-11-13 08:12:51,226 - WARNING - Deleting VN ctest-ext_vn-44532005 failed..Will retry 2025-11-13 08:12:53,322 - DEBUG - Response for deleting network () 2025-11-13 08:12:53,322 - INFO - Deleting VN ctest-vn-52975575 2025-11-13 08:12:53,415 - DEBUG - Response for deleting network () 2025-11-13 08:12:53,675 - DEBUG - No XMPP flaps were noticed during the test
2025-11-13 08:12:53,675 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-11-13 08:12:53,675 - INFO - -------------------------------------------------------------------------------- 2025-11-13 08:12:54,354 - INFO - Deleted project: ctest-TestRoutersBasic-95684631, ID : a79edb14-4489-436c-80d0-e8b019fe450e