2024-10-28 15:41:08,888 - INFO - Domain Default found not creating
2024-10-28 15:41:09,138 - INFO - Project ctest-TestRoutersBasic-95242168 not found, creating it
2024-10-28 15:41:09,729 - INFO - Created Project:ctest-TestRoutersBasic-95242168, ID : d7274e31-8bc2-4631-9b7f-304afc2383c7
2024-10-28 15:41:11,730 - INFO - ================================================================================
2024-10-28 15:41:11,731 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2024-10-28 15:41:11,731 - 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-28 15:41:12,006 - DEBUG - Nothing to compare xmpp stats {'10.0.0.52': {'10.20.0.21': '0'}} with
2024-10-28 15:41:12,006 - INFO - Initial checks done. Running the testcase now
2024-10-28 15:41:12,006 - INFO -
2024-10-28 15:41:13,040 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-95242168
2024-10-28 15:41:13,146 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-95242168
2024-10-28 15:41:13,518 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-95242168', 'default']}
2024-10-28 15:41:13,925 - DEBUG - Response for create_network : {'network': {'id': 'ee55b1fc-c148-40a6-9376-9d0da43e6905', 'name': 'ctest-vn-44982433', 'tenant_id': 'd7274e318bc246319b7f304afc2383c7', 'project_id': 'd7274e318bc246319b7f304afc2383c7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-95242168', 'ctest-vn-44982433'], 'port_security_enabled': True, 'description': ''}}
2024-10-28 15:41:14,206 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dc5c24b1-3bf9-4d28-9334-418f9b66754b', 'name': '', 'tenant_id': 'd7274e318bc246319b7f304afc2383c7', 'network_id': 'ee55b1fc-c148-40a6-9376-9d0da43e6905', 'ip_version': 4, 'cidr': '103.182.81.0/26', 'allocation_pools': [{'start': '103.182.81.2', 'end': '103.182.81.62'}], 'gateway_ip': '103.182.81.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '103.182.81.2', 'tags': [], 'project_id': 'd7274e318bc246319b7f304afc2383c7'}}
2024-10-28 15:41:14,236 - INFO - Created VN ctest-vn-44982433
2024-10-28 15:41:14,302 - DEBUG - VN ctest-vn-44982433 UUID is ee55b1fc-c148-40a6-9376-9d0da43e6905
2024-10-28 15:41:14,776 - DEBUG - Response for create_network : {'network': {'id': '4f28dfa0-e329-4dca-adca-5274e2242922', 'name': 'ctest-ext_vn-04788674', 'tenant_id': 'd7274e318bc246319b7f304afc2383c7', 'project_id': 'd7274e318bc246319b7f304afc2383c7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-95242168', 'ctest-ext_vn-04788674'], 'port_security_enabled': True, 'description': ''}}
2024-10-28 15:41:15,052 - DEBUG - Response for create_subnet : {'subnet': {'id': '99be705a-c23b-484c-8498-0c249e2a5288', 'name': '', 'tenant_id': 'd7274e318bc246319b7f304afc2383c7', 'network_id': '4f28dfa0-e329-4dca-adca-5274e2242922', 'ip_version': 4, 'cidr': '130.73.95.128/26', 'allocation_pools': [{'start': '130.73.95.130', 'end': '130.73.95.190'}], 'gateway_ip': '130.73.95.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '130.73.95.130', 'tags': [], 'project_id': 'd7274e318bc246319b7f304afc2383c7'}}
2024-10-28 15:41:15,078 - INFO - Created VN ctest-ext_vn-04788674
2024-10-28 15:41:15,142 - DEBUG - VN ctest-ext_vn-04788674 UUID is 4f28dfa0-e329-4dca-adca-5274e2242922
2024-10-28 15:41:15,371 - DEBUG - Services list from nova: [, , ]
2024-10-28 15:41:16,685 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2165-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2165-1)
2024-10-28 15:41:18,230 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2165-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2165-1)
2024-10-28 15:41:18,350 - INFO - Setting gateway for router e7af3cc1-2eda-42fe-b7a5-cef105a1919d to network 4f28dfa0-e329-4dca-adca-5274e2242922
2024-10-28 15:41:18,474 - INFO - Adding interface with subnet_id dc5c24b1-3bf9-4d28-9334-418f9b66754b, port_id None to router e7af3cc1-2eda-42fe-b7a5-cef105a1919d
2024-10-28 15:41:19,111 - INFO - Waiting for VM ctest-TestRoutersBasic-95242168-45470987 to be up..
2024-10-28 15:41:19,376 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-10-28 15:41:24,520 - DEBUG - VM is in ACTIVE state now
2024-10-28 15:41:24,521 - INFO - VM name : ctest-TestRoutersBasic-95242168-45470987
2024-10-28 15:41:24,671 - DEBUG - VM ctest-TestRoutersBasic-95242168-45470987 ID is 886d308e-c58f-4d1b-a66d-1b302fd0ee6a
2024-10-28 15:41:24,710 - DEBUG - VM ctest-TestRoutersBasic-95242168-45470987 launched on Node cn-jenkins-deploy-platform-ansible-os-2165-1
2024-10-28 15:41:24,848 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine/886d308e-c58f-4d1b-a66d-1b302fd0ee6a
2024-10-28 15:41:25,204 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine/886d308e-c58f-4d1b-a66d-1b302fd0ee6a
2024-10-28 15:41:25,259 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine-interface/89895c56-e921-49a4-a684-d7bbfb26430e
2024-10-28 15:41:28,589 - 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 1019ms')
2024-10-28 15:41:28,589 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-95242168-45470987 failed!
2024-10-28 15:41:28,654 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-95242168:ctest-vn-44982433 is 103.182.81.1 and allocation pool is NOT set
2024-10-28 15:41:30,718 - 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=8.51 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.00 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 = 3.001/5.754/8.507/2.753 ms')
2024-10-28 15:41:30,719 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-95242168-45470987 passed
2024-10-28 15:41:30,878 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-28 15:41:30,878 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-95242168-45470987, IP 103.182.81.3, Port 22
2024-10-28 15:41:31,041 - DEBUG - VM ctest-TestRoutersBasic-95242168-45470987 is ready for SSH connections
2024-10-28 15:41:31,041 - INFO - Waiting for VM ctest-TestRoutersBasic-95242168-60165089 to be up..
2024-10-28 15:41:31,165 - DEBUG - VM is in ACTIVE state now
2024-10-28 15:41:31,165 - INFO - VM name : ctest-TestRoutersBasic-95242168-60165089
2024-10-28 15:41:31,254 - DEBUG - VM ctest-TestRoutersBasic-95242168-60165089 ID is 13a0a9f5-685a-4666-b487-f24dfad7c9cc
2024-10-28 15:41:31,254 - DEBUG - VM ctest-TestRoutersBasic-95242168-60165089 launched on Node cn-jenkins-deploy-platform-ansible-os-2165-1
2024-10-28 15:41:31,347 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine/13a0a9f5-685a-4666-b487-f24dfad7c9cc
2024-10-28 15:41:31,360 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine-interface/2b945458-3ed5-4748-8a42-a934e65bc8ba
2024-10-28 15:41:32,639 - 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=10.1 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.37 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 = 2.373/6.235/10.098/3.862 ms')
2024-10-28 15:41:32,639 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-95242168-60165089 passed
2024-10-28 15:41:32,810 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-28 15:41:32,810 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-95242168-60165089, IP 130.73.95.131, Port 22
2024-10-28 15:41:32,966 - DEBUG - VM ctest-TestRoutersBasic-95242168-60165089 is ready for SSH connections
2024-10-28 15:41:32,966 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-28 15:41:32,966 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 130.73.95.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.52, gateway password: c0ntrail123
2024-10-28 15:41:32,966 - DEBUG - ping -s 56 -c 3 -W 1 130.73.95.131
2024-10-28 15:41:36,810 - DEBUG - PING 130.73.95.131 (130.73.95.131): 56 data bytes
64 bytes from 130.73.95.131: seq=0 ttl=62 time=6.267 ms
64 bytes from 130.73.95.131: seq=1 ttl=62 time=1.110 ms
64 bytes from 130.73.95.131: seq=2 ttl=62 time=1.085 ms
--- 130.73.95.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.085/2.820/6.267 ms
2024-10-28 15:41:36,810 - INFO - Ping to IP 130.73.95.131 from VM ctest-TestRoutersBasic-95242168-45470987 passed
2024-10-28 15:41:36,810 - INFO - Deleting interface with subnet_id dc5c24b1-3bf9-4d28-9334-418f9b66754b, port_id None from router e7af3cc1-2eda-42fe-b7a5-cef105a1919d
2024-10-28 15:41:37,073 - INFO - Deleting VM ctest-TestRoutersBasic-95242168-60165089
2024-10-28 15:41:37,177 - INFO - Deleting VM ctest-TestRoutersBasic-95242168-45470987
2024-10-28 15:41:37,286 - INFO - Deleting VN ctest-ext_vn-04788674
2024-10-28 15:41:37,370 - DEBUG - VN 4f28dfa0-e329-4dca-adca-5274e2242922 still in use: Unable to complete operation on network 4f28dfa0-e329-4dca-adca-5274e2242922. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-85490718-6259-4278-9d41-e56b061afc90']
2024-10-28 15:41:37,370 - WARNING - Deleting VN ctest-ext_vn-04788674 failed..Will retry
2024-10-28 15:41:39,555 - DEBUG - Response for deleting network ()
2024-10-28 15:41:39,555 - INFO - Deleting VN ctest-vn-44982433
2024-10-28 15:41:39,701 - DEBUG - Response for deleting network ()
2024-10-28 15:41:39,967 - DEBUG - No XMPP flaps were noticed during the test
2024-10-28 15:41:39,967 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:28]
2024-10-28 15:41:39,968 - INFO - --------------------------------------------------------------------------------
2024-10-28 15:41:41,171 - INFO - Deleted project: ctest-TestRoutersBasic-95242168, ID : d7274e31-8bc2-4631-9b7f-304afc2383c7