2025-12-09 22:11:47,179 - INFO - Domain Default found not creating 2025-12-09 22:11:47,335 - INFO - Project ctest-TestRoutersBasic-39687671 not found, creating it 2025-12-09 22:11:47,774 - INFO - Created Project:ctest-TestRoutersBasic-39687671, ID : 0cabcde1-24d3-4921-ba7b-647d813c7be1 2025-12-09 22:11:49,242 - INFO - ================================================================================ 2025-12-09 22:11:49,242 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-12-09 22:11:49,242 - 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-12-09 22:11:49,502 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.14': '0'}} with 2025-12-09 22:11:49,503 - INFO - Initial checks done. Running the testcase now 2025-12-09 22:11:49,503 - INFO - 2025-12-09 22:11:50,219 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-39687671 2025-12-09 22:11:50,313 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-39687671 2025-12-09 22:11:50,629 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-39687671', 'default']} 2025-12-09 22:11:50,930 - DEBUG - Response for create_network : {'network': {'id': '96d02c2d-f0cd-4189-b2a4-36f1a9ffe78a', 'name': 'ctest-vn-82305021', 'tenant_id': '0cabcde124d34921ba7b647d813c7be1', 'project_id': '0cabcde124d34921ba7b647d813c7be1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-39687671', 'ctest-vn-82305021'], 'port_security_enabled': True, 'description': ''}} 2025-12-09 22:11:51,106 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cef6e3df-db7f-4e3a-845e-5f9f00b0a37f', 'name': '', 'tenant_id': '0cabcde124d34921ba7b647d813c7be1', 'network_id': '96d02c2d-f0cd-4189-b2a4-36f1a9ffe78a', 'ip_version': 4, 'cidr': '222.156.35.128/26', 'allocation_pools': [{'start': '222.156.35.130', 'end': '222.156.35.190'}], 'gateway_ip': '222.156.35.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '222.156.35.130', 'tags': [], 'project_id': '0cabcde124d34921ba7b647d813c7be1'}} 2025-12-09 22:11:51,125 - INFO - Created VN ctest-vn-82305021 2025-12-09 22:11:51,177 - DEBUG - VN ctest-vn-82305021 UUID is 96d02c2d-f0cd-4189-b2a4-36f1a9ffe78a 2025-12-09 22:11:51,511 - DEBUG - Response for create_network : {'network': {'id': '1573917f-2925-4d15-b2e6-82ef97be5180', 'name': 'ctest-ext_vn-59744304', 'tenant_id': '0cabcde124d34921ba7b647d813c7be1', 'project_id': '0cabcde124d34921ba7b647d813c7be1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-39687671', 'ctest-ext_vn-59744304'], 'port_security_enabled': True, 'description': ''}} 2025-12-09 22:11:51,733 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f09ae27a-06da-44f6-a139-c30b1dacd7d0', 'name': '', 'tenant_id': '0cabcde124d34921ba7b647d813c7be1', 'network_id': '1573917f-2925-4d15-b2e6-82ef97be5180', 'ip_version': 4, 'cidr': '112.162.251.64/26', 'allocation_pools': [{'start': '112.162.251.66', 'end': '112.162.251.126'}], 'gateway_ip': '112.162.251.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '112.162.251.66', 'tags': [], 'project_id': '0cabcde124d34921ba7b647d813c7be1'}} 2025-12-09 22:11:51,751 - INFO - Created VN ctest-ext_vn-59744304 2025-12-09 22:11:51,801 - DEBUG - VN ctest-ext_vn-59744304 UUID is 1573917f-2925-4d15-b2e6-82ef97be5180 2025-12-09 22:11:51,979 - DEBUG - Services list from nova: [, , ] 2025-12-09 22:11:53,028 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4873-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4873-1) 2025-12-09 22:11:54,217 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4873-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4873-1) 2025-12-09 22:11:54,300 - INFO - Setting gateway for router 5dce475d-fd11-4000-87cd-46ab5f4a77fa to network 1573917f-2925-4d15-b2e6-82ef97be5180 2025-12-09 22:11:54,364 - INFO - Adding interface with subnet_id cef6e3df-db7f-4e3a-845e-5f9f00b0a37f, port_id None to router 5dce475d-fd11-4000-87cd-46ab5f4a77fa 2025-12-09 22:11:54,627 - INFO - Waiting for VM ctest-TestRoutersBasic-39687671-94750588 to be up.. 2025-12-09 22:11:54,846 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-09 22:11:59,922 - DEBUG - VM is in ACTIVE state now 2025-12-09 22:11:59,922 - INFO - VM name : ctest-TestRoutersBasic-39687671-94750588 2025-12-09 22:11:59,989 - DEBUG - VM ctest-TestRoutersBasic-39687671-94750588 ID is 9c8c54dd-cfcb-4b5b-8f4e-fdf4235a515c 2025-12-09 22:12:00,008 - DEBUG - VM ctest-TestRoutersBasic-39687671-94750588 launched on Node cn-jenkins-deploy-platform-ansible-os-4873-1 2025-12-09 22:12:00,082 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/9c8c54dd-cfcb-4b5b-8f4e-fdf4235a515c 2025-12-09 22:12:00,382 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/9c8c54dd-cfcb-4b5b-8f4e-fdf4235a515c 2025-12-09 22:12:00,414 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/5371c88d-dfe9-4843-ab49-8ca00852a65a 2025-12-09 22:12:03,646 - 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 1002ms') 2025-12-09 22:12:03,646 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-39687671-94750588 failed! 2025-12-09 22:12:03,705 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-39687671:ctest-vn-82305021 is 222.156.35.129 and allocation pool is NOT set 2025-12-09 22:12:05,771 - 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=2.97 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.511 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.511/1.742/2.973/1.231 ms') 2025-12-09 22:12:05,771 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-39687671-94750588 passed 2025-12-09 22:12:05,921 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 22:12:05,921 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-39687671-94750588, IP 222.156.35.131, Port 22 2025-12-09 22:12:06,081 - DEBUG - VM ctest-TestRoutersBasic-39687671-94750588 is ready for SSH connections 2025-12-09 22:12:06,081 - INFO - Waiting for VM ctest-TestRoutersBasic-39687671-96844796 to be up.. 2025-12-09 22:12:06,160 - DEBUG - VM is in ACTIVE state now 2025-12-09 22:12:06,160 - INFO - VM name : ctest-TestRoutersBasic-39687671-96844796 2025-12-09 22:12:06,256 - DEBUG - VM ctest-TestRoutersBasic-39687671-96844796 ID is 4a5776bd-196a-4870-a138-b1506d00dad4 2025-12-09 22:12:06,256 - DEBUG - VM ctest-TestRoutersBasic-39687671-96844796 launched on Node cn-jenkins-deploy-platform-ansible-os-4873-1 2025-12-09 22:12:06,339 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/4a5776bd-196a-4870-a138-b1506d00dad4 2025-12-09 22:12:06,349 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/c01cef32-9007-484a-b260-cc139a81ee3c 2025-12-09 22:12:07,595 - 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=4.95 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.444 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.444/2.696/4.949/2.252 ms') 2025-12-09 22:12:07,595 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-39687671-96844796 passed 2025-12-09 22:12:07,745 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 22:12:07,745 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-39687671-96844796, IP 112.162.251.67, Port 22 2025-12-09 22:12:07,905 - DEBUG - VM ctest-TestRoutersBasic-39687671-96844796 is ready for SSH connections 2025-12-09 22:12:07,905 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 22:12:07,905 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.162.251.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-12-09 22:12:07,905 - DEBUG - ping -s 56 -c 3 -W 1 112.162.251.67 2025-12-09 22:12:11,588 - DEBUG - PING 112.162.251.67 (112.162.251.67): 56 data bytes 64 bytes from 112.162.251.67: seq=0 ttl=62 time=5.008 ms 64 bytes from 112.162.251.67: seq=1 ttl=62 time=0.964 ms 64 bytes from 112.162.251.67: seq=2 ttl=62 time=0.948 ms --- 112.162.251.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.948/2.306/5.008 ms 2025-12-09 22:12:11,588 - INFO - Ping to IP 112.162.251.67 from VM ctest-TestRoutersBasic-39687671-94750588 passed 2025-12-09 22:12:11,588 - INFO - Deleting interface with subnet_id cef6e3df-db7f-4e3a-845e-5f9f00b0a37f, port_id None from router 5dce475d-fd11-4000-87cd-46ab5f4a77fa 2025-12-09 22:12:11,784 - INFO - Deleting VM ctest-TestRoutersBasic-39687671-96844796 2025-12-09 22:12:11,873 - INFO - Deleting VM ctest-TestRoutersBasic-39687671-94750588 2025-12-09 22:12:11,947 - INFO - Deleting VN ctest-ext_vn-59744304 2025-12-09 22:12:12,016 - DEBUG - VN 1573917f-2925-4d15-b2e6-82ef97be5180 still in use: Unable to complete operation on network 1573917f-2925-4d15-b2e6-82ef97be5180. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d86a2615-98f1-475e-9ba4-271eddf40a42'] 2025-12-09 22:12:12,017 - WARNING - Deleting VN ctest-ext_vn-59744304 failed..Will retry 2025-12-09 22:12:14,126 - DEBUG - Response for deleting network () 2025-12-09 22:12:14,126 - INFO - Deleting VN ctest-vn-82305021 2025-12-09 22:12:14,226 - DEBUG - Response for deleting network () 2025-12-09 22:12:14,489 - DEBUG - No XMPP flaps were noticed during the test 2025-12-09 22:12:14,489 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-12-09 22:12:14,489 - INFO - -------------------------------------------------------------------------------- 2025-12-09 22:12:15,204 - INFO - Deleted project: ctest-TestRoutersBasic-39687671, ID : 0cabcde1-24d3-4921-ba7b-647d813c7be1