2025-07-28 02:22:20,844 - INFO - Domain Default found not creating 2025-07-28 02:22:20,985 - INFO - Project ctest-TestRoutersBasic-61748383 not found, creating it 2025-07-28 02:22:21,448 - INFO - Created Project:ctest-TestRoutersBasic-61748383, ID : 8c11cc66-2fe8-452e-bdb1-bfdc0ac28538 2025-07-28 02:22:22,864 - INFO - ================================================================================ 2025-07-28 02:22:22,864 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-07-28 02:22:22,864 - 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-07-28 02:22:23,119 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.25': '0'}} with 2025-07-28 02:22:23,119 - INFO - Initial checks done. Running the testcase now 2025-07-28 02:22:23,119 - INFO - 2025-07-28 02:22:23,817 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-61748383 2025-07-28 02:22:23,911 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-61748383 2025-07-28 02:22:24,230 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-61748383', 'default']} 2025-07-28 02:22:24,521 - DEBUG - Response for create_network : {'network': {'id': 'c430b521-58b9-4850-a0cc-9d57c7051487', 'name': 'ctest-vn-80278690', 'tenant_id': '8c11cc662fe8452ebdb1bfdc0ac28538', 'project_id': '8c11cc662fe8452ebdb1bfdc0ac28538', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-61748383', 'ctest-vn-80278690'], 'port_security_enabled': True, 'description': ''}} 2025-07-28 02:22:24,711 - DEBUG - Response for create_subnet : {'subnet': {'id': '10ecc2fc-6d91-4140-a988-5f7b06a17c81', 'name': '', 'tenant_id': '8c11cc662fe8452ebdb1bfdc0ac28538', 'network_id': 'c430b521-58b9-4850-a0cc-9d57c7051487', 'ip_version': 4, 'cidr': '157.245.176.128/26', 'allocation_pools': [{'start': '157.245.176.130', 'end': '157.245.176.190'}], 'gateway_ip': '157.245.176.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '157.245.176.130', 'tags': [], 'project_id': '8c11cc662fe8452ebdb1bfdc0ac28538'}} 2025-07-28 02:22:24,729 - INFO - Created VN ctest-vn-80278690 2025-07-28 02:22:24,783 - DEBUG - VN ctest-vn-80278690 UUID is c430b521-58b9-4850-a0cc-9d57c7051487 2025-07-28 02:22:25,125 - DEBUG - Response for create_network : {'network': {'id': '90700b85-86d2-4458-8534-7a27b78cb20f', 'name': 'ctest-ext_vn-20078480', 'tenant_id': '8c11cc662fe8452ebdb1bfdc0ac28538', 'project_id': '8c11cc662fe8452ebdb1bfdc0ac28538', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-61748383', 'ctest-ext_vn-20078480'], 'port_security_enabled': True, 'description': ''}} 2025-07-28 02:22:25,307 - DEBUG - Response for create_subnet : {'subnet': {'id': '4cdd2077-7e78-4597-9076-69240dffa8ec', 'name': '', 'tenant_id': '8c11cc662fe8452ebdb1bfdc0ac28538', 'network_id': '90700b85-86d2-4458-8534-7a27b78cb20f', 'ip_version': 4, 'cidr': '209.196.45.128/26', 'allocation_pools': [{'start': '209.196.45.130', 'end': '209.196.45.190'}], 'gateway_ip': '209.196.45.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '209.196.45.130', 'tags': [], 'project_id': '8c11cc662fe8452ebdb1bfdc0ac28538'}} 2025-07-28 02:22:25,326 - INFO - Created VN ctest-ext_vn-20078480 2025-07-28 02:22:25,383 - DEBUG - VN ctest-ext_vn-20078480 UUID is 90700b85-86d2-4458-8534-7a27b78cb20f 2025-07-28 02:22:25,585 - DEBUG - Services list from nova: [, , ] 2025-07-28 02:22:26,593 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3720-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3720-1) 2025-07-28 02:22:27,700 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3720-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3720-1) 2025-07-28 02:22:27,783 - INFO - Setting gateway for router 90f2de56-eb9d-4481-b0af-d447e5c817e1 to network 90700b85-86d2-4458-8534-7a27b78cb20f 2025-07-28 02:22:27,863 - INFO - Adding interface with subnet_id 10ecc2fc-6d91-4140-a988-5f7b06a17c81, port_id None to router 90f2de56-eb9d-4481-b0af-d447e5c817e1 2025-07-28 02:22:28,506 - INFO - Waiting for VM ctest-TestRoutersBasic-61748383-24068519 to be up.. 2025-07-28 02:22:28,697 - DEBUG - VM is in ACTIVE state now 2025-07-28 02:22:28,697 - INFO - VM name : ctest-TestRoutersBasic-61748383-24068519 2025-07-28 02:22:28,821 - DEBUG - VM ctest-TestRoutersBasic-61748383-24068519 ID is 8481b7fa-df4a-4413-afac-f5a0cb16c1f9 2025-07-28 02:22:28,848 - DEBUG - VM ctest-TestRoutersBasic-61748383-24068519 launched on Node cn-jenkins-deploy-platform-ansible-os-3720-1 2025-07-28 02:22:28,939 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/8481b7fa-df4a-4413-afac-f5a0cb16c1f9 2025-07-28 02:22:29,282 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/8481b7fa-df4a-4413-afac-f5a0cb16c1f9 2025-07-28 02:22:29,319 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/a459d1fe-e994-4c5b-b184-26ebd465dede 2025-07-28 02:22:32,615 - 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 1027ms') 2025-07-28 02:22:32,615 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-61748383-24068519 failed! 2025-07-28 02:22:32,675 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-61748383:ctest-vn-80278690 is 157.245.176.129 and allocation pool is NOT set 2025-07-28 02:22:36,738 - 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 1004ms') 2025-07-28 02:22:36,738 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-61748383-24068519 failed! 2025-07-28 02:22:36,795 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-61748383:ctest-vn-80278690 is 157.245.176.129 and allocation pool is NOT set 2025-07-28 02:22:38,854 - 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.30 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.425 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.425/1.861/3.297/1.436 ms') 2025-07-28 02:22:38,854 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-61748383-24068519 passed 2025-07-28 02:22:39,003 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-28 02:22:39,003 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-61748383-24068519, IP 157.245.176.131, Port 22 2025-07-28 02:22:39,158 - DEBUG - VM ctest-TestRoutersBasic-61748383-24068519 is ready for SSH connections 2025-07-28 02:22:39,158 - INFO - Waiting for VM ctest-TestRoutersBasic-61748383-78320260 to be up.. 2025-07-28 02:22:39,231 - DEBUG - VM is in ACTIVE state now 2025-07-28 02:22:39,231 - INFO - VM name : ctest-TestRoutersBasic-61748383-78320260 2025-07-28 02:22:39,311 - DEBUG - VM ctest-TestRoutersBasic-61748383-78320260 ID is d121e5b0-c1db-442d-8799-c3ba73f1ac82 2025-07-28 02:22:39,311 - DEBUG - VM ctest-TestRoutersBasic-61748383-78320260 launched on Node cn-jenkins-deploy-platform-ansible-os-3720-1 2025-07-28 02:22:39,381 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/d121e5b0-c1db-442d-8799-c3ba73f1ac82 2025-07-28 02:22:39,391 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/b1d52e7d-1bae-4cfb-bb34-eef5abce29e2 2025-07-28 02:22:40,642 - 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.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.819 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.819/1.786/2.753/0.967 ms') 2025-07-28 02:22:40,642 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-61748383-78320260 passed 2025-07-28 02:22:40,795 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-28 02:22:40,795 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-61748383-78320260, IP 209.196.45.131, Port 22 2025-07-28 02:22:40,954 - DEBUG - VM ctest-TestRoutersBasic-61748383-78320260 is ready for SSH connections 2025-07-28 02:22:40,954 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-28 02:22:40,955 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 209.196.45.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-07-28 02:22:40,955 - DEBUG - ping -s 56 -c 3 -W 1 209.196.45.131 2025-07-28 02:22:44,626 - DEBUG - PING 209.196.45.131 (209.196.45.131): 56 data bytes 64 bytes from 209.196.45.131: seq=0 ttl=62 time=7.131 ms 64 bytes from 209.196.45.131: seq=1 ttl=62 time=1.014 ms 64 bytes from 209.196.45.131: seq=2 ttl=62 time=0.794 ms --- 209.196.45.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.794/2.979/7.131 ms 2025-07-28 02:22:44,626 - INFO - Ping to IP 209.196.45.131 from VM ctest-TestRoutersBasic-61748383-24068519 passed 2025-07-28 02:22:44,626 - INFO - Deleting interface with subnet_id 10ecc2fc-6d91-4140-a988-5f7b06a17c81, port_id None from router 90f2de56-eb9d-4481-b0af-d447e5c817e1 2025-07-28 02:22:44,814 - INFO - Deleting VM ctest-TestRoutersBasic-61748383-78320260 2025-07-28 02:22:44,881 - INFO - Deleting VM ctest-TestRoutersBasic-61748383-24068519 2025-07-28 02:22:44,956 - INFO - Deleting VN ctest-ext_vn-20078480 2025-07-28 02:22:45,024 - DEBUG - VN 90700b85-86d2-4458-8534-7a27b78cb20f still in use: Unable to complete operation on network 90700b85-86d2-4458-8534-7a27b78cb20f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b94be938-a3b7-482b-b867-f5fb349cbfca'] 2025-07-28 02:22:45,024 - WARNING - Deleting VN ctest-ext_vn-20078480 failed..Will retry 2025-07-28 02:22:47,137 - DEBUG - Response for deleting network () 2025-07-28 02:22:47,137 - INFO - Deleting VN ctest-vn-80278690 2025-07-28 02:22:47,242 - DEBUG - Response for deleting network () 2025-07-28 02:22:47,496 - DEBUG - No XMPP flaps were noticed during the test 2025-07-28 02:22:47,496 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-07-28 02:22:47,496 - INFO - -------------------------------------------------------------------------------- 2025-07-28 02:22:48,168 - INFO - Deleted project: ctest-TestRoutersBasic-61748383, ID : 8c11cc66-2fe8-452e-bdb1-bfdc0ac28538