2025-06-10 13:12:19,616 - INFO - Domain Default found not creating
2025-06-10 13:12:19,778 - INFO - Project ctest-TestRoutersBasic-91173844 not found, creating it
2025-06-10 13:12:20,238 - INFO - Created Project:ctest-TestRoutersBasic-91173844, ID : f0a34c56-85b6-4d52-8b89-2b6f4ea58d8d
2025-06-10 13:12:21,856 - INFO - ================================================================================
2025-06-10 13:12:21,856 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-06-10 13:12:21,856 - 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-06-10 13:12:22,122 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2025-06-10 13:12:22,122 - INFO - Initial checks done. Running the testcase now
2025-06-10 13:12:22,123 - INFO -
2025-06-10 13:12:22,930 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-91173844
2025-06-10 13:12:23,031 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-91173844
2025-06-10 13:12:23,375 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-91173844', 'default']}
2025-06-10 13:12:23,687 - DEBUG - Response for create_network : {'network': {'id': '3ec66d6e-6583-4f5c-a077-d37448fa9a74', 'name': 'ctest-vn-35490848', 'tenant_id': 'f0a34c5685b64d528b892b6f4ea58d8d', 'project_id': 'f0a34c5685b64d528b892b6f4ea58d8d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-91173844', 'ctest-vn-35490848'], 'port_security_enabled': True, 'description': ''}}
2025-06-10 13:12:23,881 - DEBUG - Response for create_subnet : {'subnet': {'id': '91582f4b-13d1-42ad-b43d-3111c5cafade', 'name': '', 'tenant_id': 'f0a34c5685b64d528b892b6f4ea58d8d', 'network_id': '3ec66d6e-6583-4f5c-a077-d37448fa9a74', 'ip_version': 4, 'cidr': '154.1.34.128/26', 'allocation_pools': [{'start': '154.1.34.130', 'end': '154.1.34.190'}], 'gateway_ip': '154.1.34.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '154.1.34.130', 'tags': [], 'project_id': 'f0a34c5685b64d528b892b6f4ea58d8d'}}
2025-06-10 13:12:23,903 - INFO - Created VN ctest-vn-35490848
2025-06-10 13:12:23,959 - DEBUG - VN ctest-vn-35490848 UUID is 3ec66d6e-6583-4f5c-a077-d37448fa9a74
2025-06-10 13:12:24,367 - DEBUG - Response for create_network : {'network': {'id': '3c63b71d-a225-497d-8149-cd0c8dc7ec78', 'name': 'ctest-ext_vn-50137246', 'tenant_id': 'f0a34c5685b64d528b892b6f4ea58d8d', 'project_id': 'f0a34c5685b64d528b892b6f4ea58d8d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-91173844', 'ctest-ext_vn-50137246'], 'port_security_enabled': True, 'description': ''}}
2025-06-10 13:12:24,554 - DEBUG - Response for create_subnet : {'subnet': {'id': '2a95908b-68e4-4bbb-ae6d-11c6c614bd4d', 'name': '', 'tenant_id': 'f0a34c5685b64d528b892b6f4ea58d8d', 'network_id': '3c63b71d-a225-497d-8149-cd0c8dc7ec78', 'ip_version': 4, 'cidr': '68.25.7.64/26', 'allocation_pools': [{'start': '68.25.7.66', 'end': '68.25.7.126'}], 'gateway_ip': '68.25.7.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '68.25.7.66', 'tags': [], 'project_id': 'f0a34c5685b64d528b892b6f4ea58d8d'}}
2025-06-10 13:12:24,580 - INFO - Created VN ctest-ext_vn-50137246
2025-06-10 13:12:24,635 - DEBUG - VN ctest-ext_vn-50137246 UUID is 3c63b71d-a225-497d-8149-cd0c8dc7ec78
2025-06-10 13:12:24,823 - DEBUG - Services list from nova: [, , ]
2025-06-10 13:12:25,961 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3433-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3433-1)
2025-06-10 13:12:27,233 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3433-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3433-1)
2025-06-10 13:12:27,320 - INFO - Setting gateway for router bf0351fe-2640-40d3-b2f0-aafe899610a3 to network 3c63b71d-a225-497d-8149-cd0c8dc7ec78
2025-06-10 13:12:27,407 - INFO - Adding interface with subnet_id 91582f4b-13d1-42ad-b43d-3111c5cafade, port_id None to router bf0351fe-2640-40d3-b2f0-aafe899610a3
2025-06-10 13:12:27,928 - INFO - Waiting for VM ctest-TestRoutersBasic-91173844-11454452 to be up..
2025-06-10 13:12:28,107 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-06-10 13:12:33,198 - DEBUG - VM is in ACTIVE state now
2025-06-10 13:12:33,198 - INFO - VM name : ctest-TestRoutersBasic-91173844-11454452
2025-06-10 13:12:33,289 - DEBUG - VM ctest-TestRoutersBasic-91173844-11454452 ID is 5d8d8aed-4025-4b86-8bcb-b102c6e17a93
2025-06-10 13:12:33,311 - DEBUG - VM ctest-TestRoutersBasic-91173844-11454452 launched on Node cn-jenkins-deploy-platform-ansible-os-3433-1
2025-06-10 13:12:33,396 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/5d8d8aed-4025-4b86-8bcb-b102c6e17a93
2025-06-10 13:12:33,732 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/5d8d8aed-4025-4b86-8bcb-b102c6e17a93
2025-06-10 13:12:33,770 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/812446db-bba0-4f7f-b3a0-13fe61879555
2025-06-10 13:12:37,028 - 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 1014ms')
2025-06-10 13:12:37,028 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-91173844-11454452 failed!
2025-06-10 13:12:37,087 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-91173844:ctest-vn-35490848 is 154.1.34.129 and allocation pool is NOT set
2025-06-10 13:12:39,145 - 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.83 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.593 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 = 0.593/2.211/3.830/1.618 ms')
2025-06-10 13:12:39,145 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-91173844-11454452 passed
2025-06-10 13:12:39,303 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-10 13:12:39,303 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-91173844-11454452, IP 154.1.34.131, Port 22
2025-06-10 13:12:39,476 - DEBUG - VM ctest-TestRoutersBasic-91173844-11454452 is ready for SSH connections
2025-06-10 13:12:39,477 - INFO - Waiting for VM ctest-TestRoutersBasic-91173844-69360426 to be up..
2025-06-10 13:12:39,586 - DEBUG - VM is in ACTIVE state now
2025-06-10 13:12:39,586 - INFO - VM name : ctest-TestRoutersBasic-91173844-69360426
2025-06-10 13:12:39,674 - DEBUG - VM ctest-TestRoutersBasic-91173844-69360426 ID is c91c94da-7ef0-40c2-97ff-b076f099e3e9
2025-06-10 13:12:39,674 - DEBUG - VM ctest-TestRoutersBasic-91173844-69360426 launched on Node cn-jenkins-deploy-platform-ansible-os-3433-1
2025-06-10 13:12:39,758 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c91c94da-7ef0-40c2-97ff-b076f099e3e9
2025-06-10 13:12:39,768 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/69623794-6ace-4383-b70e-27001075632c
2025-06-10 13:12:41,015 - 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.39 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.04 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 = 1.040/2.716/4.392/1.676 ms')
2025-06-10 13:12:41,016 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-91173844-69360426 passed
2025-06-10 13:12:41,171 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-10 13:12:41,171 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-91173844-69360426, IP 68.25.7.67, Port 22
2025-06-10 13:12:41,326 - DEBUG - VM ctest-TestRoutersBasic-91173844-69360426 is ready for SSH connections
2025-06-10 13:12:41,326 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-10 13:12:41,326 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 68.25.7.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-06-10 13:12:41,326 - DEBUG - ping -s 56 -c 3 -W 1 68.25.7.67
2025-06-10 13:12:45,468 - DEBUG - PING 68.25.7.67 (68.25.7.67): 56 data bytes
64 bytes from 68.25.7.67: seq=0 ttl=62 time=5.428 ms
64 bytes from 68.25.7.67: seq=1 ttl=62 time=0.892 ms
64 bytes from 68.25.7.67: seq=2 ttl=62 time=1.166 ms
--- 68.25.7.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.892/2.495/5.428 ms
2025-06-10 13:12:45,468 - INFO - Ping to IP 68.25.7.67 from VM ctest-TestRoutersBasic-91173844-11454452 passed
2025-06-10 13:12:45,468 - INFO - Deleting interface with subnet_id 91582f4b-13d1-42ad-b43d-3111c5cafade, port_id None from router bf0351fe-2640-40d3-b2f0-aafe899610a3
2025-06-10 13:12:45,703 - INFO - Deleting VM ctest-TestRoutersBasic-91173844-69360426
2025-06-10 13:12:45,788 - INFO - Deleting VM ctest-TestRoutersBasic-91173844-11454452
2025-06-10 13:12:45,874 - INFO - Deleting VN ctest-ext_vn-50137246
2025-06-10 13:12:45,970 - DEBUG - VN 3c63b71d-a225-497d-8149-cd0c8dc7ec78 still in use: Unable to complete operation on network 3c63b71d-a225-497d-8149-cd0c8dc7ec78. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-39daae42-0726-498f-a5d6-43c92edfda5d']
2025-06-10 13:12:45,970 - WARNING - Deleting VN ctest-ext_vn-50137246 failed..Will retry
2025-06-10 13:12:48,082 - DEBUG - Response for deleting network ()
2025-06-10 13:12:48,082 - INFO - Deleting VN ctest-vn-35490848
2025-06-10 13:12:48,193 - DEBUG - Response for deleting network ()
2025-06-10 13:12:48,449 - DEBUG - No XMPP flaps were noticed during the test
2025-06-10 13:12:48,449 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2025-06-10 13:12:48,449 - INFO - --------------------------------------------------------------------------------
2025-06-10 13:12:49,147 - INFO - Deleted project: ctest-TestRoutersBasic-91173844, ID : f0a34c56-85b6-4d52-8b89-2b6f4ea58d8d