2026-02-02 02:17:28,050 - INFO - Domain Default found not creating 2026-02-02 02:17:28,214 - INFO - Project ctest-TestRoutersBasic-42852329 not found, creating it 2026-02-02 02:17:28,673 - INFO - Created Project:ctest-TestRoutersBasic-42852329, ID : f5385ba5-374a-460e-9106-5571a107028f 2026-02-02 02:17:30,130 - INFO - ================================================================================ 2026-02-02 02:17:30,130 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-02 02:17:30,130 - 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-02 02:17:30,397 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.201': '0'}} with 2026-02-02 02:17:30,398 - INFO - Initial checks done. Running the testcase now 2026-02-02 02:17:30,398 - INFO - 2026-02-02 02:17:31,135 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-42852329 2026-02-02 02:17:31,230 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-42852329 2026-02-02 02:17:31,549 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-42852329', 'default']} 2026-02-02 02:17:31,830 - DEBUG - Response for create_network : {'network': {'id': 'd295a774-0014-45a5-a589-2391489e8aea', 'name': 'ctest-vn-64279650', 'tenant_id': 'f5385ba5374a460e91065571a107028f', 'project_id': 'f5385ba5374a460e91065571a107028f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-42852329', 'ctest-vn-64279650'], 'port_security_enabled': True, 'description': ''}} 2026-02-02 02:17:31,980 - DEBUG - Response for create_subnet : {'subnet': {'id': '717555dd-8cac-4635-9dba-580aeae2d765', 'name': '', 'tenant_id': 'f5385ba5374a460e91065571a107028f', 'network_id': 'd295a774-0014-45a5-a589-2391489e8aea', 'ip_version': 4, 'cidr': '62.219.14.64/26', 'allocation_pools': [{'start': '62.219.14.66', 'end': '62.219.14.126'}], 'gateway_ip': '62.219.14.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '62.219.14.66', 'tags': [], 'project_id': 'f5385ba5374a460e91065571a107028f'}} 2026-02-02 02:17:31,998 - INFO - Created VN ctest-vn-64279650 2026-02-02 02:17:32,050 - DEBUG - VN ctest-vn-64279650 UUID is d295a774-0014-45a5-a589-2391489e8aea 2026-02-02 02:17:32,365 - DEBUG - Response for create_network : {'network': {'id': 'e99d747d-3edf-4bbe-8591-3851edbcb45f', 'name': 'ctest-ext_vn-46178218', 'tenant_id': 'f5385ba5374a460e91065571a107028f', 'project_id': 'f5385ba5374a460e91065571a107028f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-42852329', 'ctest-ext_vn-46178218'], 'port_security_enabled': True, 'description': ''}} 2026-02-02 02:17:32,545 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e5c1e27e-fc60-4c48-a8b4-46190217c320', 'name': '', 'tenant_id': 'f5385ba5374a460e91065571a107028f', 'network_id': 'e99d747d-3edf-4bbe-8591-3851edbcb45f', 'ip_version': 4, 'cidr': '40.149.156.64/26', 'allocation_pools': [{'start': '40.149.156.66', 'end': '40.149.156.126'}], 'gateway_ip': '40.149.156.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '40.149.156.66', 'tags': [], 'project_id': 'f5385ba5374a460e91065571a107028f'}} 2026-02-02 02:17:32,563 - INFO - Created VN ctest-ext_vn-46178218 2026-02-02 02:17:32,614 - DEBUG - VN ctest-ext_vn-46178218 UUID is e99d747d-3edf-4bbe-8591-3851edbcb45f 2026-02-02 02:17:32,817 - DEBUG - Services list from nova: [, , ] 2026-02-02 02:17:33,818 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5164-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5164-1) 2026-02-02 02:17:34,941 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5164-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5164-1) 2026-02-02 02:17:35,021 - INFO - Setting gateway for router 0e587cb8-5d1c-42d1-b4db-e125327b97f1 to network e99d747d-3edf-4bbe-8591-3851edbcb45f 2026-02-02 02:17:35,091 - INFO - Adding interface with subnet_id 717555dd-8cac-4635-9dba-580aeae2d765, port_id None to router 0e587cb8-5d1c-42d1-b4db-e125327b97f1 2026-02-02 02:17:35,485 - INFO - Waiting for VM ctest-TestRoutersBasic-42852329-63778315 to be up.. 2026-02-02 02:17:35,664 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-02 02:17:40,740 - DEBUG - VM is in ACTIVE state now 2026-02-02 02:17:40,740 - INFO - VM name : ctest-TestRoutersBasic-42852329-63778315 2026-02-02 02:17:40,809 - DEBUG - VM ctest-TestRoutersBasic-42852329-63778315 ID is da12be85-a00d-499d-86ba-3fa60b9a218c 2026-02-02 02:17:40,834 - DEBUG - VM ctest-TestRoutersBasic-42852329-63778315 launched on Node cn-jenkins-deploy-platform-ansible-os-5164-1 2026-02-02 02:17:40,913 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/da12be85-a00d-499d-86ba-3fa60b9a218c 2026-02-02 02:17:41,216 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/da12be85-a00d-499d-86ba-3fa60b9a218c 2026-02-02 02:17:41,246 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/19d5ec87-dd91-4c2a-b846-415d6f79334b 2026-02-02 02:17:44,500 - 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 1015ms') 2026-02-02 02:17:44,501 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-42852329-63778315 failed! 2026-02-02 02:17:44,553 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-42852329:ctest-vn-64279650 is 62.219.14.65 and allocation pool is NOT set 2026-02-02 02:17:46,619 - 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=2.85 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.476 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.476/1.663/2.850/1.187 ms') 2026-02-02 02:17:46,619 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-42852329-63778315 passed 2026-02-02 02:17:46,725 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 02:17:46,725 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-42852329-63778315, IP 62.219.14.67, Port 22 2026-02-02 02:17:46,881 - DEBUG - VM ctest-TestRoutersBasic-42852329-63778315 is ready for SSH connections 2026-02-02 02:17:46,881 - INFO - Waiting for VM ctest-TestRoutersBasic-42852329-95743180 to be up.. 2026-02-02 02:17:46,958 - DEBUG - VM is in ACTIVE state now 2026-02-02 02:17:46,958 - INFO - VM name : ctest-TestRoutersBasic-42852329-95743180 2026-02-02 02:17:47,025 - DEBUG - VM ctest-TestRoutersBasic-42852329-95743180 ID is 903b4834-6fa1-469c-a577-874fe963a44d 2026-02-02 02:17:47,025 - DEBUG - VM ctest-TestRoutersBasic-42852329-95743180 launched on Node cn-jenkins-deploy-platform-ansible-os-5164-1 2026-02-02 02:17:47,096 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/903b4834-6fa1-469c-a577-874fe963a44d 2026-02-02 02:17:47,104 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/c74faa02-c14b-45a7-a78f-512ab1180115 2026-02-02 02:17:48,337 - 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=2.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.478 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.478/1.645/2.812/1.167 ms') 2026-02-02 02:17:48,337 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-42852329-95743180 passed 2026-02-02 02:17:48,485 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 02:17:48,486 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-42852329-95743180, IP 40.149.156.67, Port 22 2026-02-02 02:17:48,641 - DEBUG - VM ctest-TestRoutersBasic-42852329-95743180 is ready for SSH connections 2026-02-02 02:17:48,641 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 02:17:48,641 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 40.149.156.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-02-02 02:17:48,641 - DEBUG - ping -s 56 -c 3 -W 1 40.149.156.67 2026-02-02 02:17:52,638 - DEBUG - PING 40.149.156.67 (40.149.156.67): 56 data bytes 64 bytes from 40.149.156.67: seq=0 ttl=62 time=5.064 ms 64 bytes from 40.149.156.67: seq=1 ttl=62 time=0.956 ms 64 bytes from 40.149.156.67: seq=2 ttl=62 time=0.878 ms --- 40.149.156.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.878/2.299/5.064 ms 2026-02-02 02:17:52,638 - INFO - Ping to IP 40.149.156.67 from VM ctest-TestRoutersBasic-42852329-63778315 passed 2026-02-02 02:17:52,638 - INFO - Deleting interface with subnet_id 717555dd-8cac-4635-9dba-580aeae2d765, port_id None from router 0e587cb8-5d1c-42d1-b4db-e125327b97f1 2026-02-02 02:17:52,807 - INFO - Deleting VM ctest-TestRoutersBasic-42852329-95743180 2026-02-02 02:17:52,874 - INFO - Deleting VM ctest-TestRoutersBasic-42852329-63778315 2026-02-02 02:17:52,959 - INFO - Deleting VN ctest-ext_vn-46178218 2026-02-02 02:17:53,021 - DEBUG - VN e99d747d-3edf-4bbe-8591-3851edbcb45f still in use: Unable to complete operation on network e99d747d-3edf-4bbe-8591-3851edbcb45f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-37ef67cc-f732-4ef5-870d-e02e4256b569'] 2026-02-02 02:17:53,021 - WARNING - Deleting VN ctest-ext_vn-46178218 failed..Will retry 2026-02-02 02:17:55,139 - DEBUG - Response for deleting network () 2026-02-02 02:17:55,139 - INFO - Deleting VN ctest-vn-64279650 2026-02-02 02:17:55,232 - DEBUG - Response for deleting network () 2026-02-02 02:17:55,491 - DEBUG - No XMPP flaps were noticed during the test 2026-02-02 02:17:55,491 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2026-02-02 02:17:55,491 - INFO - -------------------------------------------------------------------------------- 2026-02-02 02:17:56,168 - INFO - Deleted project: ctest-TestRoutersBasic-42852329, ID : f5385ba5-374a-460e-9106-5571a107028f