2026-02-10 18:07:20,399 - INFO - Domain Default found not creating 2026-02-10 18:07:20,558 - INFO - Project ctest-TestRoutersBasic-34956907 not found, creating it 2026-02-10 18:07:21,026 - INFO - Created Project:ctest-TestRoutersBasic-34956907, ID : 0240fbdc-a96b-4cb4-aca1-4d0169e3e905 2026-02-10 18:07:22,503 - INFO - ================================================================================ 2026-02-10 18:07:22,503 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-10 18:07:22,503 - 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 2026-02-10 18:07:22,756 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.25': '0'}} with 2026-02-10 18:07:22,756 - INFO - Initial checks done. Running the testcase now 2026-02-10 18:07:22,756 - INFO - 2026-02-10 18:07:23,463 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-34956907 2026-02-10 18:07:23,558 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-34956907 2026-02-10 18:07:23,878 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-34956907', 'default']} 2026-02-10 18:07:24,159 - DEBUG - Response for create_network : {'network': {'id': '78588658-c6ad-4568-b52f-2bc8cad2f2e7', 'name': 'ctest-vn-17565419', 'tenant_id': '0240fbdca96b4cb4aca14d0169e3e905', 'project_id': '0240fbdca96b4cb4aca14d0169e3e905', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-34956907', 'ctest-vn-17565419'], 'port_security_enabled': True, 'description': ''}} 2026-02-10 18:07:24,333 - DEBUG - Response for create_subnet : {'subnet': {'id': '3d532fec-67c5-4977-8b07-df93be041688', 'name': '', 'tenant_id': '0240fbdca96b4cb4aca14d0169e3e905', 'network_id': '78588658-c6ad-4568-b52f-2bc8cad2f2e7', 'ip_version': 4, 'cidr': '81.2.163.0/26', 'allocation_pools': [{'start': '81.2.163.2', 'end': '81.2.163.62'}], 'gateway_ip': '81.2.163.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '81.2.163.2', 'tags': [], 'project_id': '0240fbdca96b4cb4aca14d0169e3e905'}} 2026-02-10 18:07:24,350 - INFO - Created VN ctest-vn-17565419 2026-02-10 18:07:24,402 - DEBUG - VN ctest-vn-17565419 UUID is 78588658-c6ad-4568-b52f-2bc8cad2f2e7 2026-02-10 18:07:24,767 - DEBUG - Response for create_network : {'network': {'id': '7c389cb4-00ac-47ed-886c-86e2ad1f3ccc', 'name': 'ctest-ext_vn-95735941', 'tenant_id': '0240fbdca96b4cb4aca14d0169e3e905', 'project_id': '0240fbdca96b4cb4aca14d0169e3e905', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-34956907', 'ctest-ext_vn-95735941'], 'port_security_enabled': True, 'description': ''}} 2026-02-10 18:07:24,912 - DEBUG - Response for create_subnet : {'subnet': {'id': '6ee82327-18bb-41c4-871c-7fb9607b0b45', 'name': '', 'tenant_id': '0240fbdca96b4cb4aca14d0169e3e905', 'network_id': '7c389cb4-00ac-47ed-886c-86e2ad1f3ccc', 'ip_version': 4, 'cidr': '195.25.201.64/26', 'allocation_pools': [{'start': '195.25.201.66', 'end': '195.25.201.126'}], 'gateway_ip': '195.25.201.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '195.25.201.66', 'tags': [], 'project_id': '0240fbdca96b4cb4aca14d0169e3e905'}} 2026-02-10 18:07:24,931 - INFO - Created VN ctest-ext_vn-95735941 2026-02-10 18:07:24,990 - DEBUG - VN ctest-ext_vn-95735941 UUID is 7c389cb4-00ac-47ed-886c-86e2ad1f3ccc 2026-02-10 18:07:25,157 - DEBUG - Services list from nova: [, , ] 2026-02-10 18:07:26,202 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5283-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5283-1) 2026-02-10 18:07:27,402 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5283-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5283-1) 2026-02-10 18:07:27,477 - INFO - Setting gateway for router 2ec71ea0-af91-4c80-a7d9-0d28226b3f99 to network 7c389cb4-00ac-47ed-886c-86e2ad1f3ccc 2026-02-10 18:07:27,530 - INFO - Adding interface with subnet_id 3d532fec-67c5-4977-8b07-df93be041688, port_id None to router 2ec71ea0-af91-4c80-a7d9-0d28226b3f99 2026-02-10 18:07:27,891 - INFO - Waiting for VM ctest-TestRoutersBasic-34956907-25673968 to be up.. 2026-02-10 18:07:28,045 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-10 18:07:33,123 - DEBUG - VM is in ACTIVE state now 2026-02-10 18:07:33,124 - INFO - VM name : ctest-TestRoutersBasic-34956907-25673968 2026-02-10 18:07:33,197 - DEBUG - VM ctest-TestRoutersBasic-34956907-25673968 ID is d4fca52e-3390-4e76-ab72-c79182c49397 2026-02-10 18:07:33,217 - DEBUG - VM ctest-TestRoutersBasic-34956907-25673968 launched on Node cn-jenkins-deploy-platform-ansible-os-5283-1 2026-02-10 18:07:33,290 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/d4fca52e-3390-4e76-ab72-c79182c49397 2026-02-10 18:07:33,589 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/d4fca52e-3390-4e76-ab72-c79182c49397 2026-02-10 18:07:33,623 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/f45e8362-fcf9-47bf-b3b2-b7afff521bf6 2026-02-10 18:07:36,884 - 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 1025ms') 2026-02-10 18:07:36,884 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-34956907-25673968 failed! 2026-02-10 18:07:36,938 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-34956907:ctest-vn-17565419 is 81.2.163.1 and allocation pool is NOT set 2026-02-10 18:07:39,003 - 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.80 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.26 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 = 1.259/2.528/3.798/1.269 ms') 2026-02-10 18:07:39,004 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-34956907-25673968 passed 2026-02-10 18:07:39,158 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-10 18:07:39,158 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-34956907-25673968, IP 81.2.163.3, Port 22 2026-02-10 18:07:39,314 - DEBUG - VM ctest-TestRoutersBasic-34956907-25673968 is ready for SSH connections 2026-02-10 18:07:39,314 - INFO - Waiting for VM ctest-TestRoutersBasic-34956907-07763943 to be up.. 2026-02-10 18:07:39,389 - DEBUG - VM is in ACTIVE state now 2026-02-10 18:07:39,390 - INFO - VM name : ctest-TestRoutersBasic-34956907-07763943 2026-02-10 18:07:39,468 - DEBUG - VM ctest-TestRoutersBasic-34956907-07763943 ID is 7a877afc-cb09-4e83-8049-fa7747cd3abf 2026-02-10 18:07:39,468 - DEBUG - VM ctest-TestRoutersBasic-34956907-07763943 launched on Node cn-jenkins-deploy-platform-ansible-os-5283-1 2026-02-10 18:07:39,547 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/7a877afc-cb09-4e83-8049-fa7747cd3abf 2026-02-10 18:07:39,557 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/d5ae8d6d-cc56-449a-af71-f27c1505f67b 2026-02-10 18:07:40,798 - 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.71 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.29 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 = 1.287/2.996/4.706/1.709 ms') 2026-02-10 18:07:40,798 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-34956907-07763943 passed 2026-02-10 18:07:40,950 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-10 18:07:40,950 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-34956907-07763943, IP 195.25.201.67, Port 22 2026-02-10 18:07:41,109 - DEBUG - VM ctest-TestRoutersBasic-34956907-07763943 is ready for SSH connections 2026-02-10 18:07:41,110 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-10 18:07:41,110 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 195.25.201.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-02-10 18:07:41,110 - DEBUG - ping -s 56 -c 3 -W 1 195.25.201.67 2026-02-10 18:07:44,796 - DEBUG - PING 195.25.201.67 (195.25.201.67): 56 data bytes 64 bytes from 195.25.201.67: seq=0 ttl=62 time=4.653 ms 64 bytes from 195.25.201.67: seq=1 ttl=62 time=0.893 ms 64 bytes from 195.25.201.67: seq=2 ttl=62 time=0.780 ms --- 195.25.201.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.780/2.108/4.653 ms 2026-02-10 18:07:44,797 - INFO - Ping to IP 195.25.201.67 from VM ctest-TestRoutersBasic-34956907-25673968 passed 2026-02-10 18:07:44,797 - INFO - Deleting interface with subnet_id 3d532fec-67c5-4977-8b07-df93be041688, port_id None from router 2ec71ea0-af91-4c80-a7d9-0d28226b3f99 2026-02-10 18:07:44,977 - INFO - Deleting VM ctest-TestRoutersBasic-34956907-07763943 2026-02-10 18:07:45,056 - INFO - Deleting VM ctest-TestRoutersBasic-34956907-25673968 2026-02-10 18:07:45,148 - INFO - Deleting VN ctest-ext_vn-95735941 2026-02-10 18:07:45,224 - DEBUG - VN 7c389cb4-00ac-47ed-886c-86e2ad1f3ccc still in use: Unable to complete operation on network 7c389cb4-00ac-47ed-886c-86e2ad1f3ccc. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5aa2816b-5b1b-4c1a-bef4-653e79ba4926'] 2026-02-10 18:07:45,224 - WARNING - Deleting VN ctest-ext_vn-95735941 failed..Will retry 2026-02-10 18:07:47,325 - DEBUG - Response for deleting network () 2026-02-10 18:07:47,325 - INFO - Deleting VN ctest-vn-17565419 2026-02-10 18:07:47,432 - DEBUG - Response for deleting network () 2026-02-10 18:07:47,688 - DEBUG - No XMPP flaps were noticed during the test 2026-02-10 18:07:47,688 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2026-02-10 18:07:47,688 - INFO - -------------------------------------------------------------------------------- 2026-02-10 18:07:48,387 - INFO - Deleted project: ctest-TestRoutersBasic-34956907, ID : 0240fbdc-a96b-4cb4-aca1-4d0169e3e905