2025-11-13 02:06:57,464 - INFO - Domain Default found not creating 2025-11-13 02:06:57,608 - INFO - Project ctest-TestRoutersBasic-51844641 not found, creating it 2025-11-13 02:06:58,059 - INFO - Created Project:ctest-TestRoutersBasic-51844641, ID : 0afbdbd8-c59f-47b2-97c4-435e03462717 2025-11-13 02:06:59,468 - INFO - ================================================================================ 2025-11-13 02:06:59,468 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-13 02:06:59,468 - 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:06:59,730 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-11-13 02:06:59,730 - INFO - Initial checks done. Running the testcase now 2025-11-13 02:06:59,730 - INFO - 2025-11-13 02:07:00,442 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-51844641 2025-11-13 02:07:00,539 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-51844641 2025-11-13 02:07:00,854 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-51844641', 'default']} 2025-11-13 02:07:01,124 - DEBUG - Response for create_network : {'network': {'id': '7153615f-5c8b-4781-8fbe-a7d53ccbe3c9', 'name': 'ctest-vn-13262209', 'tenant_id': '0afbdbd8c59f47b297c4435e03462717', 'project_id': '0afbdbd8c59f47b297c4435e03462717', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-51844641', 'ctest-vn-13262209'], 'port_security_enabled': True, 'description': ''}} 2025-11-13 02:07:01,333 - DEBUG - Response for create_subnet : {'subnet': {'id': '112be2e2-782c-45a0-8bd2-9889a8ba858f', 'name': '', 'tenant_id': '0afbdbd8c59f47b297c4435e03462717', 'network_id': '7153615f-5c8b-4781-8fbe-a7d53ccbe3c9', 'ip_version': 4, 'cidr': '107.116.78.128/26', 'allocation_pools': [{'start': '107.116.78.130', 'end': '107.116.78.190'}], 'gateway_ip': '107.116.78.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.116.78.130', 'tags': [], 'project_id': '0afbdbd8c59f47b297c4435e03462717'}} 2025-11-13 02:07:01,352 - INFO - Created VN ctest-vn-13262209 2025-11-13 02:07:01,402 - DEBUG - VN ctest-vn-13262209 UUID is 7153615f-5c8b-4781-8fbe-a7d53ccbe3c9 2025-11-13 02:07:01,742 - DEBUG - Response for create_network : {'network': {'id': '07ac6984-aab3-465b-aba9-301d5008a6cd', 'name': 'ctest-ext_vn-45093908', 'tenant_id': '0afbdbd8c59f47b297c4435e03462717', 'project_id': '0afbdbd8c59f47b297c4435e03462717', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-51844641', 'ctest-ext_vn-45093908'], 'port_security_enabled': True, 'description': ''}} 2025-11-13 02:07:01,910 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fa855ef7-88c9-4904-abdd-fd8d5733969a', 'name': '', 'tenant_id': '0afbdbd8c59f47b297c4435e03462717', 'network_id': '07ac6984-aab3-465b-aba9-301d5008a6cd', 'ip_version': 4, 'cidr': '191.242.116.0/26', 'allocation_pools': [{'start': '191.242.116.2', 'end': '191.242.116.62'}], 'gateway_ip': '191.242.116.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '191.242.116.2', 'tags': [], 'project_id': '0afbdbd8c59f47b297c4435e03462717'}} 2025-11-13 02:07:01,928 - INFO - Created VN ctest-ext_vn-45093908 2025-11-13 02:07:01,982 - DEBUG - VN ctest-ext_vn-45093908 UUID is 07ac6984-aab3-465b-aba9-301d5008a6cd 2025-11-13 02:07:02,193 - DEBUG - Services list from nova: [, , ] 2025-11-13 02:07:03,195 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4713-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4713-1) 2025-11-13 02:07:04,359 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4713-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4713-1) 2025-11-13 02:07:04,432 - INFO - Setting gateway for router b2ccc865-5849-4205-9487-782311811f35 to network 07ac6984-aab3-465b-aba9-301d5008a6cd 2025-11-13 02:07:04,542 - INFO - Adding interface with subnet_id 112be2e2-782c-45a0-8bd2-9889a8ba858f, port_id None to router b2ccc865-5849-4205-9487-782311811f35 2025-11-13 02:07:04,953 - INFO - Waiting for VM ctest-TestRoutersBasic-51844641-52230805 to be up.. 2025-11-13 02:07:05,110 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-13 02:07:10,178 - DEBUG - VM is in ACTIVE state now 2025-11-13 02:07:10,179 - INFO - VM name : ctest-TestRoutersBasic-51844641-52230805 2025-11-13 02:07:10,244 - DEBUG - VM ctest-TestRoutersBasic-51844641-52230805 ID is bf6977cd-427d-4167-a4cd-b0802ec53299 2025-11-13 02:07:10,263 - DEBUG - VM ctest-TestRoutersBasic-51844641-52230805 launched on Node cn-jenkins-deploy-platform-ansible-os-4713-1 2025-11-13 02:07:10,331 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/bf6977cd-427d-4167-a4cd-b0802ec53299 2025-11-13 02:07:10,636 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/bf6977cd-427d-4167-a4cd-b0802ec53299 2025-11-13 02:07:10,664 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/35dbd760-c8a3-4ccf-b2cd-0b84ed27e509 2025-11-13 02:07:13,917 - 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 1016ms') 2025-11-13 02:07:13,918 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-51844641-52230805 failed! 2025-11-13 02:07:13,970 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-51844641:ctest-vn-13262209 is 107.116.78.129 and allocation pool is NOT set 2025-11-13 02:07:16,036 - 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=2.78 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.340 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.340/1.559/2.778/1.219 ms') 2025-11-13 02:07:16,036 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-51844641-52230805 passed 2025-11-13 02:07:16,182 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 02:07:16,182 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-51844641-52230805, IP 107.116.78.131, Port 22 2025-11-13 02:07:16,338 - DEBUG - VM ctest-TestRoutersBasic-51844641-52230805 is ready for SSH connections 2025-11-13 02:07:16,338 - INFO - Waiting for VM ctest-TestRoutersBasic-51844641-36113116 to be up.. 2025-11-13 02:07:16,409 - DEBUG - VM is in ACTIVE state now 2025-11-13 02:07:16,409 - INFO - VM name : ctest-TestRoutersBasic-51844641-36113116 2025-11-13 02:07:16,474 - DEBUG - VM ctest-TestRoutersBasic-51844641-36113116 ID is 48f4766c-15df-4de5-b7a9-c0b6310fcd84 2025-11-13 02:07:16,474 - DEBUG - VM ctest-TestRoutersBasic-51844641-36113116 launched on Node cn-jenkins-deploy-platform-ansible-os-4713-1 2025-11-13 02:07:16,541 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/48f4766c-15df-4de5-b7a9-c0b6310fcd84 2025-11-13 02:07:16,548 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/5a4847d2-8af0-4fd6-86bd-1973437c5410 2025-11-13 02:07:17,792 - 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.12 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.411 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.411/1.764/3.117/1.353 ms') 2025-11-13 02:07:17,793 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-51844641-36113116 passed 2025-11-13 02:07:17,938 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 02:07:17,938 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-51844641-36113116, IP 191.242.116.3, Port 22 2025-11-13 02:07:18,094 - DEBUG - VM ctest-TestRoutersBasic-51844641-36113116 is ready for SSH connections 2025-11-13 02:07:18,094 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 02:07:18,094 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 191.242.116.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-13 02:07:18,094 - DEBUG - ping -s 56 -c 3 -W 1 191.242.116.3 2025-11-13 02:07:22,142 - DEBUG - PING 191.242.116.3 (191.242.116.3): 56 data bytes 64 bytes from 191.242.116.3: seq=0 ttl=62 time=5.242 ms 64 bytes from 191.242.116.3: seq=1 ttl=62 time=1.297 ms 64 bytes from 191.242.116.3: seq=2 ttl=62 time=1.097 ms --- 191.242.116.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.097/2.545/5.242 ms 2025-11-13 02:07:22,142 - INFO - Ping to IP 191.242.116.3 from VM ctest-TestRoutersBasic-51844641-52230805 passed 2025-11-13 02:07:22,142 - INFO - Deleting interface with subnet_id 112be2e2-782c-45a0-8bd2-9889a8ba858f, port_id None from router b2ccc865-5849-4205-9487-782311811f35 2025-11-13 02:07:22,324 - INFO - Deleting VM ctest-TestRoutersBasic-51844641-36113116 2025-11-13 02:07:22,384 - INFO - Deleting VM ctest-TestRoutersBasic-51844641-52230805 2025-11-13 02:07:22,458 - INFO - Deleting VN ctest-ext_vn-45093908 2025-11-13 02:07:22,521 - DEBUG - VN 07ac6984-aab3-465b-aba9-301d5008a6cd still in use: Unable to complete operation on network 07ac6984-aab3-465b-aba9-301d5008a6cd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6931bac6-c1e7-42b2-82ce-aee65d52d8a0'] 2025-11-13 02:07:22,522 - WARNING - Deleting VN ctest-ext_vn-45093908 failed..Will retry 2025-11-13 02:07:24,610 - DEBUG - Response for deleting network () 2025-11-13 02:07:24,610 - INFO - Deleting VN ctest-vn-13262209 2025-11-13 02:07:24,717 - DEBUG - Response for deleting network () 2025-11-13 02:07:24,976 - DEBUG - No XMPP flaps were noticed during the test 2025-11-13 02:07:24,976 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-11-13 02:07:24,976 - INFO - -------------------------------------------------------------------------------- 2025-11-13 02:07:25,661 - INFO - Deleted project: ctest-TestRoutersBasic-51844641, ID : 0afbdbd8-c59f-47b2-97c4-435e03462717