2025-07-14 02:02:05,360 - INFO - Domain Default found not creating 2025-07-14 02:02:05,528 - INFO - Project ctest-TestRoutersBasic-29274836 not found, creating it 2025-07-14 02:02:05,956 - INFO - Created Project:ctest-TestRoutersBasic-29274836, ID : cb882528-01ae-4b22-8f71-f89669902517 2025-07-14 02:02:07,390 - INFO - ================================================================================ 2025-07-14 02:02:07,390 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-07-14 02:02:07,390 - 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-14 02:02:07,646 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.200': '0'}} with 2025-07-14 02:02:07,646 - INFO - Initial checks done. Running the testcase now 2025-07-14 02:02:07,646 - INFO - 2025-07-14 02:02:08,343 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-29274836 2025-07-14 02:02:08,438 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-29274836 2025-07-14 02:02:08,773 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-29274836', 'default']} 2025-07-14 02:02:09,057 - DEBUG - Response for create_network : {'network': {'id': '3fcfe468-9998-45fb-94e4-3409c555b48e', 'name': 'ctest-vn-76372237', 'tenant_id': 'cb88252801ae4b228f71f89669902517', 'project_id': 'cb88252801ae4b228f71f89669902517', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-29274836', 'ctest-vn-76372237'], 'port_security_enabled': True, 'description': ''}} 2025-07-14 02:02:09,250 - DEBUG - Response for create_subnet : {'subnet': {'id': '6a22f777-a513-4079-8880-c5f48e54fe7e', 'name': '', 'tenant_id': 'cb88252801ae4b228f71f89669902517', 'network_id': '3fcfe468-9998-45fb-94e4-3409c555b48e', 'ip_version': 4, 'cidr': '155.237.88.64/26', 'allocation_pools': [{'start': '155.237.88.66', 'end': '155.237.88.126'}], 'gateway_ip': '155.237.88.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '155.237.88.66', 'tags': [], 'project_id': 'cb88252801ae4b228f71f89669902517'}} 2025-07-14 02:02:09,266 - INFO - Created VN ctest-vn-76372237 2025-07-14 02:02:09,321 - DEBUG - VN ctest-vn-76372237 UUID is 3fcfe468-9998-45fb-94e4-3409c555b48e 2025-07-14 02:02:09,690 - DEBUG - Response for create_network : {'network': {'id': '5ce7046a-a05a-4320-b144-7ef1cf066696', 'name': 'ctest-ext_vn-83534837', 'tenant_id': 'cb88252801ae4b228f71f89669902517', 'project_id': 'cb88252801ae4b228f71f89669902517', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-29274836', 'ctest-ext_vn-83534837'], 'port_security_enabled': True, 'description': ''}} 2025-07-14 02:02:09,892 - DEBUG - Response for create_subnet : {'subnet': {'id': '97240cae-2977-4dbd-8bf2-2ee8f8ccdc3d', 'name': '', 'tenant_id': 'cb88252801ae4b228f71f89669902517', 'network_id': '5ce7046a-a05a-4320-b144-7ef1cf066696', 'ip_version': 4, 'cidr': '18.82.67.0/26', 'allocation_pools': [{'start': '18.82.67.2', 'end': '18.82.67.62'}], 'gateway_ip': '18.82.67.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '18.82.67.2', 'tags': [], 'project_id': 'cb88252801ae4b228f71f89669902517'}} 2025-07-14 02:02:09,910 - INFO - Created VN ctest-ext_vn-83534837 2025-07-14 02:02:09,966 - DEBUG - VN ctest-ext_vn-83534837 UUID is 5ce7046a-a05a-4320-b144-7ef1cf066696 2025-07-14 02:02:10,126 - DEBUG - Services list from nova: [, , ] 2025-07-14 02:02:11,156 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3635-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3635-1) 2025-07-14 02:02:12,310 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3635-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3635-1) 2025-07-14 02:02:12,381 - INFO - Setting gateway for router 9efd1360-0533-41a2-bfdf-4bbc6b9e7e33 to network 5ce7046a-a05a-4320-b144-7ef1cf066696 2025-07-14 02:02:12,445 - INFO - Adding interface with subnet_id 6a22f777-a513-4079-8880-c5f48e54fe7e, port_id None to router 9efd1360-0533-41a2-bfdf-4bbc6b9e7e33 2025-07-14 02:02:12,862 - INFO - Waiting for VM ctest-TestRoutersBasic-29274836-85310682 to be up.. 2025-07-14 02:02:13,048 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-14 02:02:18,120 - DEBUG - VM is in ACTIVE state now 2025-07-14 02:02:18,120 - INFO - VM name : ctest-TestRoutersBasic-29274836-85310682 2025-07-14 02:02:18,192 - DEBUG - VM ctest-TestRoutersBasic-29274836-85310682 ID is ac093fa5-b196-440c-9632-e038fb2b85ca 2025-07-14 02:02:18,212 - DEBUG - VM ctest-TestRoutersBasic-29274836-85310682 launched on Node cn-jenkins-deploy-platform-ansible-os-3635-1 2025-07-14 02:02:18,283 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/ac093fa5-b196-440c-9632-e038fb2b85ca 2025-07-14 02:02:18,575 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/ac093fa5-b196-440c-9632-e038fb2b85ca 2025-07-14 02:02:18,606 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/b4b57c69-3566-43d7-bd13-eee10777a8d1 2025-07-14 02:02:21,855 - 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-07-14 02:02:21,856 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-29274836-85310682 failed! 2025-07-14 02:02:21,921 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-29274836:ctest-vn-76372237 is 155.237.88.65 and allocation pool is NOT set 2025-07-14 02:02:23,983 - 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.87 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.467 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.467/2.166/3.866/1.699 ms') 2025-07-14 02:02:23,983 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-29274836-85310682 passed 2025-07-14 02:02:24,133 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-14 02:02:24,134 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-29274836-85310682, IP 155.237.88.67, Port 22 2025-07-14 02:02:24,289 - DEBUG - VM ctest-TestRoutersBasic-29274836-85310682 is ready for SSH connections 2025-07-14 02:02:24,289 - INFO - Waiting for VM ctest-TestRoutersBasic-29274836-44271013 to be up.. 2025-07-14 02:02:24,365 - DEBUG - VM is in ACTIVE state now 2025-07-14 02:02:24,365 - INFO - VM name : ctest-TestRoutersBasic-29274836-44271013 2025-07-14 02:02:24,436 - DEBUG - VM ctest-TestRoutersBasic-29274836-44271013 ID is d062bd14-b17e-4f4f-a8e7-5130ad733ded 2025-07-14 02:02:24,436 - DEBUG - VM ctest-TestRoutersBasic-29274836-44271013 launched on Node cn-jenkins-deploy-platform-ansible-os-3635-1 2025-07-14 02:02:24,509 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/d062bd14-b17e-4f4f-a8e7-5130ad733ded 2025-07-14 02:02:24,520 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/d10f69fd-998b-4b80-90d4-e3a97a00fa0f 2025-07-14 02:02:25,770 - 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.25 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.629 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.629/1.938/3.248/1.309 ms') 2025-07-14 02:02:25,770 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-29274836-44271013 passed 2025-07-14 02:02:25,929 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-14 02:02:25,930 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-29274836-44271013, IP 18.82.67.3, Port 22 2025-07-14 02:02:26,096 - DEBUG - VM ctest-TestRoutersBasic-29274836-44271013 is ready for SSH connections 2025-07-14 02:02:26,096 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-14 02:02:26,096 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 18.82.67.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-07-14 02:02:26,096 - DEBUG - ping -s 56 -c 3 -W 1 18.82.67.3 2025-07-14 02:02:29,825 - DEBUG - PING 18.82.67.3 (18.82.67.3): 56 data bytes 64 bytes from 18.82.67.3: seq=0 ttl=62 time=6.685 ms 64 bytes from 18.82.67.3: seq=1 ttl=62 time=0.845 ms 64 bytes from 18.82.67.3: seq=2 ttl=62 time=0.967 ms --- 18.82.67.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.845/2.832/6.685 ms 2025-07-14 02:02:29,826 - INFO - Ping to IP 18.82.67.3 from VM ctest-TestRoutersBasic-29274836-85310682 passed 2025-07-14 02:02:29,826 - INFO - Deleting interface with subnet_id 6a22f777-a513-4079-8880-c5f48e54fe7e, port_id None from router 9efd1360-0533-41a2-bfdf-4bbc6b9e7e33 2025-07-14 02:02:30,074 - INFO - Deleting VM ctest-TestRoutersBasic-29274836-44271013 2025-07-14 02:02:30,162 - INFO - Deleting VM ctest-TestRoutersBasic-29274836-85310682 2025-07-14 02:02:30,245 - INFO - Deleting VN ctest-ext_vn-83534837 2025-07-14 02:02:30,346 - DEBUG - VN 5ce7046a-a05a-4320-b144-7ef1cf066696 still in use: Unable to complete operation on network 5ce7046a-a05a-4320-b144-7ef1cf066696. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7ec237e8-7545-450a-a604-a68a2e4d8001'] 2025-07-14 02:02:30,346 - WARNING - Deleting VN ctest-ext_vn-83534837 failed..Will retry 2025-07-14 02:02:32,468 - DEBUG - Response for deleting network () 2025-07-14 02:02:32,468 - INFO - Deleting VN ctest-vn-76372237 2025-07-14 02:02:32,575 - DEBUG - Response for deleting network () 2025-07-14 02:02:32,836 - DEBUG - No XMPP flaps were noticed during the test 2025-07-14 02:02:32,836 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-07-14 02:02:32,836 - INFO - -------------------------------------------------------------------------------- 2025-07-14 02:02:33,527 - INFO - Deleted project: ctest-TestRoutersBasic-29274836, ID : cb882528-01ae-4b22-8f71-f89669902517