2025-11-06 02:03:40,299 - INFO - Domain Default found not creating 2025-11-06 02:03:40,746 - INFO - Project ctest-TestRoutersBasic-04925674 not found, creating it 2025-11-06 02:03:41,172 - INFO - Created Project:ctest-TestRoutersBasic-04925674, ID : fd6056e2-c107-4aee-8ca0-827368495294 2025-11-06 02:03:42,555 - INFO - ================================================================================ 2025-11-06 02:03:42,555 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-06 02:03:42,555 - 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-06 02:03:42,809 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.18': '0'}} with 2025-11-06 02:03:42,809 - INFO - Initial checks done. Running the testcase now 2025-11-06 02:03:42,809 - INFO - 2025-11-06 02:03:43,500 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-04925674 2025-11-06 02:03:43,600 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-04925674 2025-11-06 02:03:43,920 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-04925674', 'default']} 2025-11-06 02:03:44,208 - DEBUG - Response for create_network : {'network': {'id': '276bd6d2-24fe-47f2-a4fa-0db1a132f0c0', 'name': 'ctest-vn-45064076', 'tenant_id': 'fd6056e2c1074aee8ca0827368495294', 'project_id': 'fd6056e2c1074aee8ca0827368495294', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-04925674', 'ctest-vn-45064076'], 'port_security_enabled': True, 'description': ''}} 2025-11-06 02:03:44,424 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fc772c13-d42b-44a6-944c-666518639843', 'name': '', 'tenant_id': 'fd6056e2c1074aee8ca0827368495294', 'network_id': '276bd6d2-24fe-47f2-a4fa-0db1a132f0c0', 'ip_version': 4, 'cidr': '18.138.199.0/26', 'allocation_pools': [{'start': '18.138.199.2', 'end': '18.138.199.62'}], 'gateway_ip': '18.138.199.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '18.138.199.2', 'tags': [], 'project_id': 'fd6056e2c1074aee8ca0827368495294'}} 2025-11-06 02:03:44,440 - INFO - Created VN ctest-vn-45064076 2025-11-06 02:03:44,492 - DEBUG - VN ctest-vn-45064076 UUID is 276bd6d2-24fe-47f2-a4fa-0db1a132f0c0 2025-11-06 02:03:44,796 - DEBUG - Response for create_network : {'network': {'id': '1f485d9e-6eb0-4e33-a9d9-4b053a1eaedd', 'name': 'ctest-ext_vn-10876873', 'tenant_id': 'fd6056e2c1074aee8ca0827368495294', 'project_id': 'fd6056e2c1074aee8ca0827368495294', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-04925674', 'ctest-ext_vn-10876873'], 'port_security_enabled': True, 'description': ''}} 2025-11-06 02:03:44,983 - DEBUG - Response for create_subnet : {'subnet': {'id': '513d2609-d05c-4b72-b2b3-bbce49717dc7', 'name': '', 'tenant_id': 'fd6056e2c1074aee8ca0827368495294', 'network_id': '1f485d9e-6eb0-4e33-a9d9-4b053a1eaedd', 'ip_version': 4, 'cidr': '131.249.94.192/26', 'allocation_pools': [{'start': '131.249.94.194', 'end': '131.249.94.254'}], 'gateway_ip': '131.249.94.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '131.249.94.194', 'tags': [], 'project_id': 'fd6056e2c1074aee8ca0827368495294'}} 2025-11-06 02:03:44,998 - INFO - Created VN ctest-ext_vn-10876873 2025-11-06 02:03:45,048 - DEBUG - VN ctest-ext_vn-10876873 UUID is 1f485d9e-6eb0-4e33-a9d9-4b053a1eaedd 2025-11-06 02:03:45,241 - DEBUG - Services list from nova: [, , ] 2025-11-06 02:03:46,198 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4659-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4659-1) 2025-11-06 02:03:47,278 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4659-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4659-1) 2025-11-06 02:03:47,349 - INFO - Setting gateway for router 043fd7c6-81a5-4259-885c-9500dbc61666 to network 1f485d9e-6eb0-4e33-a9d9-4b053a1eaedd 2025-11-06 02:03:47,404 - INFO - Adding interface with subnet_id fc772c13-d42b-44a6-944c-666518639843, port_id None to router 043fd7c6-81a5-4259-885c-9500dbc61666 2025-11-06 02:03:47,671 - INFO - Waiting for VM ctest-TestRoutersBasic-04925674-95939362 to be up.. 2025-11-06 02:03:47,788 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-06 02:03:52,862 - DEBUG - VM is in ACTIVE state now 2025-11-06 02:03:52,862 - INFO - VM name : ctest-TestRoutersBasic-04925674-95939362 2025-11-06 02:03:52,933 - DEBUG - VM ctest-TestRoutersBasic-04925674-95939362 ID is 86d1bf60-dedf-43ed-88ad-9b6734dcbf66 2025-11-06 02:03:52,954 - DEBUG - VM ctest-TestRoutersBasic-04925674-95939362 launched on Node cn-jenkins-deploy-platform-ansible-os-4659-1 2025-11-06 02:03:53,026 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/86d1bf60-dedf-43ed-88ad-9b6734dcbf66 2025-11-06 02:03:53,320 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/86d1bf60-dedf-43ed-88ad-9b6734dcbf66 2025-11-06 02:03:53,351 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/9e454ad7-1836-49b2-9a04-0565ad34c197 2025-11-06 02:03:56,605 - 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 1023ms') 2025-11-06 02:03:56,606 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-04925674-95939362 failed! 2025-11-06 02:03:56,660 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-04925674:ctest-vn-45064076 is 18.138.199.1 and allocation pool is NOT set 2025-11-06 02:03:58,724 - 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.19 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.423 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.423/1.807/3.191/1.384 ms') 2025-11-06 02:03:58,724 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-04925674-95939362 passed 2025-11-06 02:03:58,832 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 02:03:58,832 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-04925674-95939362, IP 18.138.199.3, Port 22 2025-11-06 02:03:58,983 - DEBUG - VM ctest-TestRoutersBasic-04925674-95939362 is ready for SSH connections 2025-11-06 02:03:58,983 - INFO - Waiting for VM ctest-TestRoutersBasic-04925674-17173916 to be up.. 2025-11-06 02:03:59,049 - DEBUG - VM is in ACTIVE state now 2025-11-06 02:03:59,049 - INFO - VM name : ctest-TestRoutersBasic-04925674-17173916 2025-11-06 02:03:59,118 - DEBUG - VM ctest-TestRoutersBasic-04925674-17173916 ID is 3e47ab1f-b22b-4b2d-96ff-5864cf4598cb 2025-11-06 02:03:59,118 - DEBUG - VM ctest-TestRoutersBasic-04925674-17173916 launched on Node cn-jenkins-deploy-platform-ansible-os-4659-1 2025-11-06 02:03:59,188 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/3e47ab1f-b22b-4b2d-96ff-5864cf4598cb 2025-11-06 02:03:59,195 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/2d768126-8bcc-43df-a68f-d9ea94b89f33 2025-11-06 02:04:00,425 - 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.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.552 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.552/1.664/2.777/1.112 ms') 2025-11-06 02:04:00,425 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-04925674-17173916 passed 2025-11-06 02:04:00,580 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 02:04:00,580 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-04925674-17173916, IP 131.249.94.195, Port 22 2025-11-06 02:04:00,735 - DEBUG - VM ctest-TestRoutersBasic-04925674-17173916 is ready for SSH connections 2025-11-06 02:04:00,735 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 02:04:00,735 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 131.249.94.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-06 02:04:00,735 - DEBUG - ping -s 56 -c 3 -W 1 131.249.94.195 2025-11-06 02:04:04,762 - DEBUG - PING 131.249.94.195 (131.249.94.195): 56 data bytes 64 bytes from 131.249.94.195: seq=0 ttl=62 time=5.592 ms 64 bytes from 131.249.94.195: seq=1 ttl=62 time=0.874 ms 64 bytes from 131.249.94.195: seq=2 ttl=62 time=0.847 ms --- 131.249.94.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.847/2.437/5.592 ms 2025-11-06 02:04:04,762 - INFO - Ping to IP 131.249.94.195 from VM ctest-TestRoutersBasic-04925674-95939362 passed 2025-11-06 02:04:04,762 - INFO - Deleting interface with subnet_id fc772c13-d42b-44a6-944c-666518639843, port_id None from router 043fd7c6-81a5-4259-885c-9500dbc61666 2025-11-06 02:04:04,921 - INFO - Deleting VM ctest-TestRoutersBasic-04925674-17173916 2025-11-06 02:04:04,984 - INFO - Deleting VM ctest-TestRoutersBasic-04925674-95939362 2025-11-06 02:04:05,056 - INFO - Deleting VN ctest-ext_vn-10876873 2025-11-06 02:04:05,119 - DEBUG - VN 1f485d9e-6eb0-4e33-a9d9-4b053a1eaedd still in use: Unable to complete operation on network 1f485d9e-6eb0-4e33-a9d9-4b053a1eaedd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8ff7bb1b-dc65-47c9-8ba4-6d1972a0e194'] 2025-11-06 02:04:05,119 - WARNING - Deleting VN ctest-ext_vn-10876873 failed..Will retry 2025-11-06 02:04:07,222 - DEBUG - Response for deleting network () 2025-11-06 02:04:07,222 - INFO - Deleting VN ctest-vn-45064076 2025-11-06 02:04:07,346 - DEBUG - Response for deleting network () 2025-11-06 02:04:07,602 - DEBUG - No XMPP flaps were noticed during the test
2025-11-06 02:04:07,602 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-11-06 02:04:07,602 - INFO - -------------------------------------------------------------------------------- 2025-11-06 02:04:08,277 - INFO - Deleted project: ctest-TestRoutersBasic-04925674, ID : fd6056e2-c107-4aee-8ca0-827368495294