2025-02-13 02:37:29,351 - INFO - Domain Default found not creating 2025-02-13 02:37:29,524 - INFO - Project ctest-TestRoutersBasic-33056102 not found, creating it 2025-02-13 02:37:29,983 - INFO - Created Project:ctest-TestRoutersBasic-33056102, ID : fc3965a7-2655-4285-a2c8-7f6389367f18 2025-02-13 02:37:31,494 - INFO - ================================================================================ 2025-02-13 02:37:31,494 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-02-13 02:37:31,495 - 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-02-13 02:37:31,753 - DEBUG - Nothing to compare xmpp stats {'10.0.0.30': {'10.20.0.5': '0'}} with 2025-02-13 02:37:31,753 - INFO - Initial checks done. Running the testcase now 2025-02-13 02:37:31,753 - INFO - 2025-02-13 02:37:32,446 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-33056102 2025-02-13 02:37:32,540 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-33056102 2025-02-13 02:37:32,855 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-33056102', 'default']} 2025-02-13 02:37:33,146 - DEBUG - Response for create_network : {'network': {'id': '8ace1510-d600-4194-9ae3-646ff44b7126', 'name': 'ctest-vn-74492236', 'tenant_id': 'fc3965a726554285a2c87f6389367f18', 'project_id': 'fc3965a726554285a2c87f6389367f18', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-33056102', 'ctest-vn-74492236'], 'port_security_enabled': True, 'description': ''}} 2025-02-13 02:37:33,311 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a74536b0-0e4b-4d56-aa11-1081b9f9ce29', 'name': '', 'tenant_id': 'fc3965a726554285a2c87f6389367f18', 'network_id': '8ace1510-d600-4194-9ae3-646ff44b7126', 'ip_version': 4, 'cidr': '68.7.9.0/26', 'allocation_pools': [{'start': '68.7.9.2', 'end': '68.7.9.62'}], 'gateway_ip': '68.7.9.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '68.7.9.2', 'tags': [], 'project_id': 'fc3965a726554285a2c87f6389367f18'}} 2025-02-13 02:37:33,327 - INFO - Created VN ctest-vn-74492236 2025-02-13 02:37:33,380 - DEBUG - VN ctest-vn-74492236 UUID is 8ace1510-d600-4194-9ae3-646ff44b7126 2025-02-13 02:37:33,680 - DEBUG - Response for create_network : {'network': {'id': '364f4b99-e4eb-49d5-94fe-050cd40ddad8', 'name': 'ctest-ext_vn-37170482', 'tenant_id': 'fc3965a726554285a2c87f6389367f18', 'project_id': 'fc3965a726554285a2c87f6389367f18', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-33056102', 'ctest-ext_vn-37170482'], 'port_security_enabled': True, 'description': ''}} 2025-02-13 02:37:33,864 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b6c209b7-a8e7-419d-98b4-3d94b4fd3ad3', 'name': '', 'tenant_id': 'fc3965a726554285a2c87f6389367f18', 'network_id': '364f4b99-e4eb-49d5-94fe-050cd40ddad8', 'ip_version': 4, 'cidr': '8.16.46.192/26', 'allocation_pools': [{'start': '8.16.46.194', 'end': '8.16.46.254'}], 'gateway_ip': '8.16.46.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '8.16.46.194', 'tags': [], 'project_id': 'fc3965a726554285a2c87f6389367f18'}} 2025-02-13 02:37:33,882 - INFO - Created VN ctest-ext_vn-37170482 2025-02-13 02:37:33,936 - DEBUG - VN ctest-ext_vn-37170482 UUID is 364f4b99-e4eb-49d5-94fe-050cd40ddad8 2025-02-13 02:37:34,107 - DEBUG - Services list from nova: [, , ] 2025-02-13 02:37:35,095 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2730-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2730-1) 2025-02-13 02:37:36,164 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2730-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2730-1) 2025-02-13 02:37:36,228 - INFO - Setting gateway for router eec9abcf-6848-4d42-9cf3-b02d1a33d2aa to network 364f4b99-e4eb-49d5-94fe-050cd40ddad8 2025-02-13 02:37:36,302 - INFO - Adding interface with subnet_id a74536b0-0e4b-4d56-aa11-1081b9f9ce29, port_id None to router eec9abcf-6848-4d42-9cf3-b02d1a33d2aa 2025-02-13 02:37:36,711 - INFO - Waiting for VM ctest-TestRoutersBasic-33056102-54552128 to be up.. 2025-02-13 02:37:36,931 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-13 02:37:42,006 - DEBUG - VM is in ACTIVE state now 2025-02-13 02:37:42,006 - INFO - VM name : ctest-TestRoutersBasic-33056102-54552128 2025-02-13 02:37:42,082 - DEBUG - VM ctest-TestRoutersBasic-33056102-54552128 ID is baf87abc-c14e-47ed-a423-48f9d6b673b4 2025-02-13 02:37:42,099 - DEBUG - VM ctest-TestRoutersBasic-33056102-54552128 launched on Node cn-jenkins-deploy-platform-ansible-os-2730-1 2025-02-13 02:37:42,172 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/baf87abc-c14e-47ed-a423-48f9d6b673b4 2025-02-13 02:37:42,468 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/baf87abc-c14e-47ed-a423-48f9d6b673b4 2025-02-13 02:37:42,498 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/5b40e511-adbb-41b3-9160-515548069c67 2025-02-13 02:37:45,741 - 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 1003ms') 2025-02-13 02:37:45,741 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-33056102-54552128 failed! 2025-02-13 02:37:45,796 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-33056102:ctest-vn-74492236 is 68.7.9.1 and allocation pool is NOT set 2025-02-13 02:37:47,862 - 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.03 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.495 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.495/1.764/3.034/1.269 ms') 2025-02-13 02:37:47,862 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-33056102-54552128 passed 2025-02-13 02:37:48,012 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-13 02:37:48,012 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-33056102-54552128, IP 68.7.9.3, Port 22 2025-02-13 02:37:48,167 - DEBUG - VM ctest-TestRoutersBasic-33056102-54552128 is ready for SSH connections 2025-02-13 02:37:48,168 - INFO - Waiting for VM ctest-TestRoutersBasic-33056102-37707126 to be up.. 2025-02-13 02:37:48,243 - DEBUG - VM is in ACTIVE state now 2025-02-13 02:37:48,243 - INFO - VM name : ctest-TestRoutersBasic-33056102-37707126 2025-02-13 02:37:48,312 - DEBUG - VM ctest-TestRoutersBasic-33056102-37707126 ID is e55e2f09-e04d-4188-9cf7-a2babcd0db30 2025-02-13 02:37:48,312 - DEBUG - VM ctest-TestRoutersBasic-33056102-37707126 launched on Node cn-jenkins-deploy-platform-ansible-os-2730-1 2025-02-13 02:37:48,380 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/e55e2f09-e04d-4188-9cf7-a2babcd0db30 2025-02-13 02:37:48,389 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/16756b89-a606-4f4b-a4e9-3cbf6593a7b2 2025-02-13 02:37:49,620 - 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=2.80 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.430 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 = 0.430/1.616/2.803/1.186 ms') 2025-02-13 02:37:49,621 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-33056102-37707126 passed 2025-02-13 02:37:49,772 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-13 02:37:49,772 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-33056102-37707126, IP 8.16.46.195, Port 22 2025-02-13 02:37:49,932 - DEBUG - VM ctest-TestRoutersBasic-33056102-37707126 is ready for SSH connections 2025-02-13 02:37:49,932 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-13 02:37:49,932 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 8.16.46.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.30, gateway password: c0ntrail123 2025-02-13 02:37:49,932 - DEBUG - ping -s 56 -c 3 -W 1 8.16.46.195 2025-02-13 02:37:53,602 - DEBUG - PING 8.16.46.195 (8.16.46.195): 56 data bytes 64 bytes from 8.16.46.195: seq=0 ttl=62 time=6.719 ms 64 bytes from 8.16.46.195: seq=1 ttl=62 time=0.782 ms 64 bytes from 8.16.46.195: seq=2 ttl=62 time=0.980 ms --- 8.16.46.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.782/2.827/6.719 ms 2025-02-13 02:37:53,603 - INFO - Ping to IP 8.16.46.195 from VM ctest-TestRoutersBasic-33056102-54552128 passed 2025-02-13 02:37:53,603 - INFO - Deleting interface with subnet_id a74536b0-0e4b-4d56-aa11-1081b9f9ce29, port_id None from router eec9abcf-6848-4d42-9cf3-b02d1a33d2aa 2025-02-13 02:37:53,802 - INFO - Deleting VM ctest-TestRoutersBasic-33056102-37707126 2025-02-13 02:37:53,867 - INFO - Deleting VM ctest-TestRoutersBasic-33056102-54552128 2025-02-13 02:37:53,963 - INFO - Deleting VN ctest-ext_vn-37170482 2025-02-13 02:37:54,028 - DEBUG - VN 364f4b99-e4eb-49d5-94fe-050cd40ddad8 still in use: Unable to complete operation on network 364f4b99-e4eb-49d5-94fe-050cd40ddad8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0a2f8f23-3c18-46a0-810c-093ba3873c88'] 2025-02-13 02:37:54,028 - WARNING - Deleting VN ctest-ext_vn-37170482 failed..Will retry 2025-02-13 02:37:56,126 - DEBUG - Response for deleting network () 2025-02-13 02:37:56,126 - INFO - Deleting VN ctest-vn-74492236 2025-02-13 02:37:56,225 - DEBUG - Response for deleting network () 2025-02-13 02:37:56,482 - DEBUG - No XMPP flaps were noticed during the test
2025-02-13 02:37:56,482 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-02-13 02:37:56,482 - INFO - -------------------------------------------------------------------------------- 2025-02-13 02:37:57,160 - INFO - Deleted project: ctest-TestRoutersBasic-33056102, ID : fc3965a7-2655-4285-a2c8-7f6389367f18