2025-06-18 17:54:59,024 - INFO - Domain Default found not creating 2025-06-18 17:54:59,196 - INFO - Project ctest-TestRoutersBasic-59408245 not found, creating it 2025-06-18 17:54:59,687 - INFO - Created Project:ctest-TestRoutersBasic-59408245, ID : 99bfd463-40f6-42fd-97f9-9cf5a3274bf1 2025-06-18 17:55:01,375 - INFO - ================================================================================ 2025-06-18 17:55:01,375 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-18 17:55:01,375 - 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-06-18 17:55:01,641 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-06-18 17:55:01,641 - INFO - Initial checks done. Running the testcase now 2025-06-18 17:55:01,641 - INFO - 2025-06-18 17:55:02,485 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-59408245 2025-06-18 17:55:02,588 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-59408245 2025-06-18 17:55:02,924 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-59408245', 'default']} 2025-06-18 17:55:03,297 - DEBUG - Response for create_network : {'network': {'id': '121a9f81-975b-4a83-a2ea-c412aa4537e2', 'name': 'ctest-vn-68958556', 'tenant_id': '99bfd46340f642fd97f99cf5a3274bf1', 'project_id': '99bfd46340f642fd97f99cf5a3274bf1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-59408245', 'ctest-vn-68958556'], 'port_security_enabled': True, 'description': ''}} 2025-06-18 17:55:03,517 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b820c85a-1a9e-44e5-969c-db16564a8365', 'name': '', 'tenant_id': '99bfd46340f642fd97f99cf5a3274bf1', 'network_id': '121a9f81-975b-4a83-a2ea-c412aa4537e2', 'ip_version': 4, 'cidr': '217.34.122.192/26', 'allocation_pools': [{'start': '217.34.122.194', 'end': '217.34.122.254'}], 'gateway_ip': '217.34.122.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '217.34.122.194', 'tags': [], 'project_id': '99bfd46340f642fd97f99cf5a3274bf1'}} 2025-06-18 17:55:03,537 - INFO - Created VN ctest-vn-68958556 2025-06-18 17:55:03,592 - DEBUG - VN ctest-vn-68958556 UUID is 121a9f81-975b-4a83-a2ea-c412aa4537e2 2025-06-18 17:55:03,934 - DEBUG - Response for create_network : {'network': {'id': 'b1e6f0a5-3eba-4f19-b4be-c195484c5b5c', 'name': 'ctest-ext_vn-77489036', 'tenant_id': '99bfd46340f642fd97f99cf5a3274bf1', 'project_id': '99bfd46340f642fd97f99cf5a3274bf1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-59408245', 'ctest-ext_vn-77489036'], 'port_security_enabled': True, 'description': ''}} 2025-06-18 17:55:04,135 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ba48f4dd-60ce-4fc8-a837-0579badfe2d0', 'name': '', 'tenant_id': '99bfd46340f642fd97f99cf5a3274bf1', 'network_id': 'b1e6f0a5-3eba-4f19-b4be-c195484c5b5c', 'ip_version': 4, 'cidr': '169.207.175.64/26', 'allocation_pools': [{'start': '169.207.175.66', 'end': '169.207.175.126'}], 'gateway_ip': '169.207.175.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '169.207.175.66', 'tags': [], 'project_id': '99bfd46340f642fd97f99cf5a3274bf1'}} 2025-06-18 17:55:04,156 - INFO - Created VN ctest-ext_vn-77489036 2025-06-18 17:55:04,208 - DEBUG - VN ctest-ext_vn-77489036 UUID is b1e6f0a5-3eba-4f19-b4be-c195484c5b5c 2025-06-18 17:55:04,406 - DEBUG - Services list from nova: [, , ] 2025-06-18 17:55:05,519 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3477-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3477-1) 2025-06-18 17:55:06,789 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3477-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3477-1) 2025-06-18 17:55:06,877 - INFO - Setting gateway for router f16fee8f-8c13-417b-822e-e95391df5b4e to network b1e6f0a5-3eba-4f19-b4be-c195484c5b5c 2025-06-18 17:55:06,943 - INFO - Adding interface with subnet_id b820c85a-1a9e-44e5-969c-db16564a8365, port_id None to router f16fee8f-8c13-417b-822e-e95391df5b4e 2025-06-18 17:55:07,473 - INFO - Waiting for VM ctest-TestRoutersBasic-59408245-12787771 to be up.. 2025-06-18 17:55:07,703 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-18 17:55:12,795 - DEBUG - VM is in ACTIVE state now 2025-06-18 17:55:12,796 - INFO - VM name : ctest-TestRoutersBasic-59408245-12787771 2025-06-18 17:55:12,882 - DEBUG - VM ctest-TestRoutersBasic-59408245-12787771 ID is e33e3282-3b62-4d25-828b-551f1e9e730d 2025-06-18 17:55:12,900 - DEBUG - VM ctest-TestRoutersBasic-59408245-12787771 launched on Node cn-jenkins-deploy-platform-ansible-os-3477-1 2025-06-18 17:55:12,981 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e33e3282-3b62-4d25-828b-551f1e9e730d 2025-06-18 17:55:13,286 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e33e3282-3b62-4d25-828b-551f1e9e730d 2025-06-18 17:55:13,324 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/39c1af34-e26e-46fc-9775-bd00ec77f40e 2025-06-18 17:55:16,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 1031ms') 2025-06-18 17:55:16,605 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-59408245-12787771 failed! 2025-06-18 17:55:16,660 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-59408245:ctest-vn-68958556 is 217.34.122.193 and allocation pool is NOT set 2025-06-18 17:55:18,727 - 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=4.84 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.06 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 = 1.064/2.954/4.844/1.890 ms') 2025-06-18 17:55:18,727 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-59408245-12787771 passed 2025-06-18 17:55:18,901 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-18 17:55:18,901 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-59408245-12787771, IP 217.34.122.195, Port 22 2025-06-18 17:55:19,072 - DEBUG - VM ctest-TestRoutersBasic-59408245-12787771 is ready for SSH connections 2025-06-18 17:55:19,072 - INFO - Waiting for VM ctest-TestRoutersBasic-59408245-25537836 to be up.. 2025-06-18 17:55:19,194 - DEBUG - VM is in ACTIVE state now 2025-06-18 17:55:19,195 - INFO - VM name : ctest-TestRoutersBasic-59408245-25537836 2025-06-18 17:55:19,300 - DEBUG - VM ctest-TestRoutersBasic-59408245-25537836 ID is 008609be-5b76-4960-999a-72fb204afb2d 2025-06-18 17:55:19,300 - DEBUG - VM ctest-TestRoutersBasic-59408245-25537836 launched on Node cn-jenkins-deploy-platform-ansible-os-3477-1 2025-06-18 17:55:19,398 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/008609be-5b76-4960-999a-72fb204afb2d 2025-06-18 17:55:19,410 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/193d63ed-3ae0-45a5-a847-14738baf84fa 2025-06-18 17:55:20,674 - 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=5.07 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.822 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.822/2.947/5.073/2.125 ms') 2025-06-18 17:55:20,674 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-59408245-25537836 passed 2025-06-18 17:55:20,841 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-18 17:55:20,841 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-59408245-25537836, IP 169.207.175.67, Port 22 2025-06-18 17:55:21,031 - DEBUG - VM ctest-TestRoutersBasic-59408245-25537836 is ready for SSH connections 2025-06-18 17:55:21,031 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-18 17:55:21,031 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 169.207.175.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-06-18 17:55:21,031 - DEBUG - ping -s 56 -c 3 -W 1 169.207.175.67 2025-06-18 17:55:25,184 - DEBUG - PING 169.207.175.67 (169.207.175.67): 56 data bytes 64 bytes from 169.207.175.67: seq=0 ttl=62 time=6.986 ms 64 bytes from 169.207.175.67: seq=1 ttl=62 time=1.080 ms 64 bytes from 169.207.175.67: seq=2 ttl=62 time=1.290 ms --- 169.207.175.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.080/3.118/6.986 ms 2025-06-18 17:55:25,184 - INFO - Ping to IP 169.207.175.67 from VM ctest-TestRoutersBasic-59408245-12787771 passed 2025-06-18 17:55:25,185 - INFO - Deleting interface with subnet_id b820c85a-1a9e-44e5-969c-db16564a8365, port_id None from router f16fee8f-8c13-417b-822e-e95391df5b4e 2025-06-18 17:55:25,468 - INFO - Deleting VM ctest-TestRoutersBasic-59408245-25537836 2025-06-18 17:55:25,542 - INFO - Deleting VM ctest-TestRoutersBasic-59408245-12787771 2025-06-18 17:55:25,650 - INFO - Deleting VN ctest-ext_vn-77489036 2025-06-18 17:55:25,751 - DEBUG - VN b1e6f0a5-3eba-4f19-b4be-c195484c5b5c still in use: Unable to complete operation on network b1e6f0a5-3eba-4f19-b4be-c195484c5b5c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d84d4d0f-a6c8-46ba-a3df-61e84d11188f'] 2025-06-18 17:55:25,751 - WARNING - Deleting VN ctest-ext_vn-77489036 failed..Will retry 2025-06-18 17:55:27,876 - DEBUG - Response for deleting network () 2025-06-18 17:55:27,876 - INFO - Deleting VN ctest-vn-68958556 2025-06-18 17:55:27,988 - DEBUG - Response for deleting network () 2025-06-18 17:55:28,242 - DEBUG - No XMPP flaps were noticed during the test
2025-06-18 17:55:28,243 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2025-06-18 17:55:28,243 - INFO - -------------------------------------------------------------------------------- 2025-06-18 17:55:28,985 - INFO - Deleted project: ctest-TestRoutersBasic-59408245, ID : 99bfd463-40f6-42fd-97f9-9cf5a3274bf1