2025-09-04 02:08:10,386 - INFO - Domain Default found not creating 2025-09-04 02:08:10,542 - INFO - Project ctest-TestRoutersBasic-93393146 not found, creating it 2025-09-04 02:08:10,999 - INFO - Created Project:ctest-TestRoutersBasic-93393146, ID : f30280fe-291c-4111-b289-402f14ab6ee1 2025-09-04 02:08:12,427 - INFO - ================================================================================ 2025-09-04 02:08:12,427 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-09-04 02:08:12,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-09-04 02:08:12,695 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.193': '0'}} with 2025-09-04 02:08:12,695 - INFO - Initial checks done. Running the testcase now 2025-09-04 02:08:12,695 - INFO - 2025-09-04 02:08:13,408 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-93393146 2025-09-04 02:08:13,504 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-93393146 2025-09-04 02:08:13,820 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-93393146', 'default']} 2025-09-04 02:08:14,106 - DEBUG - Response for create_network : {'network': {'id': 'ca071c5a-b0cc-4ac2-b086-92c2cc18f33e', 'name': 'ctest-vn-43749600', 'tenant_id': 'f30280fe291c4111b289402f14ab6ee1', 'project_id': 'f30280fe291c4111b289402f14ab6ee1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-93393146', 'ctest-vn-43749600'], 'port_security_enabled': True, 'description': ''}} 2025-09-04 02:08:14,262 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eff767c9-2395-4cc9-8678-1b59a00c460f', 'name': '', 'tenant_id': 'f30280fe291c4111b289402f14ab6ee1', 'network_id': 'ca071c5a-b0cc-4ac2-b086-92c2cc18f33e', 'ip_version': 4, 'cidr': '84.208.192.0/26', 'allocation_pools': [{'start': '84.208.192.2', 'end': '84.208.192.62'}], 'gateway_ip': '84.208.192.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '84.208.192.2', 'tags': [], 'project_id': 'f30280fe291c4111b289402f14ab6ee1'}} 2025-09-04 02:08:14,278 - INFO - Created VN ctest-vn-43749600 2025-09-04 02:08:14,332 - DEBUG - VN ctest-vn-43749600 UUID is ca071c5a-b0cc-4ac2-b086-92c2cc18f33e 2025-09-04 02:08:14,677 - DEBUG - Response for create_network : {'network': {'id': 'f498f57e-cfaa-4e83-878e-90b887cc7a32', 'name': 'ctest-ext_vn-71733622', 'tenant_id': 'f30280fe291c4111b289402f14ab6ee1', 'project_id': 'f30280fe291c4111b289402f14ab6ee1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-93393146', 'ctest-ext_vn-71733622'], 'port_security_enabled': True, 'description': ''}} 2025-09-04 02:08:14,883 - DEBUG - Response for create_subnet : {'subnet': {'id': '1daaeaeb-aff5-45d5-826b-1cff29a9cf2a', 'name': '', 'tenant_id': 'f30280fe291c4111b289402f14ab6ee1', 'network_id': 'f498f57e-cfaa-4e83-878e-90b887cc7a32', 'ip_version': 4, 'cidr': '1.212.33.0/26', 'allocation_pools': [{'start': '1.212.33.2', 'end': '1.212.33.62'}], 'gateway_ip': '1.212.33.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '1.212.33.2', 'tags': [], 'project_id': 'f30280fe291c4111b289402f14ab6ee1'}} 2025-09-04 02:08:14,901 - INFO - Created VN ctest-ext_vn-71733622 2025-09-04 02:08:14,952 - DEBUG - VN ctest-ext_vn-71733622 UUID is f498f57e-cfaa-4e83-878e-90b887cc7a32 2025-09-04 02:08:15,121 - DEBUG - Services list from nova: [, , ] 2025-09-04 02:08:16,148 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4009-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4009-1) 2025-09-04 02:08:17,286 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4009-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4009-1) 2025-09-04 02:08:17,357 - INFO - Setting gateway for router c45cfdae-a76b-45cd-aecb-c7b55dee667d to network f498f57e-cfaa-4e83-878e-90b887cc7a32 2025-09-04 02:08:17,416 - INFO - Adding interface with subnet_id eff767c9-2395-4cc9-8678-1b59a00c460f, port_id None to router c45cfdae-a76b-45cd-aecb-c7b55dee667d 2025-09-04 02:08:17,780 - INFO - Waiting for VM ctest-TestRoutersBasic-93393146-11833540 to be up.. 2025-09-04 02:08:17,970 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-04 02:08:23,054 - DEBUG - VM is in ACTIVE state now 2025-09-04 02:08:23,054 - INFO - VM name : ctest-TestRoutersBasic-93393146-11833540 2025-09-04 02:08:23,136 - DEBUG - VM ctest-TestRoutersBasic-93393146-11833540 ID is 37ffc10e-0dae-4af5-8d1d-8f702c0b2360 2025-09-04 02:08:23,153 - DEBUG - VM ctest-TestRoutersBasic-93393146-11833540 launched on Node cn-jenkins-deploy-platform-ansible-os-4009-1 2025-09-04 02:08:23,226 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/37ffc10e-0dae-4af5-8d1d-8f702c0b2360 2025-09-04 02:08:23,529 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/37ffc10e-0dae-4af5-8d1d-8f702c0b2360 2025-09-04 02:08:23,558 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c842a2e2-a5e5-41f7-aa8f-56480cc31d39 2025-09-04 02:08:26,814 - 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 1018ms') 2025-09-04 02:08:26,814 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-93393146-11833540 failed! 2025-09-04 02:08:26,872 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-93393146:ctest-vn-43749600 is 84.208.192.1 and allocation pool is NOT set 2025-09-04 02:08:28,939 - 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.79 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.09 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 = 2.091/3.442/4.794/1.351 ms') 2025-09-04 02:08:28,939 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-93393146-11833540 passed 2025-09-04 02:08:29,092 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 02:08:29,092 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-93393146-11833540, IP 84.208.192.3, Port 22 2025-09-04 02:08:29,247 - DEBUG - VM ctest-TestRoutersBasic-93393146-11833540 is ready for SSH connections 2025-09-04 02:08:29,247 - INFO - Waiting for VM ctest-TestRoutersBasic-93393146-94457192 to be up.. 2025-09-04 02:08:29,317 - DEBUG - VM is in ACTIVE state now 2025-09-04 02:08:29,317 - INFO - VM name : ctest-TestRoutersBasic-93393146-94457192 2025-09-04 02:08:29,383 - DEBUG - VM ctest-TestRoutersBasic-93393146-94457192 ID is 176f2312-41ba-4aa9-acfb-acbda9a92fd8 2025-09-04 02:08:29,383 - DEBUG - VM ctest-TestRoutersBasic-93393146-94457192 launched on Node cn-jenkins-deploy-platform-ansible-os-4009-1 2025-09-04 02:08:29,450 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/176f2312-41ba-4aa9-acfb-acbda9a92fd8 2025-09-04 02:08:29,457 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/8ded8185-f8b1-42af-8e4b-5f817c20e3d2 2025-09-04 02:08:30,698 - 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.463 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.463/1.623/2.783/1.160 ms') 2025-09-04 02:08:30,698 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-93393146-94457192 passed 2025-09-04 02:08:30,846 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 02:08:30,846 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-93393146-94457192, IP 1.212.33.3, Port 22 2025-09-04 02:08:31,003 - DEBUG - VM ctest-TestRoutersBasic-93393146-94457192 is ready for SSH connections 2025-09-04 02:08:31,003 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 02:08:31,003 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 1.212.33.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-04 02:08:31,003 - DEBUG - ping -s 56 -c 3 -W 1 1.212.33.3 2025-09-04 02:08:34,871 - DEBUG - PING 1.212.33.3 (1.212.33.3): 56 data bytes 64 bytes from 1.212.33.3: seq=0 ttl=62 time=6.907 ms 64 bytes from 1.212.33.3: seq=1 ttl=62 time=0.798 ms 64 bytes from 1.212.33.3: seq=2 ttl=62 time=0.980 ms --- 1.212.33.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.798/2.895/6.907 ms 2025-09-04 02:08:34,871 - INFO - Ping to IP 1.212.33.3 from VM ctest-TestRoutersBasic-93393146-11833540 passed 2025-09-04 02:08:34,871 - INFO - Deleting interface with subnet_id eff767c9-2395-4cc9-8678-1b59a00c460f, port_id None from router c45cfdae-a76b-45cd-aecb-c7b55dee667d 2025-09-04 02:08:35,048 - INFO - Deleting VM ctest-TestRoutersBasic-93393146-94457192 2025-09-04 02:08:35,112 - INFO - Deleting VM ctest-TestRoutersBasic-93393146-11833540 2025-09-04 02:08:35,190 - INFO - Deleting VN ctest-ext_vn-71733622 2025-09-04 02:08:35,249 - DEBUG - VN f498f57e-cfaa-4e83-878e-90b887cc7a32 still in use: Unable to complete operation on network f498f57e-cfaa-4e83-878e-90b887cc7a32. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cd5c2659-91c4-42c9-8b0b-1746181787ef'] 2025-09-04 02:08:35,249 - WARNING - Deleting VN ctest-ext_vn-71733622 failed..Will retry 2025-09-04 02:08:37,344 - DEBUG - Response for deleting network () 2025-09-04 02:08:37,344 - INFO - Deleting VN ctest-vn-43749600 2025-09-04 02:08:37,443 - DEBUG - Response for deleting network () 2025-09-04 02:08:37,701 - DEBUG - No XMPP flaps were noticed during the test
2025-09-04 02:08:37,701 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-09-04 02:08:37,701 - INFO - -------------------------------------------------------------------------------- 2025-09-04 02:08:38,367 - INFO - Deleted project: ctest-TestRoutersBasic-93393146, ID : f30280fe-291c-4111-b289-402f14ab6ee1