2025-08-20 18:17:51,015 - INFO - Domain Default found not creating
2025-08-20 18:17:51,155 - INFO - Project ctest-TestRoutersBasic-26263374 not found, creating it
2025-08-20 18:17:51,619 - INFO - Created Project:ctest-TestRoutersBasic-26263374, ID : 463796fe-9e54-415d-b1ad-7e2da2474abe
2025-08-20 18:17:53,149 - INFO - ================================================================================
2025-08-20 18:17:53,150 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-08-20 18:17:53,150 - 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-08-20 18:17:53,411 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0'}} with
2025-08-20 18:17:53,411 - INFO - Initial checks done. Running the testcase now
2025-08-20 18:17:53,411 - INFO -
2025-08-20 18:17:54,202 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-26263374
2025-08-20 18:17:54,296 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-26263374
2025-08-20 18:17:54,632 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-26263374', 'default']}
2025-08-20 18:17:54,929 - DEBUG - Response for create_network : {'network': {'id': '3516f915-21ad-4c2b-89aa-10aff1e52ec1', 'name': 'ctest-vn-44720955', 'tenant_id': '463796fe9e54415db1ad7e2da2474abe', 'project_id': '463796fe9e54415db1ad7e2da2474abe', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-26263374', 'ctest-vn-44720955'], 'port_security_enabled': True, 'description': ''}}
2025-08-20 18:17:55,092 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e41711dc-1b36-4825-aa1a-f2726467827a', 'name': '', 'tenant_id': '463796fe9e54415db1ad7e2da2474abe', 'network_id': '3516f915-21ad-4c2b-89aa-10aff1e52ec1', 'ip_version': 4, 'cidr': '59.26.51.0/26', 'allocation_pools': [{'start': '59.26.51.2', 'end': '59.26.51.62'}], 'gateway_ip': '59.26.51.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '59.26.51.2', 'tags': [], 'project_id': '463796fe9e54415db1ad7e2da2474abe'}}
2025-08-20 18:17:55,112 - INFO - Created VN ctest-vn-44720955
2025-08-20 18:17:55,164 - DEBUG - VN ctest-vn-44720955 UUID is 3516f915-21ad-4c2b-89aa-10aff1e52ec1
2025-08-20 18:17:55,502 - DEBUG - Response for create_network : {'network': {'id': '70949eab-9d90-4bed-adae-f1c82c4bac93', 'name': 'ctest-ext_vn-38737299', 'tenant_id': '463796fe9e54415db1ad7e2da2474abe', 'project_id': '463796fe9e54415db1ad7e2da2474abe', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-26263374', 'ctest-ext_vn-38737299'], 'port_security_enabled': True, 'description': ''}}
2025-08-20 18:17:55,677 - DEBUG - Response for create_subnet : {'subnet': {'id': '68f6a6ec-4fdd-4602-8704-d0a3d27cbe82', 'name': '', 'tenant_id': '463796fe9e54415db1ad7e2da2474abe', 'network_id': '70949eab-9d90-4bed-adae-f1c82c4bac93', 'ip_version': 4, 'cidr': '136.165.238.0/26', 'allocation_pools': [{'start': '136.165.238.2', 'end': '136.165.238.62'}], 'gateway_ip': '136.165.238.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '136.165.238.2', 'tags': [], 'project_id': '463796fe9e54415db1ad7e2da2474abe'}}
2025-08-20 18:17:55,695 - INFO - Created VN ctest-ext_vn-38737299
2025-08-20 18:17:55,748 - DEBUG - VN ctest-ext_vn-38737299 UUID is 70949eab-9d90-4bed-adae-f1c82c4bac93
2025-08-20 18:17:55,920 - DEBUG - Services list from nova: [, , ]
2025-08-20 18:17:56,998 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3900-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3900-1)
2025-08-20 18:17:58,173 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3900-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3900-1)
2025-08-20 18:17:58,251 - INFO - Setting gateway for router c6a96412-ae9a-4b62-9b20-0c4940bfebc9 to network 70949eab-9d90-4bed-adae-f1c82c4bac93
2025-08-20 18:17:58,315 - INFO - Adding interface with subnet_id e41711dc-1b36-4825-aa1a-f2726467827a, port_id None to router c6a96412-ae9a-4b62-9b20-0c4940bfebc9
2025-08-20 18:17:58,769 - INFO - Waiting for VM ctest-TestRoutersBasic-26263374-69195888 to be up..
2025-08-20 18:17:58,926 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-20 18:18:04,000 - DEBUG - VM is in ACTIVE state now
2025-08-20 18:18:04,000 - INFO - VM name : ctest-TestRoutersBasic-26263374-69195888
2025-08-20 18:18:04,068 - DEBUG - VM ctest-TestRoutersBasic-26263374-69195888 ID is c974a3e7-8abb-41d4-a63c-4d4ad6bb2bce
2025-08-20 18:18:04,087 - DEBUG - VM ctest-TestRoutersBasic-26263374-69195888 launched on Node cn-jenkins-deploy-platform-ansible-os-3900-1
2025-08-20 18:18:04,158 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/c974a3e7-8abb-41d4-a63c-4d4ad6bb2bce
2025-08-20 18:18:04,500 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/c974a3e7-8abb-41d4-a63c-4d4ad6bb2bce
2025-08-20 18:18:04,533 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/25bbd8d3-3f28-450f-9b45-4ee3e57e1afa
2025-08-20 18:18:07,788 - 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')
2025-08-20 18:18:07,789 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-26263374-69195888 failed!
2025-08-20 18:18:07,856 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-26263374:ctest-vn-44720955 is 59.26.51.1 and allocation pool is NOT set
2025-08-20 18:18:09,916 - 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.70 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.408 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.408/2.055/3.703/1.647 ms')
2025-08-20 18:18:09,916 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-26263374-69195888 passed
2025-08-20 18:18:10,076 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-20 18:18:10,076 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-26263374-69195888, IP 59.26.51.3, Port 22
2025-08-20 18:18:10,232 - DEBUG - VM ctest-TestRoutersBasic-26263374-69195888 is ready for SSH connections
2025-08-20 18:18:10,232 - INFO - Waiting for VM ctest-TestRoutersBasic-26263374-49044566 to be up..
2025-08-20 18:18:10,307 - DEBUG - VM is in ACTIVE state now
2025-08-20 18:18:10,307 - INFO - VM name : ctest-TestRoutersBasic-26263374-49044566
2025-08-20 18:18:10,389 - DEBUG - VM ctest-TestRoutersBasic-26263374-49044566 ID is 877afff5-82a3-4f7b-b856-5fc907144e00
2025-08-20 18:18:10,389 - DEBUG - VM ctest-TestRoutersBasic-26263374-49044566 launched on Node cn-jenkins-deploy-platform-ansible-os-3900-1
2025-08-20 18:18:10,463 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/877afff5-82a3-4f7b-b856-5fc907144e00
2025-08-20 18:18:10,472 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/8c12e38c-1059-42fc-b0f8-65b90893e6ea
2025-08-20 18:18:11,722 - 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.22 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.360 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.360/1.788/3.216/1.428 ms')
2025-08-20 18:18:11,722 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-26263374-49044566 passed
2025-08-20 18:18:11,876 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-20 18:18:11,876 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-26263374-49044566, IP 136.165.238.3, Port 22
2025-08-20 18:18:12,039 - DEBUG - VM ctest-TestRoutersBasic-26263374-49044566 is ready for SSH connections
2025-08-20 18:18:12,039 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-20 18:18:12,040 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 136.165.238.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2025-08-20 18:18:12,040 - DEBUG - ping -s 56 -c 3 -W 1 136.165.238.3
2025-08-20 18:18:15,739 - DEBUG - PING 136.165.238.3 (136.165.238.3): 56 data bytes
64 bytes from 136.165.238.3: seq=0 ttl=62 time=7.435 ms
64 bytes from 136.165.238.3: seq=1 ttl=62 time=0.934 ms
64 bytes from 136.165.238.3: seq=2 ttl=62 time=0.905 ms
--- 136.165.238.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.905/3.091/7.435 ms
2025-08-20 18:18:15,740 - INFO - Ping to IP 136.165.238.3 from VM ctest-TestRoutersBasic-26263374-69195888 passed
2025-08-20 18:18:15,740 - INFO - Deleting interface with subnet_id e41711dc-1b36-4825-aa1a-f2726467827a, port_id None from router c6a96412-ae9a-4b62-9b20-0c4940bfebc9
2025-08-20 18:18:15,993 - INFO - Deleting VM ctest-TestRoutersBasic-26263374-49044566
2025-08-20 18:18:16,062 - INFO - Deleting VM ctest-TestRoutersBasic-26263374-69195888
2025-08-20 18:18:16,146 - INFO - Deleting VN ctest-ext_vn-38737299
2025-08-20 18:18:16,224 - DEBUG - VN 70949eab-9d90-4bed-adae-f1c82c4bac93 still in use: Unable to complete operation on network 70949eab-9d90-4bed-adae-f1c82c4bac93. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-92e8d75c-104d-43a0-839c-c5874bf09874']
2025-08-20 18:18:16,224 - WARNING - Deleting VN ctest-ext_vn-38737299 failed..Will retry
2025-08-20 18:18:18,329 - DEBUG - Response for deleting network ()
2025-08-20 18:18:18,329 - INFO - Deleting VN ctest-vn-44720955
2025-08-20 18:18:18,432 - DEBUG - Response for deleting network ()
2025-08-20 18:18:18,686 - DEBUG - No XMPP flaps were noticed during the test
2025-08-20 18:18:18,686 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-08-20 18:18:18,686 - INFO - --------------------------------------------------------------------------------
2025-08-20 18:18:19,406 - INFO - Deleted project: ctest-TestRoutersBasic-26263374, ID : 463796fe-9e54-415d-b1ad-7e2da2474abe