2025-12-08 02:26:23,857 - INFO - Domain Default found not creating 2025-12-08 02:26:24,042 - INFO - Project ctest-TestRoutersBasic-47110545 not found, creating it 2025-12-08 02:26:24,610 - INFO - Created Project:ctest-TestRoutersBasic-47110545, ID : bdf3199e-99c3-45ac-bb61-6a0981f45f07 2025-12-08 02:26:26,346 - INFO - ================================================================================ 2025-12-08 02:26:26,346 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-12-08 02:26:26,346 - 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-12-08 02:26:27,618 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.145': '0', '10.20.0.18': '0'}, '10.0.0.129': {'10.20.0.145': '0', '10.20.0.14': '0'}} with 2025-12-08 02:26:27,618 - INFO - Initial checks done. Running the testcase now 2025-12-08 02:26:27,618 - INFO - 2025-12-08 02:26:28,442 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-47110545 2025-12-08 02:26:28,502 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-47110545 2025-12-08 02:26:28,813 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-47110545', 'default']} 2025-12-08 02:26:29,249 - DEBUG - Response for create_network : {'network': {'id': 'e706a4b3-8bb9-41ac-bc36-71971895ebe3', 'name': 'ctest-vn-17758904', 'tenant_id': 'bdf3199e99c345acbb616a0981f45f07', 'project_id': 'bdf3199e99c345acbb616a0981f45f07', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-47110545', 'ctest-vn-17758904'], 'port_security_enabled': True, 'description': ''}} 2025-12-08 02:26:29,551 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c2f6baed-b0fc-4159-a426-d34f92c5aaa0', 'name': '', 'tenant_id': 'bdf3199e99c345acbb616a0981f45f07', 'network_id': 'e706a4b3-8bb9-41ac-bc36-71971895ebe3', 'ip_version': 4, 'cidr': '52.147.44.64/26', 'allocation_pools': [{'start': '52.147.44.66', 'end': '52.147.44.126'}], 'gateway_ip': '52.147.44.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.147.44.66', 'tags': [], 'project_id': 'bdf3199e99c345acbb616a0981f45f07'}} 2025-12-08 02:26:29,582 - INFO - Created VN ctest-vn-17758904 2025-12-08 02:26:29,594 - DEBUG - VN ctest-vn-17758904 UUID is e706a4b3-8bb9-41ac-bc36-71971895ebe3 2025-12-08 02:26:30,008 - DEBUG - Response for create_network : {'network': {'id': '28cbdde2-2e67-4300-afee-e5f7d9380b79', 'name': 'ctest-ext_vn-14851224', 'tenant_id': 'bdf3199e99c345acbb616a0981f45f07', 'project_id': 'bdf3199e99c345acbb616a0981f45f07', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-47110545', 'ctest-ext_vn-14851224'], 'port_security_enabled': True, 'description': ''}} 2025-12-08 02:26:30,252 - DEBUG - Response for create_subnet : {'subnet': {'id': '3bb02828-e977-495f-8e04-5579b2ab33c8', 'name': '', 'tenant_id': 'bdf3199e99c345acbb616a0981f45f07', 'network_id': '28cbdde2-2e67-4300-afee-e5f7d9380b79', 'ip_version': 4, 'cidr': '49.24.39.0/26', 'allocation_pools': [{'start': '49.24.39.2', 'end': '49.24.39.62'}], 'gateway_ip': '49.24.39.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '49.24.39.2', 'tags': [], 'project_id': 'bdf3199e99c345acbb616a0981f45f07'}} 2025-12-08 02:26:30,278 - INFO - Created VN ctest-ext_vn-14851224 2025-12-08 02:26:30,294 - DEBUG - VN ctest-ext_vn-14851224 UUID is 28cbdde2-2e67-4300-afee-e5f7d9380b79 2025-12-08 02:26:30,469 - DEBUG - Services list from nova: [, , , ] 2025-12-08 02:26:31,638 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4854-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4854-2) 2025-12-08 02:26:33,046 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4854-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4854-1) 2025-12-08 02:26:33,173 - INFO - Setting gateway for router e0f110ff-7307-47bd-b2cb-5ab3afc8f329 to network 28cbdde2-2e67-4300-afee-e5f7d9380b79 2025-12-08 02:26:33,271 - INFO - Adding interface with subnet_id c2f6baed-b0fc-4159-a426-d34f92c5aaa0, port_id None to router e0f110ff-7307-47bd-b2cb-5ab3afc8f329 2025-12-08 02:26:33,724 - INFO - Waiting for VM ctest-TestRoutersBasic-47110545-97624229 to be up.. 2025-12-08 02:26:33,899 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-08 02:26:38,986 - DEBUG - VM is in ACTIVE state now 2025-12-08 02:26:38,986 - INFO - VM name : ctest-TestRoutersBasic-47110545-97624229 2025-12-08 02:26:39,064 - DEBUG - VM ctest-TestRoutersBasic-47110545-97624229 ID is 5c90d7b9-d062-4e08-9eac-93d9136e0021 2025-12-08 02:26:39,090 - DEBUG - VM ctest-TestRoutersBasic-47110545-97624229 launched on Node an-jenkins-deploy-platform-ansible-os-4854-2 2025-12-08 02:26:39,181 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/5c90d7b9-d062-4e08-9eac-93d9136e0021 2025-12-08 02:26:39,517 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/5c90d7b9-d062-4e08-9eac-93d9136e0021 2025-12-08 02:26:39,553 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/19f1f0cf-822d-46e7-ad32-10dbacd85dbc 2025-12-08 02:26:42,720 - 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 1007ms') 2025-12-08 02:26:42,720 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-47110545-97624229 failed! 2025-12-08 02:26:42,734 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-47110545:ctest-vn-17758904 is 52.147.44.65 and allocation pool is NOT set 2025-12-08 02:26:44,801 - 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.535 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.535/1.677/2.819/1.142 ms') 2025-12-08 02:26:44,801 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-47110545-97624229 passed 2025-12-08 02:26:44,869 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 02:26:44,869 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-47110545-97624229, IP 52.147.44.67, Port 22 2025-12-08 02:26:45,042 - DEBUG - VM ctest-TestRoutersBasic-47110545-97624229 is ready for SSH connections 2025-12-08 02:26:45,042 - INFO - Waiting for VM ctest-TestRoutersBasic-47110545-35136002 to be up.. 2025-12-08 02:26:45,126 - DEBUG - VM is in ACTIVE state now 2025-12-08 02:26:45,126 - INFO - VM name : ctest-TestRoutersBasic-47110545-35136002 2025-12-08 02:26:45,205 - DEBUG - VM ctest-TestRoutersBasic-47110545-35136002 ID is 49303076-0a51-4c98-a0fa-3cd6bc976260 2025-12-08 02:26:45,205 - DEBUG - VM ctest-TestRoutersBasic-47110545-35136002 launched on Node an-jenkins-deploy-platform-ansible-os-4854-1 2025-12-08 02:26:45,284 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/49303076-0a51-4c98-a0fa-3cd6bc976260 2025-12-08 02:26:45,294 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/9380e3e6-93bf-4d3f-bc0d-b66a8d03779e 2025-12-08 02:26:46,449 - 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.80 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.424 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.424/2.113/3.802/1.689 ms') 2025-12-08 02:26:46,449 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-47110545-35136002 passed 2025-12-08 02:26:46,521 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 02:26:46,522 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-47110545-35136002, IP 49.24.39.3, Port 22 2025-12-08 02:26:46,679 - DEBUG - VM ctest-TestRoutersBasic-47110545-35136002 is ready for SSH connections 2025-12-08 02:26:46,679 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 02:26:46,679 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 49.24.39.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-12-08 02:26:46,679 - DEBUG - ping -s 56 -c 3 -W 1 49.24.39.3 2025-12-08 02:26:50,396 - DEBUG - PING 49.24.39.3 (49.24.39.3): 56 data bytes 64 bytes from 49.24.39.3: seq=0 ttl=62 time=8.450 ms 64 bytes from 49.24.39.3: seq=1 ttl=62 time=1.241 ms 64 bytes from 49.24.39.3: seq=2 ttl=62 time=1.119 ms --- 49.24.39.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.119/3.603/8.450 ms 2025-12-08 02:26:50,396 - INFO - Ping to IP 49.24.39.3 from VM ctest-TestRoutersBasic-47110545-97624229 passed 2025-12-08 02:26:50,396 - INFO - Deleting interface with subnet_id c2f6baed-b0fc-4159-a426-d34f92c5aaa0, port_id None from router e0f110ff-7307-47bd-b2cb-5ab3afc8f329 2025-12-08 02:26:50,754 - INFO - Deleting VM ctest-TestRoutersBasic-47110545-35136002 2025-12-08 02:26:50,863 - INFO - Deleting VM ctest-TestRoutersBasic-47110545-97624229 2025-12-08 02:26:50,983 - INFO - Deleting VN ctest-ext_vn-14851224 2025-12-08 02:26:51,104 - DEBUG - VN 28cbdde2-2e67-4300-afee-e5f7d9380b79 still in use: Unable to complete operation on network 28cbdde2-2e67-4300-afee-e5f7d9380b79. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-297ed9be-acf3-4121-a161-e6f108259a11'] 2025-12-08 02:26:51,104 - WARNING - Deleting VN ctest-ext_vn-14851224 failed..Will retry 2025-12-08 02:26:53,293 - DEBUG - Response for deleting network () 2025-12-08 02:26:53,293 - INFO - Deleting VN ctest-vn-17758904 2025-12-08 02:26:53,457 - DEBUG - Response for deleting network () 2025-12-08 02:26:54,739 - DEBUG - No XMPP flaps were noticed during the test 2025-12-08 02:26:54,740 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:28] 2025-12-08 02:26:54,740 - INFO - -------------------------------------------------------------------------------- 2025-12-08 02:26:55,516 - INFO - Deleted project: ctest-TestRoutersBasic-47110545, ID : bdf3199e-99c3-45ac-bb61-6a0981f45f07