2025-07-18 21:56:20,760 - INFO - Domain Default found not creating 2025-07-18 21:56:20,901 - INFO - Project ctest-TestRoutersBasic-61234003 not found, creating it 2025-07-18 21:56:21,342 - INFO - Created Project:ctest-TestRoutersBasic-61234003, ID : 34d7c451-94e3-461e-8ec0-15c01f07b1ac 2025-07-18 21:56:22,730 - INFO - ================================================================================ 2025-07-18 21:56:22,730 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-07-18 21:56:22,730 - 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-07-18 21:56:22,984 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-07-18 21:56:22,984 - INFO - Initial checks done. Running the testcase now 2025-07-18 21:56:22,984 - INFO - 2025-07-18 21:56:23,776 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-61234003 2025-07-18 21:56:23,878 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-61234003 2025-07-18 21:56:24,214 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-61234003', 'default']} 2025-07-18 21:56:24,524 - DEBUG - Response for create_network : {'network': {'id': 'a5f51336-195d-491f-b1a8-8d7efd000797', 'name': 'ctest-vn-06377380', 'tenant_id': '34d7c45194e3461e8ec015c01f07b1ac', 'project_id': '34d7c45194e3461e8ec015c01f07b1ac', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-61234003', 'ctest-vn-06377380'], 'port_security_enabled': True, 'description': ''}} 2025-07-18 21:56:24,705 - DEBUG - Response for create_subnet : {'subnet': {'id': '06f1674b-122b-437f-9c10-90f17a2bc14b', 'name': '', 'tenant_id': '34d7c45194e3461e8ec015c01f07b1ac', 'network_id': 'a5f51336-195d-491f-b1a8-8d7efd000797', 'ip_version': 4, 'cidr': '59.37.48.0/26', 'allocation_pools': [{'start': '59.37.48.2', 'end': '59.37.48.62'}], 'gateway_ip': '59.37.48.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '59.37.48.2', 'tags': [], 'project_id': '34d7c45194e3461e8ec015c01f07b1ac'}} 2025-07-18 21:56:24,724 - INFO - Created VN ctest-vn-06377380 2025-07-18 21:56:24,782 - DEBUG - VN ctest-vn-06377380 UUID is a5f51336-195d-491f-b1a8-8d7efd000797 2025-07-18 21:56:25,181 - DEBUG - Response for create_network : {'network': {'id': '57cb1542-6678-4d11-8e68-f7f210d5dc40', 'name': 'ctest-ext_vn-93026059', 'tenant_id': '34d7c45194e3461e8ec015c01f07b1ac', 'project_id': '34d7c45194e3461e8ec015c01f07b1ac', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-61234003', 'ctest-ext_vn-93026059'], 'port_security_enabled': True, 'description': ''}} 2025-07-18 21:56:25,346 - DEBUG - Response for create_subnet : {'subnet': {'id': '1f1425a4-9240-4d24-9599-fca633fc80e6', 'name': '', 'tenant_id': '34d7c45194e3461e8ec015c01f07b1ac', 'network_id': '57cb1542-6678-4d11-8e68-f7f210d5dc40', 'ip_version': 4, 'cidr': '91.205.193.128/26', 'allocation_pools': [{'start': '91.205.193.130', 'end': '91.205.193.190'}], 'gateway_ip': '91.205.193.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '91.205.193.130', 'tags': [], 'project_id': '34d7c45194e3461e8ec015c01f07b1ac'}} 2025-07-18 21:56:25,365 - INFO - Created VN ctest-ext_vn-93026059 2025-07-18 21:56:25,418 - DEBUG - VN ctest-ext_vn-93026059 UUID is 57cb1542-6678-4d11-8e68-f7f210d5dc40 2025-07-18 21:56:25,616 - DEBUG - Services list from nova: [, , ] 2025-07-18 21:56:26,710 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3665-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3665-1) 2025-07-18 21:56:27,827 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3665-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3665-1) 2025-07-18 21:56:27,907 - INFO - Setting gateway for router 788fd2cd-1cb7-46fb-939b-7cc32f3c8c2c to network 57cb1542-6678-4d11-8e68-f7f210d5dc40 2025-07-18 21:56:27,985 - INFO - Adding interface with subnet_id 06f1674b-122b-437f-9c10-90f17a2bc14b, port_id None to router 788fd2cd-1cb7-46fb-939b-7cc32f3c8c2c 2025-07-18 21:56:28,317 - INFO - Waiting for VM ctest-TestRoutersBasic-61234003-83308733 to be up.. 2025-07-18 21:56:28,458 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-18 21:56:33,538 - DEBUG - VM is in ACTIVE state now 2025-07-18 21:56:33,539 - INFO - VM name : ctest-TestRoutersBasic-61234003-83308733 2025-07-18 21:56:33,613 - DEBUG - VM ctest-TestRoutersBasic-61234003-83308733 ID is 68b40244-7c6a-4914-9524-b695bd169fe5 2025-07-18 21:56:33,632 - DEBUG - VM ctest-TestRoutersBasic-61234003-83308733 launched on Node cn-jenkins-deploy-platform-ansible-os-3665-1 2025-07-18 21:56:33,710 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/68b40244-7c6a-4914-9524-b695bd169fe5 2025-07-18 21:56:34,010 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/68b40244-7c6a-4914-9524-b695bd169fe5 2025-07-18 21:56:34,045 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/bc063be0-41e3-418d-beb1-e7e0f6fc5741 2025-07-18 21:56:37,304 - 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 1015ms') 2025-07-18 21:56:37,304 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-61234003-83308733 failed! 2025-07-18 21:56:37,358 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-61234003:ctest-vn-06377380 is 59.37.48.1 and allocation pool is NOT set 2025-07-18 21:56:39,419 - 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.66 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.456 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.456/1.558/2.660/1.102 ms') 2025-07-18 21:56:39,419 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-61234003-83308733 passed 2025-07-18 21:56:39,566 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-18 21:56:39,566 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-61234003-83308733, IP 59.37.48.3, Port 22 2025-07-18 21:56:39,726 - DEBUG - VM ctest-TestRoutersBasic-61234003-83308733 is ready for SSH connections 2025-07-18 21:56:39,726 - INFO - Waiting for VM ctest-TestRoutersBasic-61234003-01053816 to be up.. 2025-07-18 21:56:39,808 - DEBUG - VM is in ACTIVE state now 2025-07-18 21:56:39,809 - INFO - VM name : ctest-TestRoutersBasic-61234003-01053816 2025-07-18 21:56:39,877 - DEBUG - VM ctest-TestRoutersBasic-61234003-01053816 ID is 905299e8-bf89-4d96-926e-2659ddf8f696 2025-07-18 21:56:39,877 - DEBUG - VM ctest-TestRoutersBasic-61234003-01053816 launched on Node cn-jenkins-deploy-platform-ansible-os-3665-1 2025-07-18 21:56:39,944 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/905299e8-bf89-4d96-926e-2659ddf8f696 2025-07-18 21:56:39,952 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/e45f3403-f897-49e7-8bf6-37b8cde75d64 2025-07-18 21:56:41,187 - 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=2.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.327 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.327/1.542/2.758/1.215 ms') 2025-07-18 21:56:41,188 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-61234003-01053816 passed 2025-07-18 21:56:41,342 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-18 21:56:41,342 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-61234003-01053816, IP 91.205.193.131, Port 22 2025-07-18 21:56:41,515 - DEBUG - VM ctest-TestRoutersBasic-61234003-01053816 is ready for SSH connections 2025-07-18 21:56:41,515 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-18 21:56:41,516 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 91.205.193.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-18 21:56:41,516 - DEBUG - ping -s 56 -c 3 -W 1 91.205.193.131 2025-07-18 21:56:45,250 - DEBUG - PING 91.205.193.131 (91.205.193.131): 56 data bytes 64 bytes from 91.205.193.131: seq=0 ttl=62 time=4.120 ms 64 bytes from 91.205.193.131: seq=1 ttl=62 time=1.067 ms 64 bytes from 91.205.193.131: seq=2 ttl=62 time=0.960 ms --- 91.205.193.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.960/2.049/4.120 ms 2025-07-18 21:56:45,250 - INFO - Ping to IP 91.205.193.131 from VM ctest-TestRoutersBasic-61234003-83308733 passed 2025-07-18 21:56:45,250 - INFO - Deleting interface with subnet_id 06f1674b-122b-437f-9c10-90f17a2bc14b, port_id None from router 788fd2cd-1cb7-46fb-939b-7cc32f3c8c2c 2025-07-18 21:56:45,508 - INFO - Deleting VM ctest-TestRoutersBasic-61234003-01053816 2025-07-18 21:56:45,572 - INFO - Deleting VM ctest-TestRoutersBasic-61234003-83308733 2025-07-18 21:56:45,654 - INFO - Deleting VN ctest-ext_vn-93026059 2025-07-18 21:56:45,727 - DEBUG - VN 57cb1542-6678-4d11-8e68-f7f210d5dc40 still in use: Unable to complete operation on network 57cb1542-6678-4d11-8e68-f7f210d5dc40. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e50198bf-d0ca-43f3-9094-ace3c4a2bf0a'] 2025-07-18 21:56:45,727 - WARNING - Deleting VN ctest-ext_vn-93026059 failed..Will retry 2025-07-18 21:56:47,824 - DEBUG - Response for deleting network () 2025-07-18 21:56:47,824 - INFO - Deleting VN ctest-vn-06377380 2025-07-18 21:56:47,940 - DEBUG - Response for deleting network () 2025-07-18 21:56:48,196 - DEBUG - No XMPP flaps were noticed during the test
2025-07-18 21:56:48,196 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-07-18 21:56:48,196 - INFO - -------------------------------------------------------------------------------- 2025-07-18 21:56:48,877 - INFO - Deleted project: ctest-TestRoutersBasic-61234003, ID : 34d7c451-94e3-461e-8ec0-15c01f07b1ac