2025-09-04 02:07:15,187 - INFO - Domain Default found not creating 2025-09-04 02:07:15,324 - INFO - Project ctest-TestRoutersBasic-29290189 not found, creating it 2025-09-04 02:07:15,761 - INFO - Created Project:ctest-TestRoutersBasic-29290189, ID : a815945d-fd8d-4c96-8d9d-5be16344e69a 2025-09-04 02:07:17,292 - INFO - ================================================================================ 2025-09-04 02:07:17,292 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-09-04 02:07:17,292 - 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-09-04 02:07:17,544 - DEBUG - Nothing to compare xmpp stats {'10.0.0.61': {'10.20.0.17': '0'}} with 2025-09-04 02:07:17,544 - INFO - Initial checks done. Running the testcase now 2025-09-04 02:07:17,544 - INFO - 2025-09-04 02:07:18,311 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-29290189 2025-09-04 02:07:18,411 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-29290189 2025-09-04 02:07:18,727 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-29290189', 'default']} 2025-09-04 02:07:19,014 - DEBUG - Response for create_network : {'network': {'id': '356ae211-38e1-47da-85bf-363d01da2a0b', 'name': 'ctest-vn-57227559', 'tenant_id': 'a815945dfd8d4c968d9d5be16344e69a', 'project_id': 'a815945dfd8d4c968d9d5be16344e69a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-29290189', 'ctest-vn-57227559'], 'port_security_enabled': True, 'description': ''}} 2025-09-04 02:07:19,228 - DEBUG - Response for create_subnet : {'subnet': {'id': '1ed41fb3-a496-4a41-94f2-ea361522c213', 'name': '', 'tenant_id': 'a815945dfd8d4c968d9d5be16344e69a', 'network_id': '356ae211-38e1-47da-85bf-363d01da2a0b', 'ip_version': 4, 'cidr': '204.94.59.64/26', 'allocation_pools': [{'start': '204.94.59.66', 'end': '204.94.59.126'}], 'gateway_ip': '204.94.59.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '204.94.59.66', 'tags': [], 'project_id': 'a815945dfd8d4c968d9d5be16344e69a'}} 2025-09-04 02:07:19,245 - INFO - Created VN ctest-vn-57227559 2025-09-04 02:07:19,297 - DEBUG - VN ctest-vn-57227559 UUID is 356ae211-38e1-47da-85bf-363d01da2a0b 2025-09-04 02:07:19,659 - DEBUG - Response for create_network : {'network': {'id': 'a3bb2116-4e82-44d1-aabe-6207d807d008', 'name': 'ctest-ext_vn-16621323', 'tenant_id': 'a815945dfd8d4c968d9d5be16344e69a', 'project_id': 'a815945dfd8d4c968d9d5be16344e69a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-29290189', 'ctest-ext_vn-16621323'], 'port_security_enabled': True, 'description': ''}} 2025-09-04 02:07:19,838 - DEBUG - Response for create_subnet : {'subnet': {'id': '03eccb30-c9f6-45ab-a25b-c2ec744cd5a1', 'name': '', 'tenant_id': 'a815945dfd8d4c968d9d5be16344e69a', 'network_id': 'a3bb2116-4e82-44d1-aabe-6207d807d008', 'ip_version': 4, 'cidr': '165.232.37.192/26', 'allocation_pools': [{'start': '165.232.37.194', 'end': '165.232.37.254'}], 'gateway_ip': '165.232.37.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '165.232.37.194', 'tags': [], 'project_id': 'a815945dfd8d4c968d9d5be16344e69a'}} 2025-09-04 02:07:19,857 - INFO - Created VN ctest-ext_vn-16621323 2025-09-04 02:07:19,911 - DEBUG - VN ctest-ext_vn-16621323 UUID is a3bb2116-4e82-44d1-aabe-6207d807d008 2025-09-04 02:07:20,111 - DEBUG - Services list from nova: [, , ] 2025-09-04 02:07:21,197 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4011-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4011-1) 2025-09-04 02:07:22,421 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4011-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4011-1) 2025-09-04 02:07:22,502 - INFO - Setting gateway for router 87422e1e-30b6-4a6a-87e3-29684563167d to network a3bb2116-4e82-44d1-aabe-6207d807d008 2025-09-04 02:07:22,566 - INFO - Adding interface with subnet_id 1ed41fb3-a496-4a41-94f2-ea361522c213, port_id None to router 87422e1e-30b6-4a6a-87e3-29684563167d 2025-09-04 02:07:22,964 - INFO - Waiting for VM ctest-TestRoutersBasic-29290189-74994070 to be up.. 2025-09-04 02:07:23,107 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-04 02:07:28,181 - DEBUG - VM is in ACTIVE state now 2025-09-04 02:07:28,181 - INFO - VM name : ctest-TestRoutersBasic-29290189-74994070 2025-09-04 02:07:28,252 - DEBUG - VM ctest-TestRoutersBasic-29290189-74994070 ID is 63d1f1e8-4882-41ee-b130-08fb86699e78 2025-09-04 02:07:28,271 - DEBUG - VM ctest-TestRoutersBasic-29290189-74994070 launched on Node cn-jenkins-deploy-platform-ansible-os-4011-1 2025-09-04 02:07:28,341 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine/63d1f1e8-4882-41ee-b130-08fb86699e78 2025-09-04 02:07:28,677 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine/63d1f1e8-4882-41ee-b130-08fb86699e78 2025-09-04 02:07:28,710 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine-interface/e1b1825c-51d1-47a9-b879-9c7620cce89f 2025-09-04 02:07:31,944 - 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 1002ms') 2025-09-04 02:07:31,945 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-29290189-74994070 failed! 2025-09-04 02:07:31,999 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-29290189:ctest-vn-57227559 is 204.94.59.65 and allocation pool is NOT set 2025-09-04 02:07:34,062 - 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=4.56 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.99 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 = 1.985/3.273/4.561/1.288 ms') 2025-09-04 02:07:34,062 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-29290189-74994070 passed 2025-09-04 02:07:34,211 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 02:07:34,212 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-29290189-74994070, IP 204.94.59.67, Port 22 2025-09-04 02:07:34,380 - DEBUG - VM ctest-TestRoutersBasic-29290189-74994070 is ready for SSH connections 2025-09-04 02:07:34,381 - INFO - Waiting for VM ctest-TestRoutersBasic-29290189-93258404 to be up.. 2025-09-04 02:07:34,464 - DEBUG - VM is in ACTIVE state now 2025-09-04 02:07:34,464 - INFO - VM name : ctest-TestRoutersBasic-29290189-93258404 2025-09-04 02:07:34,548 - DEBUG - VM ctest-TestRoutersBasic-29290189-93258404 ID is bdc2983c-0324-4022-bc7d-d3993e11b02a 2025-09-04 02:07:34,548 - DEBUG - VM ctest-TestRoutersBasic-29290189-93258404 launched on Node cn-jenkins-deploy-platform-ansible-os-4011-1 2025-09-04 02:07:34,634 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine/bdc2983c-0324-4022-bc7d-d3993e11b02a 2025-09-04 02:07:34,644 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine-interface/637f8d37-45ce-4158-a8b8-821e98ff2ace 2025-09-04 02:07:35,889 - 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.72 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.02 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.015/2.367/3.720/1.352 ms') 2025-09-04 02:07:35,889 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-29290189-93258404 passed 2025-09-04 02:07:36,035 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 02:07:36,036 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-29290189-93258404, IP 165.232.37.195, Port 22 2025-09-04 02:07:36,195 - DEBUG - VM ctest-TestRoutersBasic-29290189-93258404 is ready for SSH connections 2025-09-04 02:07:36,195 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 02:07:36,195 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 165.232.37.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.61, gateway password: c0ntrail123 2025-09-04 02:07:36,195 - DEBUG - ping -s 56 -c 3 -W 1 165.232.37.195 2025-09-04 02:07:39,909 - DEBUG - PING 165.232.37.195 (165.232.37.195): 56 data bytes 64 bytes from 165.232.37.195: seq=0 ttl=62 time=7.067 ms 64 bytes from 165.232.37.195: seq=1 ttl=62 time=0.874 ms 64 bytes from 165.232.37.195: seq=2 ttl=62 time=1.055 ms --- 165.232.37.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.874/2.998/7.067 ms 2025-09-04 02:07:39,909 - INFO - Ping to IP 165.232.37.195 from VM ctest-TestRoutersBasic-29290189-74994070 passed 2025-09-04 02:07:39,909 - INFO - Deleting interface with subnet_id 1ed41fb3-a496-4a41-94f2-ea361522c213, port_id None from router 87422e1e-30b6-4a6a-87e3-29684563167d 2025-09-04 02:07:40,091 - INFO - Deleting VM ctest-TestRoutersBasic-29290189-93258404 2025-09-04 02:07:40,160 - INFO - Deleting VM ctest-TestRoutersBasic-29290189-74994070 2025-09-04 02:07:40,241 - INFO - Deleting VN ctest-ext_vn-16621323 2025-09-04 02:07:40,305 - DEBUG - VN a3bb2116-4e82-44d1-aabe-6207d807d008 still in use: Unable to complete operation on network a3bb2116-4e82-44d1-aabe-6207d807d008. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e85d8ff0-a754-46a2-951b-e062eb7ddb55'] 2025-09-04 02:07:40,305 - WARNING - Deleting VN ctest-ext_vn-16621323 failed..Will retry 2025-09-04 02:07:42,406 - DEBUG - Response for deleting network () 2025-09-04 02:07:42,407 - INFO - Deleting VN ctest-vn-57227559 2025-09-04 02:07:42,554 - DEBUG - Response for deleting network () 2025-09-04 02:07:42,808 - DEBUG - No XMPP flaps were noticed during the test
2025-09-04 02:07:42,808 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-09-04 02:07:42,808 - INFO - -------------------------------------------------------------------------------- 2025-09-04 02:07:43,555 - INFO - Deleted project: ctest-TestRoutersBasic-29290189, ID : a815945d-fd8d-4c96-8d9d-5be16344e69a