2025-04-17 02:32:37,232 - INFO - Domain Default found not creating 2025-04-17 02:32:37,457 - INFO - Project ctest-TestRoutersBasic-01986994 not found, creating it 2025-04-17 02:32:38,028 - INFO - Created Project:ctest-TestRoutersBasic-01986994, ID : daed6ef7-ed15-4013-82c8-03b25129d069 2025-04-17 02:32:39,700 - INFO - ================================================================================ 2025-04-17 02:32:39,700 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-04-17 02:32:39,700 - 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-17 02:32:39,964 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.14': '0'}} with 2025-04-17 02:32:39,965 - INFO - Initial checks done. Running the testcase now 2025-04-17 02:32:39,965 - INFO - 2025-04-17 02:32:40,744 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-01986994 2025-04-17 02:32:40,849 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-01986994 2025-04-17 02:32:41,192 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-01986994', 'default']} 2025-04-17 02:32:41,544 - DEBUG - Response for create_network : {'network': {'id': '431781dd-19d6-4ab0-9acf-6d998b25ac54', 'name': 'ctest-vn-70926096', 'tenant_id': 'daed6ef7ed15401382c803b25129d069', 'project_id': 'daed6ef7ed15401382c803b25129d069', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-01986994', 'ctest-vn-70926096'], 'port_security_enabled': True, 'description': ''}} 2025-04-17 02:32:41,781 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ab967126-0672-43bd-aeb8-b3e729088919', 'name': '', 'tenant_id': 'daed6ef7ed15401382c803b25129d069', 'network_id': '431781dd-19d6-4ab0-9acf-6d998b25ac54', 'ip_version': 4, 'cidr': '83.72.47.64/26', 'allocation_pools': [{'start': '83.72.47.66', 'end': '83.72.47.126'}], 'gateway_ip': '83.72.47.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '83.72.47.66', 'tags': [], 'project_id': 'daed6ef7ed15401382c803b25129d069'}} 2025-04-17 02:32:41,804 - INFO - Created VN ctest-vn-70926096 2025-04-17 02:32:41,861 - DEBUG - VN ctest-vn-70926096 UUID is 431781dd-19d6-4ab0-9acf-6d998b25ac54 2025-04-17 02:32:42,251 - DEBUG - Response for create_network : {'network': {'id': '38ca3a5c-6a2a-46cb-8bfb-4037b65b9598', 'name': 'ctest-ext_vn-61360377', 'tenant_id': 'daed6ef7ed15401382c803b25129d069', 'project_id': 'daed6ef7ed15401382c803b25129d069', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-01986994', 'ctest-ext_vn-61360377'], 'port_security_enabled': True, 'description': ''}} 2025-04-17 02:32:42,486 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cf419ace-1601-44c8-8ba1-b7b82b14c68a', 'name': '', 'tenant_id': 'daed6ef7ed15401382c803b25129d069', 'network_id': '38ca3a5c-6a2a-46cb-8bfb-4037b65b9598', 'ip_version': 4, 'cidr': '203.97.171.64/26', 'allocation_pools': [{'start': '203.97.171.66', 'end': '203.97.171.126'}], 'gateway_ip': '203.97.171.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.97.171.66', 'tags': [], 'project_id': 'daed6ef7ed15401382c803b25129d069'}} 2025-04-17 02:32:42,508 - INFO - Created VN ctest-ext_vn-61360377 2025-04-17 02:32:42,565 - DEBUG - VN ctest-ext_vn-61360377 UUID is 38ca3a5c-6a2a-46cb-8bfb-4037b65b9598 2025-04-17 02:32:42,777 - DEBUG - Services list from nova: [, , ] 2025-04-17 02:32:43,953 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3132-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3132-1) 2025-04-17 02:32:45,281 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3132-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3132-1) 2025-04-17 02:32:45,421 - INFO - Setting gateway for router c304e8c2-3217-429a-89d8-186e1c1b4d35 to network 38ca3a5c-6a2a-46cb-8bfb-4037b65b9598 2025-04-17 02:32:45,531 - INFO - Adding interface with subnet_id ab967126-0672-43bd-aeb8-b3e729088919, port_id None to router c304e8c2-3217-429a-89d8-186e1c1b4d35 2025-04-17 02:32:46,108 - INFO - Waiting for VM ctest-TestRoutersBasic-01986994-97068486 to be up.. 2025-04-17 02:32:46,382 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-17 02:32:51,495 - DEBUG - VM is in ACTIVE state now 2025-04-17 02:32:51,495 - INFO - VM name : ctest-TestRoutersBasic-01986994-97068486 2025-04-17 02:32:51,596 - DEBUG - VM ctest-TestRoutersBasic-01986994-97068486 ID is a5f37e94-30b7-451f-a93f-064fdbee7fb3 2025-04-17 02:32:51,635 - DEBUG - VM ctest-TestRoutersBasic-01986994-97068486 launched on Node cn-jenkins-deploy-platform-ansible-os-3132-1 2025-04-17 02:32:51,742 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/a5f37e94-30b7-451f-a93f-064fdbee7fb3 2025-04-17 02:32:52,068 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/a5f37e94-30b7-451f-a93f-064fdbee7fb3 2025-04-17 02:32:52,108 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/85287faa-13ce-4bcd-8186-c9ea01cf4c81 2025-04-17 02:32:55,416 - 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 1025ms') 2025-04-17 02:32:55,416 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-01986994-97068486 failed! 2025-04-17 02:32:55,477 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-01986994:ctest-vn-70926096 is 83.72.47.65 and allocation pool is NOT set 2025-04-17 02:32:57,548 - 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.99 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.854 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.854/2.423/3.993/1.569 ms') 2025-04-17 02:32:57,548 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-01986994-97068486 passed 2025-04-17 02:32:57,665 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-17 02:32:57,665 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-01986994-97068486, IP 83.72.47.67, Port 22 2025-04-17 02:32:57,836 - DEBUG - VM ctest-TestRoutersBasic-01986994-97068486 is ready for SSH connections 2025-04-17 02:32:57,836 - INFO - Waiting for VM ctest-TestRoutersBasic-01986994-45843252 to be up.. 2025-04-17 02:32:57,932 - DEBUG - VM is in ACTIVE state now 2025-04-17 02:32:57,932 - INFO - VM name : ctest-TestRoutersBasic-01986994-45843252 2025-04-17 02:32:58,031 - DEBUG - VM ctest-TestRoutersBasic-01986994-45843252 ID is 3eb25049-fc87-492c-bea5-78a79b5af475 2025-04-17 02:32:58,031 - DEBUG - VM ctest-TestRoutersBasic-01986994-45843252 launched on Node cn-jenkins-deploy-platform-ansible-os-3132-1 2025-04-17 02:32:58,136 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/3eb25049-fc87-492c-bea5-78a79b5af475 2025-04-17 02:32:58,148 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/f38f426e-09a8-4dd2-a745-d6ff73c6ec1f 2025-04-17 02:32:59,397 - 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.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.21 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 = 2.214/4.010/5.807/1.796 ms') 2025-04-17 02:32:59,397 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-01986994-45843252 passed 2025-04-17 02:32:59,564 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-17 02:32:59,565 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-01986994-45843252, IP 203.97.171.67, Port 22 2025-04-17 02:32:59,731 - DEBUG - VM ctest-TestRoutersBasic-01986994-45843252 is ready for SSH connections 2025-04-17 02:32:59,731 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-17 02:32:59,731 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 203.97.171.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-04-17 02:32:59,731 - DEBUG - ping -s 56 -c 3 -W 1 203.97.171.67 2025-04-17 02:33:03,469 - DEBUG - PING 203.97.171.67 (203.97.171.67): 56 data bytes 64 bytes from 203.97.171.67: seq=0 ttl=62 time=9.928 ms 64 bytes from 203.97.171.67: seq=1 ttl=62 time=1.084 ms 64 bytes from 203.97.171.67: seq=2 ttl=62 time=1.239 ms --- 203.97.171.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.084/4.083/9.928 ms 2025-04-17 02:33:03,469 - INFO - Ping to IP 203.97.171.67 from VM ctest-TestRoutersBasic-01986994-97068486 passed 2025-04-17 02:33:03,469 - INFO - Deleting interface with subnet_id ab967126-0672-43bd-aeb8-b3e729088919, port_id None from router c304e8c2-3217-429a-89d8-186e1c1b4d35 2025-04-17 02:33:03,706 - INFO - Deleting VM ctest-TestRoutersBasic-01986994-45843252 2025-04-17 02:33:03,799 - INFO - Deleting VM ctest-TestRoutersBasic-01986994-97068486 2025-04-17 02:33:03,889 - INFO - Deleting VN ctest-ext_vn-61360377 2025-04-17 02:33:03,984 - DEBUG - VN 38ca3a5c-6a2a-46cb-8bfb-4037b65b9598 still in use: Unable to complete operation on network 38ca3a5c-6a2a-46cb-8bfb-4037b65b9598. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-668ad0f1-12ff-45fc-9d67-b28aa11d3815'] 2025-04-17 02:33:03,984 - WARNING - Deleting VN ctest-ext_vn-61360377 failed..Will retry 2025-04-17 02:33:06,140 - DEBUG - Response for deleting network () 2025-04-17 02:33:06,140 - INFO - Deleting VN ctest-vn-70926096 2025-04-17 02:33:06,290 - DEBUG - Response for deleting network () 2025-04-17 02:33:06,551 - DEBUG - No XMPP flaps were noticed during the test
2025-04-17 02:33:06,551 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2025-04-17 02:33:06,552 - INFO - -------------------------------------------------------------------------------- 2025-04-17 02:33:07,301 - INFO - Deleted project: ctest-TestRoutersBasic-01986994, ID : daed6ef7-ed15-4013-82c8-03b25129d069