2025-11-20 02:12:30,226 - INFO - Domain Default found not creating 2025-11-20 02:12:30,374 - INFO - Project ctest-TestRoutersBasic-05636214 not found, creating it 2025-11-20 02:12:30,893 - INFO - Created Project:ctest-TestRoutersBasic-05636214, ID : 7d449457-7556-4b81-b02b-e5efcbacdcbb 2025-11-20 02:12:32,390 - INFO - ================================================================================ 2025-11-20 02:12:32,391 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-20 02:12:32,391 - 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-11-20 02:12:33,650 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.201': '0', '10.20.0.129': '0'}, '10.0.0.48': {'10.20.0.201': '0', '10.20.0.129': '0'}} with 2025-11-20 02:12:33,650 - INFO - Initial checks done. Running the testcase now 2025-11-20 02:12:33,650 - INFO - 2025-11-20 02:12:34,433 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-05636214 2025-11-20 02:12:34,494 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-05636214 2025-11-20 02:12:34,793 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-05636214', 'default']} 2025-11-20 02:12:35,253 - DEBUG - Response for create_network : {'network': {'id': 'd5e9d98d-bf90-4c66-bb77-08f0c4f6e901', 'name': 'ctest-vn-35494048', 'tenant_id': '7d44945775564b81b02be5efcbacdcbb', 'project_id': '7d44945775564b81b02be5efcbacdcbb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-05636214', 'ctest-vn-35494048'], 'port_security_enabled': True, 'description': ''}} 2025-11-20 02:12:35,546 - DEBUG - Response for create_subnet : {'subnet': {'id': '6a40754d-eaa2-4b35-9645-b452466c75a6', 'name': '', 'tenant_id': '7d44945775564b81b02be5efcbacdcbb', 'network_id': 'd5e9d98d-bf90-4c66-bb77-08f0c4f6e901', 'ip_version': 4, 'cidr': '46.200.35.0/26', 'allocation_pools': [{'start': '46.200.35.2', 'end': '46.200.35.62'}], 'gateway_ip': '46.200.35.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '46.200.35.2', 'tags': [], 'project_id': '7d44945775564b81b02be5efcbacdcbb'}} 2025-11-20 02:12:35,570 - INFO - Created VN ctest-vn-35494048 2025-11-20 02:12:35,582 - DEBUG - VN ctest-vn-35494048 UUID is d5e9d98d-bf90-4c66-bb77-08f0c4f6e901 2025-11-20 02:12:36,013 - DEBUG - Response for create_network : {'network': {'id': '412e35fe-54f8-485e-a1b8-be2c98c8c4d1', 'name': 'ctest-ext_vn-46452209', 'tenant_id': '7d44945775564b81b02be5efcbacdcbb', 'project_id': '7d44945775564b81b02be5efcbacdcbb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-05636214', 'ctest-ext_vn-46452209'], 'port_security_enabled': True, 'description': ''}} 2025-11-20 02:12:36,258 - DEBUG - Response for create_subnet : {'subnet': {'id': '9d66b19d-fb6c-4244-a52b-b2568a7ad17c', 'name': '', 'tenant_id': '7d44945775564b81b02be5efcbacdcbb', 'network_id': '412e35fe-54f8-485e-a1b8-be2c98c8c4d1', 'ip_version': 4, 'cidr': '79.49.196.128/26', 'allocation_pools': [{'start': '79.49.196.130', 'end': '79.49.196.190'}], 'gateway_ip': '79.49.196.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '79.49.196.130', 'tags': [], 'project_id': '7d44945775564b81b02be5efcbacdcbb'}} 2025-11-20 02:12:36,283 - INFO - Created VN ctest-ext_vn-46452209 2025-11-20 02:12:36,297 - DEBUG - VN ctest-ext_vn-46452209 UUID is 412e35fe-54f8-485e-a1b8-be2c98c8c4d1 2025-11-20 02:12:36,422 - DEBUG - Services list from nova: [, , , ] 2025-11-20 02:12:37,484 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4768-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4768-2) 2025-11-20 02:12:38,753 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4768-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4768-1) 2025-11-20 02:12:38,855 - INFO - Setting gateway for router 2d2510b4-88b9-4bfc-bc53-1193dc6c777a to network 412e35fe-54f8-485e-a1b8-be2c98c8c4d1 2025-11-20 02:12:38,973 - INFO - Adding interface with subnet_id 6a40754d-eaa2-4b35-9645-b452466c75a6, port_id None to router 2d2510b4-88b9-4bfc-bc53-1193dc6c777a 2025-11-20 02:12:39,463 - INFO - Waiting for VM ctest-TestRoutersBasic-05636214-49312451 to be up.. 2025-11-20 02:12:39,622 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-20 02:12:44,698 - DEBUG - VM is in ACTIVE state now 2025-11-20 02:12:44,698 - INFO - VM name : ctest-TestRoutersBasic-05636214-49312451 2025-11-20 02:12:44,784 - DEBUG - VM ctest-TestRoutersBasic-05636214-49312451 ID is cad72696-21b9-4c80-83f3-5e62d8a5edb3 2025-11-20 02:12:44,815 - DEBUG - VM ctest-TestRoutersBasic-05636214-49312451 launched on Node an-jenkins-deploy-platform-ansible-os-4768-2 2025-11-20 02:12:44,910 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/cad72696-21b9-4c80-83f3-5e62d8a5edb3 2025-11-20 02:12:45,214 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/cad72696-21b9-4c80-83f3-5e62d8a5edb3 2025-11-20 02:12:45,259 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/c707d9dd-630f-419a-8384-739f3a75ea6c 2025-11-20 02:12:48,448 - 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 1031ms') 2025-11-20 02:12:48,448 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-05636214-49312451 failed! 2025-11-20 02:12:48,464 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-05636214:ctest-vn-35494048 is 46.200.35.1 and allocation pool is NOT set 2025-11-20 02:12:50,527 - 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=2.82 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.426 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.426/1.621/2.816/1.195 ms') 2025-11-20 02:12:50,527 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-05636214-49312451 passed 2025-11-20 02:12:50,597 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 02:12:50,597 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-05636214-49312451, IP 46.200.35.3, Port 22 2025-11-20 02:12:50,766 - DEBUG - VM ctest-TestRoutersBasic-05636214-49312451 is ready for SSH connections 2025-11-20 02:12:50,766 - INFO - Waiting for VM ctest-TestRoutersBasic-05636214-88030817 to be up.. 2025-11-20 02:12:50,844 - DEBUG - VM is in ACTIVE state now 2025-11-20 02:12:50,844 - INFO - VM name : ctest-TestRoutersBasic-05636214-88030817 2025-11-20 02:12:50,928 - DEBUG - VM ctest-TestRoutersBasic-05636214-88030817 ID is 4080ae24-e153-4a7c-8993-1d24da148486 2025-11-20 02:12:50,928 - DEBUG - VM ctest-TestRoutersBasic-05636214-88030817 launched on Node an-jenkins-deploy-platform-ansible-os-4768-1 2025-11-20 02:12:51,010 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/4080ae24-e153-4a7c-8993-1d24da148486 2025-11-20 02:12:51,032 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/068ecbf4-fea8-47c0-8fab-d4cc88a885c8 2025-11-20 02:12:52,202 - 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=7.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.572 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.572/4.159/7.746/3.587 ms') 2025-11-20 02:12:52,202 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-05636214-88030817 passed 2025-11-20 02:12:52,272 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 02:12:52,272 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-05636214-88030817, IP 79.49.196.131, Port 22 2025-11-20 02:12:52,439 - DEBUG - VM ctest-TestRoutersBasic-05636214-88030817 is ready for SSH connections 2025-11-20 02:12:52,440 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 02:12:52,440 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 79.49.196.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-11-20 02:12:52,440 - DEBUG - ping -s 56 -c 3 -W 1 79.49.196.131 2025-11-20 02:12:56,097 - DEBUG - PING 79.49.196.131 (79.49.196.131): 56 data bytes 64 bytes from 79.49.196.131: seq=0 ttl=62 time=10.374 ms 64 bytes from 79.49.196.131: seq=1 ttl=62 time=1.320 ms 64 bytes from 79.49.196.131: seq=2 ttl=62 time=1.200 ms --- 79.49.196.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.200/4.298/10.374 ms 2025-11-20 02:12:56,097 - INFO - Ping to IP 79.49.196.131 from VM ctest-TestRoutersBasic-05636214-49312451 passed 2025-11-20 02:12:56,097 - INFO - Deleting interface with subnet_id 6a40754d-eaa2-4b35-9645-b452466c75a6, port_id None from router 2d2510b4-88b9-4bfc-bc53-1193dc6c777a 2025-11-20 02:12:56,449 - INFO - Deleting VM ctest-TestRoutersBasic-05636214-88030817 2025-11-20 02:12:56,541 - INFO - Deleting VM ctest-TestRoutersBasic-05636214-49312451 2025-11-20 02:12:56,648 - INFO - Deleting VN ctest-ext_vn-46452209 2025-11-20 02:12:56,768 - DEBUG - VN 412e35fe-54f8-485e-a1b8-be2c98c8c4d1 still in use: Unable to complete operation on network 412e35fe-54f8-485e-a1b8-be2c98c8c4d1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ec73e4b0-d693-4332-ac0a-7b844e4b8fd7'] 2025-11-20 02:12:56,769 - WARNING - Deleting VN ctest-ext_vn-46452209 failed..Will retry 2025-11-20 02:12:58,916 - DEBUG - Response for deleting network () 2025-11-20 02:12:58,916 - INFO - Deleting VN ctest-vn-35494048 2025-11-20 02:12:59,102 - DEBUG - Response for deleting network () 2025-11-20 02:13:00,370 - DEBUG - No XMPP flaps were noticed during the test 2025-11-20 02:13:00,370 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:28] 2025-11-20 02:13:00,370 - INFO - -------------------------------------------------------------------------------- 2025-11-20 02:13:01,096 - INFO - Deleted project: ctest-TestRoutersBasic-05636214, ID : 7d449457-7556-4b81-b02b-e5efcbacdcbb