2025-11-10 20:21:33,833 - INFO - Domain Default found not creating 2025-11-10 20:21:34,164 - INFO - Project ctest-TestRoutersBasic-79495560 not found, creating it 2025-11-10 20:21:34,858 - INFO - Created Project:ctest-TestRoutersBasic-79495560, ID : b104ac1e-af8e-4d5a-ad17-0eec532243ea 2025-11-10 20:21:36,736 - INFO - ================================================================================ 2025-11-10 20:21:36,736 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-10 20:21:36,736 - 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-10 20:21:37,047 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.25': '0'}} with 2025-11-10 20:21:37,047 - INFO - Initial checks done. Running the testcase now 2025-11-10 20:21:37,048 - INFO - 2025-11-10 20:21:37,992 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-79495560 2025-11-10 20:21:38,109 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-79495560 2025-11-10 20:21:38,511 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-79495560', 'default']} 2025-11-10 20:21:38,923 - DEBUG - Response for create_network : {'network': {'id': 'c204b2e8-97ac-4a67-9fd5-98f0ceaa682b', 'name': 'ctest-vn-06324903', 'tenant_id': 'b104ac1eaf8e4d5aad170eec532243ea', 'project_id': 'b104ac1eaf8e4d5aad170eec532243ea', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-79495560', 'ctest-vn-06324903'], 'port_security_enabled': True, 'description': ''}} 2025-11-10 20:21:39,097 - DEBUG - Response for create_subnet : {'subnet': {'id': '16bce190-2437-48a6-bcde-07b18fe5b39c', 'name': '', 'tenant_id': 'b104ac1eaf8e4d5aad170eec532243ea', 'network_id': 'c204b2e8-97ac-4a67-9fd5-98f0ceaa682b', 'ip_version': 4, 'cidr': '82.112.247.128/26', 'allocation_pools': [{'start': '82.112.247.130', 'end': '82.112.247.190'}], 'gateway_ip': '82.112.247.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '82.112.247.130', 'tags': [], 'project_id': 'b104ac1eaf8e4d5aad170eec532243ea'}} 2025-11-10 20:21:39,120 - INFO - Created VN ctest-vn-06324903 2025-11-10 20:21:39,176 - DEBUG - VN ctest-vn-06324903 UUID is c204b2e8-97ac-4a67-9fd5-98f0ceaa682b 2025-11-10 20:21:39,674 - DEBUG - Response for create_network : {'network': {'id': '22694988-5e58-4310-96d4-79d0572a05ae', 'name': 'ctest-ext_vn-72325895', 'tenant_id': 'b104ac1eaf8e4d5aad170eec532243ea', 'project_id': 'b104ac1eaf8e4d5aad170eec532243ea', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-79495560', 'ctest-ext_vn-72325895'], 'port_security_enabled': True, 'description': ''}} 2025-11-10 20:21:39,874 - DEBUG - Response for create_subnet : {'subnet': {'id': '58626318-384d-442f-9152-f22ae035238a', 'name': '', 'tenant_id': 'b104ac1eaf8e4d5aad170eec532243ea', 'network_id': '22694988-5e58-4310-96d4-79d0572a05ae', 'ip_version': 4, 'cidr': '93.93.56.64/26', 'allocation_pools': [{'start': '93.93.56.66', 'end': '93.93.56.126'}], 'gateway_ip': '93.93.56.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '93.93.56.66', 'tags': [], 'project_id': 'b104ac1eaf8e4d5aad170eec532243ea'}} 2025-11-10 20:21:39,906 - INFO - Created VN ctest-ext_vn-72325895 2025-11-10 20:21:39,968 - DEBUG - VN ctest-ext_vn-72325895 UUID is 22694988-5e58-4310-96d4-79d0572a05ae 2025-11-10 20:21:40,155 - DEBUG - Services list from nova: [, , ] 2025-11-10 20:21:41,616 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4688-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4688-1) 2025-11-10 20:21:43,007 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4688-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4688-1) 2025-11-10 20:21:43,098 - INFO - Setting gateway for router 9c9ab3f5-8e70-404a-8cb5-b1acf86b955c to network 22694988-5e58-4310-96d4-79d0572a05ae 2025-11-10 20:21:43,194 - INFO - Adding interface with subnet_id 16bce190-2437-48a6-bcde-07b18fe5b39c, port_id None to router 9c9ab3f5-8e70-404a-8cb5-b1acf86b955c 2025-11-10 20:21:43,514 - INFO - Waiting for VM ctest-TestRoutersBasic-79495560-45976460 to be up.. 2025-11-10 20:21:43,706 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-10 20:21:48,866 - DEBUG - VM is in ACTIVE state now 2025-11-10 20:21:48,867 - INFO - VM name : ctest-TestRoutersBasic-79495560-45976460 2025-11-10 20:21:48,946 - DEBUG - VM ctest-TestRoutersBasic-79495560-45976460 ID is 5a25dea1-d91e-42eb-a200-beeece140c80 2025-11-10 20:21:48,964 - DEBUG - VM ctest-TestRoutersBasic-79495560-45976460 launched on Node cn-jenkins-deploy-platform-ansible-os-4688-1 2025-11-10 20:21:49,060 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/5a25dea1-d91e-42eb-a200-beeece140c80 2025-11-10 20:21:49,366 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/5a25dea1-d91e-42eb-a200-beeece140c80 2025-11-10 20:21:49,442 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/78046f32-37cb-4655-a8d1-dd6a609fa8de 2025-11-10 20:21:52,788 - 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 1020ms') 2025-11-10 20:21:52,788 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-79495560-45976460 failed! 2025-11-10 20:21:52,856 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-79495560:ctest-vn-06324903 is 82.112.247.129 and allocation pool is NOT set 2025-11-10 20:21:54,924 - 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.43 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.839 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.839/2.133/3.428/1.294 ms') 2025-11-10 20:21:54,925 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-79495560-45976460 passed 2025-11-10 20:21:55,092 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 20:21:55,092 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-79495560-45976460, IP 82.112.247.131, Port 22 2025-11-10 20:21:55,271 - DEBUG - VM ctest-TestRoutersBasic-79495560-45976460 is ready for SSH connections 2025-11-10 20:21:55,271 - INFO - Waiting for VM ctest-TestRoutersBasic-79495560-84611306 to be up.. 2025-11-10 20:21:55,382 - DEBUG - VM is in ACTIVE state now 2025-11-10 20:21:55,383 - INFO - VM name : ctest-TestRoutersBasic-79495560-84611306 2025-11-10 20:21:55,489 - DEBUG - VM ctest-TestRoutersBasic-79495560-84611306 ID is 419cf29e-421c-49c3-9e84-504e139bd6b8 2025-11-10 20:21:55,489 - DEBUG - VM ctest-TestRoutersBasic-79495560-84611306 launched on Node cn-jenkins-deploy-platform-ansible-os-4688-1 2025-11-10 20:21:55,577 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/419cf29e-421c-49c3-9e84-504e139bd6b8 2025-11-10 20:21:55,586 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/00ee3864-44d7-4c7b-9cee-8cff0e1b200c 2025-11-10 20:21:56,849 - 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=5.57 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.49 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 = 2.492/4.031/5.571/1.539 ms') 2025-11-10 20:21:56,849 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-79495560-84611306 passed 2025-11-10 20:21:57,032 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 20:21:57,032 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-79495560-84611306, IP 93.93.56.67, Port 22 2025-11-10 20:21:57,219 - DEBUG - VM ctest-TestRoutersBasic-79495560-84611306 is ready for SSH connections 2025-11-10 20:21:57,219 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 20:21:57,219 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 93.93.56.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-10 20:21:57,220 - DEBUG - ping -s 56 -c 3 -W 1 93.93.56.67 2025-11-10 20:22:01,381 - DEBUG - PING 93.93.56.67 (93.93.56.67): 56 data bytes 64 bytes from 93.93.56.67: seq=0 ttl=62 time=8.541 ms 64 bytes from 93.93.56.67: seq=1 ttl=62 time=2.048 ms 64 bytes from 93.93.56.67: seq=2 ttl=62 time=2.024 ms --- 93.93.56.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 2.024/4.204/8.541 ms 2025-11-10 20:22:01,381 - INFO - Ping to IP 93.93.56.67 from VM ctest-TestRoutersBasic-79495560-45976460 passed 2025-11-10 20:22:01,382 - INFO - Deleting interface with subnet_id 16bce190-2437-48a6-bcde-07b18fe5b39c, port_id None from router 9c9ab3f5-8e70-404a-8cb5-b1acf86b955c 2025-11-10 20:22:01,641 - INFO - Deleting VM ctest-TestRoutersBasic-79495560-84611306 2025-11-10 20:22:01,721 - INFO - Deleting VM ctest-TestRoutersBasic-79495560-45976460 2025-11-10 20:22:01,820 - INFO - Deleting VN ctest-ext_vn-72325895 2025-11-10 20:22:01,901 - DEBUG - VN 22694988-5e58-4310-96d4-79d0572a05ae still in use: Unable to complete operation on network 22694988-5e58-4310-96d4-79d0572a05ae. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-11188d54-3cf4-4f91-9435-503f44bbf717'] 2025-11-10 20:22:01,901 - WARNING - Deleting VN ctest-ext_vn-72325895 failed..Will retry 2025-11-10 20:22:04,085 - DEBUG - Response for deleting network () 2025-11-10 20:22:04,085 - INFO - Deleting VN ctest-vn-06324903 2025-11-10 20:22:04,193 - DEBUG - Response for deleting network () 2025-11-10 20:22:04,494 - DEBUG - No XMPP flaps were noticed during the test
2025-11-10 20:22:04,495 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:28]
2025-11-10 20:22:04,495 - INFO - -------------------------------------------------------------------------------- 2025-11-10 20:22:05,293 - INFO - Deleted project: ctest-TestRoutersBasic-79495560, ID : b104ac1e-af8e-4d5a-ad17-0eec532243ea