2025-07-17 14:56:20,450 - INFO - Domain Default found not creating 2025-07-17 14:56:20,613 - INFO - Project ctest-TestRoutersBasic-67360642 not found, creating it 2025-07-17 14:56:21,107 - INFO - Created Project:ctest-TestRoutersBasic-67360642, ID : 9d4ae5bb-8c5c-4d60-af7e-4ec0e48ea895 2025-07-17 14:56:22,586 - INFO - ================================================================================ 2025-07-17 14:56:22,586 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-07-17 14:56:22,586 - 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 14:56:22,840 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0'}} with 2025-07-17 14:56:22,840 - INFO - Initial checks done. Running the testcase now 2025-07-17 14:56:22,840 - INFO - 2025-07-17 14:56:23,566 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-67360642 2025-07-17 14:56:23,662 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-67360642 2025-07-17 14:56:23,985 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-67360642', 'default']} 2025-07-17 14:56:24,533 - DEBUG - Response for create_network : {'network': {'id': '1f03ec48-88aa-4327-add3-e074d2710a1b', 'name': 'ctest-vn-89365904', 'tenant_id': '9d4ae5bb8c5c4d60af7e4ec0e48ea895', 'project_id': '9d4ae5bb8c5c4d60af7e4ec0e48ea895', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-67360642', 'ctest-vn-89365904'], 'port_security_enabled': True, 'description': ''}} 2025-07-17 14:56:24,724 - DEBUG - Response for create_subnet : {'subnet': {'id': '09468eb4-a359-46c1-8f80-d121b5261af9', 'name': '', 'tenant_id': '9d4ae5bb8c5c4d60af7e4ec0e48ea895', 'network_id': '1f03ec48-88aa-4327-add3-e074d2710a1b', 'ip_version': 4, 'cidr': '12.11.195.0/26', 'allocation_pools': [{'start': '12.11.195.2', 'end': '12.11.195.62'}], 'gateway_ip': '12.11.195.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '12.11.195.2', 'tags': [], 'project_id': '9d4ae5bb8c5c4d60af7e4ec0e48ea895'}} 2025-07-17 14:56:24,748 - INFO - Created VN ctest-vn-89365904 2025-07-17 14:56:24,801 - DEBUG - VN ctest-vn-89365904 UUID is 1f03ec48-88aa-4327-add3-e074d2710a1b 2025-07-17 14:56:25,137 - DEBUG - Response for create_network : {'network': {'id': 'ce3e08e9-6420-400b-85f3-9192d3cade32', 'name': 'ctest-ext_vn-38504058', 'tenant_id': '9d4ae5bb8c5c4d60af7e4ec0e48ea895', 'project_id': '9d4ae5bb8c5c4d60af7e4ec0e48ea895', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-67360642', 'ctest-ext_vn-38504058'], 'port_security_enabled': True, 'description': ''}} 2025-07-17 14:56:25,310 - DEBUG - Response for create_subnet : {'subnet': {'id': '860b8d6e-a8d8-4b6f-89e1-0abc5a35b00a', 'name': '', 'tenant_id': '9d4ae5bb8c5c4d60af7e4ec0e48ea895', 'network_id': 'ce3e08e9-6420-400b-85f3-9192d3cade32', 'ip_version': 4, 'cidr': '128.105.197.128/26', 'allocation_pools': [{'start': '128.105.197.130', 'end': '128.105.197.190'}], 'gateway_ip': '128.105.197.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '128.105.197.130', 'tags': [], 'project_id': '9d4ae5bb8c5c4d60af7e4ec0e48ea895'}} 2025-07-17 14:56:25,328 - INFO - Created VN ctest-ext_vn-38504058 2025-07-17 14:56:25,381 - DEBUG - VN ctest-ext_vn-38504058 UUID is ce3e08e9-6420-400b-85f3-9192d3cade32 2025-07-17 14:56:25,550 - DEBUG - Services list from nova: [, , ] 2025-07-17 14:56:26,557 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3657-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3657-1) 2025-07-17 14:56:27,766 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3657-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3657-1) 2025-07-17 14:56:27,843 - INFO - Setting gateway for router 50b10f05-f5a7-4627-815e-bff2c2fe228e to network ce3e08e9-6420-400b-85f3-9192d3cade32 2025-07-17 14:56:27,908 - INFO - Adding interface with subnet_id 09468eb4-a359-46c1-8f80-d121b5261af9, port_id None to router 50b10f05-f5a7-4627-815e-bff2c2fe228e 2025-07-17 14:56:28,333 - INFO - Waiting for VM ctest-TestRoutersBasic-67360642-29479467 to be up.. 2025-07-17 14:56:28,441 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-17 14:56:33,524 - DEBUG - VM is in ACTIVE state now 2025-07-17 14:56:33,524 - INFO - VM name : ctest-TestRoutersBasic-67360642-29479467 2025-07-17 14:56:33,611 - DEBUG - VM ctest-TestRoutersBasic-67360642-29479467 ID is b1040838-64af-4918-93e0-923e31434cb0 2025-07-17 14:56:33,632 - DEBUG - VM ctest-TestRoutersBasic-67360642-29479467 launched on Node cn-jenkins-deploy-platform-ansible-os-3657-1 2025-07-17 14:56:33,720 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/b1040838-64af-4918-93e0-923e31434cb0 2025-07-17 14:56:34,023 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/b1040838-64af-4918-93e0-923e31434cb0 2025-07-17 14:56:34,059 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/67fb8cb7-d52f-4c4c-bb18-c02e8d564d0c 2025-07-17 14:56:37,326 - 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 1027ms') 2025-07-17 14:56:37,326 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-67360642-29479467 failed! 2025-07-17 14:56:37,386 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-67360642:ctest-vn-89365904 is 12.11.195.1 and allocation pool is NOT set 2025-07-17 14:56:39,444 - 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.58 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.23 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.230/2.902/4.575/1.672 ms') 2025-07-17 14:56:39,444 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-67360642-29479467 passed 2025-07-17 14:56:39,598 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-17 14:56:39,598 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-67360642-29479467, IP 12.11.195.3, Port 22 2025-07-17 14:56:39,761 - DEBUG - VM ctest-TestRoutersBasic-67360642-29479467 is ready for SSH connections 2025-07-17 14:56:39,761 - INFO - Waiting for VM ctest-TestRoutersBasic-67360642-89350770 to be up.. 2025-07-17 14:56:39,842 - DEBUG - VM is in ACTIVE state now 2025-07-17 14:56:39,842 - INFO - VM name : ctest-TestRoutersBasic-67360642-89350770 2025-07-17 14:56:39,913 - DEBUG - VM ctest-TestRoutersBasic-67360642-89350770 ID is 2f28f10e-d9e5-4154-a326-f7ccf6dcff22 2025-07-17 14:56:39,914 - DEBUG - VM ctest-TestRoutersBasic-67360642-89350770 launched on Node cn-jenkins-deploy-platform-ansible-os-3657-1 2025-07-17 14:56:39,985 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/2f28f10e-d9e5-4154-a326-f7ccf6dcff22 2025-07-17 14:56:39,996 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/7e7e3d9f-51af-4d89-84de-44aada6624f8 2025-07-17 14:56:41,244 - 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.25 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.517 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.517/1.883/3.249/1.366 ms') 2025-07-17 14:56:41,244 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-67360642-89350770 passed 2025-07-17 14:56:41,393 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-17 14:56:41,393 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-67360642-89350770, IP 128.105.197.131, Port 22 2025-07-17 14:56:41,549 - DEBUG - VM ctest-TestRoutersBasic-67360642-89350770 is ready for SSH connections 2025-07-17 14:56:41,550 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-17 14:56:41,550 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 128.105.197.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-07-17 14:56:41,550 - DEBUG - ping -s 56 -c 3 -W 1 128.105.197.131 2025-07-17 14:56:45,605 - DEBUG - PING 128.105.197.131 (128.105.197.131): 56 data bytes 64 bytes from 128.105.197.131: seq=0 ttl=62 time=6.206 ms 64 bytes from 128.105.197.131: seq=1 ttl=62 time=0.841 ms 64 bytes from 128.105.197.131: seq=2 ttl=62 time=0.963 ms --- 128.105.197.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.841/2.670/6.206 ms 2025-07-17 14:56:45,606 - INFO - Ping to IP 128.105.197.131 from VM ctest-TestRoutersBasic-67360642-29479467 passed 2025-07-17 14:56:45,606 - INFO - Deleting interface with subnet_id 09468eb4-a359-46c1-8f80-d121b5261af9, port_id None from router 50b10f05-f5a7-4627-815e-bff2c2fe228e 2025-07-17 14:56:45,821 - INFO - Deleting VM ctest-TestRoutersBasic-67360642-89350770 2025-07-17 14:56:45,900 - INFO - Deleting VM ctest-TestRoutersBasic-67360642-29479467 2025-07-17 14:56:45,984 - INFO - Deleting VN ctest-ext_vn-38504058 2025-07-17 14:56:46,053 - DEBUG - VN ce3e08e9-6420-400b-85f3-9192d3cade32 still in use: Unable to complete operation on network ce3e08e9-6420-400b-85f3-9192d3cade32. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b6c6fdb2-5aa0-476e-b86a-d143721a7a79'] 2025-07-17 14:56:46,053 - WARNING - Deleting VN ctest-ext_vn-38504058 failed..Will retry 2025-07-17 14:56:48,159 - DEBUG - Response for deleting network () 2025-07-17 14:56:48,159 - INFO - Deleting VN ctest-vn-89365904 2025-07-17 14:56:48,268 - DEBUG - Response for deleting network () 2025-07-17 14:56:48,528 - DEBUG - No XMPP flaps were noticed during the test 2025-07-17 14:56:48,528 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-07-17 14:56:48,528 - INFO - -------------------------------------------------------------------------------- 2025-07-17 14:56:49,220 - INFO - Deleted project: ctest-TestRoutersBasic-67360642, ID : 9d4ae5bb-8c5c-4d60-af7e-4ec0e48ea895