2025-09-25 01:48:15,959 - INFO - Domain Default found not creating 2025-09-25 01:48:16,404 - INFO - Project ctest-TestRoutersBasic-72570960 not found, creating it 2025-09-25 01:48:16,816 - INFO - Created Project:ctest-TestRoutersBasic-72570960, ID : 4310541f-3158-4219-840d-c3a4df63d854 2025-09-25 01:48:18,212 - INFO - ================================================================================ 2025-09-25 01:48:18,212 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-09-25 01:48:18,212 - 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-25 01:48:18,467 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.129': '0'}} with 2025-09-25 01:48:18,467 - INFO - Initial checks done. Running the testcase now 2025-09-25 01:48:18,467 - INFO - 2025-09-25 01:48:19,146 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-72570960 2025-09-25 01:48:19,242 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-72570960 2025-09-25 01:48:19,566 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-72570960', 'default']} 2025-09-25 01:48:19,832 - DEBUG - Response for create_network : {'network': {'id': '9396b754-b4a4-44ee-a95d-e589ba2da0fa', 'name': 'ctest-vn-90409671', 'tenant_id': '4310541f31584219840dc3a4df63d854', 'project_id': '4310541f31584219840dc3a4df63d854', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-72570960', 'ctest-vn-90409671'], 'port_security_enabled': True, 'description': ''}} 2025-09-25 01:48:20,044 - DEBUG - Response for create_subnet : {'subnet': {'id': '26c633bc-650d-428f-a0b7-9a9a807804eb', 'name': '', 'tenant_id': '4310541f31584219840dc3a4df63d854', 'network_id': '9396b754-b4a4-44ee-a95d-e589ba2da0fa', 'ip_version': 4, 'cidr': '195.6.217.192/26', 'allocation_pools': [{'start': '195.6.217.194', 'end': '195.6.217.254'}], 'gateway_ip': '195.6.217.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '195.6.217.194', 'tags': [], 'project_id': '4310541f31584219840dc3a4df63d854'}} 2025-09-25 01:48:20,061 - INFO - Created VN ctest-vn-90409671 2025-09-25 01:48:20,110 - DEBUG - VN ctest-vn-90409671 UUID is 9396b754-b4a4-44ee-a95d-e589ba2da0fa 2025-09-25 01:48:20,449 - DEBUG - Response for create_network : {'network': {'id': 'c93a4285-0825-4199-ac67-08ac96d59ca5', 'name': 'ctest-ext_vn-26381753', 'tenant_id': '4310541f31584219840dc3a4df63d854', 'project_id': '4310541f31584219840dc3a4df63d854', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-72570960', 'ctest-ext_vn-26381753'], 'port_security_enabled': True, 'description': ''}} 2025-09-25 01:48:20,621 - DEBUG - Response for create_subnet : {'subnet': {'id': '8a1dd87b-88d5-4b34-9749-1bd976d97c28', 'name': '', 'tenant_id': '4310541f31584219840dc3a4df63d854', 'network_id': 'c93a4285-0825-4199-ac67-08ac96d59ca5', 'ip_version': 4, 'cidr': '182.122.118.192/26', 'allocation_pools': [{'start': '182.122.118.194', 'end': '182.122.118.254'}], 'gateway_ip': '182.122.118.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '182.122.118.194', 'tags': [], 'project_id': '4310541f31584219840dc3a4df63d854'}} 2025-09-25 01:48:20,636 - INFO - Created VN ctest-ext_vn-26381753 2025-09-25 01:48:20,686 - DEBUG - VN ctest-ext_vn-26381753 UUID is c93a4285-0825-4199-ac67-08ac96d59ca5 2025-09-25 01:48:20,871 - DEBUG - Services list from nova: [, , ] 2025-09-25 01:48:21,856 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4185-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4185-1) 2025-09-25 01:48:22,984 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4185-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4185-1) 2025-09-25 01:48:23,071 - INFO - Setting gateway for router 1b855065-5b48-4ffc-8627-5a725ef4bf9b to network c93a4285-0825-4199-ac67-08ac96d59ca5 2025-09-25 01:48:23,153 - INFO - Adding interface with subnet_id 26c633bc-650d-428f-a0b7-9a9a807804eb, port_id None to router 1b855065-5b48-4ffc-8627-5a725ef4bf9b 2025-09-25 01:48:23,507 - INFO - Waiting for VM ctest-TestRoutersBasic-72570960-92324766 to be up.. 2025-09-25 01:48:23,662 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-25 01:48:28,736 - DEBUG - VM is in ACTIVE state now 2025-09-25 01:48:28,736 - INFO - VM name : ctest-TestRoutersBasic-72570960-92324766 2025-09-25 01:48:28,809 - DEBUG - VM ctest-TestRoutersBasic-72570960-92324766 ID is 4b24c7a0-e6e5-4bdb-aec4-0b8788cbc669 2025-09-25 01:48:28,827 - DEBUG - VM ctest-TestRoutersBasic-72570960-92324766 launched on Node cn-jenkins-deploy-platform-ansible-os-4185-1 2025-09-25 01:48:28,896 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/4b24c7a0-e6e5-4bdb-aec4-0b8788cbc669 2025-09-25 01:48:29,188 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/4b24c7a0-e6e5-4bdb-aec4-0b8788cbc669 2025-09-25 01:48:29,224 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/87d361df-991b-423e-912d-f6b91adbe30d 2025-09-25 01:48:32,469 - 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 1014ms') 2025-09-25 01:48:32,469 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-72570960-92324766 failed! 2025-09-25 01:48:32,526 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-72570960:ctest-vn-90409671 is 195.6.217.193 and allocation pool is NOT set 2025-09-25 01:48:34,612 - 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.53 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.758 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.758/2.144/3.531/1.386 ms') 2025-09-25 01:48:34,612 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-72570960-92324766 passed 2025-09-25 01:48:34,767 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 01:48:34,767 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-72570960-92324766, IP 195.6.217.195, Port 22 2025-09-25 01:48:34,921 - DEBUG - VM ctest-TestRoutersBasic-72570960-92324766 is ready for SSH connections 2025-09-25 01:48:34,921 - INFO - Waiting for VM ctest-TestRoutersBasic-72570960-87814641 to be up.. 2025-09-25 01:48:34,987 - DEBUG - VM is in ACTIVE state now 2025-09-25 01:48:34,987 - INFO - VM name : ctest-TestRoutersBasic-72570960-87814641 2025-09-25 01:48:35,053 - DEBUG - VM ctest-TestRoutersBasic-72570960-87814641 ID is 1b2bf070-b71d-4ca3-8e29-209af1851bb1 2025-09-25 01:48:35,053 - DEBUG - VM ctest-TestRoutersBasic-72570960-87814641 launched on Node cn-jenkins-deploy-platform-ansible-os-4185-1 2025-09-25 01:48:35,117 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/1b2bf070-b71d-4ca3-8e29-209af1851bb1 2025-09-25 01:48:35,124 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/a6730908-4321-4a42-94b4-4576ceece643 2025-09-25 01:48:36,360 - 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=2.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.390 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 = 0.390/1.628/2.867/1.238 ms') 2025-09-25 01:48:36,361 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-72570960-87814641 passed 2025-09-25 01:48:36,506 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 01:48:36,506 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-72570960-87814641, IP 182.122.118.195, Port 22 2025-09-25 01:48:36,658 - DEBUG - VM ctest-TestRoutersBasic-72570960-87814641 is ready for SSH connections 2025-09-25 01:48:36,658 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 01:48:36,658 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 182.122.118.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-09-25 01:48:36,658 - DEBUG - ping -s 56 -c 3 -W 1 182.122.118.195 2025-09-25 01:48:40,626 - DEBUG - PING 182.122.118.195 (182.122.118.195): 56 data bytes 64 bytes from 182.122.118.195: seq=0 ttl=62 time=6.797 ms 64 bytes from 182.122.118.195: seq=1 ttl=62 time=0.913 ms 64 bytes from 182.122.118.195: seq=2 ttl=62 time=0.941 ms --- 182.122.118.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.913/2.883/6.797 ms 2025-09-25 01:48:40,627 - INFO - Ping to IP 182.122.118.195 from VM ctest-TestRoutersBasic-72570960-92324766 passed 2025-09-25 01:48:40,627 - INFO - Deleting interface with subnet_id 26c633bc-650d-428f-a0b7-9a9a807804eb, port_id None from router 1b855065-5b48-4ffc-8627-5a725ef4bf9b 2025-09-25 01:48:40,793 - INFO - Deleting VM ctest-TestRoutersBasic-72570960-87814641 2025-09-25 01:48:40,874 - INFO - Deleting VM ctest-TestRoutersBasic-72570960-92324766 2025-09-25 01:48:40,944 - INFO - Deleting VN ctest-ext_vn-26381753 2025-09-25 01:48:41,016 - DEBUG - VN c93a4285-0825-4199-ac67-08ac96d59ca5 still in use: Unable to complete operation on network c93a4285-0825-4199-ac67-08ac96d59ca5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-059aea20-2662-4ad0-b384-0c4e2049c732'] 2025-09-25 01:48:41,016 - WARNING - Deleting VN ctest-ext_vn-26381753 failed..Will retry 2025-09-25 01:48:43,114 - DEBUG - Response for deleting network () 2025-09-25 01:48:43,114 - INFO - Deleting VN ctest-vn-90409671 2025-09-25 01:48:43,202 - DEBUG - Response for deleting network () 2025-09-25 01:48:43,459 - DEBUG - No XMPP flaps were noticed during the test
2025-09-25 01:48:43,460 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-09-25 01:48:43,460 - INFO - -------------------------------------------------------------------------------- 2025-09-25 01:48:44,101 - INFO - Deleted project: ctest-TestRoutersBasic-72570960, ID : 4310541f-3158-4219-840d-c3a4df63d854