2025-10-08 22:11:05,246 - INFO - Domain Default found not creating 2025-10-08 22:11:05,380 - INFO - Project ctest-TestRoutersBasic-75488069 not found, creating it 2025-10-08 22:11:05,818 - INFO - Created Project:ctest-TestRoutersBasic-75488069, ID : ba861878-77d6-4d0f-9304-981941e663e9 2025-10-08 22:11:07,198 - INFO - ================================================================================ 2025-10-08 22:11:07,199 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-08 22:11:07,199 - 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-10-08 22:11:07,458 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.17': '0'}} with 2025-10-08 22:11:07,459 - INFO - Initial checks done. Running the testcase now 2025-10-08 22:11:07,459 - INFO - 2025-10-08 22:11:08,156 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-75488069 2025-10-08 22:11:08,256 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-75488069 2025-10-08 22:11:08,572 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-75488069', 'default']} 2025-10-08 22:11:08,845 - DEBUG - Response for create_network : {'network': {'id': '7123b1f1-ed63-42c2-befc-11d0653829ad', 'name': 'ctest-vn-91309668', 'tenant_id': 'ba86187877d64d0f9304981941e663e9', 'project_id': 'ba86187877d64d0f9304981941e663e9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-75488069', 'ctest-vn-91309668'], 'port_security_enabled': True, 'description': ''}} 2025-10-08 22:11:09,059 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a43efef4-9bc0-4b99-9eb6-bccf305328b0', 'name': '', 'tenant_id': 'ba86187877d64d0f9304981941e663e9', 'network_id': '7123b1f1-ed63-42c2-befc-11d0653829ad', 'ip_version': 4, 'cidr': '45.141.74.192/26', 'allocation_pools': [{'start': '45.141.74.194', 'end': '45.141.74.254'}], 'gateway_ip': '45.141.74.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '45.141.74.194', 'tags': [], 'project_id': 'ba86187877d64d0f9304981941e663e9'}} 2025-10-08 22:11:09,075 - INFO - Created VN ctest-vn-91309668 2025-10-08 22:11:09,128 - DEBUG - VN ctest-vn-91309668 UUID is 7123b1f1-ed63-42c2-befc-11d0653829ad 2025-10-08 22:11:09,450 - DEBUG - Response for create_network : {'network': {'id': '382d4adf-1bd4-49f8-bd04-b926b03c8ba7', 'name': 'ctest-ext_vn-97688847', 'tenant_id': 'ba86187877d64d0f9304981941e663e9', 'project_id': 'ba86187877d64d0f9304981941e663e9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-75488069', 'ctest-ext_vn-97688847'], 'port_security_enabled': True, 'description': ''}} 2025-10-08 22:11:09,601 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f510c686-8fb0-40a3-a7ef-c8c5f428d020', 'name': '', 'tenant_id': 'ba86187877d64d0f9304981941e663e9', 'network_id': '382d4adf-1bd4-49f8-bd04-b926b03c8ba7', 'ip_version': 4, 'cidr': '54.173.177.64/26', 'allocation_pools': [{'start': '54.173.177.66', 'end': '54.173.177.126'}], 'gateway_ip': '54.173.177.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '54.173.177.66', 'tags': [], 'project_id': 'ba86187877d64d0f9304981941e663e9'}} 2025-10-08 22:11:09,617 - INFO - Created VN ctest-ext_vn-97688847 2025-10-08 22:11:09,668 - DEBUG - VN ctest-ext_vn-97688847 UUID is 382d4adf-1bd4-49f8-bd04-b926b03c8ba7 2025-10-08 22:11:09,873 - DEBUG - Services list from nova: [, , ] 2025-10-08 22:11:10,870 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4246-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4246-1) 2025-10-08 22:11:12,031 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4246-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4246-1) 2025-10-08 22:11:12,112 - INFO - Setting gateway for router 99429348-b767-4b77-8a83-22f48dada78a to network 382d4adf-1bd4-49f8-bd04-b926b03c8ba7 2025-10-08 22:11:12,169 - INFO - Adding interface with subnet_id a43efef4-9bc0-4b99-9eb6-bccf305328b0, port_id None to router 99429348-b767-4b77-8a83-22f48dada78a 2025-10-08 22:11:12,547 - INFO - Waiting for VM ctest-TestRoutersBasic-75488069-70284741 to be up.. 2025-10-08 22:11:12,688 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-08 22:11:17,766 - DEBUG - VM is in ACTIVE state now 2025-10-08 22:11:17,766 - INFO - VM name : ctest-TestRoutersBasic-75488069-70284741 2025-10-08 22:11:17,848 - DEBUG - VM ctest-TestRoutersBasic-75488069-70284741 ID is 5a7be193-aff9-43f0-9840-c27bf606f553 2025-10-08 22:11:17,873 - DEBUG - VM ctest-TestRoutersBasic-75488069-70284741 launched on Node cn-jenkins-deploy-platform-ansible-os-4246-1 2025-10-08 22:11:17,959 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/5a7be193-aff9-43f0-9840-c27bf606f553 2025-10-08 22:11:18,266 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/5a7be193-aff9-43f0-9840-c27bf606f553 2025-10-08 22:11:18,307 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/a1e315d2-b731-43cb-b4f6-299d85ff9fc2 2025-10-08 22:11:21,579 - 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-10-08 22:11:21,579 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-75488069-70284741 failed! 2025-10-08 22:11:21,636 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-75488069:ctest-vn-91309668 is 45.141.74.193 and allocation pool is NOT set 2025-10-08 22:11:23,702 - 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.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.15 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 = 1.145/3.447/5.750/2.302 ms') 2025-10-08 22:11:23,702 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-75488069-70284741 passed 2025-10-08 22:11:23,852 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 22:11:23,852 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-75488069-70284741, IP 45.141.74.195, Port 22 2025-10-08 22:11:24,008 - DEBUG - VM ctest-TestRoutersBasic-75488069-70284741 is ready for SSH connections 2025-10-08 22:11:24,008 - INFO - Waiting for VM ctest-TestRoutersBasic-75488069-52374128 to be up.. 2025-10-08 22:11:24,083 - DEBUG - VM is in ACTIVE state now 2025-10-08 22:11:24,083 - INFO - VM name : ctest-TestRoutersBasic-75488069-52374128 2025-10-08 22:11:24,161 - DEBUG - VM ctest-TestRoutersBasic-75488069-52374128 ID is c49ecdfa-d5d6-4062-9388-b119693e72b3 2025-10-08 22:11:24,161 - DEBUG - VM ctest-TestRoutersBasic-75488069-52374128 launched on Node cn-jenkins-deploy-platform-ansible-os-4246-1 2025-10-08 22:11:24,231 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/c49ecdfa-d5d6-4062-9388-b119693e72b3 2025-10-08 22:11:24,241 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/236ecc98-e882-4566-bb7a-8b70d0ca5cb1 2025-10-08 22:11:25,479 - 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.73 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.403 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.403/1.568/2.734/1.165 ms') 2025-10-08 22:11:25,479 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-75488069-52374128 passed 2025-10-08 22:11:25,628 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 22:11:25,628 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-75488069-52374128, IP 54.173.177.67, Port 22 2025-10-08 22:11:25,795 - DEBUG - VM ctest-TestRoutersBasic-75488069-52374128 is ready for SSH connections 2025-10-08 22:11:25,795 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 22:11:25,795 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 54.173.177.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-08 22:11:25,795 - DEBUG - ping -s 56 -c 3 -W 1 54.173.177.67 2025-10-08 22:11:29,463 - DEBUG - PING 54.173.177.67 (54.173.177.67): 56 data bytes 64 bytes from 54.173.177.67: seq=0 ttl=62 time=5.141 ms 64 bytes from 54.173.177.67: seq=1 ttl=62 time=0.883 ms 64 bytes from 54.173.177.67: seq=2 ttl=62 time=0.941 ms --- 54.173.177.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.883/2.321/5.141 ms 2025-10-08 22:11:29,463 - INFO - Ping to IP 54.173.177.67 from VM ctest-TestRoutersBasic-75488069-70284741 passed 2025-10-08 22:11:29,463 - INFO - Deleting interface with subnet_id a43efef4-9bc0-4b99-9eb6-bccf305328b0, port_id None from router 99429348-b767-4b77-8a83-22f48dada78a 2025-10-08 22:11:29,674 - INFO - Deleting VM ctest-TestRoutersBasic-75488069-52374128 2025-10-08 22:11:29,754 - INFO - Deleting VM ctest-TestRoutersBasic-75488069-70284741 2025-10-08 22:11:29,831 - INFO - Deleting VN ctest-ext_vn-97688847 2025-10-08 22:11:29,896 - DEBUG - VN 382d4adf-1bd4-49f8-bd04-b926b03c8ba7 still in use: Unable to complete operation on network 382d4adf-1bd4-49f8-bd04-b926b03c8ba7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4067717f-0be2-4797-a647-0b9d235ca76e'] 2025-10-08 22:11:29,896 - WARNING - Deleting VN ctest-ext_vn-97688847 failed..Will retry 2025-10-08 22:11:31,995 - DEBUG - Response for deleting network () 2025-10-08 22:11:31,995 - INFO - Deleting VN ctest-vn-91309668 2025-10-08 22:11:32,097 - DEBUG - Response for deleting network () 2025-10-08 22:11:32,349 - DEBUG - No XMPP flaps were noticed during the test 2025-10-08 22:11:32,349 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-10-08 22:11:32,349 - INFO - -------------------------------------------------------------------------------- 2025-10-08 22:11:33,015 - INFO - Deleted project: ctest-TestRoutersBasic-75488069, ID : ba861878-77d6-4d0f-9304-981941e663e9