2025-04-03 16:50:53,956 - INFO - Domain Default found not creating
2025-04-03 16:50:54,242 - INFO - Project ctest-TestRoutersBasic-88806749 not found, creating it
2025-04-03 16:50:54,758 - INFO - Created Project:ctest-TestRoutersBasic-88806749, ID : 5f152339-21b5-4525-b698-8c20caa2c021
2025-04-03 16:50:56,300 - INFO - ================================================================================
2025-04-03 16:50:56,300 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-04-03 16:50:56,300 - 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-04-03 16:50:56,574 - DEBUG - Nothing to compare xmpp stats {'10.0.0.31': {'10.20.0.10': '0'}} with
2025-04-03 16:50:56,574 - INFO - Initial checks done. Running the testcase now
2025-04-03 16:50:56,575 - INFO -
2025-04-03 16:50:57,400 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-88806749
2025-04-03 16:50:57,497 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-88806749
2025-04-03 16:50:57,829 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88806749', 'default']}
2025-04-03 16:50:58,186 - DEBUG - Response for create_network : {'network': {'id': '13179174-1dca-4244-a6ce-a4000fcc7eb8', 'name': 'ctest-vn-50567996', 'tenant_id': '5f15233921b54525b6988c20caa2c021', 'project_id': '5f15233921b54525b6988c20caa2c021', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88806749', 'ctest-vn-50567996'], 'port_security_enabled': True, 'description': ''}}
2025-04-03 16:50:58,424 - DEBUG - Response for create_subnet : {'subnet': {'id': '67a94478-9062-49c1-8f7f-2879ce52ed27', 'name': '', 'tenant_id': '5f15233921b54525b6988c20caa2c021', 'network_id': '13179174-1dca-4244-a6ce-a4000fcc7eb8', 'ip_version': 4, 'cidr': '172.212.61.0/26', 'allocation_pools': [{'start': '172.212.61.2', 'end': '172.212.61.62'}], 'gateway_ip': '172.212.61.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '172.212.61.2', 'tags': [], 'project_id': '5f15233921b54525b6988c20caa2c021'}}
2025-04-03 16:50:58,446 - INFO - Created VN ctest-vn-50567996
2025-04-03 16:50:58,501 - DEBUG - VN ctest-vn-50567996 UUID is 13179174-1dca-4244-a6ce-a4000fcc7eb8
2025-04-03 16:50:58,921 - DEBUG - Response for create_network : {'network': {'id': '4f6539cd-c324-46f1-86b3-d5798cfed90f', 'name': 'ctest-ext_vn-33719522', 'tenant_id': '5f15233921b54525b6988c20caa2c021', 'project_id': '5f15233921b54525b6988c20caa2c021', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88806749', 'ctest-ext_vn-33719522'], 'port_security_enabled': True, 'description': ''}}
2025-04-03 16:50:59,134 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd4061e9d-061f-49e1-8e82-21617c6dc027', 'name': '', 'tenant_id': '5f15233921b54525b6988c20caa2c021', 'network_id': '4f6539cd-c324-46f1-86b3-d5798cfed90f', 'ip_version': 4, 'cidr': '47.130.26.192/26', 'allocation_pools': [{'start': '47.130.26.194', 'end': '47.130.26.254'}], 'gateway_ip': '47.130.26.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '47.130.26.194', 'tags': [], 'project_id': '5f15233921b54525b6988c20caa2c021'}}
2025-04-03 16:50:59,154 - INFO - Created VN ctest-ext_vn-33719522
2025-04-03 16:50:59,209 - DEBUG - VN ctest-ext_vn-33719522 UUID is 4f6539cd-c324-46f1-86b3-d5798cfed90f
2025-04-03 16:50:59,452 - DEBUG - Services list from nova: [, , ]
2025-04-03 16:51:00,704 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3029-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3029-1)
2025-04-03 16:51:01,950 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3029-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3029-1)
2025-04-03 16:51:02,026 - INFO - Setting gateway for router c9e8449a-f309-4fcf-903f-fca5049722dd to network 4f6539cd-c324-46f1-86b3-d5798cfed90f
2025-04-03 16:51:02,095 - INFO - Adding interface with subnet_id 67a94478-9062-49c1-8f7f-2879ce52ed27, port_id None to router c9e8449a-f309-4fcf-903f-fca5049722dd
2025-04-03 16:51:02,697 - INFO - Waiting for VM ctest-TestRoutersBasic-88806749-37122345 to be up..
2025-04-03 16:51:02,866 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-04-03 16:51:07,952 - DEBUG - VM is in ACTIVE state now
2025-04-03 16:51:07,952 - INFO - VM name : ctest-TestRoutersBasic-88806749-37122345
2025-04-03 16:51:08,029 - DEBUG - VM ctest-TestRoutersBasic-88806749-37122345 ID is 1f538d3e-8efd-4441-91fd-f74aa1045d12
2025-04-03 16:51:08,047 - DEBUG - VM ctest-TestRoutersBasic-88806749-37122345 launched on Node cn-jenkins-deploy-platform-ansible-os-3029-1
2025-04-03 16:51:08,128 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/1f538d3e-8efd-4441-91fd-f74aa1045d12
2025-04-03 16:51:08,432 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/1f538d3e-8efd-4441-91fd-f74aa1045d12
2025-04-03 16:51:08,475 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/8f1a778e-e197-4f99-9b49-1db7ce948a86
2025-04-03 16:51:11,734 - 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')
2025-04-03 16:51:11,734 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-88806749-37122345 failed!
2025-04-03 16:51:11,793 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-88806749:ctest-vn-50567996 is 172.212.61.1 and allocation pool is NOT set
2025-04-03 16:51:13,863 - 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.07 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.20 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.196/2.132/3.068/0.936 ms')
2025-04-03 16:51:13,863 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-88806749-37122345 passed
2025-04-03 16:51:14,021 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-03 16:51:14,021 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-88806749-37122345, IP 172.212.61.3, Port 22
2025-04-03 16:51:14,187 - DEBUG - VM ctest-TestRoutersBasic-88806749-37122345 is ready for SSH connections
2025-04-03 16:51:14,187 - INFO - Waiting for VM ctest-TestRoutersBasic-88806749-24599301 to be up..
2025-04-03 16:51:14,286 - DEBUG - VM is in ACTIVE state now
2025-04-03 16:51:14,286 - INFO - VM name : ctest-TestRoutersBasic-88806749-24599301
2025-04-03 16:51:14,377 - DEBUG - VM ctest-TestRoutersBasic-88806749-24599301 ID is 3807b461-673f-479e-aed6-9ba245372f58
2025-04-03 16:51:14,377 - DEBUG - VM ctest-TestRoutersBasic-88806749-24599301 launched on Node cn-jenkins-deploy-platform-ansible-os-3029-1
2025-04-03 16:51:14,467 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/3807b461-673f-479e-aed6-9ba245372f58
2025-04-03 16:51:14,479 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/e84a8582-2aed-4d7f-bbe4-6ab6a9488abd
2025-04-03 16:51:15,745 - 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.66 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.842 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.842/2.251/3.661/1.409 ms')
2025-04-03 16:51:15,745 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-88806749-24599301 passed
2025-04-03 16:51:15,901 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-03 16:51:15,901 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-88806749-24599301, IP 47.130.26.195, Port 22
2025-04-03 16:51:16,073 - DEBUG - VM ctest-TestRoutersBasic-88806749-24599301 is ready for SSH connections
2025-04-03 16:51:16,073 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-03 16:51:16,074 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 47.130.26.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.31, gateway password: c0ntrail123
2025-04-03 16:51:16,074 - DEBUG - ping -s 56 -c 3 -W 1 47.130.26.195
2025-04-03 16:51:20,161 - DEBUG - PING 47.130.26.195 (47.130.26.195): 56 data bytes
64 bytes from 47.130.26.195: seq=0 ttl=62 time=8.061 ms
64 bytes from 47.130.26.195: seq=1 ttl=62 time=1.007 ms
64 bytes from 47.130.26.195: seq=2 ttl=62 time=1.329 ms
--- 47.130.26.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.007/3.465/8.061 ms
2025-04-03 16:51:20,162 - INFO - Ping to IP 47.130.26.195 from VM ctest-TestRoutersBasic-88806749-37122345 passed
2025-04-03 16:51:20,162 - INFO - Deleting interface with subnet_id 67a94478-9062-49c1-8f7f-2879ce52ed27, port_id None from router c9e8449a-f309-4fcf-903f-fca5049722dd
2025-04-03 16:51:20,413 - INFO - Deleting VM ctest-TestRoutersBasic-88806749-24599301
2025-04-03 16:51:20,494 - INFO - Deleting VM ctest-TestRoutersBasic-88806749-37122345
2025-04-03 16:51:20,582 - INFO - Deleting VN ctest-ext_vn-33719522
2025-04-03 16:51:20,665 - DEBUG - VN 4f6539cd-c324-46f1-86b3-d5798cfed90f still in use: Unable to complete operation on network 4f6539cd-c324-46f1-86b3-d5798cfed90f. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-f5feca21-30ca-4086-813e-25d70032f260']
2025-04-03 16:51:20,665 - WARNING - Deleting VN ctest-ext_vn-33719522 failed..Will retry
2025-04-03 16:51:22,831 - DEBUG - Response for deleting network ()
2025-04-03 16:51:22,831 - INFO - Deleting VN ctest-vn-50567996
2025-04-03 16:51:22,990 - DEBUG - Response for deleting network ()
2025-04-03 16:51:23,260 - DEBUG - No XMPP flaps were noticed during the test
2025-04-03 16:51:23,260 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2025-04-03 16:51:23,260 - INFO - --------------------------------------------------------------------------------
2025-04-03 16:51:24,000 - INFO - Deleted project: ctest-TestRoutersBasic-88806749, ID : 5f152339-21b5-4525-b698-8c20caa2c021