2024-10-17 02:35:07,860 - INFO - Domain Default found not creating
2024-10-17 02:35:08,058 - INFO - Project ctest-TestRoutersBasic-61408965 not found, creating it
2024-10-17 02:35:08,579 - INFO - Created Project:ctest-TestRoutersBasic-61408965, ID : 1d8cfafd-ce0b-461e-bfd3-0e96651ded59
2024-10-17 02:35:10,255 - INFO - ================================================================================
2024-10-17 02:35:10,255 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2024-10-17 02:35:10,255 - 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
2024-10-17 02:35:10,519 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.0.0.38': '0'}} with
2024-10-17 02:35:10,519 - INFO - Initial checks done. Running the testcase now
2024-10-17 02:35:10,519 - INFO -
2024-10-17 02:35:11,365 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-61408965
2024-10-17 02:35:11,466 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-61408965
2024-10-17 02:35:11,818 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-61408965', 'default']}
2024-10-17 02:35:12,180 - DEBUG - Response for create_network : {'network': {'id': 'aeb36553-99d8-47fd-9ccb-af1922a89b1a', 'name': 'ctest-vn-92562699', 'tenant_id': '1d8cfafdce0b461ebfd30e96651ded59', 'project_id': '1d8cfafdce0b461ebfd30e96651ded59', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-61408965', 'ctest-vn-92562699'], 'port_security_enabled': True, 'description': ''}}
2024-10-17 02:35:12,401 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c265a8da-e7f9-4bc8-b036-98fc60cace36', 'name': '', 'tenant_id': '1d8cfafdce0b461ebfd30e96651ded59', 'network_id': 'aeb36553-99d8-47fd-9ccb-af1922a89b1a', 'ip_version': 4, 'cidr': '45.169.188.192/26', 'allocation_pools': [{'start': '45.169.188.194', 'end': '45.169.188.254'}], 'gateway_ip': '45.169.188.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '45.169.188.194', 'tags': [], 'project_id': '1d8cfafdce0b461ebfd30e96651ded59'}}
2024-10-17 02:35:12,422 - INFO - Created VN ctest-vn-92562699
2024-10-17 02:35:12,478 - DEBUG - VN ctest-vn-92562699 UUID is aeb36553-99d8-47fd-9ccb-af1922a89b1a
2024-10-17 02:35:12,851 - DEBUG - Response for create_network : {'network': {'id': '91efb8c1-1b99-4c99-b8d2-8df1b9ead63f', 'name': 'ctest-ext_vn-78369621', 'tenant_id': '1d8cfafdce0b461ebfd30e96651ded59', 'project_id': '1d8cfafdce0b461ebfd30e96651ded59', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-61408965', 'ctest-ext_vn-78369621'], 'port_security_enabled': True, 'description': ''}}
2024-10-17 02:35:13,060 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f9eeaba6-6347-49f0-b64b-7bbcc9606200', 'name': '', 'tenant_id': '1d8cfafdce0b461ebfd30e96651ded59', 'network_id': '91efb8c1-1b99-4c99-b8d2-8df1b9ead63f', 'ip_version': 4, 'cidr': '191.145.117.128/26', 'allocation_pools': [{'start': '191.145.117.130', 'end': '191.145.117.190'}], 'gateway_ip': '191.145.117.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '191.145.117.130', 'tags': [], 'project_id': '1d8cfafdce0b461ebfd30e96651ded59'}}
2024-10-17 02:35:13,084 - INFO - Created VN ctest-ext_vn-78369621
2024-10-17 02:35:13,142 - DEBUG - VN ctest-ext_vn-78369621 UUID is 91efb8c1-1b99-4c99-b8d2-8df1b9ead63f
2024-10-17 02:35:13,333 - DEBUG - Services list from nova: [, , ]
2024-10-17 02:35:14,526 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2106-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2106-1)
2024-10-17 02:35:15,941 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2106-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2106-1)
2024-10-17 02:35:16,063 - INFO - Setting gateway for router 44cea146-0c50-4d9c-bf86-182e9786da39 to network 91efb8c1-1b99-4c99-b8d2-8df1b9ead63f
2024-10-17 02:35:16,172 - INFO - Adding interface with subnet_id c265a8da-e7f9-4bc8-b036-98fc60cace36, port_id None to router 44cea146-0c50-4d9c-bf86-182e9786da39
2024-10-17 02:35:16,790 - INFO - Waiting for VM ctest-TestRoutersBasic-61408965-89420606 to be up..
2024-10-17 02:35:17,038 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-10-17 02:35:22,134 - DEBUG - VM is in ACTIVE state now
2024-10-17 02:35:22,134 - INFO - VM name : ctest-TestRoutersBasic-61408965-89420606
2024-10-17 02:35:22,234 - DEBUG - VM ctest-TestRoutersBasic-61408965-89420606 ID is 3e7959b9-19af-44c1-9159-73cd049bb36f
2024-10-17 02:35:22,260 - DEBUG - VM ctest-TestRoutersBasic-61408965-89420606 launched on Node cn-jenkins-deploy-platform-ansible-os-2106-1.
2024-10-17 02:35:22,344 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/3e7959b9-19af-44c1-9159-73cd049bb36f
2024-10-17 02:35:22,792 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/3e7959b9-19af-44c1-9159-73cd049bb36f
2024-10-17 02:35:22,833 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ab78f7b4-58f9-4347-8355-55cb3849963e
2024-10-17 02:35:26,107 - 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 1009ms')
2024-10-17 02:35:26,107 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-61408965-89420606 failed!
2024-10-17 02:35:26,170 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-61408965:ctest-vn-92562699 is 45.169.188.193 and allocation pool is NOT set
2024-10-17 02:35:28,236 - 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.08 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.956 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.956/2.519/4.083/1.563 ms')
2024-10-17 02:35:28,236 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-61408965-89420606 passed
2024-10-17 02:35:28,403 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-17 02:35:28,403 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-61408965-89420606, IP 45.169.188.195, Port 22
2024-10-17 02:35:28,558 - DEBUG - VM ctest-TestRoutersBasic-61408965-89420606 is ready for SSH connections
2024-10-17 02:35:28,558 - INFO - Waiting for VM ctest-TestRoutersBasic-61408965-79502752 to be up..
2024-10-17 02:35:28,652 - DEBUG - VM is in ACTIVE state now
2024-10-17 02:35:28,653 - INFO - VM name : ctest-TestRoutersBasic-61408965-79502752
2024-10-17 02:35:28,741 - DEBUG - VM ctest-TestRoutersBasic-61408965-79502752 ID is 51cfcb81-61da-4d22-b12f-4c0e9a8a6a23
2024-10-17 02:35:28,742 - DEBUG - VM ctest-TestRoutersBasic-61408965-79502752 launched on Node cn-jenkins-deploy-platform-ansible-os-2106-1.
2024-10-17 02:35:28,825 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/51cfcb81-61da-4d22-b12f-4c0e9a8a6a23
2024-10-17 02:35:28,837 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9c73aca0-6367-4f8d-b4a5-b84453adfd5b
2024-10-17 02:35:30,101 - 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.80 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.004/5.795/1.790 ms')
2024-10-17 02:35:30,101 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-61408965-79502752 passed
2024-10-17 02:35:30,266 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-17 02:35:30,266 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-61408965-79502752, IP 191.145.117.131, Port 22
2024-10-17 02:35:30,422 - DEBUG - VM ctest-TestRoutersBasic-61408965-79502752 is ready for SSH connections
2024-10-17 02:35:30,422 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-17 02:35:30,422 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 191.145.117.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2024-10-17 02:35:30,422 - DEBUG - ping -s 56 -c 3 -W 1 191.145.117.131
2024-10-17 02:35:34,204 - DEBUG - PING 191.145.117.131 (191.145.117.131): 56 data bytes
64 bytes from 191.145.117.131: seq=0 ttl=62 time=7.844 ms
64 bytes from 191.145.117.131: seq=1 ttl=62 time=1.629 ms
64 bytes from 191.145.117.131: seq=2 ttl=62 time=1.173 ms
--- 191.145.117.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.173/3.548/7.844 ms
2024-10-17 02:35:34,204 - INFO - Ping to IP 191.145.117.131 from VM ctest-TestRoutersBasic-61408965-89420606 passed
2024-10-17 02:35:34,205 - INFO - Deleting interface with subnet_id c265a8da-e7f9-4bc8-b036-98fc60cace36, port_id None from router 44cea146-0c50-4d9c-bf86-182e9786da39
2024-10-17 02:35:34,481 - INFO - Deleting VM ctest-TestRoutersBasic-61408965-79502752
2024-10-17 02:35:34,560 - INFO - Deleting VM ctest-TestRoutersBasic-61408965-89420606
2024-10-17 02:35:34,655 - INFO - Deleting VN ctest-ext_vn-78369621
2024-10-17 02:35:34,746 - DEBUG - VN 91efb8c1-1b99-4c99-b8d2-8df1b9ead63f still in use: Unable to complete operation on network 91efb8c1-1b99-4c99-b8d2-8df1b9ead63f. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-49cb7467-df49-449c-b468-bcb20b1654c3']
2024-10-17 02:35:34,746 - WARNING - Deleting VN ctest-ext_vn-78369621 failed..Will retry
2024-10-17 02:35:36,895 - DEBUG - Response for deleting network ()
2024-10-17 02:35:36,896 - INFO - Deleting VN ctest-vn-92562699
2024-10-17 02:35:37,055 - DEBUG - Response for deleting network ()
2024-10-17 02:35:37,332 - DEBUG - No XMPP flaps were noticed during the test
2024-10-17 02:35:37,332 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2024-10-17 02:35:37,332 - INFO - --------------------------------------------------------------------------------
2024-10-17 02:35:38,109 - INFO - Deleted project: ctest-TestRoutersBasic-61408965, ID : 1d8cfafd-ce0b-461e-bfd3-0e96651ded59