2026-03-30 03:37:18,502 - INFO - Domain Default found not creating 2026-03-30 03:37:18,667 - INFO - Project ctest-TestRoutersBasic-25863151 not found, creating it 2026-03-30 03:37:19,144 - INFO - Created Project:ctest-TestRoutersBasic-25863151, ID : 8fc3bcfd-4eef-486a-82f9-f11630c24e76 2026-03-30 03:37:20,665 - INFO - ================================================================================ 2026-03-30 03:37:20,665 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-03-30 03:37:20,665 - 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-03-30 03:37:20,938 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.193': '0'}} with 2026-03-30 03:37:20,938 - INFO - Initial checks done. Running the testcase now 2026-03-30 03:37:20,938 - INFO - 2026-03-30 03:37:21,661 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-25863151 2026-03-30 03:37:21,757 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-25863151 2026-03-30 03:37:22,085 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-25863151', 'default']} 2026-03-30 03:37:22,376 - DEBUG - Response for create_network : {'network': {'id': '1c5010a7-1a3c-42e4-8474-1b7cccd7533b', 'name': 'ctest-vn-83015067', 'tenant_id': '8fc3bcfd4eef486a82f9f11630c24e76', 'project_id': '8fc3bcfd4eef486a82f9f11630c24e76', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-25863151', 'ctest-vn-83015067'], 'port_security_enabled': True, 'description': ''}} 2026-03-30 03:37:22,571 - DEBUG - Response for create_subnet : {'subnet': {'id': '657741dc-65f7-4215-bbb6-67d083fc5f01', 'name': '', 'tenant_id': '8fc3bcfd4eef486a82f9f11630c24e76', 'network_id': '1c5010a7-1a3c-42e4-8474-1b7cccd7533b', 'ip_version': 4, 'cidr': '132.126.156.0/26', 'allocation_pools': [{'start': '132.126.156.2', 'end': '132.126.156.62'}], 'gateway_ip': '132.126.156.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '132.126.156.2', 'tags': [], 'project_id': '8fc3bcfd4eef486a82f9f11630c24e76'}} 2026-03-30 03:37:22,590 - INFO - Created VN ctest-vn-83015067 2026-03-30 03:37:22,641 - DEBUG - VN ctest-vn-83015067 UUID is 1c5010a7-1a3c-42e4-8474-1b7cccd7533b 2026-03-30 03:37:22,946 - DEBUG - Response for create_network : {'network': {'id': 'a02ad78c-8407-4af0-ac44-51274cda1217', 'name': 'ctest-ext_vn-70838000', 'tenant_id': '8fc3bcfd4eef486a82f9f11630c24e76', 'project_id': '8fc3bcfd4eef486a82f9f11630c24e76', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-25863151', 'ctest-ext_vn-70838000'], 'port_security_enabled': True, 'description': ''}} 2026-03-30 03:37:23,147 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ea6b9332-5fcc-48f5-a593-3043fca1ff04', 'name': '', 'tenant_id': '8fc3bcfd4eef486a82f9f11630c24e76', 'network_id': 'a02ad78c-8407-4af0-ac44-51274cda1217', 'ip_version': 4, 'cidr': '60.187.44.192/26', 'allocation_pools': [{'start': '60.187.44.194', 'end': '60.187.44.254'}], 'gateway_ip': '60.187.44.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '60.187.44.194', 'tags': [], 'project_id': '8fc3bcfd4eef486a82f9f11630c24e76'}} 2026-03-30 03:37:23,164 - INFO - Created VN ctest-ext_vn-70838000 2026-03-30 03:37:23,218 - DEBUG - VN ctest-ext_vn-70838000 UUID is a02ad78c-8407-4af0-ac44-51274cda1217 2026-03-30 03:37:23,422 - DEBUG - Services list from nova: [, , ] 2026-03-30 03:37:24,486 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5559-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5559-1) 2026-03-30 03:37:25,665 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5559-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5559-1) 2026-03-30 03:37:25,739 - INFO - Setting gateway for router d8e26f3e-a8bc-4aad-8dbc-f903abddd964 to network a02ad78c-8407-4af0-ac44-51274cda1217 2026-03-30 03:37:25,813 - INFO - Adding interface with subnet_id 657741dc-65f7-4215-bbb6-67d083fc5f01, port_id None to router d8e26f3e-a8bc-4aad-8dbc-f903abddd964 2026-03-30 03:37:26,143 - INFO - Waiting for VM ctest-TestRoutersBasic-25863151-13159080 to be up.. 2026-03-30 03:37:26,285 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-30 03:37:31,366 - DEBUG - VM is in ACTIVE state now 2026-03-30 03:37:31,367 - INFO - VM name : ctest-TestRoutersBasic-25863151-13159080 2026-03-30 03:37:31,444 - DEBUG - VM ctest-TestRoutersBasic-25863151-13159080 ID is b7b2a0c2-3505-483e-a183-3a6fd07b3ebc 2026-03-30 03:37:31,464 - DEBUG - VM ctest-TestRoutersBasic-25863151-13159080 launched on Node cn-jenkins-deploy-platform-ansible-os-5559-1 2026-03-30 03:37:31,538 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/b7b2a0c2-3505-483e-a183-3a6fd07b3ebc 2026-03-30 03:37:31,837 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/b7b2a0c2-3505-483e-a183-3a6fd07b3ebc 2026-03-30 03:37:31,872 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/0f1086d0-c991-4c10-8dd1-05d7a255e544 2026-03-30 03:37:35,144 - 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 1019ms') 2026-03-30 03:37:35,144 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-25863151-13159080 failed! 2026-03-30 03:37:35,197 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-25863151:ctest-vn-83015067 is 132.126.156.1 and allocation pool is NOT set 2026-03-30 03:37:37,259 - 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.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.551 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.551/1.657/2.763/1.106 ms') 2026-03-30 03:37:37,259 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-25863151-13159080 passed 2026-03-30 03:37:37,405 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-30 03:37:37,405 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-25863151-13159080, IP 132.126.156.3, Port 22 2026-03-30 03:37:37,569 - DEBUG - VM ctest-TestRoutersBasic-25863151-13159080 is ready for SSH connections 2026-03-30 03:37:37,569 - INFO - Waiting for VM ctest-TestRoutersBasic-25863151-31520214 to be up.. 2026-03-30 03:37:37,644 - DEBUG - VM is in ACTIVE state now 2026-03-30 03:37:37,644 - INFO - VM name : ctest-TestRoutersBasic-25863151-31520214 2026-03-30 03:37:37,718 - DEBUG - VM ctest-TestRoutersBasic-25863151-31520214 ID is 2534d975-54e6-496c-9aaa-1ef4c166941e 2026-03-30 03:37:37,718 - DEBUG - VM ctest-TestRoutersBasic-25863151-31520214 launched on Node cn-jenkins-deploy-platform-ansible-os-5559-1 2026-03-30 03:37:37,791 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/2534d975-54e6-496c-9aaa-1ef4c166941e 2026-03-30 03:37:37,800 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/3a3fe729-0200-4c9a-b724-0cb90f71fb1e 2026-03-30 03:37:39,042 - 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=4.82 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.894 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.894/2.859/4.824/1.965 ms') 2026-03-30 03:37:39,042 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-25863151-31520214 passed 2026-03-30 03:37:39,189 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-30 03:37:39,189 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-25863151-31520214, IP 60.187.44.195, Port 22 2026-03-30 03:37:39,353 - DEBUG - VM ctest-TestRoutersBasic-25863151-31520214 is ready for SSH connections 2026-03-30 03:37:39,353 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-30 03:37:39,353 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 60.187.44.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-03-30 03:37:39,353 - DEBUG - ping -s 56 -c 3 -W 1 60.187.44.195 2026-03-30 03:37:43,073 - DEBUG - PING 60.187.44.195 (60.187.44.195): 56 data bytes 64 bytes from 60.187.44.195: seq=0 ttl=62 time=6.219 ms 64 bytes from 60.187.44.195: seq=1 ttl=62 time=0.849 ms 64 bytes from 60.187.44.195: seq=2 ttl=62 time=1.022 ms --- 60.187.44.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.849/2.696/6.219 ms 2026-03-30 03:37:43,074 - INFO - Ping to IP 60.187.44.195 from VM ctest-TestRoutersBasic-25863151-13159080 passed 2026-03-30 03:37:43,074 - INFO - Deleting interface with subnet_id 657741dc-65f7-4215-bbb6-67d083fc5f01, port_id None from router d8e26f3e-a8bc-4aad-8dbc-f903abddd964 2026-03-30 03:37:43,287 - INFO - Deleting VM ctest-TestRoutersBasic-25863151-31520214 2026-03-30 03:37:43,369 - INFO - Deleting VM ctest-TestRoutersBasic-25863151-13159080 2026-03-30 03:37:43,460 - INFO - Deleting VN ctest-ext_vn-70838000 2026-03-30 03:37:43,529 - DEBUG - VN a02ad78c-8407-4af0-ac44-51274cda1217 still in use: Unable to complete operation on network a02ad78c-8407-4af0-ac44-51274cda1217. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-086b0ca0-00a7-44c2-9b40-a73abc8b67f1'] 2026-03-30 03:37:43,529 - WARNING - Deleting VN ctest-ext_vn-70838000 failed..Will retry 2026-03-30 03:37:45,637 - DEBUG - Response for deleting network () 2026-03-30 03:37:45,637 - INFO - Deleting VN ctest-vn-83015067 2026-03-30 03:37:45,735 - DEBUG - Response for deleting network () 2026-03-30 03:37:45,991 - DEBUG - No XMPP flaps were noticed during the test 2026-03-30 03:37:45,991 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2026-03-30 03:37:45,991 - INFO - -------------------------------------------------------------------------------- 2026-03-30 03:37:46,678 - INFO - Deleted project: ctest-TestRoutersBasic-25863151, ID : 8fc3bcfd-4eef-486a-82f9-f11630c24e76