2025-06-10 21:23:07,639 - INFO - Domain Default found not creating 2025-06-10 21:23:07,793 - INFO - Project ctest-TestRoutersBasic-12236371 not found, creating it 2025-06-10 21:23:08,250 - INFO - Created Project:ctest-TestRoutersBasic-12236371, ID : a9da5f8b-7236-4d32-b1c5-1c99b517e2d3 2025-06-10 21:23:09,660 - INFO - ================================================================================ 2025-06-10 21:23:09,660 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-10 21:23:09,660 - 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-06-10 21:23:09,919 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-06-10 21:23:09,919 - INFO - Initial checks done. Running the testcase now 2025-06-10 21:23:09,919 - INFO - 2025-06-10 21:23:10,609 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-12236371 2025-06-10 21:23:10,709 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-12236371 2025-06-10 21:23:11,045 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-12236371', 'default']} 2025-06-10 21:23:11,367 - DEBUG - Response for create_network : {'network': {'id': '7babfa79-7bc4-4b33-918b-8e8b4455f1e9', 'name': 'ctest-vn-90911128', 'tenant_id': 'a9da5f8b72364d32b1c51c99b517e2d3', 'project_id': 'a9da5f8b72364d32b1c51c99b517e2d3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-12236371', 'ctest-vn-90911128'], 'port_security_enabled': True, 'description': ''}} 2025-06-10 21:23:11,609 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e3c745b6-0340-4307-909a-94d20aa874d5', 'name': '', 'tenant_id': 'a9da5f8b72364d32b1c51c99b517e2d3', 'network_id': '7babfa79-7bc4-4b33-918b-8e8b4455f1e9', 'ip_version': 4, 'cidr': '40.178.76.64/26', 'allocation_pools': [{'start': '40.178.76.66', 'end': '40.178.76.126'}], 'gateway_ip': '40.178.76.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '40.178.76.66', 'tags': [], 'project_id': 'a9da5f8b72364d32b1c51c99b517e2d3'}} 2025-06-10 21:23:11,628 - INFO - Created VN ctest-vn-90911128 2025-06-10 21:23:11,681 - DEBUG - VN ctest-vn-90911128 UUID is 7babfa79-7bc4-4b33-918b-8e8b4455f1e9 2025-06-10 21:23:12,006 - DEBUG - Response for create_network : {'network': {'id': 'b72bf055-aece-4ae6-b336-b15ddc66bc3c', 'name': 'ctest-ext_vn-69218535', 'tenant_id': 'a9da5f8b72364d32b1c51c99b517e2d3', 'project_id': 'a9da5f8b72364d32b1c51c99b517e2d3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-12236371', 'ctest-ext_vn-69218535'], 'port_security_enabled': True, 'description': ''}} 2025-06-10 21:23:12,229 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ea3e2e2f-e5a7-4e7e-9ae5-a82d60eee104', 'name': '', 'tenant_id': 'a9da5f8b72364d32b1c51c99b517e2d3', 'network_id': 'b72bf055-aece-4ae6-b336-b15ddc66bc3c', 'ip_version': 4, 'cidr': '61.158.208.192/26', 'allocation_pools': [{'start': '61.158.208.194', 'end': '61.158.208.254'}], 'gateway_ip': '61.158.208.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '61.158.208.194', 'tags': [], 'project_id': 'a9da5f8b72364d32b1c51c99b517e2d3'}} 2025-06-10 21:23:12,247 - INFO - Created VN ctest-ext_vn-69218535 2025-06-10 21:23:12,305 - DEBUG - VN ctest-ext_vn-69218535 UUID is b72bf055-aece-4ae6-b336-b15ddc66bc3c 2025-06-10 21:23:12,469 - DEBUG - Services list from nova: [, , ] 2025-06-10 21:23:13,499 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3438-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3438-1) 2025-06-10 21:23:14,693 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3438-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3438-1) 2025-06-10 21:23:14,775 - INFO - Setting gateway for router 52b4618c-66a5-45b7-a661-2f53098f986d to network b72bf055-aece-4ae6-b336-b15ddc66bc3c 2025-06-10 21:23:14,862 - INFO - Adding interface with subnet_id e3c745b6-0340-4307-909a-94d20aa874d5, port_id None to router 52b4618c-66a5-45b7-a661-2f53098f986d 2025-06-10 21:23:15,276 - INFO - Waiting for VM ctest-TestRoutersBasic-12236371-69827826 to be up.. 2025-06-10 21:23:15,484 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-10 21:23:20,569 - DEBUG - VM is in ACTIVE state now 2025-06-10 21:23:20,570 - INFO - VM name : ctest-TestRoutersBasic-12236371-69827826 2025-06-10 21:23:20,671 - DEBUG - VM ctest-TestRoutersBasic-12236371-69827826 ID is 3bf54bcd-2f34-46b2-bfa2-b4255e8a302a 2025-06-10 21:23:20,690 - DEBUG - VM ctest-TestRoutersBasic-12236371-69827826 launched on Node cn-jenkins-deploy-platform-ansible-os-3438-1 2025-06-10 21:23:20,779 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/3bf54bcd-2f34-46b2-bfa2-b4255e8a302a 2025-06-10 21:23:21,088 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/3bf54bcd-2f34-46b2-bfa2-b4255e8a302a 2025-06-10 21:23:21,120 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/9c4b7b95-3757-4b4b-a823-b2a8e5a20084 2025-06-10 21:23:24,390 - 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-06-10 21:23:24,390 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-12236371-69827826 failed! 2025-06-10 21:23:24,445 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-12236371:ctest-vn-90911128 is 40.178.76.65 and allocation pool is NOT set 2025-06-10 21:23:26,504 - 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.91 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.481 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.481/1.696/2.911/1.215 ms') 2025-06-10 21:23:26,504 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-12236371-69827826 passed 2025-06-10 21:23:26,622 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-10 21:23:26,622 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-12236371-69827826, IP 40.178.76.67, Port 22 2025-06-10 21:23:26,789 - DEBUG - VM ctest-TestRoutersBasic-12236371-69827826 is ready for SSH connections 2025-06-10 21:23:26,789 - INFO - Waiting for VM ctest-TestRoutersBasic-12236371-08770251 to be up.. 2025-06-10 21:23:26,892 - DEBUG - VM is in ACTIVE state now 2025-06-10 21:23:26,892 - INFO - VM name : ctest-TestRoutersBasic-12236371-08770251 2025-06-10 21:23:26,981 - DEBUG - VM ctest-TestRoutersBasic-12236371-08770251 ID is f84c2740-6bf5-4929-b915-41c1a6567304 2025-06-10 21:23:26,981 - DEBUG - VM ctest-TestRoutersBasic-12236371-08770251 launched on Node cn-jenkins-deploy-platform-ansible-os-3438-1 2025-06-10 21:23:27,066 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/f84c2740-6bf5-4929-b915-41c1a6567304 2025-06-10 21:23:27,078 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/b38a49c1-fc23-4055-9894-a0ce0a376378 2025-06-10 21:23:28,336 - 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.51 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.521 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.521/2.015/3.510/1.494 ms') 2025-06-10 21:23:28,337 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-12236371-08770251 passed 2025-06-10 21:23:28,493 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-10 21:23:28,494 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-12236371-08770251, IP 61.158.208.195, Port 22 2025-06-10 21:23:28,657 - DEBUG - VM ctest-TestRoutersBasic-12236371-08770251 is ready for SSH connections 2025-06-10 21:23:28,657 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-10 21:23:28,657 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 61.158.208.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-10 21:23:28,657 - DEBUG - ping -s 56 -c 3 -W 1 61.158.208.195 2025-06-10 21:23:32,648 - DEBUG - PING 61.158.208.195 (61.158.208.195): 56 data bytes 64 bytes from 61.158.208.195: seq=0 ttl=62 time=4.813 ms 64 bytes from 61.158.208.195: seq=1 ttl=62 time=1.019 ms 64 bytes from 61.158.208.195: seq=2 ttl=62 time=1.023 ms --- 61.158.208.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.019/2.285/4.813 ms 2025-06-10 21:23:32,648 - INFO - Ping to IP 61.158.208.195 from VM ctest-TestRoutersBasic-12236371-69827826 passed 2025-06-10 21:23:32,648 - INFO - Deleting interface with subnet_id e3c745b6-0340-4307-909a-94d20aa874d5, port_id None from router 52b4618c-66a5-45b7-a661-2f53098f986d 2025-06-10 21:23:32,884 - INFO - Deleting VM ctest-TestRoutersBasic-12236371-08770251 2025-06-10 21:23:32,956 - INFO - Deleting VM ctest-TestRoutersBasic-12236371-69827826 2025-06-10 21:23:33,045 - INFO - Deleting VN ctest-ext_vn-69218535 2025-06-10 21:23:33,116 - DEBUG - VN b72bf055-aece-4ae6-b336-b15ddc66bc3c still in use: Unable to complete operation on network b72bf055-aece-4ae6-b336-b15ddc66bc3c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9bf89bbd-5484-46ac-84dc-48d6ff0185ed'] 2025-06-10 21:23:33,116 - WARNING - Deleting VN ctest-ext_vn-69218535 failed..Will retry 2025-06-10 21:23:35,253 - DEBUG - Response for deleting network () 2025-06-10 21:23:35,253 - INFO - Deleting VN ctest-vn-90911128 2025-06-10 21:23:35,365 - DEBUG - Response for deleting network () 2025-06-10 21:23:35,635 - DEBUG - No XMPP flaps were noticed during the test
2025-06-10 21:23:35,636 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-06-10 21:23:35,636 - INFO - -------------------------------------------------------------------------------- 2025-06-10 21:23:36,323 - INFO - Deleted project: ctest-TestRoutersBasic-12236371, ID : a9da5f8b-7236-4d32-b1c5-1c99b517e2d3