2025-09-23 12:15:10,402 - INFO - Domain Default found not creating 2025-09-23 12:15:10,626 - INFO - Project ctest-TestRoutersBasic-30513215 not found, creating it 2025-09-23 12:15:11,119 - INFO - Created Project:ctest-TestRoutersBasic-30513215, ID : 37b9d37c-b98e-4c7b-95ba-e159c83b6a80 2025-09-23 12:15:12,800 - INFO - ================================================================================ 2025-09-23 12:15:12,800 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-09-23 12:15:12,800 - 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-09-23 12:15:13,075 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-09-23 12:15:13,075 - INFO - Initial checks done. Running the testcase now 2025-09-23 12:15:13,075 - INFO - 2025-09-23 12:15:13,855 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-30513215 2025-09-23 12:15:13,953 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-30513215 2025-09-23 12:15:14,300 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-30513215', 'default']} 2025-09-23 12:15:14,664 - DEBUG - Response for create_network : {'network': {'id': '7492c4fc-8121-44c7-85e7-c774345b84d3', 'name': 'ctest-vn-43764124', 'tenant_id': '37b9d37cb98e4c7b95bae159c83b6a80', 'project_id': '37b9d37cb98e4c7b95bae159c83b6a80', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-30513215', 'ctest-vn-43764124'], 'port_security_enabled': True, 'description': ''}} 2025-09-23 12:15:14,924 - DEBUG - Response for create_subnet : {'subnet': {'id': '83c36146-663e-48ce-a2fa-ae4af5d2a0a5', 'name': '', 'tenant_id': '37b9d37cb98e4c7b95bae159c83b6a80', 'network_id': '7492c4fc-8121-44c7-85e7-c774345b84d3', 'ip_version': 4, 'cidr': '188.80.170.64/26', 'allocation_pools': [{'start': '188.80.170.66', 'end': '188.80.170.126'}], 'gateway_ip': '188.80.170.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '188.80.170.66', 'tags': [], 'project_id': '37b9d37cb98e4c7b95bae159c83b6a80'}} 2025-09-23 12:15:14,950 - INFO - Created VN ctest-vn-43764124 2025-09-23 12:15:15,005 - DEBUG - VN ctest-vn-43764124 UUID is 7492c4fc-8121-44c7-85e7-c774345b84d3 2025-09-23 12:15:15,410 - DEBUG - Response for create_network : {'network': {'id': '1125b5a6-4203-4454-8a06-d919cabd7e42', 'name': 'ctest-ext_vn-09827946', 'tenant_id': '37b9d37cb98e4c7b95bae159c83b6a80', 'project_id': '37b9d37cb98e4c7b95bae159c83b6a80', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-30513215', 'ctest-ext_vn-09827946'], 'port_security_enabled': True, 'description': ''}} 2025-09-23 12:15:15,690 - DEBUG - Response for create_subnet : {'subnet': {'id': '5b3ea2af-78c5-4497-9d34-d1ce05d088ba', 'name': '', 'tenant_id': '37b9d37cb98e4c7b95bae159c83b6a80', 'network_id': '1125b5a6-4203-4454-8a06-d919cabd7e42', 'ip_version': 4, 'cidr': '159.140.171.192/26', 'allocation_pools': [{'start': '159.140.171.194', 'end': '159.140.171.254'}], 'gateway_ip': '159.140.171.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '159.140.171.194', 'tags': [], 'project_id': '37b9d37cb98e4c7b95bae159c83b6a80'}} 2025-09-23 12:15:15,717 - INFO - Created VN ctest-ext_vn-09827946 2025-09-23 12:15:15,773 - DEBUG - VN ctest-ext_vn-09827946 UUID is 1125b5a6-4203-4454-8a06-d919cabd7e42 2025-09-23 12:15:15,995 - DEBUG - Services list from nova: [, , ] 2025-09-23 12:15:17,209 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4174-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4174-1) 2025-09-23 12:15:18,594 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4174-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4174-1) 2025-09-23 12:15:18,690 - INFO - Setting gateway for router f3b55915-eeb6-406b-aa6a-9f73c553c66b to network 1125b5a6-4203-4454-8a06-d919cabd7e42 2025-09-23 12:15:18,776 - INFO - Adding interface with subnet_id 83c36146-663e-48ce-a2fa-ae4af5d2a0a5, port_id None to router f3b55915-eeb6-406b-aa6a-9f73c553c66b 2025-09-23 12:15:19,384 - INFO - Waiting for VM ctest-TestRoutersBasic-30513215-39612093 to be up.. 2025-09-23 12:15:19,587 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-23 12:15:24,685 - DEBUG - VM is in ACTIVE state now 2025-09-23 12:15:24,685 - INFO - VM name : ctest-TestRoutersBasic-30513215-39612093 2025-09-23 12:15:24,789 - DEBUG - VM ctest-TestRoutersBasic-30513215-39612093 ID is 311bac39-c9cb-4d77-ae4b-12a9bf5e1a73 2025-09-23 12:15:24,820 - DEBUG - VM ctest-TestRoutersBasic-30513215-39612093 launched on Node cn-jenkins-deploy-platform-ansible-os-4174-1 2025-09-23 12:15:24,912 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/311bac39-c9cb-4d77-ae4b-12a9bf5e1a73 2025-09-23 12:15:25,221 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/311bac39-c9cb-4d77-ae4b-12a9bf5e1a73 2025-09-23 12:15:25,259 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/0e42ca40-f798-442f-8c8f-ba7ae5d4f9dd 2025-09-23 12:15:28,518 - 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 1006ms') 2025-09-23 12:15:28,519 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-30513215-39612093 failed! 2025-09-23 12:15:28,576 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-30513215:ctest-vn-43764124 is 188.80.170.65 and allocation pool is NOT set 2025-09-23 12:15:30,646 - 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.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.627 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.627/2.152/3.677/1.525 ms') 2025-09-23 12:15:30,646 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-30513215-39612093 passed 2025-09-23 12:15:30,813 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 12:15:30,813 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-30513215-39612093, IP 188.80.170.67, Port 22 2025-09-23 12:15:30,978 - DEBUG - VM ctest-TestRoutersBasic-30513215-39612093 is ready for SSH connections 2025-09-23 12:15:30,979 - INFO - Waiting for VM ctest-TestRoutersBasic-30513215-36900769 to be up.. 2025-09-23 12:15:31,105 - DEBUG - VM is in ACTIVE state now 2025-09-23 12:15:31,106 - INFO - VM name : ctest-TestRoutersBasic-30513215-36900769 2025-09-23 12:15:31,206 - DEBUG - VM ctest-TestRoutersBasic-30513215-36900769 ID is 2f0b25b9-998e-48d7-8159-80bf24903d6a 2025-09-23 12:15:31,206 - DEBUG - VM ctest-TestRoutersBasic-30513215-36900769 launched on Node cn-jenkins-deploy-platform-ansible-os-4174-1 2025-09-23 12:15:31,329 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/2f0b25b9-998e-48d7-8159-80bf24903d6a 2025-09-23 12:15:31,341 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/4e135074-1acf-4563-a120-f23d5a22c8c1 2025-09-23 12:15:32,589 - 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.45 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.00 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.002/2.226/3.450/1.224 ms') 2025-09-23 12:15:32,589 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-30513215-36900769 passed 2025-09-23 12:15:32,744 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 12:15:32,744 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-30513215-36900769, IP 159.140.171.195, Port 22 2025-09-23 12:15:32,904 - DEBUG - VM ctest-TestRoutersBasic-30513215-36900769 is ready for SSH connections 2025-09-23 12:15:32,904 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 12:15:32,904 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 159.140.171.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-23 12:15:32,904 - DEBUG - ping -s 56 -c 3 -W 1 159.140.171.195 2025-09-23 12:15:36,662 - DEBUG - PING 159.140.171.195 (159.140.171.195): 56 data bytes 64 bytes from 159.140.171.195: seq=0 ttl=62 time=8.414 ms 64 bytes from 159.140.171.195: seq=1 ttl=62 time=2.136 ms 64 bytes from 159.140.171.195: seq=2 ttl=62 time=1.342 ms --- 159.140.171.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.342/3.964/8.414 ms 2025-09-23 12:15:36,662 - INFO - Ping to IP 159.140.171.195 from VM ctest-TestRoutersBasic-30513215-39612093 passed 2025-09-23 12:15:36,662 - INFO - Deleting interface with subnet_id 83c36146-663e-48ce-a2fa-ae4af5d2a0a5, port_id None from router f3b55915-eeb6-406b-aa6a-9f73c553c66b 2025-09-23 12:15:36,944 - INFO - Deleting VM ctest-TestRoutersBasic-30513215-36900769 2025-09-23 12:15:37,054 - INFO - Deleting VM ctest-TestRoutersBasic-30513215-39612093 2025-09-23 12:15:37,172 - INFO - Deleting VN ctest-ext_vn-09827946 2025-09-23 12:15:37,291 - DEBUG - VN 1125b5a6-4203-4454-8a06-d919cabd7e42 still in use: Unable to complete operation on network 1125b5a6-4203-4454-8a06-d919cabd7e42. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-192e761a-b901-4de2-b546-662057395935'] 2025-09-23 12:15:37,291 - WARNING - Deleting VN ctest-ext_vn-09827946 failed..Will retry 2025-09-23 12:15:39,437 - DEBUG - Response for deleting network () 2025-09-23 12:15:39,437 - INFO - Deleting VN ctest-vn-43764124 2025-09-23 12:15:39,582 - DEBUG - Response for deleting network () 2025-09-23 12:15:39,845 - DEBUG - No XMPP flaps were noticed during the test
2025-09-23 12:15:39,845 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2025-09-23 12:15:39,846 - INFO - -------------------------------------------------------------------------------- 2025-09-23 12:15:40,585 - INFO - Deleted project: ctest-TestRoutersBasic-30513215, ID : 37b9d37c-b98e-4c7b-95ba-e159c83b6a80