2025-12-01 02:05:38,287 - INFO - Domain Default found not creating 2025-12-01 02:05:38,458 - INFO - Project ctest-TestRoutersBasic-67720809 not found, creating it 2025-12-01 02:05:38,899 - INFO - Created Project:ctest-TestRoutersBasic-67720809, ID : 3f27f922-7480-4a30-a371-5e16326bb8c8 2025-12-01 02:05:40,388 - INFO - ================================================================================ 2025-12-01 02:05:40,389 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-12-01 02:05:40,389 - 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-01 02:05:40,657 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.17': '0'}} with 2025-12-01 02:05:40,657 - INFO - Initial checks done. Running the testcase now 2025-12-01 02:05:40,657 - INFO - 2025-12-01 02:05:41,369 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-67720809 2025-12-01 02:05:41,469 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-67720809 2025-12-01 02:05:41,781 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-67720809', 'default']} 2025-12-01 02:05:42,064 - DEBUG - Response for create_network : {'network': {'id': 'f45443c4-f694-4281-aab6-19b971478eb9', 'name': 'ctest-vn-72968577', 'tenant_id': '3f27f92274804a30a3715e16326bb8c8', 'project_id': '3f27f92274804a30a3715e16326bb8c8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-67720809', 'ctest-vn-72968577'], 'port_security_enabled': True, 'description': ''}} 2025-12-01 02:05:42,216 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c93d8319-5399-4e08-8542-c5527243fd61', 'name': '', 'tenant_id': '3f27f92274804a30a3715e16326bb8c8', 'network_id': 'f45443c4-f694-4281-aab6-19b971478eb9', 'ip_version': 4, 'cidr': '8.240.34.0/26', 'allocation_pools': [{'start': '8.240.34.2', 'end': '8.240.34.62'}], 'gateway_ip': '8.240.34.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '8.240.34.2', 'tags': [], 'project_id': '3f27f92274804a30a3715e16326bb8c8'}} 2025-12-01 02:05:42,232 - INFO - Created VN ctest-vn-72968577 2025-12-01 02:05:42,281 - DEBUG - VN ctest-vn-72968577 UUID is f45443c4-f694-4281-aab6-19b971478eb9 2025-12-01 02:05:42,602 - DEBUG - Response for create_network : {'network': {'id': 'befe1b70-2542-43b7-8cf9-6eaa251eb415', 'name': 'ctest-ext_vn-33380834', 'tenant_id': '3f27f92274804a30a3715e16326bb8c8', 'project_id': '3f27f92274804a30a3715e16326bb8c8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-67720809', 'ctest-ext_vn-33380834'], 'port_security_enabled': True, 'description': ''}} 2025-12-01 02:05:42,780 - DEBUG - Response for create_subnet : {'subnet': {'id': '40cf574a-7a0d-47ce-9e45-24c6352e59a2', 'name': '', 'tenant_id': '3f27f92274804a30a3715e16326bb8c8', 'network_id': 'befe1b70-2542-43b7-8cf9-6eaa251eb415', 'ip_version': 4, 'cidr': '99.47.71.128/26', 'allocation_pools': [{'start': '99.47.71.130', 'end': '99.47.71.190'}], 'gateway_ip': '99.47.71.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.47.71.130', 'tags': [], 'project_id': '3f27f92274804a30a3715e16326bb8c8'}} 2025-12-01 02:05:42,797 - INFO - Created VN ctest-ext_vn-33380834 2025-12-01 02:05:42,849 - DEBUG - VN ctest-ext_vn-33380834 UUID is befe1b70-2542-43b7-8cf9-6eaa251eb415 2025-12-01 02:05:43,046 - DEBUG - Services list from nova: [, , ] 2025-12-01 02:05:44,040 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4824-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4824-1) 2025-12-01 02:05:45,159 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4824-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4824-1) 2025-12-01 02:05:45,222 - INFO - Setting gateway for router 8b26ce3a-9373-4db0-a039-1b391f32540b to network befe1b70-2542-43b7-8cf9-6eaa251eb415 2025-12-01 02:05:45,273 - INFO - Adding interface with subnet_id c93d8319-5399-4e08-8542-c5527243fd61, port_id None to router 8b26ce3a-9373-4db0-a039-1b391f32540b 2025-12-01 02:05:45,559 - INFO - Waiting for VM ctest-TestRoutersBasic-67720809-21550138 to be up.. 2025-12-01 02:05:45,661 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-01 02:05:50,733 - DEBUG - VM is in ACTIVE state now 2025-12-01 02:05:50,733 - INFO - VM name : ctest-TestRoutersBasic-67720809-21550138 2025-12-01 02:05:50,801 - DEBUG - VM ctest-TestRoutersBasic-67720809-21550138 ID is 5f7a205d-1c3e-4fa4-b564-4ff57b5b645b 2025-12-01 02:05:50,819 - DEBUG - VM ctest-TestRoutersBasic-67720809-21550138 launched on Node cn-jenkins-deploy-platform-ansible-os-4824-1 2025-12-01 02:05:50,897 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/5f7a205d-1c3e-4fa4-b564-4ff57b5b645b 2025-12-01 02:05:51,196 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/5f7a205d-1c3e-4fa4-b564-4ff57b5b645b 2025-12-01 02:05:51,234 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/18eedb9e-04bf-488f-8851-a5c50e1b4799 2025-12-01 02:05:54,497 - 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 1032ms') 2025-12-01 02:05:54,497 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-67720809-21550138 failed! 2025-12-01 02:05:54,549 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-67720809:ctest-vn-72968577 is 8.240.34.1 and allocation pool is NOT set 2025-12-01 02:05:56,605 - 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.14 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.534 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.534/1.835/3.136/1.301 ms') 2025-12-01 02:05:56,605 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-67720809-21550138 passed 2025-12-01 02:05:56,757 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-01 02:05:56,757 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-67720809-21550138, IP 8.240.34.3, Port 22 2025-12-01 02:05:56,908 - DEBUG - VM ctest-TestRoutersBasic-67720809-21550138 is ready for SSH connections 2025-12-01 02:05:56,908 - INFO - Waiting for VM ctest-TestRoutersBasic-67720809-44747411 to be up.. 2025-12-01 02:05:56,980 - DEBUG - VM is in ACTIVE state now 2025-12-01 02:05:56,981 - INFO - VM name : ctest-TestRoutersBasic-67720809-44747411 2025-12-01 02:05:57,058 - DEBUG - VM ctest-TestRoutersBasic-67720809-44747411 ID is bdcb9275-ec42-42fc-836c-513e55d40fc0 2025-12-01 02:05:57,058 - DEBUG - VM ctest-TestRoutersBasic-67720809-44747411 launched on Node cn-jenkins-deploy-platform-ansible-os-4824-1 2025-12-01 02:05:57,123 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/bdcb9275-ec42-42fc-836c-513e55d40fc0 2025-12-01 02:05:57,130 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/7a6cedcd-09b3-4fd4-a3fa-d6766e63aa7d 2025-12-01 02:05:58,367 - 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.42 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.399 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.399/1.911/3.424/1.512 ms') 2025-12-01 02:05:58,367 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-67720809-44747411 passed 2025-12-01 02:05:58,513 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-01 02:05:58,513 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-67720809-44747411, IP 99.47.71.131, Port 22 2025-12-01 02:05:58,668 - DEBUG - VM ctest-TestRoutersBasic-67720809-44747411 is ready for SSH connections 2025-12-01 02:05:58,668 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-01 02:05:58,668 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 99.47.71.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-12-01 02:05:58,669 - DEBUG - ping -s 56 -c 3 -W 1 99.47.71.131 2025-12-01 02:06:02,333 - DEBUG - PING 99.47.71.131 (99.47.71.131): 56 data bytes 64 bytes from 99.47.71.131: seq=0 ttl=62 time=4.274 ms 64 bytes from 99.47.71.131: seq=1 ttl=62 time=0.855 ms 64 bytes from 99.47.71.131: seq=2 ttl=62 time=1.196 ms --- 99.47.71.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.855/2.108/4.274 ms 2025-12-01 02:06:02,333 - INFO - Ping to IP 99.47.71.131 from VM ctest-TestRoutersBasic-67720809-21550138 passed 2025-12-01 02:06:02,333 - INFO - Deleting interface with subnet_id c93d8319-5399-4e08-8542-c5527243fd61, port_id None from router 8b26ce3a-9373-4db0-a039-1b391f32540b 2025-12-01 02:06:02,538 - INFO - Deleting VM ctest-TestRoutersBasic-67720809-44747411 2025-12-01 02:06:02,616 - INFO - Deleting VM ctest-TestRoutersBasic-67720809-21550138 2025-12-01 02:06:02,718 - INFO - Deleting VN ctest-ext_vn-33380834 2025-12-01 02:06:02,789 - DEBUG - VN befe1b70-2542-43b7-8cf9-6eaa251eb415 still in use: Unable to complete operation on network befe1b70-2542-43b7-8cf9-6eaa251eb415. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bf79691d-b3e4-4384-9323-2e5d37551a1b'] 2025-12-01 02:06:02,790 - WARNING - Deleting VN ctest-ext_vn-33380834 failed..Will retry 2025-12-01 02:06:04,888 - DEBUG - Response for deleting network () 2025-12-01 02:06:04,888 - INFO - Deleting VN ctest-vn-72968577 2025-12-01 02:06:04,980 - DEBUG - Response for deleting network () 2025-12-01 02:06:05,237 - DEBUG - No XMPP flaps were noticed during the test
2025-12-01 02:06:05,238 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-12-01 02:06:05,238 - INFO - -------------------------------------------------------------------------------- 2025-12-01 02:06:05,897 - INFO - Deleted project: ctest-TestRoutersBasic-67720809, ID : 3f27f922-7480-4a30-a371-5e16326bb8c8