2025-11-19 16:12:57,183 - INFO - Domain Default found not creating 2025-11-19 16:12:57,395 - INFO - Project ctest-TestRoutersBasic-67995754 not found, creating it 2025-11-19 16:12:57,905 - INFO - Created Project:ctest-TestRoutersBasic-67995754, ID : d631f457-fe82-44d9-b737-9f885968561e 2025-11-19 16:12:59,537 - INFO - ================================================================================ 2025-11-19 16:12:59,537 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-19 16:12:59,537 - 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-11-19 16:12:59,799 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.25': '0'}} with 2025-11-19 16:12:59,799 - INFO - Initial checks done. Running the testcase now 2025-11-19 16:12:59,799 - INFO - 2025-11-19 16:13:00,567 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-67995754 2025-11-19 16:13:00,664 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-67995754 2025-11-19 16:13:00,992 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-67995754', 'default']} 2025-11-19 16:13:01,304 - DEBUG - Response for create_network : {'network': {'id': 'dd459878-f60e-4d37-a2e3-140796860b17', 'name': 'ctest-vn-25267833', 'tenant_id': 'd631f457fe8244d9b7379f885968561e', 'project_id': 'd631f457fe8244d9b7379f885968561e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-67995754', 'ctest-vn-25267833'], 'port_security_enabled': True, 'description': ''}} 2025-11-19 16:13:01,522 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a1564287-1ca1-40db-8665-e0a49000c3b3', 'name': '', 'tenant_id': 'd631f457fe8244d9b7379f885968561e', 'network_id': 'dd459878-f60e-4d37-a2e3-140796860b17', 'ip_version': 4, 'cidr': '160.106.134.128/26', 'allocation_pools': [{'start': '160.106.134.130', 'end': '160.106.134.190'}], 'gateway_ip': '160.106.134.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '160.106.134.130', 'tags': [], 'project_id': 'd631f457fe8244d9b7379f885968561e'}} 2025-11-19 16:13:01,543 - INFO - Created VN ctest-vn-25267833 2025-11-19 16:13:01,596 - DEBUG - VN ctest-vn-25267833 UUID is dd459878-f60e-4d37-a2e3-140796860b17 2025-11-19 16:13:01,938 - DEBUG - Response for create_network : {'network': {'id': '17ad5efa-da14-42da-b886-8bae36ab5cf8', 'name': 'ctest-ext_vn-90852582', 'tenant_id': 'd631f457fe8244d9b7379f885968561e', 'project_id': 'd631f457fe8244d9b7379f885968561e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-67995754', 'ctest-ext_vn-90852582'], 'port_security_enabled': True, 'description': ''}} 2025-11-19 16:13:02,182 - DEBUG - Response for create_subnet : {'subnet': {'id': '61480774-8963-46b8-a099-f878deca5a03', 'name': '', 'tenant_id': 'd631f457fe8244d9b7379f885968561e', 'network_id': '17ad5efa-da14-42da-b886-8bae36ab5cf8', 'ip_version': 4, 'cidr': '135.50.104.0/26', 'allocation_pools': [{'start': '135.50.104.2', 'end': '135.50.104.62'}], 'gateway_ip': '135.50.104.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '135.50.104.2', 'tags': [], 'project_id': 'd631f457fe8244d9b7379f885968561e'}} 2025-11-19 16:13:02,205 - INFO - Created VN ctest-ext_vn-90852582 2025-11-19 16:13:02,260 - DEBUG - VN ctest-ext_vn-90852582 UUID is 17ad5efa-da14-42da-b886-8bae36ab5cf8 2025-11-19 16:13:02,445 - DEBUG - Services list from nova: [, , ] 2025-11-19 16:13:03,565 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4762-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4762-1) 2025-11-19 16:13:04,829 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4762-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4762-1) 2025-11-19 16:13:04,904 - INFO - Setting gateway for router c926c32c-07a7-4f6c-8e44-0fe6f2851aa5 to network 17ad5efa-da14-42da-b886-8bae36ab5cf8 2025-11-19 16:13:04,979 - INFO - Adding interface with subnet_id a1564287-1ca1-40db-8665-e0a49000c3b3, port_id None to router c926c32c-07a7-4f6c-8e44-0fe6f2851aa5 2025-11-19 16:13:05,513 - INFO - Waiting for VM ctest-TestRoutersBasic-67995754-05138218 to be up.. 2025-11-19 16:13:05,666 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-19 16:13:10,758 - DEBUG - VM is in ACTIVE state now 2025-11-19 16:13:10,758 - INFO - VM name : ctest-TestRoutersBasic-67995754-05138218 2025-11-19 16:13:10,844 - DEBUG - VM ctest-TestRoutersBasic-67995754-05138218 ID is cb6a9e44-bfea-4020-8d9e-96582364fb2d 2025-11-19 16:13:10,864 - DEBUG - VM ctest-TestRoutersBasic-67995754-05138218 launched on Node cn-jenkins-deploy-platform-ansible-os-4762-1 2025-11-19 16:13:10,952 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/cb6a9e44-bfea-4020-8d9e-96582364fb2d 2025-11-19 16:13:11,275 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/cb6a9e44-bfea-4020-8d9e-96582364fb2d 2025-11-19 16:13:11,333 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/e5c49cf4-b9b6-403b-bbd7-bfceb40cf3ac 2025-11-19 16:13:14,639 - 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-11-19 16:13:14,639 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-67995754-05138218 failed! 2025-11-19 16:13:14,696 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-67995754:ctest-vn-25267833 is 160.106.134.129 and allocation pool is NOT set 2025-11-19 16:13:16,757 - 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=4.13 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.46 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 = 2.458/3.293/4.129/0.835 ms') 2025-11-19 16:13:16,757 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-67995754-05138218 passed 2025-11-19 16:13:16,908 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 16:13:16,908 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-67995754-05138218, IP 160.106.134.131, Port 22 2025-11-19 16:13:17,082 - DEBUG - VM ctest-TestRoutersBasic-67995754-05138218 is ready for SSH connections 2025-11-19 16:13:17,082 - INFO - Waiting for VM ctest-TestRoutersBasic-67995754-47526705 to be up.. 2025-11-19 16:13:17,174 - DEBUG - VM is in ACTIVE state now 2025-11-19 16:13:17,174 - INFO - VM name : ctest-TestRoutersBasic-67995754-47526705 2025-11-19 16:13:17,268 - DEBUG - VM ctest-TestRoutersBasic-67995754-47526705 ID is 3a9c3154-7880-43a3-87f2-6b2005b2be8e 2025-11-19 16:13:17,268 - DEBUG - VM ctest-TestRoutersBasic-67995754-47526705 launched on Node cn-jenkins-deploy-platform-ansible-os-4762-1 2025-11-19 16:13:17,364 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/3a9c3154-7880-43a3-87f2-6b2005b2be8e 2025-11-19 16:13:17,373 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/15eda28c-7d27-422d-9a58-2b9939ed3ca0 2025-11-19 16:13:18,622 - 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=6.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.869 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 = 0.869/3.886/6.903/3.017 ms') 2025-11-19 16:13:18,623 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-67995754-47526705 passed 2025-11-19 16:13:18,780 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 16:13:18,780 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-67995754-47526705, IP 135.50.104.3, Port 22 2025-11-19 16:13:18,947 - DEBUG - VM ctest-TestRoutersBasic-67995754-47526705 is ready for SSH connections 2025-11-19 16:13:18,947 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 16:13:18,947 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 135.50.104.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-11-19 16:13:18,947 - DEBUG - ping -s 56 -c 3 -W 1 135.50.104.3 2025-11-19 16:13:22,696 - DEBUG - PING 135.50.104.3 (135.50.104.3): 56 data bytes 64 bytes from 135.50.104.3: seq=0 ttl=62 time=6.911 ms 64 bytes from 135.50.104.3: seq=1 ttl=62 time=0.972 ms 64 bytes from 135.50.104.3: seq=2 ttl=62 time=1.181 ms --- 135.50.104.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.972/3.021/6.911 ms 2025-11-19 16:13:22,696 - INFO - Ping to IP 135.50.104.3 from VM ctest-TestRoutersBasic-67995754-05138218 passed 2025-11-19 16:13:22,697 - INFO - Deleting interface with subnet_id a1564287-1ca1-40db-8665-e0a49000c3b3, port_id None from router c926c32c-07a7-4f6c-8e44-0fe6f2851aa5 2025-11-19 16:13:22,909 - INFO - Deleting VM ctest-TestRoutersBasic-67995754-47526705 2025-11-19 16:13:23,035 - INFO - Deleting VM ctest-TestRoutersBasic-67995754-05138218 2025-11-19 16:13:23,125 - INFO - Deleting VN ctest-ext_vn-90852582 2025-11-19 16:13:23,201 - DEBUG - VN 17ad5efa-da14-42da-b886-8bae36ab5cf8 still in use: Unable to complete operation on network 17ad5efa-da14-42da-b886-8bae36ab5cf8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8d4cd7ff-e347-4a31-89a1-e047dcee089d'] 2025-11-19 16:13:23,202 - WARNING - Deleting VN ctest-ext_vn-90852582 failed..Will retry 2025-11-19 16:13:25,304 - DEBUG - Response for deleting network () 2025-11-19 16:13:25,305 - INFO - Deleting VN ctest-vn-25267833 2025-11-19 16:13:25,423 - DEBUG - Response for deleting network () 2025-11-19 16:13:25,699 - DEBUG - No XMPP flaps were noticed during the test
2025-11-19 16:13:25,699 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-11-19 16:13:25,699 - INFO - -------------------------------------------------------------------------------- 2025-11-19 16:13:26,451 - INFO - Deleted project: ctest-TestRoutersBasic-67995754, ID : d631f457-fe82-44d9-b737-9f885968561e