2025-06-24 10:09:19,750 - INFO - Domain Default found not creating 2025-06-24 10:09:19,885 - INFO - Project ctest-TestRoutersBasic-44322287 not found, creating it 2025-06-24 10:09:20,356 - INFO - Created Project:ctest-TestRoutersBasic-44322287, ID : 1b40d35c-9672-417a-af62-b51ff32069d8 2025-06-24 10:09:21,740 - INFO - ================================================================================ 2025-06-24 10:09:21,740 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-24 10:09:21,740 - 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-24 10:09:21,997 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-06-24 10:09:21,997 - INFO - Initial checks done. Running the testcase now 2025-06-24 10:09:21,997 - INFO - 2025-06-24 10:09:22,681 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-44322287 2025-06-24 10:09:22,780 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-44322287 2025-06-24 10:09:23,104 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-44322287', 'default']} 2025-06-24 10:09:23,403 - DEBUG - Response for create_network : {'network': {'id': 'e4ba8ba0-15a4-4867-bae9-8470da112680', 'name': 'ctest-vn-54881309', 'tenant_id': '1b40d35c9672417aaf62b51ff32069d8', 'project_id': '1b40d35c9672417aaf62b51ff32069d8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-44322287', 'ctest-vn-54881309'], 'port_security_enabled': True, 'description': ''}} 2025-06-24 10:09:23,541 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ab2bd1d4-9863-448b-8754-c932a312876b', 'name': '', 'tenant_id': '1b40d35c9672417aaf62b51ff32069d8', 'network_id': 'e4ba8ba0-15a4-4867-bae9-8470da112680', 'ip_version': 4, 'cidr': '82.235.147.0/26', 'allocation_pools': [{'start': '82.235.147.2', 'end': '82.235.147.62'}], 'gateway_ip': '82.235.147.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '82.235.147.2', 'tags': [], 'project_id': '1b40d35c9672417aaf62b51ff32069d8'}} 2025-06-24 10:09:23,558 - INFO - Created VN ctest-vn-54881309 2025-06-24 10:09:23,612 - DEBUG - VN ctest-vn-54881309 UUID is e4ba8ba0-15a4-4867-bae9-8470da112680 2025-06-24 10:09:23,920 - DEBUG - Response for create_network : {'network': {'id': 'f40a9bc9-40ce-401b-9733-1ea21252bcb9', 'name': 'ctest-ext_vn-80204950', 'tenant_id': '1b40d35c9672417aaf62b51ff32069d8', 'project_id': '1b40d35c9672417aaf62b51ff32069d8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-44322287', 'ctest-ext_vn-80204950'], 'port_security_enabled': True, 'description': ''}} 2025-06-24 10:09:24,116 - DEBUG - Response for create_subnet : {'subnet': {'id': '5909be5b-6ead-413a-8404-8c50c46454b4', 'name': '', 'tenant_id': '1b40d35c9672417aaf62b51ff32069d8', 'network_id': 'f40a9bc9-40ce-401b-9733-1ea21252bcb9', 'ip_version': 4, 'cidr': '197.202.42.0/26', 'allocation_pools': [{'start': '197.202.42.2', 'end': '197.202.42.62'}], 'gateway_ip': '197.202.42.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '197.202.42.2', 'tags': [], 'project_id': '1b40d35c9672417aaf62b51ff32069d8'}} 2025-06-24 10:09:24,134 - INFO - Created VN ctest-ext_vn-80204950 2025-06-24 10:09:24,184 - DEBUG - VN ctest-ext_vn-80204950 UUID is f40a9bc9-40ce-401b-9733-1ea21252bcb9 2025-06-24 10:09:24,380 - DEBUG - Services list from nova: [, , ] 2025-06-24 10:09:25,357 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3529-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3529-1) 2025-06-24 10:09:26,423 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3529-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3529-1) 2025-06-24 10:09:26,497 - INFO - Setting gateway for router 1ae29188-ce87-499b-950b-c83978394310 to network f40a9bc9-40ce-401b-9733-1ea21252bcb9 2025-06-24 10:09:26,566 - INFO - Adding interface with subnet_id ab2bd1d4-9863-448b-8754-c932a312876b, port_id None to router 1ae29188-ce87-499b-950b-c83978394310 2025-06-24 10:09:26,970 - INFO - Waiting for VM ctest-TestRoutersBasic-44322287-48438623 to be up.. 2025-06-24 10:09:27,138 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-24 10:09:32,218 - DEBUG - VM is in ACTIVE state now 2025-06-24 10:09:32,218 - INFO - VM name : ctest-TestRoutersBasic-44322287-48438623 2025-06-24 10:09:32,293 - DEBUG - VM ctest-TestRoutersBasic-44322287-48438623 ID is e44c4baa-e089-4a98-9255-b37e71ecc89e 2025-06-24 10:09:32,312 - DEBUG - VM ctest-TestRoutersBasic-44322287-48438623 launched on Node cn-jenkins-deploy-platform-ansible-os-3529-1 2025-06-24 10:09:32,393 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e44c4baa-e089-4a98-9255-b37e71ecc89e 2025-06-24 10:09:32,689 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e44c4baa-e089-4a98-9255-b37e71ecc89e 2025-06-24 10:09:32,720 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9df54b25-cc76-45df-b5a9-f9bcd5328d3b 2025-06-24 10:09:35,998 - 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 1019ms') 2025-06-24 10:09:35,999 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-44322287-48438623 failed! 2025-06-24 10:09:36,056 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-44322287:ctest-vn-54881309 is 82.235.147.1 and allocation pool is NOT set 2025-06-24 10:09:38,120 - 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.99 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.404 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.404/3.194/5.985/2.790 ms') 2025-06-24 10:09:38,120 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-44322287-48438623 passed 2025-06-24 10:09:38,296 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-24 10:09:38,296 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-44322287-48438623, IP 82.235.147.3, Port 22 2025-06-24 10:09:38,455 - DEBUG - VM ctest-TestRoutersBasic-44322287-48438623 is ready for SSH connections 2025-06-24 10:09:38,455 - INFO - Waiting for VM ctest-TestRoutersBasic-44322287-53739776 to be up.. 2025-06-24 10:09:38,529 - DEBUG - VM is in ACTIVE state now 2025-06-24 10:09:38,529 - INFO - VM name : ctest-TestRoutersBasic-44322287-53739776 2025-06-24 10:09:38,598 - DEBUG - VM ctest-TestRoutersBasic-44322287-53739776 ID is c19bf192-8a4a-4c76-a208-bbf7e5c5b0bb 2025-06-24 10:09:38,599 - DEBUG - VM ctest-TestRoutersBasic-44322287-53739776 launched on Node cn-jenkins-deploy-platform-ansible-os-3529-1 2025-06-24 10:09:38,668 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c19bf192-8a4a-4c76-a208-bbf7e5c5b0bb 2025-06-24 10:09:38,677 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9001b35b-c29d-40a5-ae89-9bc65182e8be 2025-06-24 10:09:39,910 - 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.72 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.278 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.278/1.497/2.716/1.219 ms') 2025-06-24 10:09:39,910 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-44322287-53739776 passed 2025-06-24 10:09:40,064 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-24 10:09:40,064 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-44322287-53739776, IP 197.202.42.3, Port 22 2025-06-24 10:09:40,219 - DEBUG - VM ctest-TestRoutersBasic-44322287-53739776 is ready for SSH connections 2025-06-24 10:09:40,220 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-24 10:09:40,220 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 197.202.42.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-06-24 10:09:40,220 - DEBUG - ping -s 56 -c 3 -W 1 197.202.42.3 2025-06-24 10:09:43,861 - DEBUG - PING 197.202.42.3 (197.202.42.3): 56 data bytes 64 bytes from 197.202.42.3: seq=0 ttl=62 time=4.406 ms 64 bytes from 197.202.42.3: seq=1 ttl=62 time=0.865 ms 64 bytes from 197.202.42.3: seq=2 ttl=62 time=0.741 ms --- 197.202.42.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.741/2.004/4.406 ms 2025-06-24 10:09:43,861 - INFO - Ping to IP 197.202.42.3 from VM ctest-TestRoutersBasic-44322287-48438623 passed 2025-06-24 10:09:43,861 - INFO - Deleting interface with subnet_id ab2bd1d4-9863-448b-8754-c932a312876b, port_id None from router 1ae29188-ce87-499b-950b-c83978394310 2025-06-24 10:09:44,098 - INFO - Deleting VM ctest-TestRoutersBasic-44322287-53739776 2025-06-24 10:09:44,160 - INFO - Deleting VM ctest-TestRoutersBasic-44322287-48438623 2025-06-24 10:09:44,245 - INFO - Deleting VN ctest-ext_vn-80204950 2025-06-24 10:09:44,321 - DEBUG - VN f40a9bc9-40ce-401b-9733-1ea21252bcb9 still in use: Unable to complete operation on network f40a9bc9-40ce-401b-9733-1ea21252bcb9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2b83499e-ae32-4cd5-a4fa-591fdb3e4f78'] 2025-06-24 10:09:44,322 - WARNING - Deleting VN ctest-ext_vn-80204950 failed..Will retry 2025-06-24 10:09:46,442 - DEBUG - Response for deleting network () 2025-06-24 10:09:46,442 - INFO - Deleting VN ctest-vn-54881309 2025-06-24 10:09:46,546 - DEBUG - Response for deleting network () 2025-06-24 10:09:46,801 - DEBUG - No XMPP flaps were noticed during the test 2025-06-24 10:09:46,801 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-06-24 10:09:46,801 - INFO - -------------------------------------------------------------------------------- 2025-06-24 10:09:47,465 - INFO - Deleted project: ctest-TestRoutersBasic-44322287, ID : 1b40d35c-9672-417a-af62-b51ff32069d8