2025-02-04 23:22:02,296 - INFO - Domain Default found not creating 2025-02-04 23:22:02,494 - INFO - Project ctest-TestRoutersBasic-65578693 not found, creating it 2025-02-04 23:22:03,010 - INFO - Created Project:ctest-TestRoutersBasic-65578693, ID : be83daad-f494-4551-b154-f1cd5763999f 2025-02-04 23:22:04,556 - INFO - ================================================================================ 2025-02-04 23:22:04,556 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-02-04 23:22:04,556 - 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-02-04 23:22:04,812 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.20.0.5': '0'}} with 2025-02-04 23:22:04,812 - INFO - Initial checks done. Running the testcase now 2025-02-04 23:22:04,812 - INFO - 2025-02-04 23:22:05,601 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-65578693 2025-02-04 23:22:05,702 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-65578693 2025-02-04 23:22:06,038 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-65578693', 'default']} 2025-02-04 23:22:06,365 - DEBUG - Response for create_network : {'network': {'id': '5ded9bb0-4dcc-4843-9104-f47844051454', 'name': 'ctest-vn-36443213', 'tenant_id': 'be83daadf4944551b154f1cd5763999f', 'project_id': 'be83daadf4944551b154f1cd5763999f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-65578693', 'ctest-vn-36443213'], 'port_security_enabled': True, 'description': ''}} 2025-02-04 23:22:06,542 - DEBUG - Response for create_subnet : {'subnet': {'id': '76c38e19-421a-4b8d-bd47-b896381ece8f', 'name': '', 'tenant_id': 'be83daadf4944551b154f1cd5763999f', 'network_id': '5ded9bb0-4dcc-4843-9104-f47844051454', 'ip_version': 4, 'cidr': '30.87.28.192/26', 'allocation_pools': [{'start': '30.87.28.194', 'end': '30.87.28.254'}], 'gateway_ip': '30.87.28.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '30.87.28.194', 'tags': [], 'project_id': 'be83daadf4944551b154f1cd5763999f'}} 2025-02-04 23:22:06,560 - INFO - Created VN ctest-vn-36443213 2025-02-04 23:22:06,613 - DEBUG - VN ctest-vn-36443213 UUID is 5ded9bb0-4dcc-4843-9104-f47844051454 2025-02-04 23:22:06,961 - DEBUG - Response for create_network : {'network': {'id': '9517dfd3-dee5-40c4-9839-59b3289b0918', 'name': 'ctest-ext_vn-48703670', 'tenant_id': 'be83daadf4944551b154f1cd5763999f', 'project_id': 'be83daadf4944551b154f1cd5763999f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-65578693', 'ctest-ext_vn-48703670'], 'port_security_enabled': True, 'description': ''}} 2025-02-04 23:22:07,184 - DEBUG - Response for create_subnet : {'subnet': {'id': '3b803578-e84b-4dae-855e-3fe854c03ca4', 'name': '', 'tenant_id': 'be83daadf4944551b154f1cd5763999f', 'network_id': '9517dfd3-dee5-40c4-9839-59b3289b0918', 'ip_version': 4, 'cidr': '123.202.242.64/26', 'allocation_pools': [{'start': '123.202.242.66', 'end': '123.202.242.126'}], 'gateway_ip': '123.202.242.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.202.242.66', 'tags': [], 'project_id': 'be83daadf4944551b154f1cd5763999f'}} 2025-02-04 23:22:07,203 - INFO - Created VN ctest-ext_vn-48703670 2025-02-04 23:22:07,261 - DEBUG - VN ctest-ext_vn-48703670 UUID is 9517dfd3-dee5-40c4-9839-59b3289b0918 2025-02-04 23:22:07,460 - DEBUG - Services list from nova: [, , ] 2025-02-04 23:22:08,547 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2688-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2688-1) 2025-02-04 23:22:09,843 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2688-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2688-1) 2025-02-04 23:22:09,939 - INFO - Setting gateway for router 2c15fe7a-6571-448e-8223-f5fd4092a88f to network 9517dfd3-dee5-40c4-9839-59b3289b0918 2025-02-04 23:22:10,024 - INFO - Adding interface with subnet_id 76c38e19-421a-4b8d-bd47-b896381ece8f, port_id None to router 2c15fe7a-6571-448e-8223-f5fd4092a88f 2025-02-04 23:22:10,719 - INFO - Waiting for VM ctest-TestRoutersBasic-65578693-16225786 to be up.. 2025-02-04 23:22:10,914 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-04 23:22:16,002 - DEBUG - VM is in ACTIVE state now 2025-02-04 23:22:16,002 - INFO - VM name : ctest-TestRoutersBasic-65578693-16225786 2025-02-04 23:22:16,086 - DEBUG - VM ctest-TestRoutersBasic-65578693-16225786 ID is 082d8028-6c6f-4467-b990-a6570eb06a06 2025-02-04 23:22:16,109 - DEBUG - VM ctest-TestRoutersBasic-65578693-16225786 launched on Node cn-jenkins-deploy-platform-ansible-os-2688-1 2025-02-04 23:22:16,202 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/082d8028-6c6f-4467-b990-a6570eb06a06 2025-02-04 23:22:16,539 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/082d8028-6c6f-4467-b990-a6570eb06a06 2025-02-04 23:22:16,580 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/8ce6a694-5e27-4f22-a590-93b182fdbc0e 2025-02-04 23:22:19,879 - 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 1022ms') 2025-02-04 23:22:19,879 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-65578693-16225786 failed! 2025-02-04 23:22:19,937 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-65578693:ctest-vn-36443213 is 30.87.28.193 and allocation pool is NOT set 2025-02-04 23:22:21,998 - 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.61 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.524 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 = 0.524/2.065/3.607/1.541 ms') 2025-02-04 23:22:21,998 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-65578693-16225786 passed 2025-02-04 23:22:22,165 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-04 23:22:22,166 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-65578693-16225786, IP 30.87.28.195, Port 22 2025-02-04 23:22:22,325 - DEBUG - VM ctest-TestRoutersBasic-65578693-16225786 is ready for SSH connections 2025-02-04 23:22:22,326 - INFO - Waiting for VM ctest-TestRoutersBasic-65578693-68717081 to be up.. 2025-02-04 23:22:22,420 - DEBUG - VM is in ACTIVE state now 2025-02-04 23:22:22,420 - INFO - VM name : ctest-TestRoutersBasic-65578693-68717081 2025-02-04 23:22:22,508 - DEBUG - VM ctest-TestRoutersBasic-65578693-68717081 ID is 80d1914d-d552-44c5-876b-bbd3dfdc29ca 2025-02-04 23:22:22,508 - DEBUG - VM ctest-TestRoutersBasic-65578693-68717081 launched on Node cn-jenkins-deploy-platform-ansible-os-2688-1 2025-02-04 23:22:22,590 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/80d1914d-d552-44c5-876b-bbd3dfdc29ca 2025-02-04 23:22:22,600 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/3960bf9b-005b-4dec-8b2c-250d30055999 2025-02-04 23:22:23,860 - 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.19 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.695 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.695/1.941/3.187/1.246 ms') 2025-02-04 23:22:23,860 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-65578693-68717081 passed 2025-02-04 23:22:24,018 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-04 23:22:24,018 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-65578693-68717081, IP 123.202.242.67, Port 22 2025-02-04 23:22:24,173 - DEBUG - VM ctest-TestRoutersBasic-65578693-68717081 is ready for SSH connections 2025-02-04 23:22:24,173 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-04 23:22:24,174 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 123.202.242.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123 2025-02-04 23:22:24,174 - DEBUG - ping -s 56 -c 3 -W 1 123.202.242.67 2025-02-04 23:22:27,945 - DEBUG - PING 123.202.242.67 (123.202.242.67): 56 data bytes 64 bytes from 123.202.242.67: seq=0 ttl=62 time=7.711 ms 64 bytes from 123.202.242.67: seq=1 ttl=62 time=0.889 ms 64 bytes from 123.202.242.67: seq=2 ttl=62 time=0.856 ms --- 123.202.242.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.856/3.152/7.711 ms 2025-02-04 23:22:27,945 - INFO - Ping to IP 123.202.242.67 from VM ctest-TestRoutersBasic-65578693-16225786 passed 2025-02-04 23:22:27,946 - INFO - Deleting interface with subnet_id 76c38e19-421a-4b8d-bd47-b896381ece8f, port_id None from router 2c15fe7a-6571-448e-8223-f5fd4092a88f 2025-02-04 23:22:28,162 - INFO - Deleting VM ctest-TestRoutersBasic-65578693-68717081 2025-02-04 23:22:28,243 - INFO - Deleting VM ctest-TestRoutersBasic-65578693-16225786 2025-02-04 23:22:28,340 - INFO - Deleting VN ctest-ext_vn-48703670 2025-02-04 23:22:28,423 - DEBUG - VN 9517dfd3-dee5-40c4-9839-59b3289b0918 still in use: Unable to complete operation on network 9517dfd3-dee5-40c4-9839-59b3289b0918. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-919c183f-6f4a-4989-b798-1a2629a1cb36'] 2025-02-04 23:22:28,423 - WARNING - Deleting VN ctest-ext_vn-48703670 failed..Will retry 2025-02-04 23:22:30,553 - DEBUG - Response for deleting network () 2025-02-04 23:22:30,554 - INFO - Deleting VN ctest-vn-36443213 2025-02-04 23:22:30,692 - DEBUG - Response for deleting network () 2025-02-04 23:22:30,947 - DEBUG - No XMPP flaps were noticed during the test
2025-02-04 23:22:30,947 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-02-04 23:22:30,947 - INFO - -------------------------------------------------------------------------------- 2025-02-04 23:22:31,694 - INFO - Deleted project: ctest-TestRoutersBasic-65578693, ID : be83daad-f494-4551-b154-f1cd5763999f