2025-10-07 18:20:24,061 - INFO - Domain Default found not creating 2025-10-07 18:20:24,394 - INFO - Project ctest-TestRoutersBasic-24851023 not found, creating it 2025-10-07 18:20:25,096 - INFO - Created Project:ctest-TestRoutersBasic-24851023, ID : 56e427c2-ac99-4190-b73e-39767aa47c23 2025-10-07 18:20:27,355 - INFO - ================================================================================ 2025-10-07 18:20:27,356 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-07 18:20:27,356 - 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-10-07 18:20:27,675 - DEBUG - Nothing to compare xmpp stats {'10.0.0.56': {'10.20.0.17': '0'}} with 2025-10-07 18:20:27,676 - INFO - Initial checks done. Running the testcase now 2025-10-07 18:20:27,676 - INFO - 2025-10-07 18:20:28,493 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-24851023 2025-10-07 18:20:28,608 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-24851023 2025-10-07 18:20:28,987 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-24851023', 'default']} 2025-10-07 18:20:29,474 - DEBUG - Response for create_network : {'network': {'id': '2ec436a6-2c3c-4bd0-9242-9fcf0d3266d6', 'name': 'ctest-vn-66495881', 'tenant_id': '56e427c2ac994190b73e39767aa47c23', 'project_id': '56e427c2ac994190b73e39767aa47c23', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-24851023', 'ctest-vn-66495881'], 'port_security_enabled': True, 'description': ''}} 2025-10-07 18:20:29,684 - DEBUG - Response for create_subnet : {'subnet': {'id': '0baa9f11-7073-47cc-a94a-03ef64d4b482', 'name': '', 'tenant_id': '56e427c2ac994190b73e39767aa47c23', 'network_id': '2ec436a6-2c3c-4bd0-9242-9fcf0d3266d6', 'ip_version': 4, 'cidr': '170.101.110.192/26', 'allocation_pools': [{'start': '170.101.110.194', 'end': '170.101.110.254'}], 'gateway_ip': '170.101.110.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '170.101.110.194', 'tags': [], 'project_id': '56e427c2ac994190b73e39767aa47c23'}} 2025-10-07 18:20:29,713 - INFO - Created VN ctest-vn-66495881 2025-10-07 18:20:29,772 - DEBUG - VN ctest-vn-66495881 UUID is 2ec436a6-2c3c-4bd0-9242-9fcf0d3266d6 2025-10-07 18:20:30,287 - DEBUG - Response for create_network : {'network': {'id': '13cc0a46-a0e0-45bf-b515-a7ae94538aee', 'name': 'ctest-ext_vn-58828063', 'tenant_id': '56e427c2ac994190b73e39767aa47c23', 'project_id': '56e427c2ac994190b73e39767aa47c23', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-24851023', 'ctest-ext_vn-58828063'], 'port_security_enabled': True, 'description': ''}} 2025-10-07 18:20:30,583 - DEBUG - Response for create_subnet : {'subnet': {'id': '20f6061e-0f0f-4dd9-9900-78ddde809663', 'name': '', 'tenant_id': '56e427c2ac994190b73e39767aa47c23', 'network_id': '13cc0a46-a0e0-45bf-b515-a7ae94538aee', 'ip_version': 4, 'cidr': '94.168.132.64/26', 'allocation_pools': [{'start': '94.168.132.66', 'end': '94.168.132.126'}], 'gateway_ip': '94.168.132.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '94.168.132.66', 'tags': [], 'project_id': '56e427c2ac994190b73e39767aa47c23'}} 2025-10-07 18:20:30,610 - INFO - Created VN ctest-ext_vn-58828063 2025-10-07 18:20:30,668 - DEBUG - VN ctest-ext_vn-58828063 UUID is 13cc0a46-a0e0-45bf-b515-a7ae94538aee 2025-10-07 18:20:30,966 - DEBUG - Services list from nova: [, , ] 2025-10-07 18:20:32,468 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4231-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4231-1) 2025-10-07 18:20:33,813 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4231-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4231-1) 2025-10-07 18:20:33,870 - INFO - Setting gateway for router cd062815-68b7-4096-bc95-ea0e584aca18 to network 13cc0a46-a0e0-45bf-b515-a7ae94538aee 2025-10-07 18:20:33,941 - INFO - Adding interface with subnet_id 0baa9f11-7073-47cc-a94a-03ef64d4b482, port_id None to router cd062815-68b7-4096-bc95-ea0e584aca18 2025-10-07 18:20:34,255 - INFO - Waiting for VM ctest-TestRoutersBasic-24851023-23527739 to be up.. 2025-10-07 18:20:34,365 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-07 18:20:39,555 - DEBUG - VM is in ACTIVE state now 2025-10-07 18:20:39,555 - INFO - VM name : ctest-TestRoutersBasic-24851023-23527739 2025-10-07 18:20:39,712 - DEBUG - VM ctest-TestRoutersBasic-24851023-23527739 ID is 5e4348c4-d1e7-47b0-b6e2-2c2cd62fe9ba 2025-10-07 18:20:39,733 - DEBUG - VM ctest-TestRoutersBasic-24851023-23527739 launched on Node cn-jenkins-deploy-platform-ansible-os-4231-1 2025-10-07 18:20:39,864 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/5e4348c4-d1e7-47b0-b6e2-2c2cd62fe9ba 2025-10-07 18:20:40,198 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/5e4348c4-d1e7-47b0-b6e2-2c2cd62fe9ba 2025-10-07 18:20:40,259 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/e76e30c4-c83f-4f2c-8276-1383b3c2a91b 2025-10-07 18:20:43,578 - 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 1021ms') 2025-10-07 18:20:43,579 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-24851023-23527739 failed! 2025-10-07 18:20:43,644 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-24851023:ctest-vn-66495881 is 170.101.110.193 and allocation pool is NOT set 2025-10-07 18:20:45,725 - 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=8.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.00 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.001/4.877/8.754/3.876 ms') 2025-10-07 18:20:45,725 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-24851023-23527739 passed 2025-10-07 18:20:45,900 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-07 18:20:45,900 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-24851023-23527739, IP 170.101.110.195, Port 22 2025-10-07 18:20:46,111 - DEBUG - VM ctest-TestRoutersBasic-24851023-23527739 is ready for SSH connections 2025-10-07 18:20:46,112 - INFO - Waiting for VM ctest-TestRoutersBasic-24851023-29187196 to be up.. 2025-10-07 18:20:46,298 - DEBUG - VM is in ACTIVE state now 2025-10-07 18:20:46,299 - INFO - VM name : ctest-TestRoutersBasic-24851023-29187196 2025-10-07 18:20:46,482 - DEBUG - VM ctest-TestRoutersBasic-24851023-29187196 ID is 0feb0de2-1d9c-4374-9e55-d825b3308bc7 2025-10-07 18:20:46,482 - DEBUG - VM ctest-TestRoutersBasic-24851023-29187196 launched on Node cn-jenkins-deploy-platform-ansible-os-4231-1 2025-10-07 18:20:46,613 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/0feb0de2-1d9c-4374-9e55-d825b3308bc7 2025-10-07 18:20:46,621 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/85a8423e-4060-4a43-ace1-25b7d8d6a0c3 2025-10-07 18:20:47,900 - 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.21 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.912 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.912/2.560/4.208/1.648 ms') 2025-10-07 18:20:47,900 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-24851023-29187196 passed 2025-10-07 18:20:48,059 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-07 18:20:48,059 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-24851023-29187196, IP 94.168.132.67, Port 22 2025-10-07 18:20:48,246 - DEBUG - VM ctest-TestRoutersBasic-24851023-29187196 is ready for SSH connections 2025-10-07 18:20:48,246 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-07 18:20:48,246 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 94.168.132.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.56, gateway password: c0ntrail123 2025-10-07 18:20:48,246 - DEBUG - ping -s 56 -c 3 -W 1 94.168.132.67 2025-10-07 18:20:52,583 - DEBUG - PING 94.168.132.67 (94.168.132.67): 56 data bytes 64 bytes from 94.168.132.67: seq=0 ttl=62 time=9.547 ms 64 bytes from 94.168.132.67: seq=1 ttl=62 time=1.905 ms 64 bytes from 94.168.132.67: seq=2 ttl=62 time=1.975 ms --- 94.168.132.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.905/4.475/9.547 ms 2025-10-07 18:20:52,583 - INFO - Ping to IP 94.168.132.67 from VM ctest-TestRoutersBasic-24851023-23527739 passed 2025-10-07 18:20:52,584 - INFO - Deleting interface with subnet_id 0baa9f11-7073-47cc-a94a-03ef64d4b482, port_id None from router cd062815-68b7-4096-bc95-ea0e584aca18 2025-10-07 18:20:52,913 - INFO - Deleting VM ctest-TestRoutersBasic-24851023-29187196 2025-10-07 18:20:53,003 - INFO - Deleting VM ctest-TestRoutersBasic-24851023-23527739 2025-10-07 18:20:53,134 - INFO - Deleting VN ctest-ext_vn-58828063 2025-10-07 18:20:53,285 - DEBUG - VN 13cc0a46-a0e0-45bf-b515-a7ae94538aee still in use: Unable to complete operation on network 13cc0a46-a0e0-45bf-b515-a7ae94538aee. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-858ee4a8-6e79-473a-a464-f2b4accd7881'] 2025-10-07 18:20:53,285 - WARNING - Deleting VN ctest-ext_vn-58828063 failed..Will retry 2025-10-07 18:20:55,507 - DEBUG - Response for deleting network () 2025-10-07 18:20:55,507 - INFO - Deleting VN ctest-vn-66495881 2025-10-07 18:20:55,646 - DEBUG - Response for deleting network () 2025-10-07 18:20:55,931 - DEBUG - No XMPP flaps were noticed during the test 2025-10-07 18:20:55,931 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:28] 2025-10-07 18:20:55,931 - INFO - -------------------------------------------------------------------------------- 2025-10-07 18:20:56,747 - INFO - Deleted project: ctest-TestRoutersBasic-24851023, ID : 56e427c2-ac99-4190-b73e-39767aa47c23