2025-04-09 16:29:27,465 - INFO - Domain Default found not creating 2025-04-09 16:29:27,648 - INFO - Project ctest-TestRoutersBasic-89410363 not found, creating it 2025-04-09 16:29:28,160 - INFO - Created Project:ctest-TestRoutersBasic-89410363, ID : 746e645f-5b0b-4329-9b37-4d8c6a41de28 2025-04-09 16:29:29,749 - INFO - ================================================================================ 2025-04-09 16:29:29,749 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-04-09 16:29:29,749 - 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-04-09 16:29:30,020 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.254': '0'}} with 2025-04-09 16:29:30,020 - INFO - Initial checks done. Running the testcase now 2025-04-09 16:29:30,021 - INFO - 2025-04-09 16:29:30,749 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-89410363 2025-04-09 16:29:30,857 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-89410363 2025-04-09 16:29:31,193 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-89410363', 'default']} 2025-04-09 16:29:31,551 - DEBUG - Response for create_network : {'network': {'id': '01d6635a-d961-4a52-a25b-ae2b4e1b1c13', 'name': 'ctest-vn-59887785', 'tenant_id': '746e645f5b0b43299b374d8c6a41de28', 'project_id': '746e645f5b0b43299b374d8c6a41de28', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-89410363', 'ctest-vn-59887785'], 'port_security_enabled': True, 'description': ''}} 2025-04-09 16:29:31,749 - DEBUG - Response for create_subnet : {'subnet': {'id': '410a8b03-36d0-45f1-bd44-8c2543f88295', 'name': '', 'tenant_id': '746e645f5b0b43299b374d8c6a41de28', 'network_id': '01d6635a-d961-4a52-a25b-ae2b4e1b1c13', 'ip_version': 4, 'cidr': '215.150.41.64/26', 'allocation_pools': [{'start': '215.150.41.66', 'end': '215.150.41.126'}], 'gateway_ip': '215.150.41.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '215.150.41.66', 'tags': [], 'project_id': '746e645f5b0b43299b374d8c6a41de28'}} 2025-04-09 16:29:31,775 - INFO - Created VN ctest-vn-59887785 2025-04-09 16:29:31,833 - DEBUG - VN ctest-vn-59887785 UUID is 01d6635a-d961-4a52-a25b-ae2b4e1b1c13 2025-04-09 16:29:32,268 - DEBUG - Response for create_network : {'network': {'id': '9eaf60de-464a-4954-badf-d962114d1867', 'name': 'ctest-ext_vn-51726179', 'tenant_id': '746e645f5b0b43299b374d8c6a41de28', 'project_id': '746e645f5b0b43299b374d8c6a41de28', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-89410363', 'ctest-ext_vn-51726179'], 'port_security_enabled': True, 'description': ''}} 2025-04-09 16:29:32,487 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cba1d178-99e1-4a86-a977-2996c4a179da', 'name': '', 'tenant_id': '746e645f5b0b43299b374d8c6a41de28', 'network_id': '9eaf60de-464a-4954-badf-d962114d1867', 'ip_version': 4, 'cidr': '146.49.211.192/26', 'allocation_pools': [{'start': '146.49.211.194', 'end': '146.49.211.254'}], 'gateway_ip': '146.49.211.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.49.211.194', 'tags': [], 'project_id': '746e645f5b0b43299b374d8c6a41de28'}} 2025-04-09 16:29:32,509 - INFO - Created VN ctest-ext_vn-51726179 2025-04-09 16:29:32,565 - DEBUG - VN ctest-ext_vn-51726179 UUID is 9eaf60de-464a-4954-badf-d962114d1867 2025-04-09 16:29:32,774 - DEBUG - Services list from nova: [, , ] 2025-04-09 16:29:33,914 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3071-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3071-1) 2025-04-09 16:29:35,235 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3071-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3071-1) 2025-04-09 16:29:35,336 - INFO - Setting gateway for router f83620ce-c5eb-4a06-9de6-abf05697b745 to network 9eaf60de-464a-4954-badf-d962114d1867 2025-04-09 16:29:35,437 - INFO - Adding interface with subnet_id 410a8b03-36d0-45f1-bd44-8c2543f88295, port_id None to router f83620ce-c5eb-4a06-9de6-abf05697b745 2025-04-09 16:29:35,996 - INFO - Waiting for VM ctest-TestRoutersBasic-89410363-81769758 to be up.. 2025-04-09 16:29:36,213 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-09 16:29:41,311 - DEBUG - VM is in ACTIVE state now 2025-04-09 16:29:41,311 - INFO - VM name : ctest-TestRoutersBasic-89410363-81769758 2025-04-09 16:29:41,422 - DEBUG - VM ctest-TestRoutersBasic-89410363-81769758 ID is df5ba4a5-df29-4412-b908-a531e58d5678 2025-04-09 16:29:41,456 - DEBUG - VM ctest-TestRoutersBasic-89410363-81769758 launched on Node cn-jenkins-deploy-platform-ansible-os-3071-1 2025-04-09 16:29:41,552 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/df5ba4a5-df29-4412-b908-a531e58d5678 2025-04-09 16:29:41,968 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/df5ba4a5-df29-4412-b908-a531e58d5678 2025-04-09 16:29:42,012 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/3b2a1fab-9037-4f62-973c-24717b6b9930 2025-04-09 16:29:45,310 - 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 1034ms') 2025-04-09 16:29:45,311 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-89410363-81769758 failed! 2025-04-09 16:29:45,369 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-89410363:ctest-vn-59887785 is 215.150.41.65 and allocation pool is NOT set 2025-04-09 16:29:47,433 - 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=4.19 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.03 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.034/2.614/4.194/1.580 ms') 2025-04-09 16:29:47,433 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-89410363-81769758 passed 2025-04-09 16:29:47,593 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-09 16:29:47,593 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-89410363-81769758, IP 215.150.41.67, Port 22 2025-04-09 16:29:47,763 - DEBUG - VM ctest-TestRoutersBasic-89410363-81769758 is ready for SSH connections 2025-04-09 16:29:47,763 - INFO - Waiting for VM ctest-TestRoutersBasic-89410363-59183611 to be up.. 2025-04-09 16:29:47,862 - DEBUG - VM is in ACTIVE state now 2025-04-09 16:29:47,862 - INFO - VM name : ctest-TestRoutersBasic-89410363-59183611 2025-04-09 16:29:47,946 - DEBUG - VM ctest-TestRoutersBasic-89410363-59183611 ID is 1dcc4aed-f8d1-4e0b-a777-f263f6b08f54 2025-04-09 16:29:47,946 - DEBUG - VM ctest-TestRoutersBasic-89410363-59183611 launched on Node cn-jenkins-deploy-platform-ansible-os-3071-1 2025-04-09 16:29:48,045 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/1dcc4aed-f8d1-4e0b-a777-f263f6b08f54 2025-04-09 16:29:48,061 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/fc0d1119-c79e-45ef-9b15-61d6dac1f5ae 2025-04-09 16:29:49,312 - 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=4.05 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.551 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.551/2.302/4.054/1.751 ms') 2025-04-09 16:29:49,312 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-89410363-59183611 passed 2025-04-09 16:29:49,469 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-09 16:29:49,469 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-89410363-59183611, IP 146.49.211.195, Port 22 2025-04-09 16:29:49,634 - DEBUG - VM ctest-TestRoutersBasic-89410363-59183611 is ready for SSH connections 2025-04-09 16:29:49,634 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-09 16:29:49,635 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 146.49.211.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-04-09 16:29:49,635 - DEBUG - ping -s 56 -c 3 -W 1 146.49.211.195 2025-04-09 16:29:53,370 - DEBUG - PING 146.49.211.195 (146.49.211.195): 56 data bytes 64 bytes from 146.49.211.195: seq=0 ttl=62 time=5.856 ms 64 bytes from 146.49.211.195: seq=1 ttl=62 time=1.084 ms 64 bytes from 146.49.211.195: seq=2 ttl=62 time=1.162 ms --- 146.49.211.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.084/2.700/5.856 ms 2025-04-09 16:29:53,370 - INFO - Ping to IP 146.49.211.195 from VM ctest-TestRoutersBasic-89410363-81769758 passed 2025-04-09 16:29:53,371 - INFO - Deleting interface with subnet_id 410a8b03-36d0-45f1-bd44-8c2543f88295, port_id None from router f83620ce-c5eb-4a06-9de6-abf05697b745 2025-04-09 16:29:53,641 - INFO - Deleting VM ctest-TestRoutersBasic-89410363-59183611 2025-04-09 16:29:53,752 - INFO - Deleting VM ctest-TestRoutersBasic-89410363-81769758 2025-04-09 16:29:53,881 - INFO - Deleting VN ctest-ext_vn-51726179 2025-04-09 16:29:54,017 - DEBUG - VN 9eaf60de-464a-4954-badf-d962114d1867 still in use: Unable to complete operation on network 9eaf60de-464a-4954-badf-d962114d1867. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4b2360fe-a3c2-4fa7-84d8-a1c0e290e441'] 2025-04-09 16:29:54,017 - WARNING - Deleting VN ctest-ext_vn-51726179 failed..Will retry 2025-04-09 16:29:56,170 - DEBUG - Response for deleting network () 2025-04-09 16:29:56,170 - INFO - Deleting VN ctest-vn-59887785 2025-04-09 16:29:56,310 - DEBUG - Response for deleting network () 2025-04-09 16:29:56,573 - DEBUG - No XMPP flaps were noticed during the test
2025-04-09 16:29:56,573 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2025-04-09 16:29:56,573 - INFO - -------------------------------------------------------------------------------- 2025-04-09 16:29:57,317 - INFO - Deleted project: ctest-TestRoutersBasic-89410363, ID : 746e645f-5b0b-4329-9b37-4d8c6a41de28