2025-11-05 09:25:36,996 - INFO - Domain Default found not creating 2025-11-05 09:25:37,151 - INFO - Project ctest-TestRoutersBasic-59954318 not found, creating it 2025-11-05 09:25:37,600 - INFO - Created Project:ctest-TestRoutersBasic-59954318, ID : 2a053a9a-6896-4a43-93bb-206608cbd5a5 2025-11-05 09:25:39,311 - INFO - ================================================================================ 2025-11-05 09:25:39,311 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-05 09:25:39,311 - 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-11-05 09:25:39,567 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-11-05 09:25:39,567 - INFO - Initial checks done. Running the testcase now 2025-11-05 09:25:39,567 - INFO - 2025-11-05 09:25:40,244 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-59954318 2025-11-05 09:25:40,341 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-59954318 2025-11-05 09:25:40,652 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-59954318', 'default']} 2025-11-05 09:25:40,924 - DEBUG - Response for create_network : {'network': {'id': '1a35d65d-d763-4758-9b3f-ec29c11fa9b4', 'name': 'ctest-vn-84966976', 'tenant_id': '2a053a9a68964a4393bb206608cbd5a5', 'project_id': '2a053a9a68964a4393bb206608cbd5a5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-59954318', 'ctest-vn-84966976'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 09:25:41,108 - DEBUG - Response for create_subnet : {'subnet': {'id': '068b111f-a4c0-4c63-b3d6-de5b5ff87c5b', 'name': '', 'tenant_id': '2a053a9a68964a4393bb206608cbd5a5', 'network_id': '1a35d65d-d763-4758-9b3f-ec29c11fa9b4', 'ip_version': 4, 'cidr': '41.247.80.0/26', 'allocation_pools': [{'start': '41.247.80.2', 'end': '41.247.80.62'}], 'gateway_ip': '41.247.80.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '41.247.80.2', 'tags': [], 'project_id': '2a053a9a68964a4393bb206608cbd5a5'}} 2025-11-05 09:25:41,124 - INFO - Created VN ctest-vn-84966976 2025-11-05 09:25:41,180 - DEBUG - VN ctest-vn-84966976 UUID is 1a35d65d-d763-4758-9b3f-ec29c11fa9b4 2025-11-05 09:25:41,530 - DEBUG - Response for create_network : {'network': {'id': 'b10b1b17-b3bf-443b-8413-594905eb934c', 'name': 'ctest-ext_vn-64193347', 'tenant_id': '2a053a9a68964a4393bb206608cbd5a5', 'project_id': '2a053a9a68964a4393bb206608cbd5a5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-59954318', 'ctest-ext_vn-64193347'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 09:25:41,703 - DEBUG - Response for create_subnet : {'subnet': {'id': '16379e57-38b0-4e2e-9081-9d8a4cd7665d', 'name': '', 'tenant_id': '2a053a9a68964a4393bb206608cbd5a5', 'network_id': 'b10b1b17-b3bf-443b-8413-594905eb934c', 'ip_version': 4, 'cidr': '14.73.130.64/26', 'allocation_pools': [{'start': '14.73.130.66', 'end': '14.73.130.126'}], 'gateway_ip': '14.73.130.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '14.73.130.66', 'tags': [], 'project_id': '2a053a9a68964a4393bb206608cbd5a5'}} 2025-11-05 09:25:41,720 - INFO - Created VN ctest-ext_vn-64193347 2025-11-05 09:25:41,772 - DEBUG - VN ctest-ext_vn-64193347 UUID is b10b1b17-b3bf-443b-8413-594905eb934c 2025-11-05 09:25:41,965 - DEBUG - Services list from nova: [, , ] 2025-11-05 09:25:42,942 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4636-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4636-1) 2025-11-05 09:25:44,025 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4636-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4636-1) 2025-11-05 09:25:44,081 - INFO - Setting gateway for router f82a33f4-4129-4f35-9daa-795fa6c19c88 to network b10b1b17-b3bf-443b-8413-594905eb934c 2025-11-05 09:25:44,129 - INFO - Adding interface with subnet_id 068b111f-a4c0-4c63-b3d6-de5b5ff87c5b, port_id None to router f82a33f4-4129-4f35-9daa-795fa6c19c88 2025-11-05 09:25:44,464 - INFO - Waiting for VM ctest-TestRoutersBasic-59954318-49353482 to be up.. 2025-11-05 09:25:44,598 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-05 09:25:49,668 - DEBUG - VM is in ACTIVE state now 2025-11-05 09:25:49,668 - INFO - VM name : ctest-TestRoutersBasic-59954318-49353482 2025-11-05 09:25:49,744 - DEBUG - VM ctest-TestRoutersBasic-59954318-49353482 ID is 381abf54-9f45-40a8-8ae7-01591a55163b 2025-11-05 09:25:49,764 - DEBUG - VM ctest-TestRoutersBasic-59954318-49353482 launched on Node cn-jenkins-deploy-platform-ansible-os-4636-1 2025-11-05 09:25:49,855 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/381abf54-9f45-40a8-8ae7-01591a55163b 2025-11-05 09:25:50,151 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/381abf54-9f45-40a8-8ae7-01591a55163b 2025-11-05 09:25:50,184 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/a046a370-5fca-484b-b9d7-4740a78c51b5 2025-11-05 09:25:53,458 - 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 1026ms') 2025-11-05 09:25:53,458 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-59954318-49353482 failed! 2025-11-05 09:25:53,513 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-59954318:ctest-vn-84966976 is 41.247.80.1 and allocation pool is NOT set 2025-11-05 09:25:55,581 - 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.23 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.419 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.419/1.826/3.233/1.407 ms') 2025-11-05 09:25:55,581 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-59954318-49353482 passed 2025-11-05 09:25:55,729 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 09:25:55,729 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-59954318-49353482, IP 41.247.80.3, Port 22 2025-11-05 09:25:55,884 - DEBUG - VM ctest-TestRoutersBasic-59954318-49353482 is ready for SSH connections 2025-11-05 09:25:55,884 - INFO - Waiting for VM ctest-TestRoutersBasic-59954318-06685362 to be up.. 2025-11-05 09:25:55,955 - DEBUG - VM is in ACTIVE state now 2025-11-05 09:25:55,955 - INFO - VM name : ctest-TestRoutersBasic-59954318-06685362 2025-11-05 09:25:56,027 - DEBUG - VM ctest-TestRoutersBasic-59954318-06685362 ID is 5499f45f-0878-44cf-b1cf-e61a6ffe6ec8 2025-11-05 09:25:56,027 - DEBUG - VM ctest-TestRoutersBasic-59954318-06685362 launched on Node cn-jenkins-deploy-platform-ansible-os-4636-1 2025-11-05 09:25:56,094 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/5499f45f-0878-44cf-b1cf-e61a6ffe6ec8 2025-11-05 09:25:56,101 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/ac10de93-d904-456e-bff0-c7d5d286779d 2025-11-05 09:25:57,337 - 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.00 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.474 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.474/1.738/3.003/1.264 ms') 2025-11-05 09:25:57,337 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-59954318-06685362 passed 2025-11-05 09:25:57,485 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 09:25:57,485 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-59954318-06685362, IP 14.73.130.67, Port 22 2025-11-05 09:25:57,640 - DEBUG - VM ctest-TestRoutersBasic-59954318-06685362 is ready for SSH connections 2025-11-05 09:25:57,640 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 09:25:57,640 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 14.73.130.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-05 09:25:57,641 - DEBUG - ping -s 56 -c 3 -W 1 14.73.130.67 2025-11-05 09:26:01,618 - DEBUG - PING 14.73.130.67 (14.73.130.67): 56 data bytes 64 bytes from 14.73.130.67: seq=0 ttl=62 time=6.328 ms 64 bytes from 14.73.130.67: seq=1 ttl=62 time=0.835 ms 64 bytes from 14.73.130.67: seq=2 ttl=62 time=0.850 ms --- 14.73.130.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.835/2.671/6.328 ms 2025-11-05 09:26:01,618 - INFO - Ping to IP 14.73.130.67 from VM ctest-TestRoutersBasic-59954318-49353482 passed 2025-11-05 09:26:01,618 - INFO - Deleting interface with subnet_id 068b111f-a4c0-4c63-b3d6-de5b5ff87c5b, port_id None from router f82a33f4-4129-4f35-9daa-795fa6c19c88 2025-11-05 09:26:01,784 - INFO - Deleting VM ctest-TestRoutersBasic-59954318-06685362 2025-11-05 09:26:01,848 - INFO - Deleting VM ctest-TestRoutersBasic-59954318-49353482 2025-11-05 09:26:01,928 - INFO - Deleting VN ctest-ext_vn-64193347 2025-11-05 09:26:01,983 - DEBUG - VN b10b1b17-b3bf-443b-8413-594905eb934c still in use: Unable to complete operation on network b10b1b17-b3bf-443b-8413-594905eb934c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-abc92617-9788-44e8-a7ae-3f660d80299a'] 2025-11-05 09:26:01,983 - WARNING - Deleting VN ctest-ext_vn-64193347 failed..Will retry 2025-11-05 09:26:04,069 - DEBUG - Response for deleting network () 2025-11-05 09:26:04,069 - INFO - Deleting VN ctest-vn-84966976 2025-11-05 09:26:04,163 - DEBUG - Response for deleting network () 2025-11-05 09:26:04,421 - DEBUG - No XMPP flaps were noticed during the test 2025-11-05 09:26:04,421 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-11-05 09:26:04,421 - INFO - -------------------------------------------------------------------------------- 2025-11-05 09:26:05,078 - INFO - Deleted project: ctest-TestRoutersBasic-59954318, ID : 2a053a9a-6896-4a43-93bb-206608cbd5a5