2025-11-13 02:07:09,632 - INFO - Domain Default found not creating 2025-11-13 02:07:09,788 - INFO - Project ctest-TestRoutersBasic-56820669 not found, creating it 2025-11-13 02:07:10,246 - INFO - Created Project:ctest-TestRoutersBasic-56820669, ID : e27130af-944f-4351-9f71-8a198fe5fdfc 2025-11-13 02:07:11,647 - INFO - ================================================================================ 2025-11-13 02:07:11,647 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-13 02:07:11,648 - 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-13 02:07:11,901 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.14': '0'}} with 2025-11-13 02:07:11,901 - INFO - Initial checks done. Running the testcase now 2025-11-13 02:07:11,902 - INFO - 2025-11-13 02:07:12,604 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-56820669 2025-11-13 02:07:12,700 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-56820669 2025-11-13 02:07:13,024 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-56820669', 'default']} 2025-11-13 02:07:13,297 - DEBUG - Response for create_network : {'network': {'id': 'c390adc2-f9df-41e1-911a-6e47d6a0c29e', 'name': 'ctest-vn-78526994', 'tenant_id': 'e27130af944f43519f718a198fe5fdfc', 'project_id': 'e27130af944f43519f718a198fe5fdfc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-56820669', 'ctest-vn-78526994'], 'port_security_enabled': True, 'description': ''}} 2025-11-13 02:07:13,440 - DEBUG - Response for create_subnet : {'subnet': {'id': '01331160-b914-4b5c-aa86-c0c1ee97ec85', 'name': '', 'tenant_id': 'e27130af944f43519f718a198fe5fdfc', 'network_id': 'c390adc2-f9df-41e1-911a-6e47d6a0c29e', 'ip_version': 4, 'cidr': '39.26.213.64/26', 'allocation_pools': [{'start': '39.26.213.66', 'end': '39.26.213.126'}], 'gateway_ip': '39.26.213.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '39.26.213.66', 'tags': [], 'project_id': 'e27130af944f43519f718a198fe5fdfc'}} 2025-11-13 02:07:13,456 - INFO - Created VN ctest-vn-78526994 2025-11-13 02:07:13,508 - DEBUG - VN ctest-vn-78526994 UUID is c390adc2-f9df-41e1-911a-6e47d6a0c29e 2025-11-13 02:07:13,844 - DEBUG - Response for create_network : {'network': {'id': '389c748b-e6c3-4bdd-b06c-c8381fc7520d', 'name': 'ctest-ext_vn-43638275', 'tenant_id': 'e27130af944f43519f718a198fe5fdfc', 'project_id': 'e27130af944f43519f718a198fe5fdfc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-56820669', 'ctest-ext_vn-43638275'], 'port_security_enabled': True, 'description': ''}} 2025-11-13 02:07:14,003 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e88c14ec-f503-4c3c-92f1-a08db9e4610b', 'name': '', 'tenant_id': 'e27130af944f43519f718a198fe5fdfc', 'network_id': '389c748b-e6c3-4bdd-b06c-c8381fc7520d', 'ip_version': 4, 'cidr': '46.206.99.192/26', 'allocation_pools': [{'start': '46.206.99.194', 'end': '46.206.99.254'}], 'gateway_ip': '46.206.99.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '46.206.99.194', 'tags': [], 'project_id': 'e27130af944f43519f718a198fe5fdfc'}} 2025-11-13 02:07:14,019 - INFO - Created VN ctest-ext_vn-43638275 2025-11-13 02:07:14,071 - DEBUG - VN ctest-ext_vn-43638275 UUID is 389c748b-e6c3-4bdd-b06c-c8381fc7520d 2025-11-13 02:07:14,229 - DEBUG - Services list from nova: [, , ] 2025-11-13 02:07:15,210 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4715-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4715-1) 2025-11-13 02:07:16,299 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4715-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4715-1) 2025-11-13 02:07:16,359 - INFO - Setting gateway for router fa6f7d13-bd5e-4b4c-aff8-3d35d8d47e94 to network 389c748b-e6c3-4bdd-b06c-c8381fc7520d 2025-11-13 02:07:16,423 - INFO - Adding interface with subnet_id 01331160-b914-4b5c-aa86-c0c1ee97ec85, port_id None to router fa6f7d13-bd5e-4b4c-aff8-3d35d8d47e94 2025-11-13 02:07:16,786 - INFO - Waiting for VM ctest-TestRoutersBasic-56820669-29602133 to be up.. 2025-11-13 02:07:16,911 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-13 02:07:21,980 - DEBUG - VM is in ACTIVE state now 2025-11-13 02:07:21,981 - INFO - VM name : ctest-TestRoutersBasic-56820669-29602133 2025-11-13 02:07:22,050 - DEBUG - VM ctest-TestRoutersBasic-56820669-29602133 ID is ffa0a343-1aac-45b0-ae70-ccf1bced4e21 2025-11-13 02:07:22,071 - DEBUG - VM ctest-TestRoutersBasic-56820669-29602133 launched on Node cn-jenkins-deploy-platform-ansible-os-4715-1 2025-11-13 02:07:22,138 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/ffa0a343-1aac-45b0-ae70-ccf1bced4e21 2025-11-13 02:07:22,426 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/ffa0a343-1aac-45b0-ae70-ccf1bced4e21 2025-11-13 02:07:22,459 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/4820c5f7-2fb0-4c45-ab47-5f3004ec4bef 2025-11-13 02:07:25,729 - 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-11-13 02:07:25,729 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-56820669-29602133 failed! 2025-11-13 02:07:25,784 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-56820669:ctest-vn-78526994 is 39.26.213.65 and allocation pool is NOT set 2025-11-13 02:07:27,841 - 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.510 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.510/1.868/3.227/1.358 ms') 2025-11-13 02:07:27,842 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-56820669-29602133 passed 2025-11-13 02:07:27,992 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 02:07:27,992 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-56820669-29602133, IP 39.26.213.67, Port 22 2025-11-13 02:07:28,147 - DEBUG - VM ctest-TestRoutersBasic-56820669-29602133 is ready for SSH connections 2025-11-13 02:07:28,147 - INFO - Waiting for VM ctest-TestRoutersBasic-56820669-27054117 to be up.. 2025-11-13 02:07:28,221 - DEBUG - VM is in ACTIVE state now 2025-11-13 02:07:28,221 - INFO - VM name : ctest-TestRoutersBasic-56820669-27054117 2025-11-13 02:07:28,284 - DEBUG - VM ctest-TestRoutersBasic-56820669-27054117 ID is 5b48e4f7-2e8b-4649-8086-46292717d010 2025-11-13 02:07:28,284 - DEBUG - VM ctest-TestRoutersBasic-56820669-27054117 launched on Node cn-jenkins-deploy-platform-ansible-os-4715-1 2025-11-13 02:07:28,356 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/5b48e4f7-2e8b-4649-8086-46292717d010 2025-11-13 02:07:28,367 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/5a2db28c-a268-432c-beea-1ede63537582 2025-11-13 02:07:29,601 - 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.36 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.432 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.432/1.897/3.362/1.465 ms') 2025-11-13 02:07:29,601 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-56820669-27054117 passed 2025-11-13 02:07:29,752 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 02:07:29,752 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-56820669-27054117, IP 46.206.99.195, Port 22 2025-11-13 02:07:29,907 - DEBUG - VM ctest-TestRoutersBasic-56820669-27054117 is ready for SSH connections 2025-11-13 02:07:29,908 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 02:07:29,908 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 46.206.99.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-11-13 02:07:29,908 - DEBUG - ping -s 56 -c 3 -W 1 46.206.99.195 2025-11-13 02:07:33,593 - DEBUG - PING 46.206.99.195 (46.206.99.195): 56 data bytes 64 bytes from 46.206.99.195: seq=0 ttl=62 time=5.485 ms 64 bytes from 46.206.99.195: seq=1 ttl=62 time=0.886 ms 64 bytes from 46.206.99.195: seq=2 ttl=62 time=1.045 ms --- 46.206.99.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.886/2.472/5.485 ms 2025-11-13 02:07:33,593 - INFO - Ping to IP 46.206.99.195 from VM ctest-TestRoutersBasic-56820669-29602133 passed 2025-11-13 02:07:33,593 - INFO - Deleting interface with subnet_id 01331160-b914-4b5c-aa86-c0c1ee97ec85, port_id None from router fa6f7d13-bd5e-4b4c-aff8-3d35d8d47e94 2025-11-13 02:07:33,769 - INFO - Deleting VM ctest-TestRoutersBasic-56820669-27054117 2025-11-13 02:07:33,839 - INFO - Deleting VM ctest-TestRoutersBasic-56820669-29602133 2025-11-13 02:07:33,926 - INFO - Deleting VN ctest-ext_vn-43638275 2025-11-13 02:07:34,012 - DEBUG - VN 389c748b-e6c3-4bdd-b06c-c8381fc7520d still in use: Unable to complete operation on network 389c748b-e6c3-4bdd-b06c-c8381fc7520d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d53ef55a-dd16-4e94-b602-3e8608946b37'] 2025-11-13 02:07:34,012 - WARNING - Deleting VN ctest-ext_vn-43638275 failed..Will retry 2025-11-13 02:07:36,114 - DEBUG - Response for deleting network () 2025-11-13 02:07:36,114 - INFO - Deleting VN ctest-vn-78526994 2025-11-13 02:07:36,207 - DEBUG - Response for deleting network () 2025-11-13 02:07:36,460 - DEBUG - No XMPP flaps were noticed during the test 2025-11-13 02:07:36,460 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-11-13 02:07:36,460 - INFO - -------------------------------------------------------------------------------- 2025-11-13 02:07:37,151 - INFO - Deleted project: ctest-TestRoutersBasic-56820669, ID : e27130af-944f-4351-9f71-8a198fe5fdfc