2025-08-04 02:15:56,462 - INFO - Domain Default found not creating 2025-08-04 02:15:56,641 - INFO - Project ctest-TestRoutersBasic-64853711 not found, creating it 2025-08-04 02:15:57,111 - INFO - Created Project:ctest-TestRoutersBasic-64853711, ID : eee29109-1dd0-4504-8af6-739e19bd0f44 2025-08-04 02:15:58,566 - INFO - ================================================================================ 2025-08-04 02:15:58,566 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-04 02:15:58,567 - 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-04 02:15:58,827 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-08-04 02:15:58,827 - INFO - Initial checks done. Running the testcase now 2025-08-04 02:15:58,827 - INFO - 2025-08-04 02:15:59,546 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-64853711 2025-08-04 02:15:59,641 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-64853711 2025-08-04 02:15:59,968 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-64853711', 'default']} 2025-08-04 02:16:00,285 - DEBUG - Response for create_network : {'network': {'id': '5b776b62-8f60-4971-ac15-05b713911280', 'name': 'ctest-vn-28876632', 'tenant_id': 'eee291091dd045048af6739e19bd0f44', 'project_id': 'eee291091dd045048af6739e19bd0f44', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-64853711', 'ctest-vn-28876632'], 'port_security_enabled': True, 'description': ''}} 2025-08-04 02:16:00,492 - DEBUG - Response for create_subnet : {'subnet': {'id': '6a64ee3d-55c9-4d18-8e45-dd76b5fb6be8', 'name': '', 'tenant_id': 'eee291091dd045048af6739e19bd0f44', 'network_id': '5b776b62-8f60-4971-ac15-05b713911280', 'ip_version': 4, 'cidr': '157.126.93.64/26', 'allocation_pools': [{'start': '157.126.93.66', 'end': '157.126.93.126'}], 'gateway_ip': '157.126.93.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '157.126.93.66', 'tags': [], 'project_id': 'eee291091dd045048af6739e19bd0f44'}} 2025-08-04 02:16:00,513 - INFO - Created VN ctest-vn-28876632 2025-08-04 02:16:00,565 - DEBUG - VN ctest-vn-28876632 UUID is 5b776b62-8f60-4971-ac15-05b713911280 2025-08-04 02:16:00,951 - DEBUG - Response for create_network : {'network': {'id': 'a5900a3d-9b8b-4194-ae50-c9e51c34e984', 'name': 'ctest-ext_vn-93604335', 'tenant_id': 'eee291091dd045048af6739e19bd0f44', 'project_id': 'eee291091dd045048af6739e19bd0f44', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-64853711', 'ctest-ext_vn-93604335'], 'port_security_enabled': True, 'description': ''}} 2025-08-04 02:16:01,181 - DEBUG - Response for create_subnet : {'subnet': {'id': '31c2dd33-98e8-4aff-9d90-dc3501e7f496', 'name': '', 'tenant_id': 'eee291091dd045048af6739e19bd0f44', 'network_id': 'a5900a3d-9b8b-4194-ae50-c9e51c34e984', 'ip_version': 4, 'cidr': '18.243.59.0/26', 'allocation_pools': [{'start': '18.243.59.2', 'end': '18.243.59.62'}], 'gateway_ip': '18.243.59.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '18.243.59.2', 'tags': [], 'project_id': 'eee291091dd045048af6739e19bd0f44'}} 2025-08-04 02:16:01,205 - INFO - Created VN ctest-ext_vn-93604335 2025-08-04 02:16:01,261 - DEBUG - VN ctest-ext_vn-93604335 UUID is a5900a3d-9b8b-4194-ae50-c9e51c34e984 2025-08-04 02:16:01,451 - DEBUG - Services list from nova: [, , ] 2025-08-04 02:16:02,526 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3746-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3746-1) 2025-08-04 02:16:03,750 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3746-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3746-1) 2025-08-04 02:16:03,808 - INFO - Setting gateway for router 665a3fbc-09e9-4580-b795-adea326af8f9 to network a5900a3d-9b8b-4194-ae50-c9e51c34e984 2025-08-04 02:16:03,860 - INFO - Adding interface with subnet_id 6a64ee3d-55c9-4d18-8e45-dd76b5fb6be8, port_id None to router 665a3fbc-09e9-4580-b795-adea326af8f9 2025-08-04 02:16:04,248 - INFO - Waiting for VM ctest-TestRoutersBasic-64853711-92549112 to be up.. 2025-08-04 02:16:04,401 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-04 02:16:09,478 - DEBUG - VM is in ACTIVE state now 2025-08-04 02:16:09,479 - INFO - VM name : ctest-TestRoutersBasic-64853711-92549112 2025-08-04 02:16:09,570 - DEBUG - VM ctest-TestRoutersBasic-64853711-92549112 ID is 245ca253-152d-48c8-991a-88e2a4f0caf1 2025-08-04 02:16:09,590 - DEBUG - VM ctest-TestRoutersBasic-64853711-92549112 launched on Node cn-jenkins-deploy-platform-ansible-os-3746-1 2025-08-04 02:16:09,664 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/245ca253-152d-48c8-991a-88e2a4f0caf1 2025-08-04 02:16:09,959 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/245ca253-152d-48c8-991a-88e2a4f0caf1 2025-08-04 02:16:09,988 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/de878001-54a3-47d2-add9-acce265b7471 2025-08-04 02:16:13,237 - 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 1011ms') 2025-08-04 02:16:13,237 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-64853711-92549112 failed! 2025-08-04 02:16:13,293 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-64853711:ctest-vn-28876632 is 157.126.93.65 and allocation pool is NOT set 2025-08-04 02:16:15,349 - 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.03 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.982 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.982/2.504/4.027/1.522 ms') 2025-08-04 02:16:15,349 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-64853711-92549112 passed 2025-08-04 02:16:15,497 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 02:16:15,497 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-64853711-92549112, IP 157.126.93.67, Port 22 2025-08-04 02:16:15,663 - DEBUG - VM ctest-TestRoutersBasic-64853711-92549112 is ready for SSH connections 2025-08-04 02:16:15,663 - INFO - Waiting for VM ctest-TestRoutersBasic-64853711-52165697 to be up.. 2025-08-04 02:16:15,736 - DEBUG - VM is in ACTIVE state now 2025-08-04 02:16:15,736 - INFO - VM name : ctest-TestRoutersBasic-64853711-52165697 2025-08-04 02:16:15,807 - DEBUG - VM ctest-TestRoutersBasic-64853711-52165697 ID is 69f3f287-bd36-40a4-8050-8cbd6f743493 2025-08-04 02:16:15,807 - DEBUG - VM ctest-TestRoutersBasic-64853711-52165697 launched on Node cn-jenkins-deploy-platform-ansible-os-3746-1 2025-08-04 02:16:15,876 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/69f3f287-bd36-40a4-8050-8cbd6f743493 2025-08-04 02:16:15,885 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/1dcf540f-a98a-465d-a287-88dde2132c6c 2025-08-04 02:16:17,127 - 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.49 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.390 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.390/1.937/3.485/1.547 ms') 2025-08-04 02:16:17,127 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-64853711-52165697 passed 2025-08-04 02:16:17,277 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 02:16:17,277 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-64853711-52165697, IP 18.243.59.3, Port 22 2025-08-04 02:16:17,432 - DEBUG - VM ctest-TestRoutersBasic-64853711-52165697 is ready for SSH connections 2025-08-04 02:16:17,432 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 02:16:17,432 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 18.243.59.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-04 02:16:17,433 - DEBUG - ping -s 56 -c 3 -W 1 18.243.59.3 2025-08-04 02:16:21,445 - DEBUG - PING 18.243.59.3 (18.243.59.3): 56 data bytes 64 bytes from 18.243.59.3: seq=0 ttl=62 time=5.217 ms 64 bytes from 18.243.59.3: seq=1 ttl=62 time=0.986 ms 64 bytes from 18.243.59.3: seq=2 ttl=62 time=1.151 ms --- 18.243.59.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.986/2.451/5.217 ms 2025-08-04 02:16:21,445 - INFO - Ping to IP 18.243.59.3 from VM ctest-TestRoutersBasic-64853711-92549112 passed 2025-08-04 02:16:21,445 - INFO - Deleting interface with subnet_id 6a64ee3d-55c9-4d18-8e45-dd76b5fb6be8, port_id None from router 665a3fbc-09e9-4580-b795-adea326af8f9 2025-08-04 02:16:21,646 - INFO - Deleting VM ctest-TestRoutersBasic-64853711-52165697 2025-08-04 02:16:21,715 - INFO - Deleting VM ctest-TestRoutersBasic-64853711-92549112 2025-08-04 02:16:21,788 - INFO - Deleting VN ctest-ext_vn-93604335 2025-08-04 02:16:21,858 - DEBUG - VN a5900a3d-9b8b-4194-ae50-c9e51c34e984 still in use: Unable to complete operation on network a5900a3d-9b8b-4194-ae50-c9e51c34e984. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-144cf334-72af-4c13-b662-77a301f77d17'] 2025-08-04 02:16:21,858 - WARNING - Deleting VN ctest-ext_vn-93604335 failed..Will retry 2025-08-04 02:16:23,963 - DEBUG - Response for deleting network () 2025-08-04 02:16:23,963 - INFO - Deleting VN ctest-vn-28876632 2025-08-04 02:16:24,071 - DEBUG - Response for deleting network () 2025-08-04 02:16:24,326 - DEBUG - No XMPP flaps were noticed during the test
2025-08-04 02:16:24,327 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-08-04 02:16:24,327 - INFO - -------------------------------------------------------------------------------- 2025-08-04 02:16:25,015 - INFO - Deleted project: ctest-TestRoutersBasic-64853711, ID : eee29109-1dd0-4504-8af6-739e19bd0f44