2025-06-26 02:11:44,795 - INFO - Domain Default found not creating 2025-06-26 02:11:44,971 - INFO - Project ctest-TestRoutersBasic-35383795 not found, creating it 2025-06-26 02:11:45,466 - INFO - Created Project:ctest-TestRoutersBasic-35383795, ID : 0cc7cba0-5bdc-4dc3-a6d5-41b9e3de87b7 2025-06-26 02:11:46,978 - INFO - ================================================================================ 2025-06-26 02:11:46,978 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-26 02:11:46,978 - 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-26 02:11:47,237 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0'}} with 2025-06-26 02:11:47,237 - INFO - Initial checks done. Running the testcase now 2025-06-26 02:11:47,237 - INFO - 2025-06-26 02:11:47,946 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-35383795 2025-06-26 02:11:48,051 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-35383795 2025-06-26 02:11:48,379 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-35383795', 'default']} 2025-06-26 02:11:48,706 - DEBUG - Response for create_network : {'network': {'id': '2dbecae3-766a-48af-8eaf-1cbfa3f24ee9', 'name': 'ctest-vn-58392085', 'tenant_id': '0cc7cba05bdc4dc3a6d541b9e3de87b7', 'project_id': '0cc7cba05bdc4dc3a6d541b9e3de87b7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-35383795', 'ctest-vn-58392085'], 'port_security_enabled': True, 'description': ''}} 2025-06-26 02:11:48,941 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c67ff9cb-3ee0-40d4-bbee-a46f905bd39b', 'name': '', 'tenant_id': '0cc7cba05bdc4dc3a6d541b9e3de87b7', 'network_id': '2dbecae3-766a-48af-8eaf-1cbfa3f24ee9', 'ip_version': 4, 'cidr': '158.245.253.64/26', 'allocation_pools': [{'start': '158.245.253.66', 'end': '158.245.253.126'}], 'gateway_ip': '158.245.253.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '158.245.253.66', 'tags': [], 'project_id': '0cc7cba05bdc4dc3a6d541b9e3de87b7'}} 2025-06-26 02:11:48,961 - INFO - Created VN ctest-vn-58392085 2025-06-26 02:11:49,015 - DEBUG - VN ctest-vn-58392085 UUID is 2dbecae3-766a-48af-8eaf-1cbfa3f24ee9 2025-06-26 02:11:49,336 - DEBUG - Response for create_network : {'network': {'id': 'acb2a0dc-2490-4f1f-af84-97a6e3af985e', 'name': 'ctest-ext_vn-22575427', 'tenant_id': '0cc7cba05bdc4dc3a6d541b9e3de87b7', 'project_id': '0cc7cba05bdc4dc3a6d541b9e3de87b7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-35383795', 'ctest-ext_vn-22575427'], 'port_security_enabled': True, 'description': ''}} 2025-06-26 02:11:49,512 - DEBUG - Response for create_subnet : {'subnet': {'id': '88a3bd8b-0c70-46a1-a63f-aa37f117c595', 'name': '', 'tenant_id': '0cc7cba05bdc4dc3a6d541b9e3de87b7', 'network_id': 'acb2a0dc-2490-4f1f-af84-97a6e3af985e', 'ip_version': 4, 'cidr': '103.208.237.128/26', 'allocation_pools': [{'start': '103.208.237.130', 'end': '103.208.237.190'}], 'gateway_ip': '103.208.237.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '103.208.237.130', 'tags': [], 'project_id': '0cc7cba05bdc4dc3a6d541b9e3de87b7'}} 2025-06-26 02:11:49,536 - INFO - Created VN ctest-ext_vn-22575427 2025-06-26 02:11:49,591 - DEBUG - VN ctest-ext_vn-22575427 UUID is acb2a0dc-2490-4f1f-af84-97a6e3af985e 2025-06-26 02:11:49,781 - DEBUG - Services list from nova: [, , ] 2025-06-26 02:11:50,836 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3554-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3554-1) 2025-06-26 02:11:52,201 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3554-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3554-1) 2025-06-26 02:11:52,283 - INFO - Setting gateway for router 897b1950-2553-4654-b7d3-58ac4092aa10 to network acb2a0dc-2490-4f1f-af84-97a6e3af985e 2025-06-26 02:11:52,378 - INFO - Adding interface with subnet_id c67ff9cb-3ee0-40d4-bbee-a46f905bd39b, port_id None to router 897b1950-2553-4654-b7d3-58ac4092aa10 2025-06-26 02:11:52,955 - INFO - Waiting for VM ctest-TestRoutersBasic-35383795-84879482 to be up.. 2025-06-26 02:11:53,236 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-26 02:11:58,324 - DEBUG - VM is in ACTIVE state now 2025-06-26 02:11:58,324 - INFO - VM name : ctest-TestRoutersBasic-35383795-84879482 2025-06-26 02:11:58,415 - DEBUG - VM ctest-TestRoutersBasic-35383795-84879482 ID is d0a4737a-b7cd-452c-afee-18ba712c922a 2025-06-26 02:11:58,436 - DEBUG - VM ctest-TestRoutersBasic-35383795-84879482 launched on Node cn-jenkins-deploy-platform-ansible-os-3554-1 2025-06-26 02:11:58,542 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d0a4737a-b7cd-452c-afee-18ba712c922a 2025-06-26 02:11:58,839 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d0a4737a-b7cd-452c-afee-18ba712c922a 2025-06-26 02:11:58,885 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/2b628fb6-d443-49e7-8ede-b75a584415cb 2025-06-26 02:12:02,165 - 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 1015ms') 2025-06-26 02:12:02,166 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-35383795-84879482 failed! 2025-06-26 02:12:02,223 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-35383795:ctest-vn-58392085 is 158.245.253.65 and allocation pool is NOT set 2025-06-26 02:12:04,294 - 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=5.51 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.22 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.222/3.868/5.514/1.646 ms') 2025-06-26 02:12:04,294 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-35383795-84879482 passed 2025-06-26 02:12:04,455 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-26 02:12:04,455 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-35383795-84879482, IP 158.245.253.67, Port 22 2025-06-26 02:12:04,620 - DEBUG - VM ctest-TestRoutersBasic-35383795-84879482 is ready for SSH connections 2025-06-26 02:12:04,620 - INFO - Waiting for VM ctest-TestRoutersBasic-35383795-37761127 to be up.. 2025-06-26 02:12:04,711 - DEBUG - VM is in ACTIVE state now 2025-06-26 02:12:04,712 - INFO - VM name : ctest-TestRoutersBasic-35383795-37761127 2025-06-26 02:12:04,794 - DEBUG - VM ctest-TestRoutersBasic-35383795-37761127 ID is 53f2a553-890d-4206-ab63-946b884f6f02 2025-06-26 02:12:04,794 - DEBUG - VM ctest-TestRoutersBasic-35383795-37761127 launched on Node cn-jenkins-deploy-platform-ansible-os-3554-1 2025-06-26 02:12:04,872 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/53f2a553-890d-4206-ab63-946b884f6f02 2025-06-26 02:12:04,883 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/e1f30a84-a12d-44b6-9263-a650cb6ed241 2025-06-26 02:12:06,139 - 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.71 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.571 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.571/2.139/3.707/1.568 ms') 2025-06-26 02:12:06,140 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-35383795-37761127 passed 2025-06-26 02:12:06,299 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-26 02:12:06,299 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-35383795-37761127, IP 103.208.237.131, Port 22 2025-06-26 02:12:06,465 - DEBUG - VM ctest-TestRoutersBasic-35383795-37761127 is ready for SSH connections 2025-06-26 02:12:06,466 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-26 02:12:06,466 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 103.208.237.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-06-26 02:12:06,466 - DEBUG - ping -s 56 -c 3 -W 1 103.208.237.131 2025-06-26 02:12:10,561 - DEBUG - PING 103.208.237.131 (103.208.237.131): 56 data bytes 64 bytes from 103.208.237.131: seq=0 ttl=62 time=6.198 ms 64 bytes from 103.208.237.131: seq=1 ttl=62 time=0.864 ms 64 bytes from 103.208.237.131: seq=2 ttl=62 time=0.866 ms --- 103.208.237.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.864/2.642/6.198 ms 2025-06-26 02:12:10,561 - INFO - Ping to IP 103.208.237.131 from VM ctest-TestRoutersBasic-35383795-84879482 passed 2025-06-26 02:12:10,561 - INFO - Deleting interface with subnet_id c67ff9cb-3ee0-40d4-bbee-a46f905bd39b, port_id None from router 897b1950-2553-4654-b7d3-58ac4092aa10 2025-06-26 02:12:10,828 - INFO - Deleting VM ctest-TestRoutersBasic-35383795-37761127 2025-06-26 02:12:10,920 - INFO - Deleting VM ctest-TestRoutersBasic-35383795-84879482 2025-06-26 02:12:11,031 - INFO - Deleting VN ctest-ext_vn-22575427 2025-06-26 02:12:11,141 - DEBUG - VN acb2a0dc-2490-4f1f-af84-97a6e3af985e still in use: Unable to complete operation on network acb2a0dc-2490-4f1f-af84-97a6e3af985e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e42d761b-5efa-466a-852a-bf7b4acec48e'] 2025-06-26 02:12:11,141 - WARNING - Deleting VN ctest-ext_vn-22575427 failed..Will retry 2025-06-26 02:12:13,276 - DEBUG - Response for deleting network () 2025-06-26 02:12:13,276 - INFO - Deleting VN ctest-vn-58392085 2025-06-26 02:12:13,406 - DEBUG - Response for deleting network () 2025-06-26 02:12:13,664 - DEBUG - No XMPP flaps were noticed during the test 2025-06-26 02:12:13,664 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27] 2025-06-26 02:12:13,664 - INFO - -------------------------------------------------------------------------------- 2025-06-26 02:12:14,377 - INFO - Deleted project: ctest-TestRoutersBasic-35383795, ID : 0cc7cba0-5bdc-4dc3-a6d5-41b9e3de87b7