2025-11-07 15:51:16,983 - INFO - Domain Default found not creating 2025-11-07 15:51:17,149 - INFO - Project ctest-TestRoutersBasic-38421188 not found, creating it 2025-11-07 15:51:17,670 - INFO - Created Project:ctest-TestRoutersBasic-38421188, ID : 82397e42-ce10-410d-a1b6-292c5b8ae216 2025-11-07 15:51:19,184 - INFO - ================================================================================ 2025-11-07 15:51:19,185 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-07 15:51:19,185 - 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-11-07 15:51:19,443 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.18': '0'}} with 2025-11-07 15:51:19,443 - INFO - Initial checks done. Running the testcase now 2025-11-07 15:51:19,443 - INFO - 2025-11-07 15:51:20,162 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-38421188 2025-11-07 15:51:20,257 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-38421188 2025-11-07 15:51:20,581 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-38421188', 'default']} 2025-11-07 15:51:20,900 - DEBUG - Response for create_network : {'network': {'id': '0d01c375-1a40-42e6-8fdc-56cd5000a631', 'name': 'ctest-vn-88822493', 'tenant_id': '82397e42ce10410da1b6292c5b8ae216', 'project_id': '82397e42ce10410da1b6292c5b8ae216', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-38421188', 'ctest-vn-88822493'], 'port_security_enabled': True, 'description': ''}} 2025-11-07 15:51:21,097 - DEBUG - Response for create_subnet : {'subnet': {'id': '77aaeac9-8dea-496c-8ad6-7bb51809e0d6', 'name': '', 'tenant_id': '82397e42ce10410da1b6292c5b8ae216', 'network_id': '0d01c375-1a40-42e6-8fdc-56cd5000a631', 'ip_version': 4, 'cidr': '12.224.90.64/26', 'allocation_pools': [{'start': '12.224.90.66', 'end': '12.224.90.126'}], 'gateway_ip': '12.224.90.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '12.224.90.66', 'tags': [], 'project_id': '82397e42ce10410da1b6292c5b8ae216'}} 2025-11-07 15:51:21,122 - INFO - Created VN ctest-vn-88822493 2025-11-07 15:51:21,177 - DEBUG - VN ctest-vn-88822493 UUID is 0d01c375-1a40-42e6-8fdc-56cd5000a631 2025-11-07 15:51:21,523 - DEBUG - Response for create_network : {'network': {'id': '576f7700-c026-4279-bab6-294dc0038cfd', 'name': 'ctest-ext_vn-12481506', 'tenant_id': '82397e42ce10410da1b6292c5b8ae216', 'project_id': '82397e42ce10410da1b6292c5b8ae216', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-38421188', 'ctest-ext_vn-12481506'], 'port_security_enabled': True, 'description': ''}} 2025-11-07 15:51:21,671 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd29b5587-37c5-4b6c-b051-3e7ae6a63860', 'name': '', 'tenant_id': '82397e42ce10410da1b6292c5b8ae216', 'network_id': '576f7700-c026-4279-bab6-294dc0038cfd', 'ip_version': 4, 'cidr': '95.7.32.64/26', 'allocation_pools': [{'start': '95.7.32.66', 'end': '95.7.32.126'}], 'gateway_ip': '95.7.32.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '95.7.32.66', 'tags': [], 'project_id': '82397e42ce10410da1b6292c5b8ae216'}} 2025-11-07 15:51:21,689 - INFO - Created VN ctest-ext_vn-12481506 2025-11-07 15:51:21,745 - DEBUG - VN ctest-ext_vn-12481506 UUID is 576f7700-c026-4279-bab6-294dc0038cfd 2025-11-07 15:51:21,908 - DEBUG - Services list from nova: [, , ] 2025-11-07 15:51:22,946 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4670-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4670-1) 2025-11-07 15:51:24,095 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4670-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4670-1) 2025-11-07 15:51:24,185 - INFO - Setting gateway for router e960db1e-0b86-4810-a190-c59d3a3f1ae5 to network 576f7700-c026-4279-bab6-294dc0038cfd 2025-11-07 15:51:24,257 - INFO - Adding interface with subnet_id 77aaeac9-8dea-496c-8ad6-7bb51809e0d6, port_id None to router e960db1e-0b86-4810-a190-c59d3a3f1ae5 2025-11-07 15:51:24,594 - INFO - Waiting for VM ctest-TestRoutersBasic-38421188-34301912 to be up.. 2025-11-07 15:51:24,786 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-07 15:51:29,871 - DEBUG - VM is in ACTIVE state now 2025-11-07 15:51:29,871 - INFO - VM name : ctest-TestRoutersBasic-38421188-34301912 2025-11-07 15:51:29,954 - DEBUG - VM ctest-TestRoutersBasic-38421188-34301912 ID is 41c782f5-b52d-4e60-a1fd-97e2e44b3b44 2025-11-07 15:51:29,975 - DEBUG - VM ctest-TestRoutersBasic-38421188-34301912 launched on Node cn-jenkins-deploy-platform-ansible-os-4670-1 2025-11-07 15:51:30,050 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/41c782f5-b52d-4e60-a1fd-97e2e44b3b44 2025-11-07 15:51:30,352 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/41c782f5-b52d-4e60-a1fd-97e2e44b3b44 2025-11-07 15:51:30,384 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/2d66ab43-2cbf-40b6-8612-9a974622207c 2025-11-07 15:51:33,643 - 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') 2025-11-07 15:51:33,643 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-38421188-34301912 failed! 2025-11-07 15:51:33,701 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-38421188:ctest-vn-88822493 is 12.224.90.65 and allocation pool is NOT set 2025-11-07 15:51:35,761 - 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.11 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.423 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.423/1.765/3.108/1.342 ms') 2025-11-07 15:51:35,761 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-38421188-34301912 passed 2025-11-07 15:51:35,873 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 15:51:35,873 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-38421188-34301912, IP 12.224.90.67, Port 22 2025-11-07 15:51:36,036 - DEBUG - VM ctest-TestRoutersBasic-38421188-34301912 is ready for SSH connections 2025-11-07 15:51:36,037 - INFO - Waiting for VM ctest-TestRoutersBasic-38421188-79174886 to be up.. 2025-11-07 15:51:36,119 - DEBUG - VM is in ACTIVE state now 2025-11-07 15:51:36,119 - INFO - VM name : ctest-TestRoutersBasic-38421188-79174886 2025-11-07 15:51:36,197 - DEBUG - VM ctest-TestRoutersBasic-38421188-79174886 ID is fe836a50-611c-47d1-b5ac-55cda2f6d4e1 2025-11-07 15:51:36,197 - DEBUG - VM ctest-TestRoutersBasic-38421188-79174886 launched on Node cn-jenkins-deploy-platform-ansible-os-4670-1 2025-11-07 15:51:36,275 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/fe836a50-611c-47d1-b5ac-55cda2f6d4e1 2025-11-07 15:51:36,284 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/5dabbd3a-e49a-4ea1-be4d-cadec70c8d73 2025-11-07 15:51:37,519 - 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.55 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.541 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.541/2.547/4.553/2.006 ms') 2025-11-07 15:51:37,519 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-38421188-79174886 passed 2025-11-07 15:51:37,673 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 15:51:37,673 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-38421188-79174886, IP 95.7.32.67, Port 22 2025-11-07 15:51:37,829 - DEBUG - VM ctest-TestRoutersBasic-38421188-79174886 is ready for SSH connections 2025-11-07 15:51:37,829 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 15:51:37,829 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 95.7.32.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-11-07 15:51:37,829 - DEBUG - ping -s 56 -c 3 -W 1 95.7.32.67 2025-11-07 15:51:41,908 - DEBUG - PING 95.7.32.67 (95.7.32.67): 56 data bytes 64 bytes from 95.7.32.67: seq=0 ttl=62 time=6.685 ms 64 bytes from 95.7.32.67: seq=1 ttl=62 time=1.017 ms 64 bytes from 95.7.32.67: seq=2 ttl=62 time=1.100 ms --- 95.7.32.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.017/2.934/6.685 ms 2025-11-07 15:51:41,908 - INFO - Ping to IP 95.7.32.67 from VM ctest-TestRoutersBasic-38421188-34301912 passed 2025-11-07 15:51:41,908 - INFO - Deleting interface with subnet_id 77aaeac9-8dea-496c-8ad6-7bb51809e0d6, port_id None from router e960db1e-0b86-4810-a190-c59d3a3f1ae5 2025-11-07 15:51:42,126 - INFO - Deleting VM ctest-TestRoutersBasic-38421188-79174886 2025-11-07 15:51:42,218 - INFO - Deleting VM ctest-TestRoutersBasic-38421188-34301912 2025-11-07 15:51:42,306 - INFO - Deleting VN ctest-ext_vn-12481506 2025-11-07 15:51:42,375 - DEBUG - VN 576f7700-c026-4279-bab6-294dc0038cfd still in use: Unable to complete operation on network 576f7700-c026-4279-bab6-294dc0038cfd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-09e00be2-6397-4e78-b75d-be74967699d9'] 2025-11-07 15:51:42,375 - WARNING - Deleting VN ctest-ext_vn-12481506 failed..Will retry 2025-11-07 15:51:44,517 - DEBUG - Response for deleting network () 2025-11-07 15:51:44,517 - INFO - Deleting VN ctest-vn-88822493 2025-11-07 15:51:44,644 - DEBUG - Response for deleting network () 2025-11-07 15:51:44,903 - DEBUG - No XMPP flaps were noticed during the test
2025-11-07 15:51:44,903 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-11-07 15:51:44,903 - INFO - -------------------------------------------------------------------------------- 2025-11-07 15:51:45,616 - INFO - Deleted project: ctest-TestRoutersBasic-38421188, ID : 82397e42-ce10-410d-a1b6-292c5b8ae216