2026-02-06 08:51:44,668 - INFO - Domain Default found not creating 2026-02-06 08:51:44,822 - INFO - Project ctest-TestRoutersBasic-40348338 not found, creating it 2026-02-06 08:51:45,279 - INFO - Created Project:ctest-TestRoutersBasic-40348338, ID : c749891b-8fe8-458f-9ca4-0e96c05b92cd 2026-02-06 08:51:46,752 - INFO - ================================================================================ 2026-02-06 08:51:46,752 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-06 08:51:46,752 - 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-02-06 08:51:47,005 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-02-06 08:51:47,005 - INFO - Initial checks done. Running the testcase now 2026-02-06 08:51:47,005 - INFO - 2026-02-06 08:51:47,700 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-40348338 2026-02-06 08:51:47,796 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-40348338 2026-02-06 08:51:48,108 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40348338', 'default']} 2026-02-06 08:51:48,376 - DEBUG - Response for create_network : {'network': {'id': 'd3460540-bca7-4684-97d0-e0b16a6cafb7', 'name': 'ctest-vn-34396803', 'tenant_id': 'c749891b8fe8458f9ca40e96c05b92cd', 'project_id': 'c749891b8fe8458f9ca40e96c05b92cd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40348338', 'ctest-vn-34396803'], 'port_security_enabled': True, 'description': ''}} 2026-02-06 08:51:48,584 - DEBUG - Response for create_subnet : {'subnet': {'id': '82a0e1de-bf10-4e0a-ab24-a0e34cdddbe0', 'name': '', 'tenant_id': 'c749891b8fe8458f9ca40e96c05b92cd', 'network_id': 'd3460540-bca7-4684-97d0-e0b16a6cafb7', 'ip_version': 4, 'cidr': '18.68.114.128/26', 'allocation_pools': [{'start': '18.68.114.130', 'end': '18.68.114.190'}], 'gateway_ip': '18.68.114.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '18.68.114.130', 'tags': [], 'project_id': 'c749891b8fe8458f9ca40e96c05b92cd'}} 2026-02-06 08:51:48,601 - INFO - Created VN ctest-vn-34396803 2026-02-06 08:51:48,652 - DEBUG - VN ctest-vn-34396803 UUID is d3460540-bca7-4684-97d0-e0b16a6cafb7 2026-02-06 08:51:48,982 - DEBUG - Response for create_network : {'network': {'id': 'c69a2b6f-01a8-4a2c-8c6f-69832c8b5113', 'name': 'ctest-ext_vn-05097626', 'tenant_id': 'c749891b8fe8458f9ca40e96c05b92cd', 'project_id': 'c749891b8fe8458f9ca40e96c05b92cd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40348338', 'ctest-ext_vn-05097626'], 'port_security_enabled': True, 'description': ''}} 2026-02-06 08:51:49,140 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd377a42a-9fd5-4f0a-a518-879f3f359c57', 'name': '', 'tenant_id': 'c749891b8fe8458f9ca40e96c05b92cd', 'network_id': 'c69a2b6f-01a8-4a2c-8c6f-69832c8b5113', 'ip_version': 4, 'cidr': '140.228.109.64/26', 'allocation_pools': [{'start': '140.228.109.66', 'end': '140.228.109.126'}], 'gateway_ip': '140.228.109.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '140.228.109.66', 'tags': [], 'project_id': 'c749891b8fe8458f9ca40e96c05b92cd'}} 2026-02-06 08:51:49,156 - INFO - Created VN ctest-ext_vn-05097626 2026-02-06 08:51:49,216 - DEBUG - VN ctest-ext_vn-05097626 UUID is c69a2b6f-01a8-4a2c-8c6f-69832c8b5113 2026-02-06 08:51:49,402 - DEBUG - Services list from nova: [, , ] 2026-02-06 08:51:50,395 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5225-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5225-1) 2026-02-06 08:51:51,488 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5225-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5225-1) 2026-02-06 08:51:51,549 - INFO - Setting gateway for router d495dd40-5046-472c-8030-b95da2a6bfee to network c69a2b6f-01a8-4a2c-8c6f-69832c8b5113 2026-02-06 08:51:51,608 - INFO - Adding interface with subnet_id 82a0e1de-bf10-4e0a-ab24-a0e34cdddbe0, port_id None to router d495dd40-5046-472c-8030-b95da2a6bfee 2026-02-06 08:51:51,923 - INFO - Waiting for VM ctest-TestRoutersBasic-40348338-85704474 to be up.. 2026-02-06 08:51:52,083 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-06 08:51:57,183 - DEBUG - VM is in ACTIVE state now 2026-02-06 08:51:57,183 - INFO - VM name : ctest-TestRoutersBasic-40348338-85704474 2026-02-06 08:51:57,262 - DEBUG - VM ctest-TestRoutersBasic-40348338-85704474 ID is accbdd83-1ee8-42e5-b81c-a5d2781c60c3 2026-02-06 08:51:57,286 - DEBUG - VM ctest-TestRoutersBasic-40348338-85704474 launched on Node cn-jenkins-deploy-platform-ansible-os-5225-1 2026-02-06 08:51:57,369 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/accbdd83-1ee8-42e5-b81c-a5d2781c60c3 2026-02-06 08:51:57,664 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/accbdd83-1ee8-42e5-b81c-a5d2781c60c3 2026-02-06 08:51:57,694 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/52a9a86c-23de-4233-8efd-65e2915e9387 2026-02-06 08:52:00,942 - 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 1024ms') 2026-02-06 08:52:00,942 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-40348338-85704474 failed! 2026-02-06 08:52:00,996 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-40348338:ctest-vn-34396803 is 18.68.114.129 and allocation pool is NOT set 2026-02-06 08:52:03,053 - 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=2.81 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.383 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.383/1.594/2.806/1.211 ms') 2026-02-06 08:52:03,053 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-40348338-85704474 passed 2026-02-06 08:52:03,200 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-06 08:52:03,200 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-40348338-85704474, IP 18.68.114.131, Port 22 2026-02-06 08:52:03,355 - DEBUG - VM ctest-TestRoutersBasic-40348338-85704474 is ready for SSH connections 2026-02-06 08:52:03,355 - INFO - Waiting for VM ctest-TestRoutersBasic-40348338-40942871 to be up.. 2026-02-06 08:52:03,425 - DEBUG - VM is in ACTIVE state now 2026-02-06 08:52:03,425 - INFO - VM name : ctest-TestRoutersBasic-40348338-40942871 2026-02-06 08:52:03,490 - DEBUG - VM ctest-TestRoutersBasic-40348338-40942871 ID is cc009df3-8845-4416-8b51-07d09fff2806 2026-02-06 08:52:03,490 - DEBUG - VM ctest-TestRoutersBasic-40348338-40942871 launched on Node cn-jenkins-deploy-platform-ansible-os-5225-1 2026-02-06 08:52:03,553 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/cc009df3-8845-4416-8b51-07d09fff2806 2026-02-06 08:52:03,559 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/53dd95d6-abd2-415a-86de-9c2518099ac7 2026-02-06 08:52:04,786 - 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.20 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.337 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.337/1.768/3.199/1.431 ms') 2026-02-06 08:52:04,786 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-40348338-40942871 passed 2026-02-06 08:52:04,936 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-06 08:52:04,936 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-40348338-40942871, IP 140.228.109.67, Port 22 2026-02-06 08:52:05,091 - DEBUG - VM ctest-TestRoutersBasic-40348338-40942871 is ready for SSH connections 2026-02-06 08:52:05,091 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-06 08:52:05,091 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 140.228.109.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-06 08:52:05,091 - DEBUG - ping -s 56 -c 3 -W 1 140.228.109.67 2026-02-06 08:52:09,054 - DEBUG - PING 140.228.109.67 (140.228.109.67): 56 data bytes 64 bytes from 140.228.109.67: seq=0 ttl=62 time=5.710 ms 64 bytes from 140.228.109.67: seq=1 ttl=62 time=0.874 ms 64 bytes from 140.228.109.67: seq=2 ttl=62 time=0.932 ms --- 140.228.109.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.874/2.505/5.710 ms 2026-02-06 08:52:09,054 - INFO - Ping to IP 140.228.109.67 from VM ctest-TestRoutersBasic-40348338-85704474 passed 2026-02-06 08:52:09,054 - INFO - Deleting interface with subnet_id 82a0e1de-bf10-4e0a-ab24-a0e34cdddbe0, port_id None from router d495dd40-5046-472c-8030-b95da2a6bfee 2026-02-06 08:52:09,228 - INFO - Deleting VM ctest-TestRoutersBasic-40348338-40942871 2026-02-06 08:52:09,292 - INFO - Deleting VM ctest-TestRoutersBasic-40348338-85704474 2026-02-06 08:52:09,373 - INFO - Deleting VN ctest-ext_vn-05097626 2026-02-06 08:52:09,435 - DEBUG - VN c69a2b6f-01a8-4a2c-8c6f-69832c8b5113 still in use: Unable to complete operation on network c69a2b6f-01a8-4a2c-8c6f-69832c8b5113. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b3a1418f-5e01-4524-8dc9-eb093a1867e0'] 2026-02-06 08:52:09,435 - WARNING - Deleting VN ctest-ext_vn-05097626 failed..Will retry 2026-02-06 08:52:11,523 - DEBUG - Response for deleting network () 2026-02-06 08:52:11,523 - INFO - Deleting VN ctest-vn-34396803 2026-02-06 08:52:11,607 - DEBUG - Response for deleting network () 2026-02-06 08:52:11,860 - DEBUG - No XMPP flaps were noticed during the test 2026-02-06 08:52:11,860 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2026-02-06 08:52:11,860 - INFO - -------------------------------------------------------------------------------- 2026-02-06 08:52:12,542 - INFO - Deleted project: ctest-TestRoutersBasic-40348338, ID : c749891b-8fe8-458f-9ca4-0e96c05b92cd