2025-12-01 02:11:05,056 - INFO - Domain Default found not creating 2025-12-01 02:11:05,242 - INFO - Project ctest-TestRoutersBasic-23430740 not found, creating it 2025-12-01 02:11:05,710 - INFO - Created Project:ctest-TestRoutersBasic-23430740, ID : 698ab359-8a80-4e86-8b38-3324411e0c27 2025-12-01 02:11:07,186 - INFO - ================================================================================ 2025-12-01 02:11:07,186 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-12-01 02:11:07,186 - 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-12-01 02:11:07,439 - DEBUG - Nothing to compare xmpp stats {'10.0.0.240': {'10.20.0.18': '0'}} with 2025-12-01 02:11:07,439 - INFO - Initial checks done. Running the testcase now 2025-12-01 02:11:07,440 - INFO - 2025-12-01 02:11:08,140 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-23430740 2025-12-01 02:11:08,235 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-23430740 2025-12-01 02:11:08,558 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-23430740', 'default']} 2025-12-01 02:11:08,846 - DEBUG - Response for create_network : {'network': {'id': 'f86bebef-488b-426f-b7ff-db2a692b6b1b', 'name': 'ctest-vn-40662048', 'tenant_id': '698ab3598a804e868b383324411e0c27', 'project_id': '698ab3598a804e868b383324411e0c27', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-23430740', 'ctest-vn-40662048'], 'port_security_enabled': True, 'description': ''}} 2025-12-01 02:11:08,994 - DEBUG - Response for create_subnet : {'subnet': {'id': '91bf6b97-c9f7-4fa2-b476-61b3c3861157', 'name': '', 'tenant_id': '698ab3598a804e868b383324411e0c27', 'network_id': 'f86bebef-488b-426f-b7ff-db2a692b6b1b', 'ip_version': 4, 'cidr': '53.135.153.192/26', 'allocation_pools': [{'start': '53.135.153.194', 'end': '53.135.153.254'}], 'gateway_ip': '53.135.153.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '53.135.153.194', 'tags': [], 'project_id': '698ab3598a804e868b383324411e0c27'}} 2025-12-01 02:11:09,015 - INFO - Created VN ctest-vn-40662048 2025-12-01 02:11:09,067 - DEBUG - VN ctest-vn-40662048 UUID is f86bebef-488b-426f-b7ff-db2a692b6b1b 2025-12-01 02:11:09,412 - DEBUG - Response for create_network : {'network': {'id': '5dd3c3ca-25b9-4ad6-ae48-e2eec1c611b4', 'name': 'ctest-ext_vn-30098467', 'tenant_id': '698ab3598a804e868b383324411e0c27', 'project_id': '698ab3598a804e868b383324411e0c27', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-23430740', 'ctest-ext_vn-30098467'], 'port_security_enabled': True, 'description': ''}} 2025-12-01 02:11:09,637 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e405fc56-33ee-4e47-b35e-d865e98ba30e', 'name': '', 'tenant_id': '698ab3598a804e868b383324411e0c27', 'network_id': '5dd3c3ca-25b9-4ad6-ae48-e2eec1c611b4', 'ip_version': 4, 'cidr': '48.199.61.128/26', 'allocation_pools': [{'start': '48.199.61.130', 'end': '48.199.61.190'}], 'gateway_ip': '48.199.61.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '48.199.61.130', 'tags': [], 'project_id': '698ab3598a804e868b383324411e0c27'}} 2025-12-01 02:11:09,654 - INFO - Created VN ctest-ext_vn-30098467 2025-12-01 02:11:09,707 - DEBUG - VN ctest-ext_vn-30098467 UUID is 5dd3c3ca-25b9-4ad6-ae48-e2eec1c611b4 2025-12-01 02:11:09,908 - DEBUG - Services list from nova: [, , ] 2025-12-01 02:11:10,899 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4828-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4828-1) 2025-12-01 02:11:12,056 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4828-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4828-1) 2025-12-01 02:11:12,144 - INFO - Setting gateway for router 38a8070d-5add-46e2-9154-72e7a2b9a53b to network 5dd3c3ca-25b9-4ad6-ae48-e2eec1c611b4 2025-12-01 02:11:12,208 - INFO - Adding interface with subnet_id 91bf6b97-c9f7-4fa2-b476-61b3c3861157, port_id None to router 38a8070d-5add-46e2-9154-72e7a2b9a53b 2025-12-01 02:11:12,593 - INFO - Waiting for VM ctest-TestRoutersBasic-23430740-50035615 to be up.. 2025-12-01 02:11:12,723 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-01 02:11:17,803 - DEBUG - VM is in ACTIVE state now 2025-12-01 02:11:17,803 - INFO - VM name : ctest-TestRoutersBasic-23430740-50035615 2025-12-01 02:11:17,876 - DEBUG - VM ctest-TestRoutersBasic-23430740-50035615 ID is 69d5b9d1-5dc8-49a7-af31-8145a1400968 2025-12-01 02:11:17,894 - DEBUG - VM ctest-TestRoutersBasic-23430740-50035615 launched on Node cn-jenkins-deploy-platform-ansible-os-4828-1 2025-12-01 02:11:17,963 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/69d5b9d1-5dc8-49a7-af31-8145a1400968 2025-12-01 02:11:18,261 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/69d5b9d1-5dc8-49a7-af31-8145a1400968 2025-12-01 02:11:18,294 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine-interface/cf7da6e8-14df-48c0-ad62-a810d0ff4e6c 2025-12-01 02:11:21,536 - 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 1007ms') 2025-12-01 02:11:21,536 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-23430740-50035615 failed! 2025-12-01 02:11:21,591 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-23430740:ctest-vn-40662048 is 53.135.153.193 and allocation pool is NOT set 2025-12-01 02:11:23,658 - 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.74 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.378 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.378/2.061/3.744/1.683 ms') 2025-12-01 02:11:23,658 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-23430740-50035615 passed 2025-12-01 02:11:23,815 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-01 02:11:23,815 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-23430740-50035615, IP 53.135.153.195, Port 22 2025-12-01 02:11:23,982 - DEBUG - VM ctest-TestRoutersBasic-23430740-50035615 is ready for SSH connections 2025-12-01 02:11:23,982 - INFO - Waiting for VM ctest-TestRoutersBasic-23430740-34318643 to be up.. 2025-12-01 02:11:24,052 - DEBUG - VM is in ACTIVE state now 2025-12-01 02:11:24,052 - INFO - VM name : ctest-TestRoutersBasic-23430740-34318643 2025-12-01 02:11:24,114 - DEBUG - VM ctest-TestRoutersBasic-23430740-34318643 ID is 9d12e501-5668-493a-abdf-e6f1900ad112 2025-12-01 02:11:24,114 - DEBUG - VM ctest-TestRoutersBasic-23430740-34318643 launched on Node cn-jenkins-deploy-platform-ansible-os-4828-1 2025-12-01 02:11:24,183 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/9d12e501-5668-493a-abdf-e6f1900ad112 2025-12-01 02:11:24,191 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine-interface/75f1f560-7175-4b18-b159-70a92f5cfb3e 2025-12-01 02:11:25,426 - 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.66 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.498 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.498/2.080/3.662/1.582 ms') 2025-12-01 02:11:25,426 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-23430740-34318643 passed 2025-12-01 02:11:25,575 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-01 02:11:25,575 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-23430740-34318643, IP 48.199.61.131, Port 22 2025-12-01 02:11:25,731 - DEBUG - VM ctest-TestRoutersBasic-23430740-34318643 is ready for SSH connections 2025-12-01 02:11:25,731 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-01 02:11:25,731 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 48.199.61.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.240, gateway password: c0ntrail123 2025-12-01 02:11:25,731 - DEBUG - ping -s 56 -c 3 -W 1 48.199.61.131 2025-12-01 02:11:29,736 - DEBUG - PING 48.199.61.131 (48.199.61.131): 56 data bytes 64 bytes from 48.199.61.131: seq=0 ttl=62 time=7.192 ms 64 bytes from 48.199.61.131: seq=1 ttl=62 time=0.975 ms 64 bytes from 48.199.61.131: seq=2 ttl=62 time=0.918 ms --- 48.199.61.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.918/3.028/7.192 ms 2025-12-01 02:11:29,736 - INFO - Ping to IP 48.199.61.131 from VM ctest-TestRoutersBasic-23430740-50035615 passed 2025-12-01 02:11:29,736 - INFO - Deleting interface with subnet_id 91bf6b97-c9f7-4fa2-b476-61b3c3861157, port_id None from router 38a8070d-5add-46e2-9154-72e7a2b9a53b 2025-12-01 02:11:29,912 - INFO - Deleting VM ctest-TestRoutersBasic-23430740-34318643 2025-12-01 02:11:29,974 - INFO - Deleting VM ctest-TestRoutersBasic-23430740-50035615 2025-12-01 02:11:30,049 - INFO - Deleting VN ctest-ext_vn-30098467 2025-12-01 02:11:30,113 - DEBUG - VN 5dd3c3ca-25b9-4ad6-ae48-e2eec1c611b4 still in use: Unable to complete operation on network 5dd3c3ca-25b9-4ad6-ae48-e2eec1c611b4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-680fb127-f10e-49a9-96e9-825558330a40'] 2025-12-01 02:11:30,113 - WARNING - Deleting VN ctest-ext_vn-30098467 failed..Will retry 2025-12-01 02:11:32,209 - DEBUG - Response for deleting network () 2025-12-01 02:11:32,209 - INFO - Deleting VN ctest-vn-40662048 2025-12-01 02:11:32,306 - DEBUG - Response for deleting network () 2025-12-01 02:11:32,559 - DEBUG - No XMPP flaps were noticed during the test
2025-12-01 02:11:32,560 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-12-01 02:11:32,560 - INFO - -------------------------------------------------------------------------------- 2025-12-01 02:11:33,252 - INFO - Deleted project: ctest-TestRoutersBasic-23430740, ID : 698ab359-8a80-4e86-8b38-3324411e0c27