2025-08-07 18:23:11,498 - INFO - Domain Default found not creating 2025-08-07 18:23:11,670 - INFO - Project ctest-TestRoutersBasic-69142428 not found, creating it 2025-08-07 18:23:12,239 - INFO - Created Project:ctest-TestRoutersBasic-69142428, ID : 72222243-6f81-44e6-a1fd-991f7cd8a17d 2025-08-07 18:23:13,787 - INFO - ================================================================================ 2025-08-07 18:23:13,787 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-07 18:23:13,788 - 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-08-07 18:23:15,143 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.14': '0', '10.20.0.193': '0'}, '10.0.0.242': {'10.20.0.14': '0', '10.20.0.193': '0'}} with 2025-08-07 18:23:15,143 - INFO - Initial checks done. Running the testcase now 2025-08-07 18:23:15,143 - INFO - 2025-08-07 18:23:15,907 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-69142428 2025-08-07 18:23:15,971 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-69142428 2025-08-07 18:23:16,305 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-69142428', 'default']} 2025-08-07 18:23:16,755 - DEBUG - Response for create_network : {'network': {'id': '5923d3f8-4a47-40e4-91f5-66999cccf185', 'name': 'ctest-vn-30084494', 'tenant_id': '722222436f8144e6a1fd991f7cd8a17d', 'project_id': '722222436f8144e6a1fd991f7cd8a17d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-69142428', 'ctest-vn-30084494'], 'port_security_enabled': True, 'description': ''}} 2025-08-07 18:23:17,041 - DEBUG - Response for create_subnet : {'subnet': {'id': '4e9246f9-ad9b-400f-a1c0-2130baaf3c7f', 'name': '', 'tenant_id': '722222436f8144e6a1fd991f7cd8a17d', 'network_id': '5923d3f8-4a47-40e4-91f5-66999cccf185', 'ip_version': 4, 'cidr': '179.84.11.64/26', 'allocation_pools': [{'start': '179.84.11.66', 'end': '179.84.11.126'}], 'gateway_ip': '179.84.11.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '179.84.11.66', 'tags': [], 'project_id': '722222436f8144e6a1fd991f7cd8a17d'}} 2025-08-07 18:23:17,069 - INFO - Created VN ctest-vn-30084494 2025-08-07 18:23:17,086 - DEBUG - VN ctest-vn-30084494 UUID is 5923d3f8-4a47-40e4-91f5-66999cccf185 2025-08-07 18:23:17,579 - DEBUG - Response for create_network : {'network': {'id': '27e0e8ae-b589-4247-9e77-86104eb18f06', 'name': 'ctest-ext_vn-43817796', 'tenant_id': '722222436f8144e6a1fd991f7cd8a17d', 'project_id': '722222436f8144e6a1fd991f7cd8a17d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-69142428', 'ctest-ext_vn-43817796'], 'port_security_enabled': True, 'description': ''}} 2025-08-07 18:23:17,857 - DEBUG - Response for create_subnet : {'subnet': {'id': '0c7342f2-24b1-45fc-bf5d-b415ba93bab2', 'name': '', 'tenant_id': '722222436f8144e6a1fd991f7cd8a17d', 'network_id': '27e0e8ae-b589-4247-9e77-86104eb18f06', 'ip_version': 4, 'cidr': '76.190.213.128/26', 'allocation_pools': [{'start': '76.190.213.130', 'end': '76.190.213.190'}], 'gateway_ip': '76.190.213.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '76.190.213.130', 'tags': [], 'project_id': '722222436f8144e6a1fd991f7cd8a17d'}} 2025-08-07 18:23:17,883 - INFO - Created VN ctest-ext_vn-43817796 2025-08-07 18:23:17,899 - DEBUG - VN ctest-ext_vn-43817796 UUID is 27e0e8ae-b589-4247-9e77-86104eb18f06 2025-08-07 18:23:18,104 - DEBUG - Services list from nova: [, , , ] 2025-08-07 18:23:19,231 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3775-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3775-2) 2025-08-07 18:23:20,611 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3775-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3775-1) 2025-08-07 18:23:20,760 - INFO - Setting gateway for router 2d3eea46-86d3-4176-a121-62be7927aa14 to network 27e0e8ae-b589-4247-9e77-86104eb18f06 2025-08-07 18:23:20,845 - INFO - Adding interface with subnet_id 4e9246f9-ad9b-400f-a1c0-2130baaf3c7f, port_id None to router 2d3eea46-86d3-4176-a121-62be7927aa14 2025-08-07 18:23:21,602 - INFO - Waiting for VM ctest-TestRoutersBasic-69142428-98265858 to be up.. 2025-08-07 18:23:21,759 - DEBUG - VM is in ACTIVE state now 2025-08-07 18:23:21,759 - INFO - VM name : ctest-TestRoutersBasic-69142428-98265858 2025-08-07 18:23:21,891 - DEBUG - VM ctest-TestRoutersBasic-69142428-98265858 ID is 15541505-421d-49a9-a5ff-21723c922f47 2025-08-07 18:23:21,964 - DEBUG - VM ctest-TestRoutersBasic-69142428-98265858 launched on Node an-jenkins-deploy-platform-ansible-os-3775-2 2025-08-07 18:23:22,136 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/15541505-421d-49a9-a5ff-21723c922f47 2025-08-07 18:23:22,736 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/15541505-421d-49a9-a5ff-21723c922f47 2025-08-07 18:23:22,829 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/788d937d-80a7-4eaa-b94a-497a812af065 2025-08-07 18:23:26,082 - 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 1014ms') 2025-08-07 18:23:26,082 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-69142428-98265858 failed! 2025-08-07 18:23:26,100 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-69142428:ctest-vn-30084494 is 179.84.11.65 and allocation pool is NOT set 2025-08-07 18:23:30,185 - 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-08-07 18:23:30,186 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-69142428-98265858 failed! 2025-08-07 18:23:30,204 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-69142428:ctest-vn-30084494 is 179.84.11.65 and allocation pool is NOT set 2025-08-07 18:23:32,270 - 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=5.29 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.428 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.428/2.857/5.287/2.429 ms') 2025-08-07 18:23:32,270 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-69142428-98265858 passed 2025-08-07 18:23:32,392 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 18:23:32,393 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-69142428-98265858, IP 179.84.11.67, Port 22 2025-08-07 18:23:32,566 - DEBUG - VM ctest-TestRoutersBasic-69142428-98265858 is ready for SSH connections 2025-08-07 18:23:32,566 - INFO - Waiting for VM ctest-TestRoutersBasic-69142428-88119918 to be up.. 2025-08-07 18:23:32,670 - DEBUG - VM is in ACTIVE state now 2025-08-07 18:23:32,671 - INFO - VM name : ctest-TestRoutersBasic-69142428-88119918 2025-08-07 18:23:32,767 - DEBUG - VM ctest-TestRoutersBasic-69142428-88119918 ID is 6508fb72-f7d2-442c-b8eb-60fdffeead2f 2025-08-07 18:23:32,767 - DEBUG - VM ctest-TestRoutersBasic-69142428-88119918 launched on Node an-jenkins-deploy-platform-ansible-os-3775-1 2025-08-07 18:23:32,850 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/6508fb72-f7d2-442c-b8eb-60fdffeead2f 2025-08-07 18:23:32,862 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/c3969300-1076-477b-b9af-85be098fff9a 2025-08-07 18:23:34,125 - 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=5.24 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=7.82 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 = 5.241/6.528/7.815/1.287 ms') 2025-08-07 18:23:34,126 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-69142428-88119918 passed 2025-08-07 18:23:34,242 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 18:23:34,242 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-69142428-88119918, IP 76.190.213.131, Port 22 2025-08-07 18:23:34,446 - DEBUG - VM ctest-TestRoutersBasic-69142428-88119918 is ready for SSH connections 2025-08-07 18:23:34,446 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 18:23:34,447 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 76.190.213.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-08-07 18:23:34,447 - DEBUG - ping -s 56 -c 3 -W 1 76.190.213.131 2025-08-07 18:23:38,488 - DEBUG - PING 76.190.213.131 (76.190.213.131): 56 data bytes 64 bytes from 76.190.213.131: seq=0 ttl=62 time=10.726 ms 64 bytes from 76.190.213.131: seq=1 ttl=62 time=1.543 ms 64 bytes from 76.190.213.131: seq=2 ttl=62 time=1.904 ms --- 76.190.213.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.543/4.724/10.726 ms 2025-08-07 18:23:38,488 - INFO - Ping to IP 76.190.213.131 from VM ctest-TestRoutersBasic-69142428-98265858 passed 2025-08-07 18:23:38,488 - INFO - Deleting interface with subnet_id 4e9246f9-ad9b-400f-a1c0-2130baaf3c7f, port_id None from router 2d3eea46-86d3-4176-a121-62be7927aa14 2025-08-07 18:23:39,025 - INFO - Deleting VM ctest-TestRoutersBasic-69142428-88119918 2025-08-07 18:23:39,147 - INFO - Deleting VM ctest-TestRoutersBasic-69142428-98265858 2025-08-07 18:23:39,298 - INFO - Deleting VN ctest-ext_vn-43817796 2025-08-07 18:23:39,451 - DEBUG - VN 27e0e8ae-b589-4247-9e77-86104eb18f06 still in use: Unable to complete operation on network 27e0e8ae-b589-4247-9e77-86104eb18f06. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8488dfc8-2f45-45ea-92ba-474babbdf88a'] 2025-08-07 18:23:39,451 - WARNING - Deleting VN ctest-ext_vn-43817796 failed..Will retry 2025-08-07 18:23:41,730 - DEBUG - Response for deleting network () 2025-08-07 18:23:41,731 - INFO - Deleting VN ctest-vn-30084494 2025-08-07 18:23:41,917 - DEBUG - Response for deleting network () 2025-08-07 18:23:43,246 - DEBUG - No XMPP flaps were noticed during the test
2025-08-07 18:23:43,246 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:30]
2025-08-07 18:23:43,246 - INFO - -------------------------------------------------------------------------------- 2025-08-07 18:23:44,010 - INFO - Deleted project: ctest-TestRoutersBasic-69142428, ID : 72222243-6f81-44e6-a1fd-991f7cd8a17d