2025-10-27 20:32:22,093 - INFO - Domain Default found not creating
2025-10-27 20:32:22,248 - INFO - Project ctest-TestRoutersBasic-56275388 not found, creating it
2025-10-27 20:32:22,695 - INFO - Created Project:ctest-TestRoutersBasic-56275388, ID : 597ccdf0-07b4-4d8f-85b3-34f8f85d65e8
2025-10-27 20:32:24,117 - INFO - ================================================================================
2025-10-27 20:32:24,118 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-10-27 20:32:24,118 - 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-27 20:32:24,380 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with
2025-10-27 20:32:24,380 - INFO - Initial checks done. Running the testcase now
2025-10-27 20:32:24,380 - INFO -
2025-10-27 20:32:25,069 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-56275388
2025-10-27 20:32:25,162 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-56275388
2025-10-27 20:32:25,482 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-56275388', 'default']}
2025-10-27 20:32:25,764 - DEBUG - Response for create_network : {'network': {'id': 'c42845ee-6d5a-463e-8bee-0eccf6fd6407', 'name': 'ctest-vn-59618096', 'tenant_id': '597ccdf007b44d8f85b334f8f85d65e8', 'project_id': '597ccdf007b44d8f85b334f8f85d65e8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-56275388', 'ctest-vn-59618096'], 'port_security_enabled': True, 'description': ''}}
2025-10-27 20:32:25,940 - DEBUG - Response for create_subnet : {'subnet': {'id': '5998b327-ac51-4db1-b6b5-3d96c1e795d1', 'name': '', 'tenant_id': '597ccdf007b44d8f85b334f8f85d65e8', 'network_id': 'c42845ee-6d5a-463e-8bee-0eccf6fd6407', 'ip_version': 4, 'cidr': '180.234.219.0/26', 'allocation_pools': [{'start': '180.234.219.2', 'end': '180.234.219.62'}], 'gateway_ip': '180.234.219.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '180.234.219.2', 'tags': [], 'project_id': '597ccdf007b44d8f85b334f8f85d65e8'}}
2025-10-27 20:32:25,961 - INFO - Created VN ctest-vn-59618096
2025-10-27 20:32:26,018 - DEBUG - VN ctest-vn-59618096 UUID is c42845ee-6d5a-463e-8bee-0eccf6fd6407
2025-10-27 20:32:26,371 - DEBUG - Response for create_network : {'network': {'id': '95a84145-a508-469d-9a21-eab1ef131312', 'name': 'ctest-ext_vn-85766033', 'tenant_id': '597ccdf007b44d8f85b334f8f85d65e8', 'project_id': '597ccdf007b44d8f85b334f8f85d65e8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-56275388', 'ctest-ext_vn-85766033'], 'port_security_enabled': True, 'description': ''}}
2025-10-27 20:32:26,557 - DEBUG - Response for create_subnet : {'subnet': {'id': '147a05ff-6fb4-4537-9fe2-d05587b08f43', 'name': '', 'tenant_id': '597ccdf007b44d8f85b334f8f85d65e8', 'network_id': '95a84145-a508-469d-9a21-eab1ef131312', 'ip_version': 4, 'cidr': '73.215.49.192/26', 'allocation_pools': [{'start': '73.215.49.194', 'end': '73.215.49.254'}], 'gateway_ip': '73.215.49.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '73.215.49.194', 'tags': [], 'project_id': '597ccdf007b44d8f85b334f8f85d65e8'}}
2025-10-27 20:32:26,575 - INFO - Created VN ctest-ext_vn-85766033
2025-10-27 20:32:26,630 - DEBUG - VN ctest-ext_vn-85766033 UUID is 95a84145-a508-469d-9a21-eab1ef131312
2025-10-27 20:32:26,791 - DEBUG - Services list from nova: [, , ]
2025-10-27 20:32:27,752 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4511-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4511-1)
2025-10-27 20:32:28,841 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4511-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4511-1)
2025-10-27 20:32:28,898 - INFO - Setting gateway for router 8a5c2c3c-8a68-42cb-b557-6a4e958d9bf6 to network 95a84145-a508-469d-9a21-eab1ef131312
2025-10-27 20:32:28,959 - INFO - Adding interface with subnet_id 5998b327-ac51-4db1-b6b5-3d96c1e795d1, port_id None to router 8a5c2c3c-8a68-42cb-b557-6a4e958d9bf6
2025-10-27 20:32:29,281 - INFO - Waiting for VM ctest-TestRoutersBasic-56275388-35192414 to be up..
2025-10-27 20:32:29,515 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-27 20:32:34,592 - DEBUG - VM is in ACTIVE state now
2025-10-27 20:32:34,592 - INFO - VM name : ctest-TestRoutersBasic-56275388-35192414
2025-10-27 20:32:34,662 - DEBUG - VM ctest-TestRoutersBasic-56275388-35192414 ID is a63033ba-8bdb-41e7-be74-c267e772a0d6
2025-10-27 20:32:34,684 - DEBUG - VM ctest-TestRoutersBasic-56275388-35192414 launched on Node cn-jenkins-deploy-platform-ansible-os-4511-1
2025-10-27 20:32:34,761 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/a63033ba-8bdb-41e7-be74-c267e772a0d6
2025-10-27 20:32:35,051 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/a63033ba-8bdb-41e7-be74-c267e772a0d6
2025-10-27 20:32:35,079 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/f52a1a4f-6e3e-44a1-876c-a20da7e6212d
2025-10-27 20:32:38,330 - 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 1019ms')
2025-10-27 20:32:38,330 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-56275388-35192414 failed!
2025-10-27 20:32:38,382 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-56275388:ctest-vn-59618096 is 180.234.219.1 and allocation pool is NOT set
2025-10-27 20:32:40,441 - 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.53 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.444 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.444/1.987/3.530/1.543 ms')
2025-10-27 20:32:40,441 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-56275388-35192414 passed
2025-10-27 20:32:40,594 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-27 20:32:40,594 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-56275388-35192414, IP 180.234.219.3, Port 22
2025-10-27 20:32:40,749 - DEBUG - VM ctest-TestRoutersBasic-56275388-35192414 is ready for SSH connections
2025-10-27 20:32:40,750 - INFO - Waiting for VM ctest-TestRoutersBasic-56275388-10142401 to be up..
2025-10-27 20:32:40,820 - DEBUG - VM is in ACTIVE state now
2025-10-27 20:32:40,820 - INFO - VM name : ctest-TestRoutersBasic-56275388-10142401
2025-10-27 20:32:40,892 - DEBUG - VM ctest-TestRoutersBasic-56275388-10142401 ID is 853cbe7a-e5a9-42e2-a01d-ead2d3e61fbd
2025-10-27 20:32:40,892 - DEBUG - VM ctest-TestRoutersBasic-56275388-10142401 launched on Node cn-jenkins-deploy-platform-ansible-os-4511-1
2025-10-27 20:32:40,974 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/853cbe7a-e5a9-42e2-a01d-ead2d3e61fbd
2025-10-27 20:32:40,984 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/7e85cd0b-5c3d-4739-842a-de5b09f13543
2025-10-27 20:32:42,227 - 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.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.371 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.371/1.602/2.833/1.231 ms')
2025-10-27 20:32:42,227 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-56275388-10142401 passed
2025-10-27 20:32:42,374 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-27 20:32:42,374 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-56275388-10142401, IP 73.215.49.195, Port 22
2025-10-27 20:32:42,529 - DEBUG - VM ctest-TestRoutersBasic-56275388-10142401 is ready for SSH connections
2025-10-27 20:32:42,529 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-27 20:32:42,529 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 73.215.49.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-10-27 20:32:42,530 - DEBUG - ping -s 56 -c 3 -W 1 73.215.49.195
2025-10-27 20:32:46,598 - DEBUG - PING 73.215.49.195 (73.215.49.195): 56 data bytes
64 bytes from 73.215.49.195: seq=0 ttl=62 time=8.214 ms
64 bytes from 73.215.49.195: seq=1 ttl=62 time=0.765 ms
64 bytes from 73.215.49.195: seq=2 ttl=62 time=1.130 ms
--- 73.215.49.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.765/3.369/8.214 ms
2025-10-27 20:32:46,598 - INFO - Ping to IP 73.215.49.195 from VM ctest-TestRoutersBasic-56275388-35192414 passed
2025-10-27 20:32:46,598 - INFO - Deleting interface with subnet_id 5998b327-ac51-4db1-b6b5-3d96c1e795d1, port_id None from router 8a5c2c3c-8a68-42cb-b557-6a4e958d9bf6
2025-10-27 20:32:46,758 - INFO - Deleting VM ctest-TestRoutersBasic-56275388-10142401
2025-10-27 20:32:46,829 - INFO - Deleting VM ctest-TestRoutersBasic-56275388-35192414
2025-10-27 20:32:46,902 - INFO - Deleting VN ctest-ext_vn-85766033
2025-10-27 20:32:46,957 - DEBUG - VN 95a84145-a508-469d-9a21-eab1ef131312 still in use: Unable to complete operation on network 95a84145-a508-469d-9a21-eab1ef131312. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-a74adebe-b894-44a2-a55e-fc58a07a69e2']
2025-10-27 20:32:46,958 - WARNING - Deleting VN ctest-ext_vn-85766033 failed..Will retry
2025-10-27 20:32:49,055 - DEBUG - Response for deleting network ()
2025-10-27 20:32:49,055 - INFO - Deleting VN ctest-vn-59618096
2025-10-27 20:32:49,144 - DEBUG - Response for deleting network ()
2025-10-27 20:32:49,409 - DEBUG - No XMPP flaps were noticed during the test
2025-10-27 20:32:49,409 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-10-27 20:32:49,409 - INFO - --------------------------------------------------------------------------------
2025-10-27 20:32:50,066 - INFO - Deleted project: ctest-TestRoutersBasic-56275388, ID : 597ccdf0-07b4-4d8f-85b3-34f8f85d65e8