2026-08-20 07:02:54,991 - INFO - Domain Default found not creating 2026-08-20 07:02:55,280 - INFO - Project ctest-TestRoutersBasic-59098045 not found, creating it 2026-08-20 07:02:55,812 - INFO - Created Project:ctest-TestRoutersBasic-59098045, ID : b981ca0d-5af4-4bad-8ca0-dd47cd6f3bd6 2026-08-20 07:02:57,723 - INFO - ================================================================================ 2026-08-20 07:02:57,723 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-08-20 07:02:57,723 - 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 2026-08-20 07:02:58,003 - DEBUG - Nothing to compare xmpp stats {'10.0.0.177': {'10.20.0.25': '0'}} with 2026-08-20 07:02:58,003 - INFO - Initial checks done. Running the testcase now 2026-08-20 07:02:58,003 - INFO - 2026-08-20 07:02:58,937 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-59098045 2026-08-20 07:02:59,039 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-59098045 2026-08-20 07:02:59,407 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-59098045', 'default']} 2026-08-20 07:02:59,735 - DEBUG - Response for create_network : {'network': {'id': '67a85b89-505f-4878-a60d-ccd8eef2723d', 'name': 'ctest-vn-02815208', 'tenant_id': 'b981ca0d5af44bad8ca0dd47cd6f3bd6', 'project_id': 'b981ca0d5af44bad8ca0dd47cd6f3bd6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-59098045', 'ctest-vn-02815208'], 'port_security_enabled': True, 'description': ''}} 2026-08-20 07:02:59,947 - DEBUG - Response for create_subnet : {'subnet': {'id': '69f67979-ff16-4730-8ad9-b5c8ac64cd69', 'name': '', 'tenant_id': 'b981ca0d5af44bad8ca0dd47cd6f3bd6', 'network_id': '67a85b89-505f-4878-a60d-ccd8eef2723d', 'ip_version': 4, 'cidr': '50.137.90.128/26', 'allocation_pools': [{'start': '50.137.90.130', 'end': '50.137.90.190'}], 'gateway_ip': '50.137.90.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '50.137.90.130', 'tags': [], 'project_id': 'b981ca0d5af44bad8ca0dd47cd6f3bd6'}} 2026-08-20 07:02:59,968 - INFO - Created VN ctest-vn-02815208 2026-08-20 07:03:00,023 - DEBUG - VN ctest-vn-02815208 UUID is 67a85b89-505f-4878-a60d-ccd8eef2723d 2026-08-20 07:03:00,419 - DEBUG - Response for create_network : {'network': {'id': '2b22b34a-f03a-46e5-ab63-a5b38f4a2a37', 'name': 'ctest-ext_vn-36025805', 'tenant_id': 'b981ca0d5af44bad8ca0dd47cd6f3bd6', 'project_id': 'b981ca0d5af44bad8ca0dd47cd6f3bd6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-59098045', 'ctest-ext_vn-36025805'], 'port_security_enabled': True, 'description': ''}} 2026-08-20 07:03:00,640 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ba24fb8d-3879-4727-8d69-4e023d2455f9', 'name': '', 'tenant_id': 'b981ca0d5af44bad8ca0dd47cd6f3bd6', 'network_id': '2b22b34a-f03a-46e5-ab63-a5b38f4a2a37', 'ip_version': 4, 'cidr': '185.0.55.0/26', 'allocation_pools': [{'start': '185.0.55.2', 'end': '185.0.55.62'}], 'gateway_ip': '185.0.55.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '185.0.55.2', 'tags': [], 'project_id': 'b981ca0d5af44bad8ca0dd47cd6f3bd6'}} 2026-08-20 07:03:00,660 - INFO - Created VN ctest-ext_vn-36025805 2026-08-20 07:03:00,715 - DEBUG - VN ctest-ext_vn-36025805 UUID is 2b22b34a-f03a-46e5-ab63-a5b38f4a2a37 2026-08-20 07:03:00,895 - DEBUG - Services list from nova: [, , ] 2026-08-20 07:03:01,326 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6182-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6182-1) 2026-08-20 07:03:01,845 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6182-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6182-1) 2026-08-20 07:03:01,972 - INFO - Setting gateway for router 82bcf787-33bc-4b56-ba3c-47d2a499b463 to network 2b22b34a-f03a-46e5-ab63-a5b38f4a2a37 2026-08-20 07:03:02,056 - INFO - Adding interface with subnet_id 69f67979-ff16-4730-8ad9-b5c8ac64cd69, port_id None to router 82bcf787-33bc-4b56-ba3c-47d2a499b463 2026-08-20 07:03:02,482 - INFO - Waiting for VM ctest-TestRoutersBasic-59098045-27206822 to be up.. 2026-08-20 07:03:02,607 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 07:03:07,698 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 07:03:12,879 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 07:03:17,977 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 07:03:23,071 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 07:03:28,162 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 07:03:33,264 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 07:03:38,385 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 07:03:43,489 - DEBUG - VM is in ACTIVE state now 2026-08-20 07:03:43,489 - INFO - VM name : ctest-TestRoutersBasic-59098045-27206822 2026-08-20 07:03:43,589 - DEBUG - VM ctest-TestRoutersBasic-59098045-27206822 ID is 493a9c59-949d-4651-b1aa-2ffccfa7bb32 2026-08-20 07:03:43,630 - DEBUG - VM ctest-TestRoutersBasic-59098045-27206822 launched on Node cn-jenkins-deploy-platform-ansible-os-6182-1 2026-08-20 07:03:43,723 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/493a9c59-949d-4651-b1aa-2ffccfa7bb32 2026-08-20 07:03:44,123 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/493a9c59-949d-4651-b1aa-2ffccfa7bb32 2026-08-20 07:03:44,182 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/6f5ae57c-95fd-4b4c-a226-4f80e3d5bfc8 2026-08-20 07:03:47,468 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1020ms') 2026-08-20 07:03:47,469 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-59098045-27206822 failed! 2026-08-20 07:03:47,531 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-59098045:ctest-vn-02815208 is 50.137.90.129 and allocation pool is NOT set 2026-08-20 07:03:49,599 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n64 bytes from 169.254.0.5: icmp_seq=1 ttl=63 time=14.1 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.450 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.450/7.265/14.081/6.815 ms') 2026-08-20 07:03:49,600 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-59098045-27206822 passed 2026-08-20 07:03:49,759 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-20 07:03:49,759 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-59098045-27206822, IP 50.137.90.131, Port 22 2026-08-20 07:03:49,929 - DEBUG - VM ctest-TestRoutersBasic-59098045-27206822 is ready for SSH connections 2026-08-20 07:03:49,929 - INFO - Waiting for VM ctest-TestRoutersBasic-59098045-33517006 to be up.. 2026-08-20 07:03:50,034 - DEBUG - VM is in ACTIVE state now 2026-08-20 07:03:50,034 - INFO - VM name : ctest-TestRoutersBasic-59098045-33517006 2026-08-20 07:03:50,131 - DEBUG - VM ctest-TestRoutersBasic-59098045-33517006 ID is 801b0306-2b8f-4069-b4a2-70b8169298e8 2026-08-20 07:03:50,131 - DEBUG - VM ctest-TestRoutersBasic-59098045-33517006 launched on Node cn-jenkins-deploy-platform-ansible-os-6182-1 2026-08-20 07:03:50,240 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/801b0306-2b8f-4069-b4a2-70b8169298e8 2026-08-20 07:03:50,253 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/40b1a09d-467f-4c75-8e8e-ae43bfc63185 2026-08-20 07:03:53,543 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=4.60 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1030ms\r\nrtt min/avg/max/mdev = 4.601/4.601/4.601/0.000 ms') 2026-08-20 07:03:53,543 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-59098045-33517006 passed 2026-08-20 07:03:53,699 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-20 07:03:53,699 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-59098045-33517006, IP 185.0.55.4, Port 22 2026-08-20 07:03:53,869 - DEBUG - VM ctest-TestRoutersBasic-59098045-33517006 is ready for SSH connections 2026-08-20 07:03:53,869 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-20 07:03:53,869 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 185.0.55.4, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.177, gateway password: c0ntrail123 2026-08-20 07:03:53,869 - DEBUG - ping -s 56 -c 3 -W 1 185.0.55.4 2026-08-20 07:03:56,993 - DEBUG - PING 185.0.55.4 (185.0.55.4): 56 data bytes 64 bytes from 185.0.55.4: seq=0 ttl=62 time=9.200 ms 64 bytes from 185.0.55.4: seq=1 ttl=62 time=1.367 ms 64 bytes from 185.0.55.4: seq=2 ttl=62 time=1.463 ms --- 185.0.55.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.367/4.010/9.200 ms 2026-08-20 07:03:56,994 - INFO - Ping to IP 185.0.55.4 from VM ctest-TestRoutersBasic-59098045-27206822 passed 2026-08-20 07:03:56,994 - INFO - Deleting interface with subnet_id 69f67979-ff16-4730-8ad9-b5c8ac64cd69, port_id None from router 82bcf787-33bc-4b56-ba3c-47d2a499b463 2026-08-20 07:03:57,266 - INFO - Deleting VM ctest-TestRoutersBasic-59098045-33517006 2026-08-20 07:03:57,378 - INFO - Deleting VM ctest-TestRoutersBasic-59098045-27206822 2026-08-20 07:03:57,475 - INFO - Deleting VN ctest-ext_vn-36025805 2026-08-20 07:03:57,575 - DEBUG - VN 2b22b34a-f03a-46e5-ab63-a5b38f4a2a37 still in use: Unable to complete operation on network 2b22b34a-f03a-46e5-ab63-a5b38f4a2a37. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8f49dd6e-19d3-4432-9e50-37681f9136d2'] 2026-08-20 07:03:57,575 - WARNING - Deleting VN ctest-ext_vn-36025805 failed..Will retry 2026-08-20 07:03:59,789 - DEBUG - Response for deleting network () 2026-08-20 07:03:59,789 - INFO - Deleting VN ctest-vn-02815208 2026-08-20 07:03:59,919 - DEBUG - Response for deleting network () 2026-08-20 07:04:00,193 - DEBUG - No XMPP flaps were noticed during the test 2026-08-20 07:04:00,193 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:03] 2026-08-20 07:04:00,193 - INFO - -------------------------------------------------------------------------------- 2026-08-20 07:04:01,048 - INFO - Deleted project: ctest-TestRoutersBasic-59098045, ID : b981ca0d-5af4-4bad-8ca0-dd47cd6f3bd6