2026-04-01 17:49:02,278 - INFO - Domain Default found not creating 2026-04-01 17:49:02,452 - INFO - Project ctest-TestRoutersBasic-24123926 not found, creating it 2026-04-01 17:49:02,952 - INFO - Created Project:ctest-TestRoutersBasic-24123926, ID : 9affd15a-af63-4bd9-8665-7ec576631379 2026-04-01 17:49:04,502 - INFO - ================================================================================ 2026-04-01 17:49:04,502 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-04-01 17:49:04,502 - 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-04-01 17:49:04,769 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2026-04-01 17:49:04,769 - INFO - Initial checks done. Running the testcase now 2026-04-01 17:49:04,769 - INFO - 2026-04-01 17:49:05,493 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-24123926 2026-04-01 17:49:05,587 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-24123926 2026-04-01 17:49:05,915 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-24123926', 'default']} 2026-04-01 17:49:06,196 - DEBUG - Response for create_network : {'network': {'id': 'eabfd2e6-3ac7-4d2f-be82-adb91d9d4879', 'name': 'ctest-vn-72339433', 'tenant_id': '9affd15aaf634bd986657ec576631379', 'project_id': '9affd15aaf634bd986657ec576631379', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-24123926', 'ctest-vn-72339433'], 'port_security_enabled': True, 'description': ''}} 2026-04-01 17:49:06,382 - DEBUG - Response for create_subnet : {'subnet': {'id': '63a181c9-8477-4483-bbf9-21d70a11d6a1', 'name': '', 'tenant_id': '9affd15aaf634bd986657ec576631379', 'network_id': 'eabfd2e6-3ac7-4d2f-be82-adb91d9d4879', 'ip_version': 4, 'cidr': '141.125.176.192/26', 'allocation_pools': [{'start': '141.125.176.194', 'end': '141.125.176.254'}], 'gateway_ip': '141.125.176.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '141.125.176.194', 'tags': [], 'project_id': '9affd15aaf634bd986657ec576631379'}} 2026-04-01 17:49:06,401 - INFO - Created VN ctest-vn-72339433 2026-04-01 17:49:06,455 - DEBUG - VN ctest-vn-72339433 UUID is eabfd2e6-3ac7-4d2f-be82-adb91d9d4879 2026-04-01 17:49:06,807 - DEBUG - Response for create_network : {'network': {'id': 'f34e97e8-f3b7-40b7-b4e8-3bdd15c5c58b', 'name': 'ctest-ext_vn-97504952', 'tenant_id': '9affd15aaf634bd986657ec576631379', 'project_id': '9affd15aaf634bd986657ec576631379', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-24123926', 'ctest-ext_vn-97504952'], 'port_security_enabled': True, 'description': ''}} 2026-04-01 17:49:07,019 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fbec264c-e959-4ce9-84e0-92ba8e30815e', 'name': '', 'tenant_id': '9affd15aaf634bd986657ec576631379', 'network_id': 'f34e97e8-f3b7-40b7-b4e8-3bdd15c5c58b', 'ip_version': 4, 'cidr': '25.139.142.64/26', 'allocation_pools': [{'start': '25.139.142.66', 'end': '25.139.142.126'}], 'gateway_ip': '25.139.142.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '25.139.142.66', 'tags': [], 'project_id': '9affd15aaf634bd986657ec576631379'}} 2026-04-01 17:49:07,037 - INFO - Created VN ctest-ext_vn-97504952 2026-04-01 17:49:07,091 - DEBUG - VN ctest-ext_vn-97504952 UUID is f34e97e8-f3b7-40b7-b4e8-3bdd15c5c58b 2026-04-01 17:49:07,288 - DEBUG - Services list from nova: [, , ] 2026-04-01 17:49:08,324 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5571-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5571-1) 2026-04-01 17:49:09,453 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5571-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5571-1) 2026-04-01 17:49:09,513 - INFO - Setting gateway for router 3c58e9f2-72eb-4fd9-9f29-8d6d3c4aa61c to network f34e97e8-f3b7-40b7-b4e8-3bdd15c5c58b 2026-04-01 17:49:09,569 - INFO - Adding interface with subnet_id 63a181c9-8477-4483-bbf9-21d70a11d6a1, port_id None to router 3c58e9f2-72eb-4fd9-9f29-8d6d3c4aa61c 2026-04-01 17:49:09,997 - INFO - Waiting for VM ctest-TestRoutersBasic-24123926-54929609 to be up.. 2026-04-01 17:49:10,178 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-01 17:49:15,259 - DEBUG - VM is in ACTIVE state now 2026-04-01 17:49:15,259 - INFO - VM name : ctest-TestRoutersBasic-24123926-54929609 2026-04-01 17:49:15,333 - DEBUG - VM ctest-TestRoutersBasic-24123926-54929609 ID is 5f9395cf-de00-4e27-a71b-6198e2fc96fb 2026-04-01 17:49:15,351 - DEBUG - VM ctest-TestRoutersBasic-24123926-54929609 launched on Node cn-jenkins-deploy-platform-ansible-os-5571-1 2026-04-01 17:49:15,426 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/5f9395cf-de00-4e27-a71b-6198e2fc96fb 2026-04-01 17:49:15,729 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/5f9395cf-de00-4e27-a71b-6198e2fc96fb 2026-04-01 17:49:15,771 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/acdce1c2-bd97-4ed5-bbbd-6f64ae8d0b9d 2026-04-01 17:49:19,024 - 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') 2026-04-01 17:49:19,024 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-24123926-54929609 failed! 2026-04-01 17:49:19,075 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-24123926:ctest-vn-72339433 is 141.125.176.193 and allocation pool is NOT set 2026-04-01 17:49:21,132 - 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=3.47 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.559 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.559/2.016/3.473/1.457 ms') 2026-04-01 17:49:21,132 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-24123926-54929609 passed 2026-04-01 17:49:21,279 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-01 17:49:21,279 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-24123926-54929609, IP 141.125.176.195, Port 22 2026-04-01 17:49:21,435 - DEBUG - VM ctest-TestRoutersBasic-24123926-54929609 is ready for SSH connections 2026-04-01 17:49:21,435 - INFO - Waiting for VM ctest-TestRoutersBasic-24123926-84129542 to be up.. 2026-04-01 17:49:21,513 - DEBUG - VM is in ACTIVE state now 2026-04-01 17:49:21,513 - INFO - VM name : ctest-TestRoutersBasic-24123926-84129542 2026-04-01 17:49:21,590 - DEBUG - VM ctest-TestRoutersBasic-24123926-84129542 ID is df8e344a-0ea8-427d-a63e-65f81d9292d8 2026-04-01 17:49:21,590 - DEBUG - VM ctest-TestRoutersBasic-24123926-84129542 launched on Node cn-jenkins-deploy-platform-ansible-os-5571-1 2026-04-01 17:49:21,664 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/df8e344a-0ea8-427d-a63e-65f81d9292d8 2026-04-01 17:49:21,672 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/16242df1-4216-467f-b0e6-8286ee0fd824 2026-04-01 17:49:22,900 - 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.23 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.449 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.449/1.839/3.229/1.390 ms') 2026-04-01 17:49:22,900 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-24123926-84129542 passed 2026-04-01 17:49:23,047 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-01 17:49:23,047 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-24123926-84129542, IP 25.139.142.67, Port 22 2026-04-01 17:49:23,220 - DEBUG - VM ctest-TestRoutersBasic-24123926-84129542 is ready for SSH connections 2026-04-01 17:49:23,220 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-01 17:49:23,220 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 25.139.142.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-04-01 17:49:23,220 - DEBUG - ping -s 56 -c 3 -W 1 25.139.142.67 2026-04-01 17:49:26,931 - DEBUG - PING 25.139.142.67 (25.139.142.67): 56 data bytes 64 bytes from 25.139.142.67: seq=0 ttl=62 time=4.279 ms 64 bytes from 25.139.142.67: seq=1 ttl=62 time=0.828 ms 64 bytes from 25.139.142.67: seq=2 ttl=62 time=0.913 ms --- 25.139.142.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.828/2.006/4.279 ms 2026-04-01 17:49:26,931 - INFO - Ping to IP 25.139.142.67 from VM ctest-TestRoutersBasic-24123926-54929609 passed 2026-04-01 17:49:26,931 - INFO - Deleting interface with subnet_id 63a181c9-8477-4483-bbf9-21d70a11d6a1, port_id None from router 3c58e9f2-72eb-4fd9-9f29-8d6d3c4aa61c 2026-04-01 17:49:27,134 - INFO - Deleting VM ctest-TestRoutersBasic-24123926-84129542 2026-04-01 17:49:27,206 - INFO - Deleting VM ctest-TestRoutersBasic-24123926-54929609 2026-04-01 17:49:27,290 - INFO - Deleting VN ctest-ext_vn-97504952 2026-04-01 17:49:27,347 - DEBUG - VN f34e97e8-f3b7-40b7-b4e8-3bdd15c5c58b still in use: Unable to complete operation on network f34e97e8-f3b7-40b7-b4e8-3bdd15c5c58b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9b362cdb-4448-49f1-a227-eda58beb2a51'] 2026-04-01 17:49:27,347 - WARNING - Deleting VN ctest-ext_vn-97504952 failed..Will retry 2026-04-01 17:49:29,547 - DEBUG - Response for deleting network () 2026-04-01 17:49:29,547 - INFO - Deleting VN ctest-vn-72339433 2026-04-01 17:49:29,648 - DEBUG - Response for deleting network () 2026-04-01 17:49:29,908 - DEBUG - No XMPP flaps were noticed during the test
2026-04-01 17:49:29,908 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2026-04-01 17:49:29,908 - INFO - -------------------------------------------------------------------------------- 2026-04-01 17:49:30,594 - INFO - Deleted project: ctest-TestRoutersBasic-24123926, ID : 9affd15a-af63-4bd9-8665-7ec576631379