2025-10-20 16:36:32,659 - INFO - Reading existing Domain with UUID d63b8345-8de7-4e97-94d5-a56d8ff33dd0 2025-10-20 16:36:32,674 - INFO - Using existing domain ['admin_domain'](d63b8345-8de7-4e97-94d5-a56d8ff33dd0) 2025-10-20 16:36:32,902 - INFO - Project ctest-TestRoutersBasic-66312010 not found, creating it 2025-10-20 16:36:33,531 - INFO - Created Project:ctest-TestRoutersBasic-66312010, ID : 3773529c-0b89-403c-8426-9a898029ac38 2025-10-20 16:36:35,728 - INFO - ================================================================================ 2025-10-20 16:36:35,729 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-20 16:36:35,729 - 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-20 16:36:36,132 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.0.0.22': '0'}} with 2025-10-20 16:36:36,132 - INFO - Initial checks done. Running the testcase now 2025-10-20 16:36:36,132 - INFO - 2025-10-20 16:36:36,922 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-66312010 2025-10-20 16:36:37,018 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-66312010 2025-10-20 16:36:37,346 - DEBUG - Reading firewall policy {'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-66312010', 'default']} 2025-10-20 16:36:37,903 - DEBUG - Response for create_network : {'network': {'id': '2033031a-340c-4996-9297-efcdbfb3b7bd', 'name': 'ctest-vn-08007384', 'tenant_id': '3773529c0b89403c84269a898029ac38', 'project_id': '3773529c0b89403c84269a898029ac38', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-66312010', 'ctest-vn-08007384'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-10-20 16:36:38,152 - DEBUG - Response for create_subnet : {'subnet': {'id': '3f0de447-ce04-422d-908c-ead0f9acaeeb', 'name': '', 'tenant_id': '3773529c0b89403c84269a898029ac38', 'network_id': '2033031a-340c-4996-9297-efcdbfb3b7bd', 'ip_version': 4, 'cidr': '16.16.116.128/26', 'allocation_pools': [{'start': '16.16.116.130', 'end': '16.16.116.190'}], 'gateway_ip': '16.16.116.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-20T16:36:38.050196', 'updated_at': '2025-10-20T16:36:38.050196', 'dns_server_address': '16.16.116.130', 'tags': [], 'project_id': '3773529c0b89403c84269a898029ac38'}} 2025-10-20 16:36:38,217 - INFO - Created VN ctest-vn-08007384 2025-10-20 16:36:38,270 - DEBUG - VN ctest-vn-08007384 UUID is 2033031a-340c-4996-9297-efcdbfb3b7bd 2025-10-20 16:36:38,836 - DEBUG - Response for create_network : {'network': {'id': '788ef589-0e29-462a-bd42-11bcee8a93c9', 'name': 'ctest-ext_vn-77794599', 'tenant_id': '3773529c0b89403c84269a898029ac38', 'project_id': '3773529c0b89403c84269a898029ac38', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-66312010', 'ctest-ext_vn-77794599'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-10-20 16:36:39,043 - DEBUG - Response for create_subnet : {'subnet': {'id': 'acc06337-4414-436a-be6b-b3ceddc5f34c', 'name': '', 'tenant_id': '3773529c0b89403c84269a898029ac38', 'network_id': '788ef589-0e29-462a-bd42-11bcee8a93c9', 'ip_version': 4, 'cidr': '182.62.103.64/26', 'allocation_pools': [{'start': '182.62.103.66', 'end': '182.62.103.126'}], 'gateway_ip': '182.62.103.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-20T16:36:38.941122', 'updated_at': '2025-10-20T16:36:38.941122', 'dns_server_address': '182.62.103.66', 'tags': [], 'project_id': '3773529c0b89403c84269a898029ac38'}} 2025-10-20 16:36:39,113 - INFO - Created VN ctest-ext_vn-77794599 2025-10-20 16:36:39,166 - DEBUG - VN ctest-ext_vn-77794599 UUID is 788ef589-0e29-462a-bd42-11bcee8a93c9 2025-10-20 16:36:39,450 - DEBUG - Services list from nova: [, , ] 2025-10-20 16:36:40,529 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-600-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-600-1) 2025-10-20 16:36:42,454 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-600-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-600-1) 2025-10-20 16:36:42,601 - INFO - Setting gateway for router 188e2284-17f1-4fcf-bc25-cf344bd0450f to network 788ef589-0e29-462a-bd42-11bcee8a93c9 2025-10-20 16:36:42,780 - INFO - Adding interface with subnet_id 3f0de447-ce04-422d-908c-ead0f9acaeeb, port_id None to router 188e2284-17f1-4fcf-bc25-cf344bd0450f 2025-10-20 16:36:43,529 - INFO - Waiting for VM ctest-TestRoutersBasic-66312010-63019942 to be up.. 2025-10-20 16:36:43,681 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-20 16:36:48,821 - DEBUG - VM is in ACTIVE state now 2025-10-20 16:36:48,822 - INFO - VM name : ctest-TestRoutersBasic-66312010-63019942 2025-10-20 16:36:48,959 - DEBUG - VM ctest-TestRoutersBasic-66312010-63019942 ID is bdf7bb02-e3fa-4944-91e0-18569fd81f01 2025-10-20 16:36:48,994 - DEBUG - VM ctest-TestRoutersBasic-66312010-63019942 launched on Node cn-jenkins-deploy-platform-juju-os-600-1 2025-10-20 16:36:49,127 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-machine/bdf7bb02-e3fa-4944-91e0-18569fd81f01 2025-10-20 16:36:49,470 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-machine/bdf7bb02-e3fa-4944-91e0-18569fd81f01 2025-10-20 16:36:49,564 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-machine-interface/4005abf9-0420-4f40-b6d0-77d70799ae0e 2025-10-20 16:36:53,050 - 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 1023ms') 2025-10-20 16:36:53,050 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-66312010-63019942 failed! 2025-10-20 16:36:53,130 - DEBUG - Gateway for vn admin_domain:ctest-TestRoutersBasic-66312010:ctest-vn-08007384 is 16.16.116.129 and allocation pool is NOT set 2025-10-20 16:36:55,223 - 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.98 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.543 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.543/1.759/2.975/1.216 ms') 2025-10-20 16:36:55,223 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-66312010-63019942 passed 2025-10-20 16:36:55,378 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 16:36:55,378 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-66312010-63019942, IP 16.16.116.131, Port 22 2025-10-20 16:36:55,592 - DEBUG - VM ctest-TestRoutersBasic-66312010-63019942 is ready for SSH connections 2025-10-20 16:36:55,593 - INFO - Waiting for VM ctest-TestRoutersBasic-66312010-21688408 to be up.. 2025-10-20 16:36:55,725 - DEBUG - VM is in ACTIVE state now 2025-10-20 16:36:55,725 - INFO - VM name : ctest-TestRoutersBasic-66312010-21688408 2025-10-20 16:36:55,862 - DEBUG - VM ctest-TestRoutersBasic-66312010-21688408 ID is 8add006f-e390-4bdf-97e1-19bce8e4f0b5 2025-10-20 16:36:55,862 - DEBUG - VM ctest-TestRoutersBasic-66312010-21688408 launched on Node cn-jenkins-deploy-platform-juju-os-600-1 2025-10-20 16:36:55,997 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-machine/8add006f-e390-4bdf-97e1-19bce8e4f0b5 2025-10-20 16:36:56,056 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-machine-interface/3e2c600f-3f31-435a-b5d2-db6e2a6d19c1 2025-10-20 16:36:57,521 - 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=5.45 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.891 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.891/3.168/5.445/2.277 ms') 2025-10-20 16:36:57,521 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-66312010-21688408 passed 2025-10-20 16:36:57,682 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 16:36:57,682 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-66312010-21688408, IP 182.62.103.67, Port 22 2025-10-20 16:36:57,901 - DEBUG - VM ctest-TestRoutersBasic-66312010-21688408 is ready for SSH connections 2025-10-20 16:36:57,901 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 16:36:57,901 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 182.62.103.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-10-20 16:36:57,902 - DEBUG - ping -s 56 -c 3 -W 1 182.62.103.67 2025-10-20 16:37:01,999 - DEBUG - PING 182.62.103.67 (182.62.103.67): 56 data bytes 64 bytes from 182.62.103.67: seq=0 ttl=62 time=6.780 ms 64 bytes from 182.62.103.67: seq=1 ttl=62 time=1.027 ms 64 bytes from 182.62.103.67: seq=2 ttl=62 time=1.330 ms --- 182.62.103.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.027/3.045/6.780 ms 2025-10-20 16:37:01,999 - INFO - Ping to IP 182.62.103.67 from VM ctest-TestRoutersBasic-66312010-63019942 passed 2025-10-20 16:37:02,000 - INFO - Deleting interface with subnet_id 3f0de447-ce04-422d-908c-ead0f9acaeeb, port_id None from router 188e2284-17f1-4fcf-bc25-cf344bd0450f 2025-10-20 16:37:02,401 - INFO - Deleting VM ctest-TestRoutersBasic-66312010-21688408 2025-10-20 16:37:02,535 - INFO - Deleting VM ctest-TestRoutersBasic-66312010-63019942 2025-10-20 16:37:02,700 - INFO - Deleting VN ctest-ext_vn-77794599 2025-10-20 16:37:02,895 - DEBUG - VN 788ef589-0e29-462a-bd42-11bcee8a93c9 still in use: Unable to complete operation on network 788ef589-0e29-462a-bd42-11bcee8a93c9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fcfce314-0d73-4730-8631-6fa19d140788'] 2025-10-20 16:37:02,895 - WARNING - Deleting VN ctest-ext_vn-77794599 failed..Will retry 2025-10-20 16:37:05,078 - DEBUG - Response for deleting network () 2025-10-20 16:37:05,078 - INFO - Deleting VN ctest-vn-08007384 2025-10-20 16:37:05,251 - DEBUG - Response for deleting network () 2025-10-20 16:37:05,647 - DEBUG - No XMPP flaps were noticed during the test
2025-10-20 16:37:05,647 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:30]
2025-10-20 16:37:05,648 - INFO - -------------------------------------------------------------------------------- 2025-10-20 16:37:06,394 - INFO - Deleted project: ctest-TestRoutersBasic-66312010, ID : 3773529c-0b89-403c-8426-9a898029ac38