2025-07-17 11:36:12,260 - INFO - Domain Default found not creating 2025-07-17 11:36:12,450 - INFO - Project ctest-TestRoutersBasic-07184995 not found, creating it 2025-07-17 11:36:12,981 - INFO - Created Project:ctest-TestRoutersBasic-07184995, ID : 91e3137b-1752-4118-b524-31a96e77ad9e 2025-07-17 11:36:14,534 - INFO - ================================================================================ 2025-07-17 11:36:14,535 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-07-17 11:36:14,535 - 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-07-17 11:36:14,791 - DEBUG - Nothing to compare xmpp stats {'10.0.0.137': {'10.20.0.14': '0'}} with 2025-07-17 11:36:14,791 - INFO - Initial checks done. Running the testcase now 2025-07-17 11:36:14,791 - INFO - 2025-07-17 11:36:15,559 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-07184995 2025-07-17 11:36:15,669 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-07184995 2025-07-17 11:36:16,008 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-07184995', 'default']} 2025-07-17 11:36:16,359 - DEBUG - Response for create_network : {'network': {'id': 'f4f9d40b-d00b-4c46-91d8-c8c031826953', 'name': 'ctest-vn-41609555', 'tenant_id': '91e3137b17524118b52431a96e77ad9e', 'project_id': '91e3137b17524118b52431a96e77ad9e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-07184995', 'ctest-vn-41609555'], 'port_security_enabled': True, 'description': ''}} 2025-07-17 11:36:16,574 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bf1f1cd6-1999-43b6-9273-cd852b5a4400', 'name': '', 'tenant_id': '91e3137b17524118b52431a96e77ad9e', 'network_id': 'f4f9d40b-d00b-4c46-91d8-c8c031826953', 'ip_version': 4, 'cidr': '163.113.225.192/26', 'allocation_pools': [{'start': '163.113.225.194', 'end': '163.113.225.254'}], 'gateway_ip': '163.113.225.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '163.113.225.194', 'tags': [], 'project_id': '91e3137b17524118b52431a96e77ad9e'}} 2025-07-17 11:36:16,599 - INFO - Created VN ctest-vn-41609555 2025-07-17 11:36:16,657 - DEBUG - VN ctest-vn-41609555 UUID is f4f9d40b-d00b-4c46-91d8-c8c031826953 2025-07-17 11:36:17,018 - DEBUG - Response for create_network : {'network': {'id': '287d4d0b-0351-4caf-aa61-6b3d56e07442', 'name': 'ctest-ext_vn-91561275', 'tenant_id': '91e3137b17524118b52431a96e77ad9e', 'project_id': '91e3137b17524118b52431a96e77ad9e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-07184995', 'ctest-ext_vn-91561275'], 'port_security_enabled': True, 'description': ''}} 2025-07-17 11:36:17,207 - DEBUG - Response for create_subnet : {'subnet': {'id': '08de34a1-d6e6-407c-93e6-ca6f515cffe0', 'name': '', 'tenant_id': '91e3137b17524118b52431a96e77ad9e', 'network_id': '287d4d0b-0351-4caf-aa61-6b3d56e07442', 'ip_version': 4, 'cidr': '184.131.186.64/26', 'allocation_pools': [{'start': '184.131.186.66', 'end': '184.131.186.126'}], 'gateway_ip': '184.131.186.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '184.131.186.66', 'tags': [], 'project_id': '91e3137b17524118b52431a96e77ad9e'}} 2025-07-17 11:36:17,227 - INFO - Created VN ctest-ext_vn-91561275 2025-07-17 11:36:17,280 - DEBUG - VN ctest-ext_vn-91561275 UUID is 287d4d0b-0351-4caf-aa61-6b3d56e07442 2025-07-17 11:36:17,453 - DEBUG - Services list from nova: [, , ] 2025-07-17 11:36:18,596 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3654-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3654-1) 2025-07-17 11:36:19,968 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3654-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3654-1) 2025-07-17 11:36:20,069 - INFO - Setting gateway for router 5ee48338-b5de-4c50-8655-bb981493fa8a to network 287d4d0b-0351-4caf-aa61-6b3d56e07442 2025-07-17 11:36:20,143 - INFO - Adding interface with subnet_id bf1f1cd6-1999-43b6-9273-cd852b5a4400, port_id None to router 5ee48338-b5de-4c50-8655-bb981493fa8a 2025-07-17 11:36:20,521 - INFO - Waiting for VM ctest-TestRoutersBasic-07184995-94197974 to be up.. 2025-07-17 11:36:20,691 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-17 11:36:25,774 - DEBUG - VM is in ACTIVE state now 2025-07-17 11:36:25,774 - INFO - VM name : ctest-TestRoutersBasic-07184995-94197974 2025-07-17 11:36:25,851 - DEBUG - VM ctest-TestRoutersBasic-07184995-94197974 ID is 05c33d88-9d1a-4588-981c-477dc51c550e 2025-07-17 11:36:25,870 - DEBUG - VM ctest-TestRoutersBasic-07184995-94197974 launched on Node cn-jenkins-deploy-platform-ansible-os-3654-1 2025-07-17 11:36:25,949 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/05c33d88-9d1a-4588-981c-477dc51c550e 2025-07-17 11:36:26,245 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/05c33d88-9d1a-4588-981c-477dc51c550e 2025-07-17 11:36:26,281 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/afadaf7f-635c-478a-b0fb-2652a4624ad2 2025-07-17 11:36:29,553 - 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-07-17 11:36:29,553 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-07184995-94197974 failed! 2025-07-17 11:36:29,613 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-07184995:ctest-vn-41609555 is 163.113.225.193 and allocation pool is NOT set 2025-07-17 11:36:31,679 - 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.39 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.539 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.539/1.964/3.389/1.425 ms') 2025-07-17 11:36:31,680 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-07184995-94197974 passed 2025-07-17 11:36:31,841 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-17 11:36:31,841 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-07184995-94197974, IP 163.113.225.195, Port 22 2025-07-17 11:36:32,010 - DEBUG - VM ctest-TestRoutersBasic-07184995-94197974 is ready for SSH connections 2025-07-17 11:36:32,010 - INFO - Waiting for VM ctest-TestRoutersBasic-07184995-53020963 to be up.. 2025-07-17 11:36:32,101 - DEBUG - VM is in ACTIVE state now 2025-07-17 11:36:32,101 - INFO - VM name : ctest-TestRoutersBasic-07184995-53020963 2025-07-17 11:36:32,184 - DEBUG - VM ctest-TestRoutersBasic-07184995-53020963 ID is 46a79ccd-d169-4cb3-ade1-3bd7244b8e38 2025-07-17 11:36:32,184 - DEBUG - VM ctest-TestRoutersBasic-07184995-53020963 launched on Node cn-jenkins-deploy-platform-ansible-os-3654-1 2025-07-17 11:36:32,268 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/46a79ccd-d169-4cb3-ade1-3bd7244b8e38 2025-07-17 11:36:32,282 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/b1f6b400-c2d9-4321-8646-d27583319149 2025-07-17 11:36:33,546 - 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.06 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.711 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.711/1.883/3.056/1.172 ms') 2025-07-17 11:36:33,547 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-07184995-53020963 passed 2025-07-17 11:36:33,709 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-17 11:36:33,709 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-07184995-53020963, IP 184.131.186.67, Port 22 2025-07-17 11:36:33,880 - DEBUG - VM ctest-TestRoutersBasic-07184995-53020963 is ready for SSH connections 2025-07-17 11:36:33,880 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-17 11:36:33,880 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 184.131.186.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123 2025-07-17 11:36:33,881 - DEBUG - ping -s 56 -c 3 -W 1 184.131.186.67 2025-07-17 11:36:37,931 - DEBUG - PING 184.131.186.67 (184.131.186.67): 56 data bytes 64 bytes from 184.131.186.67: seq=0 ttl=62 time=7.187 ms 64 bytes from 184.131.186.67: seq=1 ttl=62 time=1.036 ms 64 bytes from 184.131.186.67: seq=2 ttl=62 time=1.624 ms --- 184.131.186.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.036/3.282/7.187 ms 2025-07-17 11:36:37,931 - INFO - Ping to IP 184.131.186.67 from VM ctest-TestRoutersBasic-07184995-94197974 passed 2025-07-17 11:36:37,931 - INFO - Deleting interface with subnet_id bf1f1cd6-1999-43b6-9273-cd852b5a4400, port_id None from router 5ee48338-b5de-4c50-8655-bb981493fa8a 2025-07-17 11:36:38,189 - INFO - Deleting VM ctest-TestRoutersBasic-07184995-53020963 2025-07-17 11:36:38,280 - INFO - Deleting VM ctest-TestRoutersBasic-07184995-94197974 2025-07-17 11:36:38,368 - INFO - Deleting VN ctest-ext_vn-91561275 2025-07-17 11:36:38,462 - DEBUG - VN 287d4d0b-0351-4caf-aa61-6b3d56e07442 still in use: Unable to complete operation on network 287d4d0b-0351-4caf-aa61-6b3d56e07442. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-38404c6a-5781-4b7a-86ce-92fcc613242c'] 2025-07-17 11:36:38,462 - WARNING - Deleting VN ctest-ext_vn-91561275 failed..Will retry 2025-07-17 11:36:40,571 - DEBUG - Response for deleting network () 2025-07-17 11:36:40,571 - INFO - Deleting VN ctest-vn-41609555 2025-07-17 11:36:40,698 - DEBUG - Response for deleting network () 2025-07-17 11:36:40,964 - DEBUG - No XMPP flaps were noticed during the test
2025-07-17 11:36:40,964 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-07-17 11:36:40,964 - INFO - -------------------------------------------------------------------------------- 2025-07-17 11:36:41,664 - INFO - Deleted project: ctest-TestRoutersBasic-07184995, ID : 91e3137b-1752-4118-b524-31a96e77ad9e