2025-07-16 17:15:35,939 - INFO - Domain Default found not creating 2025-07-16 17:15:36,082 - INFO - Project ctest-TestRoutersBasic-88247886 not found, creating it 2025-07-16 17:15:36,547 - INFO - Created Project:ctest-TestRoutersBasic-88247886, ID : 747900b8-fc1a-46ac-8377-60645fc06b77 2025-07-16 17:15:37,967 - INFO - ================================================================================ 2025-07-16 17:15:37,968 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-07-16 17:15:37,968 - 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-07-16 17:15:38,226 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.18': '0'}} with 2025-07-16 17:15:38,226 - INFO - Initial checks done. Running the testcase now 2025-07-16 17:15:38,226 - INFO - 2025-07-16 17:15:38,926 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-88247886 2025-07-16 17:15:39,023 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-88247886 2025-07-16 17:15:39,351 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88247886', 'default']} 2025-07-16 17:15:39,646 - DEBUG - Response for create_network : {'network': {'id': 'cd861883-8c93-4313-bfad-b3afdd2da3c9', 'name': 'ctest-vn-51642319', 'tenant_id': '747900b8fc1a46ac837760645fc06b77', 'project_id': '747900b8fc1a46ac837760645fc06b77', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88247886', 'ctest-vn-51642319'], 'port_security_enabled': True, 'description': ''}} 2025-07-16 17:15:39,876 - DEBUG - Response for create_subnet : {'subnet': {'id': '3c25b646-0475-4adf-9150-a5f14d6569eb', 'name': '', 'tenant_id': '747900b8fc1a46ac837760645fc06b77', 'network_id': 'cd861883-8c93-4313-bfad-b3afdd2da3c9', 'ip_version': 4, 'cidr': '72.129.187.0/26', 'allocation_pools': [{'start': '72.129.187.2', 'end': '72.129.187.62'}], 'gateway_ip': '72.129.187.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '72.129.187.2', 'tags': [], 'project_id': '747900b8fc1a46ac837760645fc06b77'}} 2025-07-16 17:15:39,896 - INFO - Created VN ctest-vn-51642319 2025-07-16 17:15:39,955 - DEBUG - VN ctest-vn-51642319 UUID is cd861883-8c93-4313-bfad-b3afdd2da3c9 2025-07-16 17:15:40,338 - DEBUG - Response for create_network : {'network': {'id': 'a7bfe488-ba02-40c0-9b33-c0279e539a65', 'name': 'ctest-ext_vn-03501621', 'tenant_id': '747900b8fc1a46ac837760645fc06b77', 'project_id': '747900b8fc1a46ac837760645fc06b77', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88247886', 'ctest-ext_vn-03501621'], 'port_security_enabled': True, 'description': ''}} 2025-07-16 17:15:40,501 - DEBUG - Response for create_subnet : {'subnet': {'id': '5512ff8e-8377-4452-af6f-e25400b7c637', 'name': '', 'tenant_id': '747900b8fc1a46ac837760645fc06b77', 'network_id': 'a7bfe488-ba02-40c0-9b33-c0279e539a65', 'ip_version': 4, 'cidr': '148.145.25.64/26', 'allocation_pools': [{'start': '148.145.25.66', 'end': '148.145.25.126'}], 'gateway_ip': '148.145.25.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '148.145.25.66', 'tags': [], 'project_id': '747900b8fc1a46ac837760645fc06b77'}} 2025-07-16 17:15:40,519 - INFO - Created VN ctest-ext_vn-03501621 2025-07-16 17:15:40,571 - DEBUG - VN ctest-ext_vn-03501621 UUID is a7bfe488-ba02-40c0-9b33-c0279e539a65 2025-07-16 17:15:40,773 - DEBUG - Services list from nova: [, , ] 2025-07-16 17:15:41,782 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3646-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3646-1) 2025-07-16 17:15:42,993 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3646-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3646-1) 2025-07-16 17:15:43,080 - INFO - Setting gateway for router dcaa2137-c6db-4e94-80de-fc4f34fae1fb to network a7bfe488-ba02-40c0-9b33-c0279e539a65 2025-07-16 17:15:43,178 - INFO - Adding interface with subnet_id 3c25b646-0475-4adf-9150-a5f14d6569eb, port_id None to router dcaa2137-c6db-4e94-80de-fc4f34fae1fb 2025-07-16 17:15:43,674 - INFO - Waiting for VM ctest-TestRoutersBasic-88247886-58835987 to be up.. 2025-07-16 17:15:43,816 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-16 17:15:48,891 - DEBUG - VM is in ACTIVE state now 2025-07-16 17:15:48,892 - INFO - VM name : ctest-TestRoutersBasic-88247886-58835987 2025-07-16 17:15:48,966 - DEBUG - VM ctest-TestRoutersBasic-88247886-58835987 ID is 6f70432e-d81f-4885-b361-6c59823af4bc 2025-07-16 17:15:48,985 - DEBUG - VM ctest-TestRoutersBasic-88247886-58835987 launched on Node cn-jenkins-deploy-platform-ansible-os-3646-1 2025-07-16 17:15:49,054 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/6f70432e-d81f-4885-b361-6c59823af4bc 2025-07-16 17:15:49,345 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/6f70432e-d81f-4885-b361-6c59823af4bc 2025-07-16 17:15:49,376 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/3fc1d6e1-e1ca-4933-9e54-40de9b446479 2025-07-16 17:15:52,640 - 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 1027ms') 2025-07-16 17:15:52,640 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-88247886-58835987 failed! 2025-07-16 17:15:52,695 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-88247886:ctest-vn-51642319 is 72.129.187.1 and allocation pool is NOT set 2025-07-16 17:15:54,756 - 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.99 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.559 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.559/2.276/3.993/1.717 ms') 2025-07-16 17:15:54,756 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-88247886-58835987 passed 2025-07-16 17:15:54,911 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-16 17:15:54,912 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-88247886-58835987, IP 72.129.187.3, Port 22 2025-07-16 17:15:55,066 - DEBUG - VM ctest-TestRoutersBasic-88247886-58835987 is ready for SSH connections 2025-07-16 17:15:55,066 - INFO - Waiting for VM ctest-TestRoutersBasic-88247886-25230575 to be up.. 2025-07-16 17:15:55,139 - DEBUG - VM is in ACTIVE state now 2025-07-16 17:15:55,139 - INFO - VM name : ctest-TestRoutersBasic-88247886-25230575 2025-07-16 17:15:55,213 - DEBUG - VM ctest-TestRoutersBasic-88247886-25230575 ID is 1b8d127e-f0d1-49b5-88db-deca67e5e0db 2025-07-16 17:15:55,213 - DEBUG - VM ctest-TestRoutersBasic-88247886-25230575 launched on Node cn-jenkins-deploy-platform-ansible-os-3646-1 2025-07-16 17:15:55,289 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/1b8d127e-f0d1-49b5-88db-deca67e5e0db 2025-07-16 17:15:55,299 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/20a30c33-5cca-47dd-8a1e-14f158228865 2025-07-16 17:15:56,543 - 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.82 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.468 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.468/2.142/3.816/1.674 ms') 2025-07-16 17:15:56,543 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-88247886-25230575 passed 2025-07-16 17:15:56,695 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-16 17:15:56,695 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-88247886-25230575, IP 148.145.25.67, Port 22 2025-07-16 17:15:56,856 - DEBUG - VM ctest-TestRoutersBasic-88247886-25230575 is ready for SSH connections 2025-07-16 17:15:56,856 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-16 17:15:56,856 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 148.145.25.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-07-16 17:15:56,856 - DEBUG - ping -s 56 -c 3 -W 1 148.145.25.67 2025-07-16 17:16:00,896 - DEBUG - PING 148.145.25.67 (148.145.25.67): 56 data bytes 64 bytes from 148.145.25.67: seq=0 ttl=62 time=4.842 ms 64 bytes from 148.145.25.67: seq=1 ttl=62 time=0.786 ms 64 bytes from 148.145.25.67: seq=2 ttl=62 time=0.847 ms --- 148.145.25.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.786/2.158/4.842 ms 2025-07-16 17:16:00,897 - INFO - Ping to IP 148.145.25.67 from VM ctest-TestRoutersBasic-88247886-58835987 passed 2025-07-16 17:16:00,897 - INFO - Deleting interface with subnet_id 3c25b646-0475-4adf-9150-a5f14d6569eb, port_id None from router dcaa2137-c6db-4e94-80de-fc4f34fae1fb 2025-07-16 17:16:01,111 - INFO - Deleting VM ctest-TestRoutersBasic-88247886-25230575 2025-07-16 17:16:01,175 - INFO - Deleting VM ctest-TestRoutersBasic-88247886-58835987 2025-07-16 17:16:01,252 - INFO - Deleting VN ctest-ext_vn-03501621 2025-07-16 17:16:01,328 - DEBUG - VN a7bfe488-ba02-40c0-9b33-c0279e539a65 still in use: Unable to complete operation on network a7bfe488-ba02-40c0-9b33-c0279e539a65. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a8aa129c-f908-4591-9dee-83e758274ff5'] 2025-07-16 17:16:01,328 - WARNING - Deleting VN ctest-ext_vn-03501621 failed..Will retry 2025-07-16 17:16:03,447 - DEBUG - Response for deleting network () 2025-07-16 17:16:03,447 - INFO - Deleting VN ctest-vn-51642319 2025-07-16 17:16:03,580 - DEBUG - Response for deleting network () 2025-07-16 17:16:03,842 - DEBUG - No XMPP flaps were noticed during the test
2025-07-16 17:16:03,842 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-07-16 17:16:03,842 - INFO - -------------------------------------------------------------------------------- 2025-07-16 17:16:04,535 - INFO - Deleted project: ctest-TestRoutersBasic-88247886, ID : 747900b8-fc1a-46ac-8377-60645fc06b77