2025-10-29 23:07:21,293 - INFO - Domain Default found not creating 2025-10-29 23:07:21,425 - INFO - Project ctest-TestRoutersBasic-12949591 not found, creating it 2025-10-29 23:07:21,846 - INFO - Created Project:ctest-TestRoutersBasic-12949591, ID : d1dbee98-43e3-41ee-b050-9b61f65b33d1 2025-10-29 23:07:23,186 - INFO - ================================================================================ 2025-10-29 23:07:23,186 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-29 23:07:23,186 - 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-29 23:07:23,451 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.252': '0'}} with 2025-10-29 23:07:23,451 - INFO - Initial checks done. Running the testcase now 2025-10-29 23:07:23,451 - INFO - 2025-10-29 23:07:24,130 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-12949591 2025-10-29 23:07:24,231 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-12949591 2025-10-29 23:07:24,555 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-12949591', 'default']} 2025-10-29 23:07:24,836 - DEBUG - Response for create_network : {'network': {'id': '937ef81f-11d7-463d-afcb-ff927d007fad', 'name': 'ctest-vn-50647512', 'tenant_id': 'd1dbee9843e341eeb0509b61f65b33d1', 'project_id': 'd1dbee9843e341eeb0509b61f65b33d1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-12949591', 'ctest-vn-50647512'], 'port_security_enabled': True, 'description': ''}} 2025-10-29 23:07:25,032 - DEBUG - Response for create_subnet : {'subnet': {'id': '35a1da11-dedb-4bc2-b385-bfed955b52b9', 'name': '', 'tenant_id': 'd1dbee9843e341eeb0509b61f65b33d1', 'network_id': '937ef81f-11d7-463d-afcb-ff927d007fad', 'ip_version': 4, 'cidr': '141.122.234.64/26', 'allocation_pools': [{'start': '141.122.234.66', 'end': '141.122.234.126'}], 'gateway_ip': '141.122.234.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '141.122.234.66', 'tags': [], 'project_id': 'd1dbee9843e341eeb0509b61f65b33d1'}} 2025-10-29 23:07:25,050 - INFO - Created VN ctest-vn-50647512 2025-10-29 23:07:25,103 - DEBUG - VN ctest-vn-50647512 UUID is 937ef81f-11d7-463d-afcb-ff927d007fad 2025-10-29 23:07:25,466 - DEBUG - Response for create_network : {'network': {'id': 'e95342d5-7ee5-4f2b-be19-6c01d1d288ac', 'name': 'ctest-ext_vn-15188653', 'tenant_id': 'd1dbee9843e341eeb0509b61f65b33d1', 'project_id': 'd1dbee9843e341eeb0509b61f65b33d1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-12949591', 'ctest-ext_vn-15188653'], 'port_security_enabled': True, 'description': ''}} 2025-10-29 23:07:25,628 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ee16e7ea-7aa3-44ab-8fe3-51a517b7bfc7', 'name': '', 'tenant_id': 'd1dbee9843e341eeb0509b61f65b33d1', 'network_id': 'e95342d5-7ee5-4f2b-be19-6c01d1d288ac', 'ip_version': 4, 'cidr': '119.136.5.0/26', 'allocation_pools': [{'start': '119.136.5.2', 'end': '119.136.5.62'}], 'gateway_ip': '119.136.5.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '119.136.5.2', 'tags': [], 'project_id': 'd1dbee9843e341eeb0509b61f65b33d1'}} 2025-10-29 23:07:25,644 - INFO - Created VN ctest-ext_vn-15188653 2025-10-29 23:07:25,695 - DEBUG - VN ctest-ext_vn-15188653 UUID is e95342d5-7ee5-4f2b-be19-6c01d1d288ac 2025-10-29 23:07:25,888 - DEBUG - Services list from nova: [, , ] 2025-10-29 23:07:26,882 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4530-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4530-1) 2025-10-29 23:07:27,996 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4530-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4530-1) 2025-10-29 23:07:28,065 - INFO - Setting gateway for router cd4e8359-5daa-4a8f-82e3-7ef74ac83de6 to network e95342d5-7ee5-4f2b-be19-6c01d1d288ac 2025-10-29 23:07:28,116 - INFO - Adding interface with subnet_id 35a1da11-dedb-4bc2-b385-bfed955b52b9, port_id None to router cd4e8359-5daa-4a8f-82e3-7ef74ac83de6 2025-10-29 23:07:28,378 - INFO - Waiting for VM ctest-TestRoutersBasic-12949591-76910927 to be up.. 2025-10-29 23:07:28,507 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-29 23:07:33,593 - DEBUG - VM is in ACTIVE state now 2025-10-29 23:07:33,594 - INFO - VM name : ctest-TestRoutersBasic-12949591-76910927 2025-10-29 23:07:33,680 - DEBUG - VM ctest-TestRoutersBasic-12949591-76910927 ID is b7b1cfb4-febb-404d-8b96-232cfe69b801 2025-10-29 23:07:33,702 - DEBUG - VM ctest-TestRoutersBasic-12949591-76910927 launched on Node cn-jenkins-deploy-platform-ansible-os-4530-1 2025-10-29 23:07:33,776 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/b7b1cfb4-febb-404d-8b96-232cfe69b801 2025-10-29 23:07:34,084 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/b7b1cfb4-febb-404d-8b96-232cfe69b801 2025-10-29 23:07:34,119 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/a0644bc1-f764-45df-9c41-bc644802e417 2025-10-29 23:07:37,387 - 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 1027ms') 2025-10-29 23:07:37,387 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-12949591-76910927 failed! 2025-10-29 23:07:37,447 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-12949591:ctest-vn-50647512 is 141.122.234.65 and allocation pool is NOT set 2025-10-29 23:07:39,511 - 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.77 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.432 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.432/2.100/3.768/1.668 ms') 2025-10-29 23:07:39,511 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-12949591-76910927 passed 2025-10-29 23:07:39,663 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 23:07:39,663 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-12949591-76910927, IP 141.122.234.67, Port 22 2025-10-29 23:07:39,823 - DEBUG - VM ctest-TestRoutersBasic-12949591-76910927 is ready for SSH connections 2025-10-29 23:07:39,823 - INFO - Waiting for VM ctest-TestRoutersBasic-12949591-75495425 to be up.. 2025-10-29 23:07:39,900 - DEBUG - VM is in ACTIVE state now 2025-10-29 23:07:39,900 - INFO - VM name : ctest-TestRoutersBasic-12949591-75495425 2025-10-29 23:07:39,970 - DEBUG - VM ctest-TestRoutersBasic-12949591-75495425 ID is 222f927e-0a5e-4ebc-a521-8494e7ac6b15 2025-10-29 23:07:39,970 - DEBUG - VM ctest-TestRoutersBasic-12949591-75495425 launched on Node cn-jenkins-deploy-platform-ansible-os-4530-1 2025-10-29 23:07:40,036 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/222f927e-0a5e-4ebc-a521-8494e7ac6b15 2025-10-29 23:07:40,043 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/412590fb-6dd0-4071-8267-49a5fc5b411e 2025-10-29 23:07:41,277 - 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.21 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.617 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.617/1.915/3.214/1.298 ms') 2025-10-29 23:07:41,277 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-12949591-75495425 passed 2025-10-29 23:07:41,431 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 23:07:41,431 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-12949591-75495425, IP 119.136.5.3, Port 22 2025-10-29 23:07:41,599 - DEBUG - VM ctest-TestRoutersBasic-12949591-75495425 is ready for SSH connections 2025-10-29 23:07:41,599 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 23:07:41,599 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 119.136.5.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-29 23:07:41,599 - DEBUG - ping -s 56 -c 3 -W 1 119.136.5.3 2025-10-29 23:07:45,597 - DEBUG - PING 119.136.5.3 (119.136.5.3): 56 data bytes 64 bytes from 119.136.5.3: seq=0 ttl=62 time=4.783 ms 64 bytes from 119.136.5.3: seq=1 ttl=62 time=1.172 ms 64 bytes from 119.136.5.3: seq=2 ttl=62 time=1.367 ms --- 119.136.5.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.172/2.440/4.783 ms 2025-10-29 23:07:45,597 - INFO - Ping to IP 119.136.5.3 from VM ctest-TestRoutersBasic-12949591-76910927 passed 2025-10-29 23:07:45,597 - INFO - Deleting interface with subnet_id 35a1da11-dedb-4bc2-b385-bfed955b52b9, port_id None from router cd4e8359-5daa-4a8f-82e3-7ef74ac83de6 2025-10-29 23:07:45,771 - INFO - Deleting VM ctest-TestRoutersBasic-12949591-75495425 2025-10-29 23:07:45,838 - INFO - Deleting VM ctest-TestRoutersBasic-12949591-76910927 2025-10-29 23:07:45,912 - INFO - Deleting VN ctest-ext_vn-15188653 2025-10-29 23:07:45,976 - DEBUG - VN e95342d5-7ee5-4f2b-be19-6c01d1d288ac still in use: Unable to complete operation on network e95342d5-7ee5-4f2b-be19-6c01d1d288ac. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-df1f616d-4c2b-4fb0-bf48-b905d1c1af1f'] 2025-10-29 23:07:45,977 - WARNING - Deleting VN ctest-ext_vn-15188653 failed..Will retry 2025-10-29 23:07:48,078 - DEBUG - Response for deleting network () 2025-10-29 23:07:48,079 - INFO - Deleting VN ctest-vn-50647512 2025-10-29 23:07:48,175 - DEBUG - Response for deleting network () 2025-10-29 23:07:48,430 - DEBUG - No XMPP flaps were noticed during the test
2025-10-29 23:07:48,430 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-10-29 23:07:48,430 - INFO - -------------------------------------------------------------------------------- 2025-10-29 23:07:49,123 - INFO - Deleted project: ctest-TestRoutersBasic-12949591, ID : d1dbee98-43e3-41ee-b050-9b61f65b33d1