2025-01-16 02:33:44,715 - INFO - Domain Default found not creating
2025-01-16 02:33:44,875 - INFO - Project ctest-TestRoutersBasic-80870771 not found, creating it
2025-01-16 02:33:45,384 - INFO - Created Project:ctest-TestRoutersBasic-80870771, ID : 6bbc4b94-f3cc-4884-9454-2bb85020a6ea
2025-01-16 02:33:47,024 - INFO - ================================================================================
2025-01-16 02:33:47,024 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-01-16 02:33:47,024 - 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-01-16 02:33:47,283 - DEBUG - Nothing to compare xmpp stats {'10.0.0.24': {'10.20.0.23': '0'}} with
2025-01-16 02:33:47,284 - INFO - Initial checks done. Running the testcase now
2025-01-16 02:33:47,284 - INFO -
2025-01-16 02:33:48,090 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-80870771
2025-01-16 02:33:48,192 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-80870771
2025-01-16 02:33:48,552 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-80870771', 'default']}
2025-01-16 02:33:48,894 - DEBUG - Response for create_network : {'network': {'id': '5923bb43-2045-4a81-b7ec-cd64da0b53f1', 'name': 'ctest-vn-05879388', 'tenant_id': '6bbc4b94f3cc488494542bb85020a6ea', 'project_id': '6bbc4b94f3cc488494542bb85020a6ea', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-80870771', 'ctest-vn-05879388'], 'port_security_enabled': True, 'description': ''}}
2025-01-16 02:33:49,113 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a613e05d-15af-4310-b374-b8bf4780c7bf', 'name': '', 'tenant_id': '6bbc4b94f3cc488494542bb85020a6ea', 'network_id': '5923bb43-2045-4a81-b7ec-cd64da0b53f1', 'ip_version': 4, 'cidr': '60.110.143.0/26', 'allocation_pools': [{'start': '60.110.143.2', 'end': '60.110.143.62'}], 'gateway_ip': '60.110.143.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '60.110.143.2', 'tags': [], 'project_id': '6bbc4b94f3cc488494542bb85020a6ea'}}
2025-01-16 02:33:49,136 - INFO - Created VN ctest-vn-05879388
2025-01-16 02:33:49,196 - DEBUG - VN ctest-vn-05879388 UUID is 5923bb43-2045-4a81-b7ec-cd64da0b53f1
2025-01-16 02:33:49,564 - DEBUG - Response for create_network : {'network': {'id': 'ae4cc0e5-a90d-48d2-8f93-b5d6312b1116', 'name': 'ctest-ext_vn-36140168', 'tenant_id': '6bbc4b94f3cc488494542bb85020a6ea', 'project_id': '6bbc4b94f3cc488494542bb85020a6ea', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-80870771', 'ctest-ext_vn-36140168'], 'port_security_enabled': True, 'description': ''}}
2025-01-16 02:33:49,760 - DEBUG - Response for create_subnet : {'subnet': {'id': '97443e8b-789f-4b8a-993a-778cca9ccf16', 'name': '', 'tenant_id': '6bbc4b94f3cc488494542bb85020a6ea', 'network_id': 'ae4cc0e5-a90d-48d2-8f93-b5d6312b1116', 'ip_version': 4, 'cidr': '60.96.37.192/26', 'allocation_pools': [{'start': '60.96.37.194', 'end': '60.96.37.254'}], 'gateway_ip': '60.96.37.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '60.96.37.194', 'tags': [], 'project_id': '6bbc4b94f3cc488494542bb85020a6ea'}}
2025-01-16 02:33:49,783 - INFO - Created VN ctest-ext_vn-36140168
2025-01-16 02:33:49,840 - DEBUG - VN ctest-ext_vn-36140168 UUID is ae4cc0e5-a90d-48d2-8f93-b5d6312b1116
2025-01-16 02:33:50,195 - DEBUG - Services list from nova: [, , ]
2025-01-16 02:33:51,308 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2649-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2649-1)
2025-01-16 02:33:52,541 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2649-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2649-1)
2025-01-16 02:33:52,633 - INFO - Setting gateway for router 4df2ac94-02fb-419a-b8dd-75f2baf8cc6c to network ae4cc0e5-a90d-48d2-8f93-b5d6312b1116
2025-01-16 02:33:52,698 - INFO - Adding interface with subnet_id a613e05d-15af-4310-b374-b8bf4780c7bf, port_id None to router 4df2ac94-02fb-419a-b8dd-75f2baf8cc6c
2025-01-16 02:33:53,236 - INFO - Waiting for VM ctest-TestRoutersBasic-80870771-33527646 to be up..
2025-01-16 02:33:53,384 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-16 02:33:58,472 - DEBUG - VM is in ACTIVE state now
2025-01-16 02:33:58,472 - INFO - VM name : ctest-TestRoutersBasic-80870771-33527646
2025-01-16 02:33:58,560 - DEBUG - VM ctest-TestRoutersBasic-80870771-33527646 ID is 1a96b900-ffe8-4c6b-a283-603b8ac66ba3
2025-01-16 02:33:58,584 - DEBUG - VM ctest-TestRoutersBasic-80870771-33527646 launched on Node cn-jenkins-deploy-platform-ansible-os-2649-1
2025-01-16 02:33:58,675 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/1a96b900-ffe8-4c6b-a283-603b8ac66ba3
2025-01-16 02:33:59,017 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/1a96b900-ffe8-4c6b-a283-603b8ac66ba3
2025-01-16 02:33:59,053 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/606c4f81-c9c2-435d-9550-ad45ca91b9d2
2025-01-16 02:34:02,312 - 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 1010ms')
2025-01-16 02:34:02,312 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-80870771-33527646 failed!
2025-01-16 02:34:02,372 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-80870771:ctest-vn-05879388 is 60.110.143.1 and allocation pool is NOT set
2025-01-16 02:34:04,435 - 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.41 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.435 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 = 0.435/1.924/3.413/1.489 ms')
2025-01-16 02:34:04,435 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-80870771-33527646 passed
2025-01-16 02:34:04,588 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-16 02:34:04,588 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-80870771-33527646, IP 60.110.143.3, Port 22
2025-01-16 02:34:04,743 - DEBUG - VM ctest-TestRoutersBasic-80870771-33527646 is ready for SSH connections
2025-01-16 02:34:04,744 - INFO - Waiting for VM ctest-TestRoutersBasic-80870771-75045429 to be up..
2025-01-16 02:34:04,828 - DEBUG - VM is in ACTIVE state now
2025-01-16 02:34:04,828 - INFO - VM name : ctest-TestRoutersBasic-80870771-75045429
2025-01-16 02:34:04,905 - DEBUG - VM ctest-TestRoutersBasic-80870771-75045429 ID is 5421d384-1958-4fb5-ba5b-91fbd24dd01b
2025-01-16 02:34:04,905 - DEBUG - VM ctest-TestRoutersBasic-80870771-75045429 launched on Node cn-jenkins-deploy-platform-ansible-os-2649-1
2025-01-16 02:34:04,981 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/5421d384-1958-4fb5-ba5b-91fbd24dd01b
2025-01-16 02:34:04,990 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/868e6b2c-f649-42b4-8d05-805ee56457ff
2025-01-16 02:34:06,235 - 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.21 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.20 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 = 1.199/3.204/5.210/2.005 ms')
2025-01-16 02:34:06,235 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-80870771-75045429 passed
2025-01-16 02:34:06,388 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-16 02:34:06,388 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-80870771-75045429, IP 60.96.37.195, Port 22
2025-01-16 02:34:06,543 - DEBUG - VM ctest-TestRoutersBasic-80870771-75045429 is ready for SSH connections
2025-01-16 02:34:06,544 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-16 02:34:06,544 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 60.96.37.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.24, gateway password: c0ntrail123
2025-01-16 02:34:06,544 - DEBUG - ping -s 56 -c 3 -W 1 60.96.37.195
2025-01-16 02:34:10,649 - DEBUG - PING 60.96.37.195 (60.96.37.195): 56 data bytes
64 bytes from 60.96.37.195: seq=0 ttl=62 time=6.025 ms
64 bytes from 60.96.37.195: seq=1 ttl=62 time=1.026 ms
64 bytes from 60.96.37.195: seq=2 ttl=62 time=1.008 ms
--- 60.96.37.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.008/2.686/6.025 ms
2025-01-16 02:34:10,649 - INFO - Ping to IP 60.96.37.195 from VM ctest-TestRoutersBasic-80870771-33527646 passed
2025-01-16 02:34:10,649 - INFO - Deleting interface with subnet_id a613e05d-15af-4310-b374-b8bf4780c7bf, port_id None from router 4df2ac94-02fb-419a-b8dd-75f2baf8cc6c
2025-01-16 02:34:10,925 - INFO - Deleting VM ctest-TestRoutersBasic-80870771-75045429
2025-01-16 02:34:11,013 - INFO - Deleting VM ctest-TestRoutersBasic-80870771-33527646
2025-01-16 02:34:11,104 - INFO - Deleting VN ctest-ext_vn-36140168
2025-01-16 02:34:11,216 - DEBUG - VN ae4cc0e5-a90d-48d2-8f93-b5d6312b1116 still in use: Unable to complete operation on network ae4cc0e5-a90d-48d2-8f93-b5d6312b1116. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-ce725d85-ed6e-4a4f-b285-e7a0b4ffed84']
2025-01-16 02:34:11,216 - WARNING - Deleting VN ctest-ext_vn-36140168 failed..Will retry
2025-01-16 02:34:13,367 - DEBUG - Response for deleting network ()
2025-01-16 02:34:13,367 - INFO - Deleting VN ctest-vn-05879388
2025-01-16 02:34:13,514 - DEBUG - Response for deleting network ()
2025-01-16 02:34:13,783 - DEBUG - No XMPP flaps were noticed during the test
2025-01-16 02:34:13,783 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-01-16 02:34:13,783 - INFO - --------------------------------------------------------------------------------
2025-01-16 02:34:14,542 - INFO - Deleted project: ctest-TestRoutersBasic-80870771, ID : 6bbc4b94-f3cc-4884-9454-2bb85020a6ea