2024-10-23 11:07:53,905 - INFO - Domain Default found not creating
2024-10-23 11:07:54,100 - INFO - Project ctest-TestRoutersBasic-14436925 not found, creating it
2024-10-23 11:07:54,599 - INFO - Created Project:ctest-TestRoutersBasic-14436925, ID : 92d8eee8-9463-4b55-94f9-30ceca35696f
2024-10-23 11:07:56,422 - INFO - ================================================================================
2024-10-23 11:07:56,422 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2024-10-23 11:07:56,422 - 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-23 11:07:56,695 - DEBUG - Nothing to compare xmpp stats {'10.0.0.35': {'10.20.0.11': '0'}} with
2024-10-23 11:07:56,695 - INFO - Initial checks done. Running the testcase now
2024-10-23 11:07:56,695 - INFO -
2024-10-23 11:07:57,550 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-14436925
2024-10-23 11:07:57,657 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-14436925
2024-10-23 11:07:58,016 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-14436925', 'default']}
2024-10-23 11:07:58,383 - DEBUG - Response for create_network : {'network': {'id': 'f9a33a35-e865-4781-aca4-d250cb2f4965', 'name': 'ctest-vn-23474334', 'tenant_id': '92d8eee894634b5594f930ceca35696f', 'project_id': '92d8eee894634b5594f930ceca35696f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-14436925', 'ctest-vn-23474334'], 'port_security_enabled': True, 'description': ''}}
2024-10-23 11:07:58,590 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a0565507-7175-4331-a7b0-6bc2ff348869', 'name': '', 'tenant_id': '92d8eee894634b5594f930ceca35696f', 'network_id': 'f9a33a35-e865-4781-aca4-d250cb2f4965', 'ip_version': 4, 'cidr': '210.83.177.128/26', 'allocation_pools': [{'start': '210.83.177.130', 'end': '210.83.177.190'}], 'gateway_ip': '210.83.177.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '210.83.177.130', 'tags': [], 'project_id': '92d8eee894634b5594f930ceca35696f'}}
2024-10-23 11:07:58,616 - INFO - Created VN ctest-vn-23474334
2024-10-23 11:07:58,681 - DEBUG - VN ctest-vn-23474334 UUID is f9a33a35-e865-4781-aca4-d250cb2f4965
2024-10-23 11:07:59,138 - DEBUG - Response for create_network : {'network': {'id': 'f542e799-3f28-41c4-a1c0-253781506ac3', 'name': 'ctest-ext_vn-56910426', 'tenant_id': '92d8eee894634b5594f930ceca35696f', 'project_id': '92d8eee894634b5594f930ceca35696f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-14436925', 'ctest-ext_vn-56910426'], 'port_security_enabled': True, 'description': ''}}
2024-10-23 11:07:59,351 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eba8319d-3b45-46f8-bba2-169435ea8ffe', 'name': '', 'tenant_id': '92d8eee894634b5594f930ceca35696f', 'network_id': 'f542e799-3f28-41c4-a1c0-253781506ac3', 'ip_version': 4, 'cidr': '102.196.39.128/26', 'allocation_pools': [{'start': '102.196.39.130', 'end': '102.196.39.190'}], 'gateway_ip': '102.196.39.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '102.196.39.130', 'tags': [], 'project_id': '92d8eee894634b5594f930ceca35696f'}}
2024-10-23 11:07:59,376 - INFO - Created VN ctest-ext_vn-56910426
2024-10-23 11:07:59,436 - DEBUG - VN ctest-ext_vn-56910426 UUID is f542e799-3f28-41c4-a1c0-253781506ac3
2024-10-23 11:07:59,658 - DEBUG - Services list from nova: [, , ]
2024-10-23 11:08:00,859 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2128-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2128-1)
2024-10-23 11:08:02,317 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2128-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2128-1)
2024-10-23 11:08:02,417 - INFO - Setting gateway for router 2ce6b690-4070-4476-be32-d51edf83b393 to network f542e799-3f28-41c4-a1c0-253781506ac3
2024-10-23 11:08:02,508 - INFO - Adding interface with subnet_id a0565507-7175-4331-a7b0-6bc2ff348869, port_id None to router 2ce6b690-4070-4476-be32-d51edf83b393
2024-10-23 11:08:03,014 - INFO - Waiting for VM ctest-TestRoutersBasic-14436925-20778680 to be up..
2024-10-23 11:08:03,278 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-10-23 11:08:08,379 - DEBUG - VM is in ACTIVE state now
2024-10-23 11:08:08,379 - INFO - VM name : ctest-TestRoutersBasic-14436925-20778680
2024-10-23 11:08:08,475 - DEBUG - VM ctest-TestRoutersBasic-14436925-20778680 ID is 98ac040a-a246-4506-8ba7-b5855f44e812
2024-10-23 11:08:08,499 - DEBUG - VM ctest-TestRoutersBasic-14436925-20778680 launched on Node cn-jenkins-deploy-platform-ansible-os-2128-1
2024-10-23 11:08:08,596 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/98ac040a-a246-4506-8ba7-b5855f44e812
2024-10-23 11:08:08,936 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/98ac040a-a246-4506-8ba7-b5855f44e812
2024-10-23 11:08:08,984 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/9f7bb50b-553b-4e63-a8a3-9a1ad34791cc
2024-10-23 11:08:12,258 - 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 1017ms')
2024-10-23 11:08:12,258 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-14436925-20778680 failed!
2024-10-23 11:08:12,320 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-14436925:ctest-vn-23474334 is 210.83.177.129 and allocation pool is NOT set
2024-10-23 11:08:14,389 - 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.32 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.79 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.787/3.053/4.319/1.266 ms')
2024-10-23 11:08:14,390 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-14436925-20778680 passed
2024-10-23 11:08:14,552 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-23 11:08:14,553 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-14436925-20778680, IP 210.83.177.131, Port 22
2024-10-23 11:08:14,723 - DEBUG - VM ctest-TestRoutersBasic-14436925-20778680 is ready for SSH connections
2024-10-23 11:08:14,723 - INFO - Waiting for VM ctest-TestRoutersBasic-14436925-35514378 to be up..
2024-10-23 11:08:14,816 - DEBUG - VM is in ACTIVE state now
2024-10-23 11:08:14,816 - INFO - VM name : ctest-TestRoutersBasic-14436925-35514378
2024-10-23 11:08:14,902 - DEBUG - VM ctest-TestRoutersBasic-14436925-35514378 ID is 39337cfb-3d22-43af-ba0f-7e9e8eef388d
2024-10-23 11:08:14,902 - DEBUG - VM ctest-TestRoutersBasic-14436925-35514378 launched on Node cn-jenkins-deploy-platform-ansible-os-2128-1
2024-10-23 11:08:14,986 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/39337cfb-3d22-43af-ba0f-7e9e8eef388d
2024-10-23 11:08:14,998 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/2050b049-fc6f-458a-9264-34370ff83461
2024-10-23 11:08:16,263 - 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.01 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.887 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.887/2.946/5.006/2.059 ms')
2024-10-23 11:08:16,264 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-14436925-35514378 passed
2024-10-23 11:08:16,424 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-23 11:08:16,425 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-14436925-35514378, IP 102.196.39.131, Port 22
2024-10-23 11:08:16,580 - DEBUG - VM ctest-TestRoutersBasic-14436925-35514378 is ready for SSH connections
2024-10-23 11:08:16,580 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-23 11:08:16,580 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 102.196.39.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.35, gateway password: c0ntrail123
2024-10-23 11:08:16,580 - DEBUG - ping -s 56 -c 3 -W 1 102.196.39.131
2024-10-23 11:08:20,349 - DEBUG - PING 102.196.39.131 (102.196.39.131): 56 data bytes
64 bytes from 102.196.39.131: seq=0 ttl=62 time=6.648 ms
64 bytes from 102.196.39.131: seq=1 ttl=62 time=0.907 ms
64 bytes from 102.196.39.131: seq=2 ttl=62 time=1.036 ms
--- 102.196.39.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.907/2.863/6.648 ms
2024-10-23 11:08:20,349 - INFO - Ping to IP 102.196.39.131 from VM ctest-TestRoutersBasic-14436925-20778680 passed
2024-10-23 11:08:20,349 - INFO - Deleting interface with subnet_id a0565507-7175-4331-a7b0-6bc2ff348869, port_id None from router 2ce6b690-4070-4476-be32-d51edf83b393
2024-10-23 11:08:20,606 - INFO - Deleting VM ctest-TestRoutersBasic-14436925-35514378
2024-10-23 11:08:20,690 - INFO - Deleting VM ctest-TestRoutersBasic-14436925-20778680
2024-10-23 11:08:20,799 - INFO - Deleting VN ctest-ext_vn-56910426
2024-10-23 11:08:20,883 - DEBUG - VN f542e799-3f28-41c4-a1c0-253781506ac3 still in use: Unable to complete operation on network f542e799-3f28-41c4-a1c0-253781506ac3. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-3b54ca0f-44eb-4ef7-958f-4b7ad4321937']
2024-10-23 11:08:20,883 - WARNING - Deleting VN ctest-ext_vn-56910426 failed..Will retry
2024-10-23 11:08:23,038 - DEBUG - Response for deleting network ()
2024-10-23 11:08:23,038 - INFO - Deleting VN ctest-vn-23474334
2024-10-23 11:08:23,207 - DEBUG - Response for deleting network ()
2024-10-23 11:08:23,475 - DEBUG - No XMPP flaps were noticed during the test
2024-10-23 11:08:23,475 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2024-10-23 11:08:23,475 - INFO - --------------------------------------------------------------------------------
2024-10-23 11:08:24,314 - INFO - Deleted project: ctest-TestRoutersBasic-14436925, ID : 92d8eee8-9463-4b55-94f9-30ceca35696f