2026-04-28 12:38:06,172 - INFO - Domain Default found not creating 2026-04-28 12:38:06,357 - INFO - Project ctest-TestRoutersBasic-50235772 not found, creating it 2026-04-28 12:38:06,845 - INFO - Created Project:ctest-TestRoutersBasic-50235772, ID : 4583c537-b201-49ab-8c01-1e10c277bed9 2026-04-28 12:38:08,494 - INFO - ================================================================================ 2026-04-28 12:38:08,494 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-04-28 12:38:08,494 - 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-28 12:38:08,766 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.17': '0'}} with 2026-04-28 12:38:08,766 - INFO - Initial checks done. Running the testcase now 2026-04-28 12:38:08,766 - INFO - 2026-04-28 12:38:09,802 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-50235772 2026-04-28 12:38:09,899 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-50235772 2026-04-28 12:38:10,231 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-50235772', 'default']} 2026-04-28 12:38:10,541 - DEBUG - Response for create_network : {'network': {'id': 'f0575029-aa45-4ae1-ac15-13aa4b54fb5c', 'name': 'ctest-vn-89344970', 'tenant_id': '4583c537b20149ab8c011e10c277bed9', 'project_id': '4583c537b20149ab8c011e10c277bed9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-50235772', 'ctest-vn-89344970'], 'port_security_enabled': True, 'description': ''}} 2026-04-28 12:38:10,764 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fccb08bf-2245-49b4-ad59-c39d28e77c91', 'name': '', 'tenant_id': '4583c537b20149ab8c011e10c277bed9', 'network_id': 'f0575029-aa45-4ae1-ac15-13aa4b54fb5c', 'ip_version': 4, 'cidr': '201.28.157.64/26', 'allocation_pools': [{'start': '201.28.157.66', 'end': '201.28.157.126'}], 'gateway_ip': '201.28.157.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '201.28.157.66', 'tags': [], 'project_id': '4583c537b20149ab8c011e10c277bed9'}} 2026-04-28 12:38:10,785 - INFO - Created VN ctest-vn-89344970 2026-04-28 12:38:10,839 - DEBUG - VN ctest-vn-89344970 UUID is f0575029-aa45-4ae1-ac15-13aa4b54fb5c 2026-04-28 12:38:11,196 - DEBUG - Response for create_network : {'network': {'id': 'cc3c8c11-0ab8-41b7-bf54-908d91866cbc', 'name': 'ctest-ext_vn-66976347', 'tenant_id': '4583c537b20149ab8c011e10c277bed9', 'project_id': '4583c537b20149ab8c011e10c277bed9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-50235772', 'ctest-ext_vn-66976347'], 'port_security_enabled': True, 'description': ''}} 2026-04-28 12:38:11,394 - DEBUG - Response for create_subnet : {'subnet': {'id': '99b6df60-acc6-4b68-9f5f-374c65d72f4b', 'name': '', 'tenant_id': '4583c537b20149ab8c011e10c277bed9', 'network_id': 'cc3c8c11-0ab8-41b7-bf54-908d91866cbc', 'ip_version': 4, 'cidr': '110.80.226.0/26', 'allocation_pools': [{'start': '110.80.226.2', 'end': '110.80.226.62'}], 'gateway_ip': '110.80.226.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '110.80.226.2', 'tags': [], 'project_id': '4583c537b20149ab8c011e10c277bed9'}} 2026-04-28 12:38:11,413 - INFO - Created VN ctest-ext_vn-66976347 2026-04-28 12:38:11,471 - DEBUG - VN ctest-ext_vn-66976347 UUID is cc3c8c11-0ab8-41b7-bf54-908d91866cbc 2026-04-28 12:38:11,643 - DEBUG - Services list from nova: [, , ] 2026-04-28 12:38:12,768 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5700-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5700-1) 2026-04-28 12:38:13,971 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5700-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5700-1) 2026-04-28 12:38:14,045 - INFO - Setting gateway for router 8d9c25c1-e4de-4165-9682-e58a31106d8c to network cc3c8c11-0ab8-41b7-bf54-908d91866cbc 2026-04-28 12:38:14,107 - INFO - Adding interface with subnet_id fccb08bf-2245-49b4-ad59-c39d28e77c91, port_id None to router 8d9c25c1-e4de-4165-9682-e58a31106d8c 2026-04-28 12:38:14,542 - INFO - Waiting for VM ctest-TestRoutersBasic-50235772-69530449 to be up.. 2026-04-28 12:38:14,669 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-28 12:38:19,770 - DEBUG - VM is in ACTIVE state now 2026-04-28 12:38:19,771 - INFO - VM name : ctest-TestRoutersBasic-50235772-69530449 2026-04-28 12:38:19,859 - DEBUG - VM ctest-TestRoutersBasic-50235772-69530449 ID is 4d223155-4ace-4ca1-b333-540b04e4073a 2026-04-28 12:38:19,884 - DEBUG - VM ctest-TestRoutersBasic-50235772-69530449 launched on Node cn-jenkins-deploy-platform-ansible-os-5700-1 2026-04-28 12:38:19,974 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/4d223155-4ace-4ca1-b333-540b04e4073a 2026-04-28 12:38:20,273 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/4d223155-4ace-4ca1-b333-540b04e4073a 2026-04-28 12:38:20,317 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/724fb8f0-12d1-4007-afd7-1c6ee5b01fcd 2026-04-28 12:38:23,579 - 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 1017ms') 2026-04-28 12:38:23,579 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-50235772-69530449 failed! 2026-04-28 12:38:23,635 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-50235772:ctest-vn-89344970 is 201.28.157.65 and allocation pool is NOT set 2026-04-28 12:38:25,700 - 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.85 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.48 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 = 1.482/2.663/3.845/1.181 ms') 2026-04-28 12:38:25,700 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-50235772-69530449 passed 2026-04-28 12:38:25,847 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-28 12:38:25,848 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-50235772-69530449, IP 201.28.157.67, Port 22 2026-04-28 12:38:26,017 - DEBUG - VM ctest-TestRoutersBasic-50235772-69530449 is ready for SSH connections 2026-04-28 12:38:26,018 - INFO - Waiting for VM ctest-TestRoutersBasic-50235772-01110964 to be up.. 2026-04-28 12:38:26,176 - DEBUG - VM is in ACTIVE state now 2026-04-28 12:38:26,176 - INFO - VM name : ctest-TestRoutersBasic-50235772-01110964 2026-04-28 12:38:26,266 - DEBUG - VM ctest-TestRoutersBasic-50235772-01110964 ID is e01eaa1c-0b30-4f38-8f2a-78f7e3034373 2026-04-28 12:38:26,266 - DEBUG - VM ctest-TestRoutersBasic-50235772-01110964 launched on Node cn-jenkins-deploy-platform-ansible-os-5700-1 2026-04-28 12:38:26,359 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/e01eaa1c-0b30-4f38-8f2a-78f7e3034373 2026-04-28 12:38:26,367 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/b8ddda4e-5c49-4dc3-94d8-e142faa96c5f 2026-04-28 12:38:27,618 - 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.43 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.52 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 = 2.523/2.978/3.434/0.455 ms') 2026-04-28 12:38:27,618 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-50235772-01110964 passed 2026-04-28 12:38:27,771 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-28 12:38:27,771 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-50235772-01110964, IP 110.80.226.3, Port 22 2026-04-28 12:38:27,927 - DEBUG - VM ctest-TestRoutersBasic-50235772-01110964 is ready for SSH connections 2026-04-28 12:38:27,927 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-28 12:38:27,927 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 110.80.226.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2026-04-28 12:38:27,928 - DEBUG - ping -s 56 -c 3 -W 1 110.80.226.3 2026-04-28 12:38:31,639 - DEBUG - PING 110.80.226.3 (110.80.226.3): 56 data bytes 64 bytes from 110.80.226.3: seq=0 ttl=62 time=5.224 ms 64 bytes from 110.80.226.3: seq=1 ttl=62 time=1.013 ms 64 bytes from 110.80.226.3: seq=2 ttl=62 time=1.488 ms --- 110.80.226.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.013/2.575/5.224 ms 2026-04-28 12:38:31,639 - INFO - Ping to IP 110.80.226.3 from VM ctest-TestRoutersBasic-50235772-69530449 passed 2026-04-28 12:38:31,639 - INFO - Deleting interface with subnet_id fccb08bf-2245-49b4-ad59-c39d28e77c91, port_id None from router 8d9c25c1-e4de-4165-9682-e58a31106d8c 2026-04-28 12:38:31,847 - INFO - Deleting VM ctest-TestRoutersBasic-50235772-01110964 2026-04-28 12:38:31,943 - INFO - Deleting VM ctest-TestRoutersBasic-50235772-69530449 2026-04-28 12:38:32,041 - INFO - Deleting VN ctest-ext_vn-66976347 2026-04-28 12:38:32,115 - DEBUG - VN cc3c8c11-0ab8-41b7-bf54-908d91866cbc still in use: Unable to complete operation on network cc3c8c11-0ab8-41b7-bf54-908d91866cbc. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f2c7a8c0-0c12-4e38-afdf-4bf85320ed44'] 2026-04-28 12:38:32,115 - WARNING - Deleting VN ctest-ext_vn-66976347 failed..Will retry 2026-04-28 12:38:34,227 - DEBUG - Response for deleting network () 2026-04-28 12:38:34,227 - INFO - Deleting VN ctest-vn-89344970 2026-04-28 12:38:34,404 - DEBUG - Response for deleting network () 2026-04-28 12:38:34,657 - DEBUG - No XMPP flaps were noticed during the test
2026-04-28 12:38:34,657 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2026-04-28 12:38:34,657 - INFO - -------------------------------------------------------------------------------- 2026-04-28 12:38:35,380 - INFO - Deleted project: ctest-TestRoutersBasic-50235772, ID : 4583c537-b201-49ab-8c01-1e10c277bed9