2026-11-07 07:56:56,034 - INFO - Domain Default found not creating 2026-11-07 07:56:56,208 - INFO - Project ctest-TestRoutersBasic-81035788 not found, creating it 2026-11-07 07:56:56,689 - INFO - Created Project:ctest-TestRoutersBasic-81035788, ID : c702b496-6558-472a-9a59-5d71ad2d20f8 2026-11-07 07:56:58,271 - INFO - ================================================================================ 2026-11-07 07:56:58,271 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-11-07 07:56:58,271 - 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 2026-11-07 07:56:58,531 - DEBUG - Nothing to compare xmpp stats {'10.0.0.177': {'10.20.0.17': '0'}} with 2026-11-07 07:56:58,531 - INFO - Initial checks done. Running the testcase now 2026-11-07 07:56:58,531 - INFO - 2026-11-07 07:56:59,294 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-81035788 2026-11-07 07:56:59,393 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-81035788 2026-11-07 07:56:59,712 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-81035788', 'default']} 2026-11-07 07:57:00,001 - DEBUG - Response for create_network : {'network': {'id': 'b1995ef4-f2c7-4559-ba49-abdc6b6b464f', 'name': 'ctest-vn-81446071', 'tenant_id': 'c702b4966558472a9a595d71ad2d20f8', 'project_id': 'c702b4966558472a9a595d71ad2d20f8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-81035788', 'ctest-vn-81446071'], 'port_security_enabled': True, 'description': ''}} 2026-11-07 07:57:00,150 - DEBUG - Response for create_subnet : {'subnet': {'id': '770218f6-b528-42e5-b9d2-fb85d471d455', 'name': '', 'tenant_id': 'c702b4966558472a9a595d71ad2d20f8', 'network_id': 'b1995ef4-f2c7-4559-ba49-abdc6b6b464f', 'ip_version': 4, 'cidr': '153.173.217.0/26', 'allocation_pools': [{'start': '153.173.217.2', 'end': '153.173.217.62'}], 'gateway_ip': '153.173.217.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '153.173.217.2', 'tags': [], 'project_id': 'c702b4966558472a9a595d71ad2d20f8'}} 2026-11-07 07:57:00,167 - INFO - Created VN ctest-vn-81446071 2026-11-07 07:57:00,221 - DEBUG - VN ctest-vn-81446071 UUID is b1995ef4-f2c7-4559-ba49-abdc6b6b464f 2026-11-07 07:57:00,537 - DEBUG - Response for create_network : {'network': {'id': '42de223f-1b99-49bf-92c9-50ad8237da81', 'name': 'ctest-ext_vn-58628607', 'tenant_id': 'c702b4966558472a9a595d71ad2d20f8', 'project_id': 'c702b4966558472a9a595d71ad2d20f8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-81035788', 'ctest-ext_vn-58628607'], 'port_security_enabled': True, 'description': ''}} 2026-11-07 07:57:00,715 - DEBUG - Response for create_subnet : {'subnet': {'id': '18441559-650f-4336-be49-79a8182f28e2', 'name': '', 'tenant_id': 'c702b4966558472a9a595d71ad2d20f8', 'network_id': '42de223f-1b99-49bf-92c9-50ad8237da81', 'ip_version': 4, 'cidr': '20.94.38.192/26', 'allocation_pools': [{'start': '20.94.38.194', 'end': '20.94.38.254'}], 'gateway_ip': '20.94.38.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '20.94.38.194', 'tags': [], 'project_id': 'c702b4966558472a9a595d71ad2d20f8'}} 2026-11-07 07:57:00,733 - INFO - Created VN ctest-ext_vn-58628607 2026-11-07 07:57:00,785 - DEBUG - VN ctest-ext_vn-58628607 UUID is 42de223f-1b99-49bf-92c9-50ad8237da81 2026-11-07 07:57:00,985 - DEBUG - Services list from nova: [, , ] 2026-11-07 07:57:01,311 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6496-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6496-1) 2026-11-07 07:57:01,702 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6496-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6496-1) 2026-11-07 07:57:01,763 - INFO - Setting gateway for router 8fb0a5c9-5498-4191-a621-0e9212a9089a to network 42de223f-1b99-49bf-92c9-50ad8237da81 2026-11-07 07:57:01,822 - INFO - Adding interface with subnet_id 770218f6-b528-42e5-b9d2-fb85d471d455, port_id None to router 8fb0a5c9-5498-4191-a621-0e9212a9089a 2026-11-07 07:57:02,062 - INFO - Waiting for VM ctest-TestRoutersBasic-81035788-76976215 to be up.. 2026-11-07 07:57:02,112 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-07 07:57:07,188 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-07 07:57:12,266 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-07 07:57:17,429 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-07 07:57:22,514 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-07 07:57:27,594 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-07 07:57:32,672 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-07 07:57:37,747 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-07 07:57:42,826 - DEBUG - VM is in ACTIVE state now 2026-11-07 07:57:42,827 - INFO - VM name : ctest-TestRoutersBasic-81035788-76976215 2026-11-07 07:57:42,902 - DEBUG - VM ctest-TestRoutersBasic-81035788-76976215 ID is dd0404ba-a71d-4616-9bf1-a8def1eb6ae1 2026-11-07 07:57:42,932 - DEBUG - VM ctest-TestRoutersBasic-81035788-76976215 launched on Node cn-jenkins-deploy-platform-ansible-os-6496-1 2026-11-07 07:57:43,011 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/dd0404ba-a71d-4616-9bf1-a8def1eb6ae1 2026-11-07 07:57:43,337 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/dd0404ba-a71d-4616-9bf1-a8def1eb6ae1 2026-11-07 07:57:43,368 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/1597c968-2f1f-40e9-a54d-cf918a4a1ea0 2026-11-07 07:57:46,607 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1005ms') 2026-11-07 07:57:46,607 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-81035788-76976215 failed! 2026-11-07 07:57:46,661 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-81035788:ctest-vn-81446071 is 153.173.217.1 and allocation pool is NOT set 2026-11-07 07:57:48,726 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n64 bytes from 169.254.0.5: icmp_seq=1 ttl=63 time=4.39 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=1.09 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.089/2.738/4.388/1.649 ms') 2026-11-07 07:57:48,726 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-81035788-76976215 passed 2026-11-07 07:57:48,877 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-07 07:57:48,877 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-81035788-76976215, IP 153.173.217.3, Port 22 2026-11-07 07:57:49,032 - DEBUG - VM ctest-TestRoutersBasic-81035788-76976215 is ready for SSH connections 2026-11-07 07:57:49,032 - INFO - Waiting for VM ctest-TestRoutersBasic-81035788-18972284 to be up.. 2026-11-07 07:57:49,108 - DEBUG - VM is in ACTIVE state now 2026-11-07 07:57:49,108 - INFO - VM name : ctest-TestRoutersBasic-81035788-18972284 2026-11-07 07:57:49,180 - DEBUG - VM ctest-TestRoutersBasic-81035788-18972284 ID is 2a2ff4b7-d47d-4f8c-9859-622e2e125e4a 2026-11-07 07:57:49,180 - DEBUG - VM ctest-TestRoutersBasic-81035788-18972284 launched on Node cn-jenkins-deploy-platform-ansible-os-6496-1 2026-11-07 07:57:49,254 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/2a2ff4b7-d47d-4f8c-9859-622e2e125e4a 2026-11-07 07:57:49,262 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/8ce457e5-cd35-4b6b-8144-84291766cd3d 2026-11-07 07:57:50,501 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n64 bytes from 169.254.0.6: icmp_seq=1 ttl=63 time=3.35 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.478 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.478/1.911/3.345/1.433 ms') 2026-11-07 07:57:50,501 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-81035788-18972284 passed 2026-11-07 07:57:50,653 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-07 07:57:50,653 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-81035788-18972284, IP 20.94.38.196, Port 22 2026-11-07 07:57:50,812 - DEBUG - VM ctest-TestRoutersBasic-81035788-18972284 is ready for SSH connections 2026-11-07 07:57:50,812 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-07 07:57:50,812 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 20.94.38.196, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.177, gateway password: c0ntrail123 2026-11-07 07:57:50,812 - DEBUG - ping -s 56 -c 3 -W 1 20.94.38.196 2026-11-07 07:57:53,728 - DEBUG - PING 20.94.38.196 (20.94.38.196): 56 data bytes 64 bytes from 20.94.38.196: seq=0 ttl=62 time=5.405 ms 64 bytes from 20.94.38.196: seq=1 ttl=62 time=0.853 ms 64 bytes from 20.94.38.196: seq=2 ttl=62 time=1.111 ms --- 20.94.38.196 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.853/2.456/5.405 ms 2026-11-07 07:57:53,728 - INFO - Ping to IP 20.94.38.196 from VM ctest-TestRoutersBasic-81035788-76976215 passed 2026-11-07 07:57:53,728 - INFO - Deleting interface with subnet_id 770218f6-b528-42e5-b9d2-fb85d471d455, port_id None from router 8fb0a5c9-5498-4191-a621-0e9212a9089a 2026-11-07 07:57:53,906 - INFO - Deleting VM ctest-TestRoutersBasic-81035788-18972284 2026-11-07 07:57:53,973 - INFO - Deleting VM ctest-TestRoutersBasic-81035788-76976215 2026-11-07 07:57:54,043 - INFO - Deleting VN ctest-ext_vn-58628607 2026-11-07 07:57:54,099 - DEBUG - VN 42de223f-1b99-49bf-92c9-50ad8237da81 still in use: Unable to complete operation on network 42de223f-1b99-49bf-92c9-50ad8237da81. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fc88ff5c-9230-4bde-a25f-ef48c427dee7'] 2026-11-07 07:57:54,099 - WARNING - Deleting VN ctest-ext_vn-58628607 failed..Will retry 2026-11-07 07:57:56,201 - DEBUG - VN 42de223f-1b99-49bf-92c9-50ad8237da81 still in use: Unable to complete operation on network 42de223f-1b99-49bf-92c9-50ad8237da81. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-138638fd-a8b5-4e71-a925-e89fe040de4d'] 2026-11-07 07:57:56,202 - WARNING - Deleting VN ctest-ext_vn-58628607 failed..Will retry 2026-11-07 07:57:58,327 - DEBUG - Response for deleting network () 2026-11-07 07:57:58,327 - INFO - Deleting VN ctest-vn-81446071 2026-11-07 07:57:58,467 - DEBUG - Response for deleting network () 2026-11-07 07:57:58,736 - DEBUG - No XMPP flaps were noticed during the test
2026-11-07 07:57:58,736 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:00]
2026-11-07 07:57:58,736 - INFO - -------------------------------------------------------------------------------- 2026-11-07 07:57:59,477 - INFO - Deleted project: ctest-TestRoutersBasic-81035788, ID : c702b496-6558-472a-9a59-5d71ad2d20f8