2025-07-21 12:30:59,455 - INFO - Domain Default found not creating 2025-07-21 12:30:59,879 - INFO - Project ctest-TestRoutersBasic-71918960 not found, creating it 2025-07-21 12:31:00,627 - INFO - Created Project:ctest-TestRoutersBasic-71918960, ID : f4ddf81e-34f7-402c-b103-ebaa47c2a2fb 2025-07-21 12:31:02,576 - INFO - ================================================================================ 2025-07-21 12:31:02,576 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-07-21 12:31:02,577 - 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-21 12:31:02,894 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2025-07-21 12:31:02,894 - INFO - Initial checks done. Running the testcase now 2025-07-21 12:31:02,894 - INFO - 2025-07-21 12:31:03,963 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-71918960 2025-07-21 12:31:04,071 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-71918960 2025-07-21 12:31:04,466 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-71918960', 'default']} 2025-07-21 12:31:04,875 - DEBUG - Response for create_network : {'network': {'id': '3403a68f-047f-43bf-b8e5-ec127ea548e9', 'name': 'ctest-vn-35721929', 'tenant_id': 'f4ddf81e34f7402cb103ebaa47c2a2fb', 'project_id': 'f4ddf81e34f7402cb103ebaa47c2a2fb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-71918960', 'ctest-vn-35721929'], 'port_security_enabled': True, 'description': ''}} 2025-07-21 12:31:05,064 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f6308911-a417-4f56-a0a2-c57e4ba1b446', 'name': '', 'tenant_id': 'f4ddf81e34f7402cb103ebaa47c2a2fb', 'network_id': '3403a68f-047f-43bf-b8e5-ec127ea548e9', 'ip_version': 4, 'cidr': '28.207.160.64/26', 'allocation_pools': [{'start': '28.207.160.66', 'end': '28.207.160.126'}], 'gateway_ip': '28.207.160.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '28.207.160.66', 'tags': [], 'project_id': 'f4ddf81e34f7402cb103ebaa47c2a2fb'}} 2025-07-21 12:31:05,084 - INFO - Created VN ctest-vn-35721929 2025-07-21 12:31:05,139 - DEBUG - VN ctest-vn-35721929 UUID is 3403a68f-047f-43bf-b8e5-ec127ea548e9 2025-07-21 12:31:05,674 - DEBUG - Response for create_network : {'network': {'id': 'b8468e40-0ca5-4c77-852e-ee0ac13e47a0', 'name': 'ctest-ext_vn-67326208', 'tenant_id': 'f4ddf81e34f7402cb103ebaa47c2a2fb', 'project_id': 'f4ddf81e34f7402cb103ebaa47c2a2fb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-71918960', 'ctest-ext_vn-67326208'], 'port_security_enabled': True, 'description': ''}} 2025-07-21 12:31:05,863 - DEBUG - Response for create_subnet : {'subnet': {'id': '3988fd51-f769-4a54-b920-63339da1019e', 'name': '', 'tenant_id': 'f4ddf81e34f7402cb103ebaa47c2a2fb', 'network_id': 'b8468e40-0ca5-4c77-852e-ee0ac13e47a0', 'ip_version': 4, 'cidr': '63.189.20.128/26', 'allocation_pools': [{'start': '63.189.20.130', 'end': '63.189.20.190'}], 'gateway_ip': '63.189.20.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '63.189.20.130', 'tags': [], 'project_id': 'f4ddf81e34f7402cb103ebaa47c2a2fb'}} 2025-07-21 12:31:05,881 - INFO - Created VN ctest-ext_vn-67326208 2025-07-21 12:31:05,935 - DEBUG - VN ctest-ext_vn-67326208 UUID is b8468e40-0ca5-4c77-852e-ee0ac13e47a0 2025-07-21 12:31:06,271 - DEBUG - Services list from nova: [, , ] 2025-07-21 12:31:07,786 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3679-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3679-1) 2025-07-21 12:31:09,340 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3679-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3679-1) 2025-07-21 12:31:09,426 - INFO - Setting gateway for router fd748b89-0063-4291-9b62-637223696a1c to network b8468e40-0ca5-4c77-852e-ee0ac13e47a0 2025-07-21 12:31:09,488 - INFO - Adding interface with subnet_id f6308911-a417-4f56-a0a2-c57e4ba1b446, port_id None to router fd748b89-0063-4291-9b62-637223696a1c 2025-07-21 12:31:09,880 - INFO - Waiting for VM ctest-TestRoutersBasic-71918960-78543038 to be up.. 2025-07-21 12:31:10,029 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-21 12:31:15,130 - DEBUG - VM is in ACTIVE state now 2025-07-21 12:31:15,130 - INFO - VM name : ctest-TestRoutersBasic-71918960-78543038 2025-07-21 12:31:15,254 - DEBUG - VM ctest-TestRoutersBasic-71918960-78543038 ID is b4dd9de0-a574-49d4-a71f-dea13e1822f5 2025-07-21 12:31:15,280 - DEBUG - VM ctest-TestRoutersBasic-71918960-78543038 launched on Node cn-jenkins-deploy-platform-ansible-os-3679-1 2025-07-21 12:31:15,407 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b4dd9de0-a574-49d4-a71f-dea13e1822f5 2025-07-21 12:31:15,742 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b4dd9de0-a574-49d4-a71f-dea13e1822f5 2025-07-21 12:31:15,792 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/a6c40d22-b42e-471d-b289-2d029454aeca 2025-07-21 12:31:19,103 - 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 1018ms') 2025-07-21 12:31:19,103 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-71918960-78543038 failed! 2025-07-21 12:31:19,166 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-71918960:ctest-vn-35721929 is 28.207.160.65 and allocation pool is NOT set 2025-07-21 12:31:21,247 - 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.20 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.34 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 = 1.335/3.269/5.203/1.934 ms') 2025-07-21 12:31:21,247 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-71918960-78543038 passed 2025-07-21 12:31:21,419 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 12:31:21,419 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-71918960-78543038, IP 28.207.160.67, Port 22 2025-07-21 12:31:21,626 - DEBUG - VM ctest-TestRoutersBasic-71918960-78543038 is ready for SSH connections 2025-07-21 12:31:21,626 - INFO - Waiting for VM ctest-TestRoutersBasic-71918960-31354249 to be up.. 2025-07-21 12:31:21,840 - DEBUG - VM is in ACTIVE state now 2025-07-21 12:31:21,840 - INFO - VM name : ctest-TestRoutersBasic-71918960-31354249 2025-07-21 12:31:22,050 - DEBUG - VM ctest-TestRoutersBasic-71918960-31354249 ID is c9bc7cec-fc83-417d-a89c-b244843a608f 2025-07-21 12:31:22,050 - DEBUG - VM ctest-TestRoutersBasic-71918960-31354249 launched on Node cn-jenkins-deploy-platform-ansible-os-3679-1 2025-07-21 12:31:22,226 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c9bc7cec-fc83-417d-a89c-b244843a608f 2025-07-21 12:31:22,248 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/afaa0b5a-9e34-4f59-8734-e75e621217e8 2025-07-21 12:31:23,600 - 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=5.47 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.90 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 = 1.904/3.684/5.465/1.780 ms') 2025-07-21 12:31:23,600 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-71918960-31354249 passed 2025-07-21 12:31:23,795 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 12:31:23,795 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-71918960-31354249, IP 63.189.20.131, Port 22 2025-07-21 12:31:23,992 - DEBUG - VM ctest-TestRoutersBasic-71918960-31354249 is ready for SSH connections 2025-07-21 12:31:23,992 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 12:31:23,993 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 63.189.20.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-07-21 12:31:23,993 - DEBUG - ping -s 56 -c 3 -W 1 63.189.20.131 2025-07-21 12:31:28,061 - DEBUG - PING 63.189.20.131 (63.189.20.131): 56 data bytes 64 bytes from 63.189.20.131: seq=0 ttl=62 time=11.352 ms 64 bytes from 63.189.20.131: seq=1 ttl=62 time=2.070 ms 64 bytes from 63.189.20.131: seq=2 ttl=62 time=2.244 ms --- 63.189.20.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 2.070/5.222/11.352 ms 2025-07-21 12:31:28,061 - INFO - Ping to IP 63.189.20.131 from VM ctest-TestRoutersBasic-71918960-78543038 passed 2025-07-21 12:31:28,062 - INFO - Deleting interface with subnet_id f6308911-a417-4f56-a0a2-c57e4ba1b446, port_id None from router fd748b89-0063-4291-9b62-637223696a1c 2025-07-21 12:31:28,422 - INFO - Deleting VM ctest-TestRoutersBasic-71918960-31354249 2025-07-21 12:31:28,509 - INFO - Deleting VM ctest-TestRoutersBasic-71918960-78543038 2025-07-21 12:31:28,601 - INFO - Deleting VN ctest-ext_vn-67326208 2025-07-21 12:31:28,681 - DEBUG - VN b8468e40-0ca5-4c77-852e-ee0ac13e47a0 still in use: Unable to complete operation on network b8468e40-0ca5-4c77-852e-ee0ac13e47a0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1268aa07-f75a-45fd-b081-612eb78df9fd'] 2025-07-21 12:31:28,681 - WARNING - Deleting VN ctest-ext_vn-67326208 failed..Will retry 2025-07-21 12:31:30,883 - DEBUG - Response for deleting network () 2025-07-21 12:31:30,884 - INFO - Deleting VN ctest-vn-35721929 2025-07-21 12:31:31,030 - DEBUG - Response for deleting network () 2025-07-21 12:31:31,329 - DEBUG - No XMPP flaps were noticed during the test 2025-07-21 12:31:31,329 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:29] 2025-07-21 12:31:31,329 - INFO - -------------------------------------------------------------------------------- 2025-07-21 12:31:32,153 - INFO - Deleted project: ctest-TestRoutersBasic-71918960, ID : f4ddf81e-34f7-402c-b103-ebaa47c2a2fb