2025-10-06 22:48:57,200 - INFO - Domain Default found not creating 2025-10-06 22:48:57,339 - INFO - Project ctest-TestRoutersBasic-40498274 not found, creating it 2025-10-06 22:48:57,778 - INFO - Created Project:ctest-TestRoutersBasic-40498274, ID : 29177c9b-b7d0-47ce-b39b-950f00bd77f2 2025-10-06 22:48:59,193 - INFO - ================================================================================ 2025-10-06 22:48:59,194 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-06 22:48:59,194 - 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-06 22:48:59,458 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-10-06 22:48:59,458 - INFO - Initial checks done. Running the testcase now 2025-10-06 22:48:59,458 - INFO - 2025-10-06 22:49:00,162 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-40498274 2025-10-06 22:49:00,263 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-40498274 2025-10-06 22:49:00,595 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40498274', 'default']} 2025-10-06 22:49:00,884 - DEBUG - Response for create_network : {'network': {'id': '0222ed76-6446-4dcd-8831-7492f55144d3', 'name': 'ctest-vn-45351037', 'tenant_id': '29177c9bb7d047ceb39b950f00bd77f2', 'project_id': '29177c9bb7d047ceb39b950f00bd77f2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40498274', 'ctest-vn-45351037'], 'port_security_enabled': True, 'description': ''}} 2025-10-06 22:49:01,061 - DEBUG - Response for create_subnet : {'subnet': {'id': '61e3e173-c042-4439-ae11-7bfb1c7ab4a3', 'name': '', 'tenant_id': '29177c9bb7d047ceb39b950f00bd77f2', 'network_id': '0222ed76-6446-4dcd-8831-7492f55144d3', 'ip_version': 4, 'cidr': '67.158.222.64/26', 'allocation_pools': [{'start': '67.158.222.66', 'end': '67.158.222.126'}], 'gateway_ip': '67.158.222.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '67.158.222.66', 'tags': [], 'project_id': '29177c9bb7d047ceb39b950f00bd77f2'}} 2025-10-06 22:49:01,079 - INFO - Created VN ctest-vn-45351037 2025-10-06 22:49:01,131 - DEBUG - VN ctest-vn-45351037 UUID is 0222ed76-6446-4dcd-8831-7492f55144d3 2025-10-06 22:49:01,427 - DEBUG - Response for create_network : {'network': {'id': '87a082e5-b4de-4271-85af-535189f0c78f', 'name': 'ctest-ext_vn-58438565', 'tenant_id': '29177c9bb7d047ceb39b950f00bd77f2', 'project_id': '29177c9bb7d047ceb39b950f00bd77f2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40498274', 'ctest-ext_vn-58438565'], 'port_security_enabled': True, 'description': ''}} 2025-10-06 22:49:01,614 - DEBUG - Response for create_subnet : {'subnet': {'id': '7edf89ab-e17a-4f51-a643-0cf20e09eb00', 'name': '', 'tenant_id': '29177c9bb7d047ceb39b950f00bd77f2', 'network_id': '87a082e5-b4de-4271-85af-535189f0c78f', 'ip_version': 4, 'cidr': '84.79.63.0/26', 'allocation_pools': [{'start': '84.79.63.2', 'end': '84.79.63.62'}], 'gateway_ip': '84.79.63.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '84.79.63.2', 'tags': [], 'project_id': '29177c9bb7d047ceb39b950f00bd77f2'}} 2025-10-06 22:49:01,632 - INFO - Created VN ctest-ext_vn-58438565 2025-10-06 22:49:01,683 - DEBUG - VN ctest-ext_vn-58438565 UUID is 87a082e5-b4de-4271-85af-535189f0c78f 2025-10-06 22:49:01,851 - DEBUG - Services list from nova: [, , ] 2025-10-06 22:49:02,898 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4228-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4228-1) 2025-10-06 22:49:04,042 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4228-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4228-1) 2025-10-06 22:49:04,125 - INFO - Setting gateway for router 8e0927af-32d6-4f13-9a98-aceb4874f066 to network 87a082e5-b4de-4271-85af-535189f0c78f 2025-10-06 22:49:04,195 - INFO - Adding interface with subnet_id 61e3e173-c042-4439-ae11-7bfb1c7ab4a3, port_id None to router 8e0927af-32d6-4f13-9a98-aceb4874f066 2025-10-06 22:49:04,598 - INFO - Waiting for VM ctest-TestRoutersBasic-40498274-46567785 to be up.. 2025-10-06 22:49:04,753 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-06 22:49:09,827 - DEBUG - VM is in ACTIVE state now 2025-10-06 22:49:09,827 - INFO - VM name : ctest-TestRoutersBasic-40498274-46567785 2025-10-06 22:49:09,901 - DEBUG - VM ctest-TestRoutersBasic-40498274-46567785 ID is 35f087fe-1e49-4df2-91f4-a56867a4104a 2025-10-06 22:49:09,920 - DEBUG - VM ctest-TestRoutersBasic-40498274-46567785 launched on Node cn-jenkins-deploy-platform-ansible-os-4228-1 2025-10-06 22:49:09,996 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/35f087fe-1e49-4df2-91f4-a56867a4104a 2025-10-06 22:49:10,289 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/35f087fe-1e49-4df2-91f4-a56867a4104a 2025-10-06 22:49:10,319 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/0c3a747b-62eb-4f5c-a9fe-03c3964eda34 2025-10-06 22:49:13,564 - 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 1007ms') 2025-10-06 22:49:13,564 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-40498274-46567785 failed! 2025-10-06 22:49:13,619 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-40498274:ctest-vn-45351037 is 67.158.222.65 and allocation pool is NOT set 2025-10-06 22:49:15,677 - 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.95 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.792 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.792/2.871/4.950/2.079 ms') 2025-10-06 22:49:15,677 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-40498274-46567785 passed 2025-10-06 22:49:15,791 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 22:49:15,791 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-40498274-46567785, IP 67.158.222.67, Port 22 2025-10-06 22:49:15,946 - DEBUG - VM ctest-TestRoutersBasic-40498274-46567785 is ready for SSH connections 2025-10-06 22:49:15,946 - INFO - Waiting for VM ctest-TestRoutersBasic-40498274-70222751 to be up.. 2025-10-06 22:49:16,027 - DEBUG - VM is in ACTIVE state now 2025-10-06 22:49:16,028 - INFO - VM name : ctest-TestRoutersBasic-40498274-70222751 2025-10-06 22:49:16,107 - DEBUG - VM ctest-TestRoutersBasic-40498274-70222751 ID is 38069335-eb05-4840-9e32-c045dca1605e 2025-10-06 22:49:16,107 - DEBUG - VM ctest-TestRoutersBasic-40498274-70222751 launched on Node cn-jenkins-deploy-platform-ansible-os-4228-1 2025-10-06 22:49:16,186 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/38069335-eb05-4840-9e32-c045dca1605e 2025-10-06 22:49:16,196 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/13cd0841-5f87-4ca0-acf1-fafaea6ed2fa 2025-10-06 22:49:17,432 - 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.59 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.462 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.462/2.525/4.589/2.063 ms') 2025-10-06 22:49:17,432 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-40498274-70222751 passed 2025-10-06 22:49:17,583 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 22:49:17,583 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-40498274-70222751, IP 84.79.63.3, Port 22 2025-10-06 22:49:17,734 - DEBUG - VM ctest-TestRoutersBasic-40498274-70222751 is ready for SSH connections 2025-10-06 22:49:17,735 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 22:49:17,735 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 84.79.63.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-06 22:49:17,735 - DEBUG - ping -s 56 -c 3 -W 1 84.79.63.3 2025-10-06 22:49:21,737 - DEBUG - PING 84.79.63.3 (84.79.63.3): 56 data bytes 64 bytes from 84.79.63.3: seq=0 ttl=62 time=5.026 ms 64 bytes from 84.79.63.3: seq=1 ttl=62 time=0.967 ms 64 bytes from 84.79.63.3: seq=2 ttl=62 time=0.957 ms --- 84.79.63.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.957/2.316/5.026 ms 2025-10-06 22:49:21,737 - INFO - Ping to IP 84.79.63.3 from VM ctest-TestRoutersBasic-40498274-46567785 passed 2025-10-06 22:49:21,737 - INFO - Deleting interface with subnet_id 61e3e173-c042-4439-ae11-7bfb1c7ab4a3, port_id None from router 8e0927af-32d6-4f13-9a98-aceb4874f066 2025-10-06 22:49:21,934 - INFO - Deleting VM ctest-TestRoutersBasic-40498274-70222751 2025-10-06 22:49:22,006 - INFO - Deleting VM ctest-TestRoutersBasic-40498274-46567785 2025-10-06 22:49:22,105 - INFO - Deleting VN ctest-ext_vn-58438565 2025-10-06 22:49:22,166 - DEBUG - VN 87a082e5-b4de-4271-85af-535189f0c78f still in use: Unable to complete operation on network 87a082e5-b4de-4271-85af-535189f0c78f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-449b71d3-6f75-4422-b870-32e3ae0e903a'] 2025-10-06 22:49:22,168 - WARNING - Deleting VN ctest-ext_vn-58438565 failed..Will retry 2025-10-06 22:49:24,291 - DEBUG - Response for deleting network () 2025-10-06 22:49:24,292 - INFO - Deleting VN ctest-vn-45351037 2025-10-06 22:49:24,453 - DEBUG - Response for deleting network () 2025-10-06 22:49:24,716 - DEBUG - No XMPP flaps were noticed during the test
2025-10-06 22:49:24,716 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-10-06 22:49:24,716 - INFO - -------------------------------------------------------------------------------- 2025-10-06 22:49:25,410 - INFO - Deleted project: ctest-TestRoutersBasic-40498274, ID : 29177c9b-b7d0-47ce-b39b-950f00bd77f2