2025-11-03 17:15:16,484 - INFO - Domain Default found not creating
2025-11-03 17:15:16,627 - INFO - Project ctest-TestRoutersBasic-14524850 not found, creating it
2025-11-03 17:15:17,077 - INFO - Created Project:ctest-TestRoutersBasic-14524850, ID : 16b4a264-cb47-43f2-aaf3-2b1beb181a30
2025-11-03 17:15:18,510 - INFO - ================================================================================
2025-11-03 17:15:18,511 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-11-03 17:15:18,511 - 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-03 17:15:18,770 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with
2025-11-03 17:15:18,770 - INFO - Initial checks done. Running the testcase now
2025-11-03 17:15:18,770 - INFO -
2025-11-03 17:15:19,506 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-14524850
2025-11-03 17:15:19,601 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-14524850
2025-11-03 17:15:19,917 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-14524850', 'default']}
2025-11-03 17:15:20,203 - DEBUG - Response for create_network : {'network': {'id': '24dee54d-b62b-43b5-8ada-6049616d0c39', 'name': 'ctest-vn-52800285', 'tenant_id': '16b4a264cb4743f2aaf32b1beb181a30', 'project_id': '16b4a264cb4743f2aaf32b1beb181a30', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-14524850', 'ctest-vn-52800285'], 'port_security_enabled': True, 'description': ''}}
2025-11-03 17:15:20,394 - DEBUG - Response for create_subnet : {'subnet': {'id': '786b9b7a-5bd9-4136-83e3-dec309b0c5be', 'name': '', 'tenant_id': '16b4a264cb4743f2aaf32b1beb181a30', 'network_id': '24dee54d-b62b-43b5-8ada-6049616d0c39', 'ip_version': 4, 'cidr': '220.169.118.128/26', 'allocation_pools': [{'start': '220.169.118.130', 'end': '220.169.118.190'}], 'gateway_ip': '220.169.118.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '220.169.118.130', 'tags': [], 'project_id': '16b4a264cb4743f2aaf32b1beb181a30'}}
2025-11-03 17:15:20,412 - INFO - Created VN ctest-vn-52800285
2025-11-03 17:15:20,465 - DEBUG - VN ctest-vn-52800285 UUID is 24dee54d-b62b-43b5-8ada-6049616d0c39
2025-11-03 17:15:20,812 - DEBUG - Response for create_network : {'network': {'id': '43e93cba-9402-4d47-b50f-9bddd50260e8', 'name': 'ctest-ext_vn-56378025', 'tenant_id': '16b4a264cb4743f2aaf32b1beb181a30', 'project_id': '16b4a264cb4743f2aaf32b1beb181a30', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-14524850', 'ctest-ext_vn-56378025'], 'port_security_enabled': True, 'description': ''}}
2025-11-03 17:15:20,952 - DEBUG - Response for create_subnet : {'subnet': {'id': '7b186592-177f-454e-8bc5-181cbd8c17a8', 'name': '', 'tenant_id': '16b4a264cb4743f2aaf32b1beb181a30', 'network_id': '43e93cba-9402-4d47-b50f-9bddd50260e8', 'ip_version': 4, 'cidr': '119.64.176.64/26', 'allocation_pools': [{'start': '119.64.176.66', 'end': '119.64.176.126'}], 'gateway_ip': '119.64.176.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '119.64.176.66', 'tags': [], 'project_id': '16b4a264cb4743f2aaf32b1beb181a30'}}
2025-11-03 17:15:20,969 - INFO - Created VN ctest-ext_vn-56378025
2025-11-03 17:15:21,021 - DEBUG - VN ctest-ext_vn-56378025 UUID is 43e93cba-9402-4d47-b50f-9bddd50260e8
2025-11-03 17:15:21,184 - DEBUG - Services list from nova: [, , ]
2025-11-03 17:15:22,212 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4609-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4609-1)
2025-11-03 17:15:23,308 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4609-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4609-1)
2025-11-03 17:15:23,375 - INFO - Setting gateway for router 9f851403-f853-4931-abc6-ef9bc22cf69f to network 43e93cba-9402-4d47-b50f-9bddd50260e8
2025-11-03 17:15:23,433 - INFO - Adding interface with subnet_id 786b9b7a-5bd9-4136-83e3-dec309b0c5be, port_id None to router 9f851403-f853-4931-abc6-ef9bc22cf69f
2025-11-03 17:15:23,816 - INFO - Waiting for VM ctest-TestRoutersBasic-14524850-61420470 to be up..
2025-11-03 17:15:23,968 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-03 17:15:29,045 - DEBUG - VM is in ACTIVE state now
2025-11-03 17:15:29,045 - INFO - VM name : ctest-TestRoutersBasic-14524850-61420470
2025-11-03 17:15:29,119 - DEBUG - VM ctest-TestRoutersBasic-14524850-61420470 ID is d761bd4e-640d-41d8-a9ea-cf678ca127f3
2025-11-03 17:15:29,139 - DEBUG - VM ctest-TestRoutersBasic-14524850-61420470 launched on Node cn-jenkins-deploy-platform-ansible-os-4609-1
2025-11-03 17:15:29,215 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/d761bd4e-640d-41d8-a9ea-cf678ca127f3
2025-11-03 17:15:29,509 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/d761bd4e-640d-41d8-a9ea-cf678ca127f3
2025-11-03 17:15:29,540 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/bccfd444-ee4f-4d0c-8e3a-515c42c59394
2025-11-03 17:15:32,805 - 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-11-03 17:15:32,805 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-14524850-61420470 failed!
2025-11-03 17:15:32,861 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-14524850:ctest-vn-52800285 is 220.169.118.129 and allocation pool is NOT set
2025-11-03 17:15:34,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=4.10 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.05 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.050/2.575/4.101/1.525 ms')
2025-11-03 17:15:34,924 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-14524850-61420470 passed
2025-11-03 17:15:35,073 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-03 17:15:35,073 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-14524850-61420470, IP 220.169.118.131, Port 22
2025-11-03 17:15:35,232 - DEBUG - VM ctest-TestRoutersBasic-14524850-61420470 is ready for SSH connections
2025-11-03 17:15:35,233 - INFO - Waiting for VM ctest-TestRoutersBasic-14524850-12810372 to be up..
2025-11-03 17:15:35,314 - DEBUG - VM is in ACTIVE state now
2025-11-03 17:15:35,314 - INFO - VM name : ctest-TestRoutersBasic-14524850-12810372
2025-11-03 17:15:35,388 - DEBUG - VM ctest-TestRoutersBasic-14524850-12810372 ID is 7525a630-f4e6-4768-9e59-91016fb4ebdf
2025-11-03 17:15:35,388 - DEBUG - VM ctest-TestRoutersBasic-14524850-12810372 launched on Node cn-jenkins-deploy-platform-ansible-os-4609-1
2025-11-03 17:15:35,463 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/7525a630-f4e6-4768-9e59-91016fb4ebdf
2025-11-03 17:15:35,473 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/2e6ecafb-c1b9-4a80-ab5a-843b2d81252f
2025-11-03 17:15:36,711 - 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.05 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.441 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.441/1.743/3.046/1.302 ms')
2025-11-03 17:15:36,711 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-14524850-12810372 passed
2025-11-03 17:15:36,866 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-03 17:15:36,866 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-14524850-12810372, IP 119.64.176.67, Port 22
2025-11-03 17:15:37,028 - DEBUG - VM ctest-TestRoutersBasic-14524850-12810372 is ready for SSH connections
2025-11-03 17:15:37,028 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-03 17:15:37,029 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 119.64.176.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-11-03 17:15:37,029 - DEBUG - ping -s 56 -c 3 -W 1 119.64.176.67
2025-11-03 17:15:41,097 - DEBUG - PING 119.64.176.67 (119.64.176.67): 56 data bytes
64 bytes from 119.64.176.67: seq=0 ttl=62 time=4.439 ms
64 bytes from 119.64.176.67: seq=1 ttl=62 time=0.924 ms
64 bytes from 119.64.176.67: seq=2 ttl=62 time=0.968 ms
--- 119.64.176.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.924/2.110/4.439 ms
2025-11-03 17:15:41,097 - INFO - Ping to IP 119.64.176.67 from VM ctest-TestRoutersBasic-14524850-61420470 passed
2025-11-03 17:15:41,097 - INFO - Deleting interface with subnet_id 786b9b7a-5bd9-4136-83e3-dec309b0c5be, port_id None from router 9f851403-f853-4931-abc6-ef9bc22cf69f
2025-11-03 17:15:41,287 - INFO - Deleting VM ctest-TestRoutersBasic-14524850-12810372
2025-11-03 17:15:41,363 - INFO - Deleting VM ctest-TestRoutersBasic-14524850-61420470
2025-11-03 17:15:41,439 - INFO - Deleting VN ctest-ext_vn-56378025
2025-11-03 17:15:41,508 - DEBUG - VN 43e93cba-9402-4d47-b50f-9bddd50260e8 still in use: Unable to complete operation on network 43e93cba-9402-4d47-b50f-9bddd50260e8. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-4c7db22c-a6f2-4b33-b985-a4b786e2ece8']
2025-11-03 17:15:41,508 - WARNING - Deleting VN ctest-ext_vn-56378025 failed..Will retry
2025-11-03 17:15:43,607 - DEBUG - Response for deleting network ()
2025-11-03 17:15:43,607 - INFO - Deleting VN ctest-vn-52800285
2025-11-03 17:15:43,701 - DEBUG - Response for deleting network ()
2025-11-03 17:15:43,954 - DEBUG - No XMPP flaps were noticed during the test
2025-11-03 17:15:43,954 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-11-03 17:15:43,954 - INFO - --------------------------------------------------------------------------------
2025-11-03 17:15:44,635 - INFO - Deleted project: ctest-TestRoutersBasic-14524850, ID : 16b4a264-cb47-43f2-aaf3-2b1beb181a30