2025-04-09 12:30:15,122 - INFO - Domain Default found not creating 2025-04-09 12:30:15,278 - INFO - Project ctest-TestRoutersBasic-74726683 not found, creating it 2025-04-09 12:30:15,775 - INFO - Created Project:ctest-TestRoutersBasic-74726683, ID : 40f3bef5-fe14-45fe-b134-06ac899047e8 2025-04-09 12:30:17,255 - INFO - ================================================================================ 2025-04-09 12:30:17,256 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-04-09 12:30:17,256 - 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-04-09 12:30:17,521 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-04-09 12:30:17,521 - INFO - Initial checks done. Running the testcase now 2025-04-09 12:30:17,521 - INFO - 2025-04-09 12:30:18,250 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-74726683 2025-04-09 12:30:18,354 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-74726683 2025-04-09 12:30:18,681 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-74726683', 'default']} 2025-04-09 12:30:19,000 - DEBUG - Response for create_network : {'network': {'id': '56a45e5a-4646-4b85-8e3c-b325febd4052', 'name': 'ctest-vn-40356624', 'tenant_id': '40f3bef5fe1445feb13406ac899047e8', 'project_id': '40f3bef5fe1445feb13406ac899047e8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-74726683', 'ctest-vn-40356624'], 'port_security_enabled': True, 'description': ''}} 2025-04-09 12:30:19,196 - DEBUG - Response for create_subnet : {'subnet': {'id': '9b8e281d-cc7f-41d3-9773-a6fef0b38df1', 'name': '', 'tenant_id': '40f3bef5fe1445feb13406ac899047e8', 'network_id': '56a45e5a-4646-4b85-8e3c-b325febd4052', 'ip_version': 4, 'cidr': '146.123.118.64/26', 'allocation_pools': [{'start': '146.123.118.66', 'end': '146.123.118.126'}], 'gateway_ip': '146.123.118.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.123.118.66', 'tags': [], 'project_id': '40f3bef5fe1445feb13406ac899047e8'}} 2025-04-09 12:30:19,216 - INFO - Created VN ctest-vn-40356624 2025-04-09 12:30:19,270 - DEBUG - VN ctest-vn-40356624 UUID is 56a45e5a-4646-4b85-8e3c-b325febd4052 2025-04-09 12:30:19,622 - DEBUG - Response for create_network : {'network': {'id': 'd5f44eba-6d98-4513-9d72-ea0a964a2300', 'name': 'ctest-ext_vn-09742940', 'tenant_id': '40f3bef5fe1445feb13406ac899047e8', 'project_id': '40f3bef5fe1445feb13406ac899047e8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-74726683', 'ctest-ext_vn-09742940'], 'port_security_enabled': True, 'description': ''}} 2025-04-09 12:30:19,871 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a150d002-69eb-4d0e-bee4-35277737abb9', 'name': '', 'tenant_id': '40f3bef5fe1445feb13406ac899047e8', 'network_id': 'd5f44eba-6d98-4513-9d72-ea0a964a2300', 'ip_version': 4, 'cidr': '77.228.70.64/26', 'allocation_pools': [{'start': '77.228.70.66', 'end': '77.228.70.126'}], 'gateway_ip': '77.228.70.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '77.228.70.66', 'tags': [], 'project_id': '40f3bef5fe1445feb13406ac899047e8'}} 2025-04-09 12:30:19,889 - INFO - Created VN ctest-ext_vn-09742940 2025-04-09 12:30:19,942 - DEBUG - VN ctest-ext_vn-09742940 UUID is d5f44eba-6d98-4513-9d72-ea0a964a2300 2025-04-09 12:30:20,112 - DEBUG - Services list from nova: [, , ] 2025-04-09 12:30:21,143 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3064-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3064-1) 2025-04-09 12:30:22,277 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3064-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3064-1) 2025-04-09 12:30:22,355 - INFO - Setting gateway for router 4597782a-784e-4b50-8d5c-90093b31351c to network d5f44eba-6d98-4513-9d72-ea0a964a2300 2025-04-09 12:30:22,430 - INFO - Adding interface with subnet_id 9b8e281d-cc7f-41d3-9773-a6fef0b38df1, port_id None to router 4597782a-784e-4b50-8d5c-90093b31351c 2025-04-09 12:30:22,766 - INFO - Waiting for VM ctest-TestRoutersBasic-74726683-61285979 to be up.. 2025-04-09 12:30:22,944 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-09 12:30:28,022 - DEBUG - VM is in ACTIVE state now 2025-04-09 12:30:28,022 - INFO - VM name : ctest-TestRoutersBasic-74726683-61285979 2025-04-09 12:30:28,107 - DEBUG - VM ctest-TestRoutersBasic-74726683-61285979 ID is c2851582-0c98-4a17-82e2-67697baf03c4 2025-04-09 12:30:28,127 - DEBUG - VM ctest-TestRoutersBasic-74726683-61285979 launched on Node cn-jenkins-deploy-platform-ansible-os-3064-1 2025-04-09 12:30:28,216 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/c2851582-0c98-4a17-82e2-67697baf03c4 2025-04-09 12:30:28,517 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/c2851582-0c98-4a17-82e2-67697baf03c4 2025-04-09 12:30:28,558 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/de02a6ad-6df6-425e-a64b-ea815daf44b7 2025-04-09 12:30:31,814 - 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 1007ms') 2025-04-09 12:30:31,814 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-74726683-61285979 failed! 2025-04-09 12:30:31,870 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-74726683:ctest-vn-40356624 is 146.123.118.65 and allocation pool is NOT set 2025-04-09 12:30:33,926 - 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.10 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.394 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.394/1.748/3.102/1.354 ms') 2025-04-09 12:30:33,926 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-74726683-61285979 passed 2025-04-09 12:30:34,042 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-09 12:30:34,042 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-74726683-61285979, IP 146.123.118.67, Port 22 2025-04-09 12:30:34,205 - DEBUG - VM ctest-TestRoutersBasic-74726683-61285979 is ready for SSH connections 2025-04-09 12:30:34,205 - INFO - Waiting for VM ctest-TestRoutersBasic-74726683-21435668 to be up.. 2025-04-09 12:30:34,284 - DEBUG - VM is in ACTIVE state now 2025-04-09 12:30:34,284 - INFO - VM name : ctest-TestRoutersBasic-74726683-21435668 2025-04-09 12:30:34,361 - DEBUG - VM ctest-TestRoutersBasic-74726683-21435668 ID is d3b189fe-f932-4c8f-ae81-78447571447f 2025-04-09 12:30:34,361 - DEBUG - VM ctest-TestRoutersBasic-74726683-21435668 launched on Node cn-jenkins-deploy-platform-ansible-os-3064-1 2025-04-09 12:30:34,442 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d3b189fe-f932-4c8f-ae81-78447571447f 2025-04-09 12:30:34,453 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/20a2b908-5969-44a2-ac1e-2a5923ea77cd 2025-04-09 12:30:35,701 - 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.24 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.493 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.493/1.866/3.240/1.373 ms') 2025-04-09 12:30:35,701 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-74726683-21435668 passed 2025-04-09 12:30:35,850 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-09 12:30:35,850 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-74726683-21435668, IP 77.228.70.67, Port 22 2025-04-09 12:30:36,005 - DEBUG - VM ctest-TestRoutersBasic-74726683-21435668 is ready for SSH connections 2025-04-09 12:30:36,005 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-09 12:30:36,005 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 77.228.70.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-04-09 12:30:36,005 - DEBUG - ping -s 56 -c 3 -W 1 77.228.70.67 2025-04-09 12:30:39,711 - DEBUG - PING 77.228.70.67 (77.228.70.67): 56 data bytes 64 bytes from 77.228.70.67: seq=0 ttl=62 time=6.684 ms 64 bytes from 77.228.70.67: seq=1 ttl=62 time=0.847 ms 64 bytes from 77.228.70.67: seq=2 ttl=62 time=1.156 ms --- 77.228.70.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.847/2.895/6.684 ms 2025-04-09 12:30:39,711 - INFO - Ping to IP 77.228.70.67 from VM ctest-TestRoutersBasic-74726683-61285979 passed 2025-04-09 12:30:39,711 - INFO - Deleting interface with subnet_id 9b8e281d-cc7f-41d3-9773-a6fef0b38df1, port_id None from router 4597782a-784e-4b50-8d5c-90093b31351c 2025-04-09 12:30:39,948 - INFO - Deleting VM ctest-TestRoutersBasic-74726683-21435668 2025-04-09 12:30:40,032 - INFO - Deleting VM ctest-TestRoutersBasic-74726683-61285979 2025-04-09 12:30:40,152 - INFO - Deleting VN ctest-ext_vn-09742940 2025-04-09 12:30:40,241 - DEBUG - VN d5f44eba-6d98-4513-9d72-ea0a964a2300 still in use: Unable to complete operation on network d5f44eba-6d98-4513-9d72-ea0a964a2300. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-63b951c3-6a25-4b62-9658-c4cda861b275'] 2025-04-09 12:30:40,241 - WARNING - Deleting VN ctest-ext_vn-09742940 failed..Will retry 2025-04-09 12:30:42,355 - DEBUG - Response for deleting network () 2025-04-09 12:30:42,355 - INFO - Deleting VN ctest-vn-40356624 2025-04-09 12:30:42,485 - DEBUG - Response for deleting network () 2025-04-09 12:30:42,748 - DEBUG - No XMPP flaps were noticed during the test 2025-04-09 12:30:42,748 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-04-09 12:30:42,748 - INFO - -------------------------------------------------------------------------------- 2025-04-09 12:30:43,449 - INFO - Deleted project: ctest-TestRoutersBasic-74726683, ID : 40f3bef5-fe14-45fe-b134-06ac899047e8