2025-06-24 14:52:35,989 - INFO - Domain Default found not creating
2025-06-24 14:52:36,146 - INFO - Project ctest-TestRoutersBasic-08198175 not found, creating it
2025-06-24 14:52:36,606 - INFO - Created Project:ctest-TestRoutersBasic-08198175, ID : 7f810e6f-c384-4e25-af2f-7eecabe16814
2025-06-24 14:52:37,978 - INFO - ================================================================================
2025-06-24 14:52:37,978 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-06-24 14:52:37,978 - 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-24 14:52:38,234 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2025-06-24 14:52:38,234 - INFO - Initial checks done. Running the testcase now
2025-06-24 14:52:38,234 - INFO -
2025-06-24 14:52:38,936 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-08198175
2025-06-24 14:52:39,032 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-08198175
2025-06-24 14:52:39,372 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-08198175', 'default']}
2025-06-24 14:52:39,705 - DEBUG - Response for create_network : {'network': {'id': 'e711039d-f86b-4861-8942-5f2f9d69ad70', 'name': 'ctest-vn-96697483', 'tenant_id': '7f810e6fc3844e25af2f7eecabe16814', 'project_id': '7f810e6fc3844e25af2f7eecabe16814', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-08198175', 'ctest-vn-96697483'], 'port_security_enabled': True, 'description': ''}}
2025-06-24 14:52:39,886 - DEBUG - Response for create_subnet : {'subnet': {'id': '04ea883e-d7d5-4c70-ae7d-70c32b72d120', 'name': '', 'tenant_id': '7f810e6fc3844e25af2f7eecabe16814', 'network_id': 'e711039d-f86b-4861-8942-5f2f9d69ad70', 'ip_version': 4, 'cidr': '149.23.229.192/26', 'allocation_pools': [{'start': '149.23.229.194', 'end': '149.23.229.254'}], 'gateway_ip': '149.23.229.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '149.23.229.194', 'tags': [], 'project_id': '7f810e6fc3844e25af2f7eecabe16814'}}
2025-06-24 14:52:39,904 - INFO - Created VN ctest-vn-96697483
2025-06-24 14:52:39,960 - DEBUG - VN ctest-vn-96697483 UUID is e711039d-f86b-4861-8942-5f2f9d69ad70
2025-06-24 14:52:40,321 - DEBUG - Response for create_network : {'network': {'id': '12d2183d-ba4c-4d54-b74f-bc3eaecc3aae', 'name': 'ctest-ext_vn-73965867', 'tenant_id': '7f810e6fc3844e25af2f7eecabe16814', 'project_id': '7f810e6fc3844e25af2f7eecabe16814', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-08198175', 'ctest-ext_vn-73965867'], 'port_security_enabled': True, 'description': ''}}
2025-06-24 14:52:40,483 - DEBUG - Response for create_subnet : {'subnet': {'id': '8f63cba8-b0e6-4e64-9f5b-7f5394d6d58d', 'name': '', 'tenant_id': '7f810e6fc3844e25af2f7eecabe16814', 'network_id': '12d2183d-ba4c-4d54-b74f-bc3eaecc3aae', 'ip_version': 4, 'cidr': '46.118.29.128/26', 'allocation_pools': [{'start': '46.118.29.130', 'end': '46.118.29.190'}], 'gateway_ip': '46.118.29.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '46.118.29.130', 'tags': [], 'project_id': '7f810e6fc3844e25af2f7eecabe16814'}}
2025-06-24 14:52:40,500 - INFO - Created VN ctest-ext_vn-73965867
2025-06-24 14:52:40,552 - DEBUG - VN ctest-ext_vn-73965867 UUID is 12d2183d-ba4c-4d54-b74f-bc3eaecc3aae
2025-06-24 14:52:40,765 - DEBUG - Services list from nova: [, , ]
2025-06-24 14:52:41,765 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3538-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3538-1)
2025-06-24 14:52:42,926 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3538-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3538-1)
2025-06-24 14:52:43,009 - INFO - Setting gateway for router 51b69697-e117-4cc8-9e39-279d138416ca to network 12d2183d-ba4c-4d54-b74f-bc3eaecc3aae
2025-06-24 14:52:43,074 - INFO - Adding interface with subnet_id 04ea883e-d7d5-4c70-ae7d-70c32b72d120, port_id None to router 51b69697-e117-4cc8-9e39-279d138416ca
2025-06-24 14:52:43,470 - INFO - Waiting for VM ctest-TestRoutersBasic-08198175-09832687 to be up..
2025-06-24 14:52:43,624 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-06-24 14:52:48,719 - DEBUG - VM is in ACTIVE state now
2025-06-24 14:52:48,719 - INFO - VM name : ctest-TestRoutersBasic-08198175-09832687
2025-06-24 14:52:48,794 - DEBUG - VM ctest-TestRoutersBasic-08198175-09832687 ID is e2853398-3072-4580-b09a-dd59bc77c141
2025-06-24 14:52:48,814 - DEBUG - VM ctest-TestRoutersBasic-08198175-09832687 launched on Node cn-jenkins-deploy-platform-ansible-os-3538-1
2025-06-24 14:52:48,885 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/e2853398-3072-4580-b09a-dd59bc77c141
2025-06-24 14:52:49,181 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/e2853398-3072-4580-b09a-dd59bc77c141
2025-06-24 14:52:49,213 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/4fd01fe9-8f05-4d37-82fa-862818c684a6
2025-06-24 14:52:52,467 - 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 1012ms')
2025-06-24 14:52:52,467 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-08198175-09832687 failed!
2025-06-24 14:52:52,520 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-08198175:ctest-vn-96697483 is 149.23.229.193 and allocation pool is NOT set
2025-06-24 14:52:54,581 - 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.06 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.633 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.633/2.345/4.058/1.712 ms')
2025-06-24 14:52:54,581 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-08198175-09832687 passed
2025-06-24 14:52:54,740 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-24 14:52:54,740 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-08198175-09832687, IP 149.23.229.195, Port 22
2025-06-24 14:52:54,906 - DEBUG - VM ctest-TestRoutersBasic-08198175-09832687 is ready for SSH connections
2025-06-24 14:52:54,906 - INFO - Waiting for VM ctest-TestRoutersBasic-08198175-05971664 to be up..
2025-06-24 14:52:54,984 - DEBUG - VM is in ACTIVE state now
2025-06-24 14:52:54,984 - INFO - VM name : ctest-TestRoutersBasic-08198175-05971664
2025-06-24 14:52:55,061 - DEBUG - VM ctest-TestRoutersBasic-08198175-05971664 ID is ce864b48-04a0-4fa7-a2a2-d3fb1bff6c34
2025-06-24 14:52:55,061 - DEBUG - VM ctest-TestRoutersBasic-08198175-05971664 launched on Node cn-jenkins-deploy-platform-ansible-os-3538-1
2025-06-24 14:52:55,137 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/ce864b48-04a0-4fa7-a2a2-d3fb1bff6c34
2025-06-24 14:52:55,147 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/ca972527-843d-4b0e-968c-df27bbe58d6b
2025-06-24 14:52:56,384 - 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.00 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.335 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.335/1.667/2.999/1.332 ms')
2025-06-24 14:52:56,384 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-08198175-05971664 passed
2025-06-24 14:52:56,532 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-24 14:52:56,532 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-08198175-05971664, IP 46.118.29.131, Port 22
2025-06-24 14:52:56,687 - DEBUG - VM ctest-TestRoutersBasic-08198175-05971664 is ready for SSH connections
2025-06-24 14:52:56,687 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-24 14:52:56,687 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 46.118.29.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-06-24 14:52:56,687 - DEBUG - ping -s 56 -c 3 -W 1 46.118.29.131
2025-06-24 14:53:00,683 - DEBUG - PING 46.118.29.131 (46.118.29.131): 56 data bytes
64 bytes from 46.118.29.131: seq=0 ttl=62 time=6.472 ms
64 bytes from 46.118.29.131: seq=1 ttl=62 time=0.752 ms
64 bytes from 46.118.29.131: seq=2 ttl=62 time=0.889 ms
--- 46.118.29.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.752/2.704/6.472 ms
2025-06-24 14:53:00,683 - INFO - Ping to IP 46.118.29.131 from VM ctest-TestRoutersBasic-08198175-09832687 passed
2025-06-24 14:53:00,684 - INFO - Deleting interface with subnet_id 04ea883e-d7d5-4c70-ae7d-70c32b72d120, port_id None from router 51b69697-e117-4cc8-9e39-279d138416ca
2025-06-24 14:53:00,898 - INFO - Deleting VM ctest-TestRoutersBasic-08198175-05971664
2025-06-24 14:53:00,970 - INFO - Deleting VM ctest-TestRoutersBasic-08198175-09832687
2025-06-24 14:53:01,055 - INFO - Deleting VN ctest-ext_vn-73965867
2025-06-24 14:53:01,118 - DEBUG - VN 12d2183d-ba4c-4d54-b74f-bc3eaecc3aae still in use: Unable to complete operation on network 12d2183d-ba4c-4d54-b74f-bc3eaecc3aae. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-b9a480f2-b836-44c2-9911-2f54440f75a6']
2025-06-24 14:53:01,118 - WARNING - Deleting VN ctest-ext_vn-73965867 failed..Will retry
2025-06-24 14:53:03,223 - DEBUG - Response for deleting network ()
2025-06-24 14:53:03,223 - INFO - Deleting VN ctest-vn-96697483
2025-06-24 14:53:03,340 - DEBUG - Response for deleting network ()
2025-06-24 14:53:03,601 - DEBUG - No XMPP flaps were noticed during the test
2025-06-24 14:53:03,601 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-06-24 14:53:03,601 - INFO - --------------------------------------------------------------------------------
2025-06-24 14:53:04,313 - INFO - Deleted project: ctest-TestRoutersBasic-08198175, ID : 7f810e6f-c384-4e25-af2f-7eecabe16814