2025-10-31 02:31:59,436 - INFO - Domain Default found not creating 2025-10-31 02:31:59,606 - INFO - Project ctest-TestRoutersBasic-56169761 not found, creating it 2025-10-31 02:32:00,100 - INFO - Created Project:ctest-TestRoutersBasic-56169761, ID : c703ec28-b662-4ee5-8a7c-767f69617a3d 2025-10-31 02:32:01,665 - INFO - ================================================================================ 2025-10-31 02:32:01,665 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-31 02:32:01,665 - 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-31 02:32:01,925 - DEBUG - Nothing to compare xmpp stats {'10.0.0.137': {'10.20.0.14': '0'}} with 2025-10-31 02:32:01,925 - INFO - Initial checks done. Running the testcase now 2025-10-31 02:32:01,925 - INFO - 2025-10-31 02:32:02,660 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-56169761 2025-10-31 02:32:02,759 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-56169761 2025-10-31 02:32:03,090 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-56169761', 'default']} 2025-10-31 02:32:03,386 - DEBUG - Response for create_network : {'network': {'id': 'a1bb523f-5b1b-4c49-bf8c-ed25825474cc', 'name': 'ctest-vn-77860947', 'tenant_id': 'c703ec28b6624ee58a7c767f69617a3d', 'project_id': 'c703ec28b6624ee58a7c767f69617a3d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-56169761', 'ctest-vn-77860947'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 02:32:03,619 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f6319f47-7a36-40f1-9c38-ddbf2915f699', 'name': '', 'tenant_id': 'c703ec28b6624ee58a7c767f69617a3d', 'network_id': 'a1bb523f-5b1b-4c49-bf8c-ed25825474cc', 'ip_version': 4, 'cidr': '181.229.38.0/26', 'allocation_pools': [{'start': '181.229.38.2', 'end': '181.229.38.62'}], 'gateway_ip': '181.229.38.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '181.229.38.2', 'tags': [], 'project_id': 'c703ec28b6624ee58a7c767f69617a3d'}} 2025-10-31 02:32:03,639 - INFO - Created VN ctest-vn-77860947 2025-10-31 02:32:03,690 - DEBUG - VN ctest-vn-77860947 UUID is a1bb523f-5b1b-4c49-bf8c-ed25825474cc 2025-10-31 02:32:04,011 - DEBUG - Response for create_network : {'network': {'id': '13571913-bfdd-4832-a13e-611a53e5ed00', 'name': 'ctest-ext_vn-12453576', 'tenant_id': 'c703ec28b6624ee58a7c767f69617a3d', 'project_id': 'c703ec28b6624ee58a7c767f69617a3d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-56169761', 'ctest-ext_vn-12453576'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 02:32:04,225 - DEBUG - Response for create_subnet : {'subnet': {'id': '47d4fa9e-8b61-4bdc-95cc-4bf49f0cc0bf', 'name': '', 'tenant_id': 'c703ec28b6624ee58a7c767f69617a3d', 'network_id': '13571913-bfdd-4832-a13e-611a53e5ed00', 'ip_version': 4, 'cidr': '41.135.203.128/26', 'allocation_pools': [{'start': '41.135.203.130', 'end': '41.135.203.190'}], 'gateway_ip': '41.135.203.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '41.135.203.130', 'tags': [], 'project_id': 'c703ec28b6624ee58a7c767f69617a3d'}} 2025-10-31 02:32:04,246 - INFO - Created VN ctest-ext_vn-12453576 2025-10-31 02:32:04,298 - DEBUG - VN ctest-ext_vn-12453576 UUID is 13571913-bfdd-4832-a13e-611a53e5ed00 2025-10-31 02:32:04,472 - DEBUG - Services list from nova: [, , ] 2025-10-31 02:32:05,543 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4567-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4567-1) 2025-10-31 02:32:06,704 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4567-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4567-1) 2025-10-31 02:32:06,794 - INFO - Setting gateway for router d36d6dc7-7401-494c-9161-c8c4535d20a6 to network 13571913-bfdd-4832-a13e-611a53e5ed00 2025-10-31 02:32:06,845 - INFO - Adding interface with subnet_id f6319f47-7a36-40f1-9c38-ddbf2915f699, port_id None to router d36d6dc7-7401-494c-9161-c8c4535d20a6 2025-10-31 02:32:07,260 - INFO - Waiting for VM ctest-TestRoutersBasic-56169761-48462186 to be up.. 2025-10-31 02:32:07,428 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-31 02:32:12,511 - DEBUG - VM is in ACTIVE state now 2025-10-31 02:32:12,511 - INFO - VM name : ctest-TestRoutersBasic-56169761-48462186 2025-10-31 02:32:12,593 - DEBUG - VM ctest-TestRoutersBasic-56169761-48462186 ID is 32d92551-137d-43f2-9395-238b41a846ab 2025-10-31 02:32:12,613 - DEBUG - VM ctest-TestRoutersBasic-56169761-48462186 launched on Node cn-jenkins-deploy-platform-ansible-os-4567-1 2025-10-31 02:32:12,688 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/32d92551-137d-43f2-9395-238b41a846ab 2025-10-31 02:32:12,998 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/32d92551-137d-43f2-9395-238b41a846ab 2025-10-31 02:32:13,033 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/13af3cd5-e038-4320-9258-cbc3a7120604 2025-10-31 02:32:16,300 - 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-31 02:32:16,300 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-56169761-48462186 failed! 2025-10-31 02:32:16,355 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-56169761:ctest-vn-77860947 is 181.229.38.1 and allocation pool is NOT set 2025-10-31 02:32:18,415 - 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.28 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.419 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 = 0.419/1.847/3.275/1.428 ms') 2025-10-31 02:32:18,415 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-56169761-48462186 passed 2025-10-31 02:32:18,566 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 02:32:18,567 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-56169761-48462186, IP 181.229.38.3, Port 22 2025-10-31 02:32:18,732 - DEBUG - VM ctest-TestRoutersBasic-56169761-48462186 is ready for SSH connections 2025-10-31 02:32:18,732 - INFO - Waiting for VM ctest-TestRoutersBasic-56169761-81753326 to be up.. 2025-10-31 02:32:18,821 - DEBUG - VM is in ACTIVE state now 2025-10-31 02:32:18,821 - INFO - VM name : ctest-TestRoutersBasic-56169761-81753326 2025-10-31 02:32:18,897 - DEBUG - VM ctest-TestRoutersBasic-56169761-81753326 ID is 02403dc7-664c-4da2-88dc-82d9ec9af0c5 2025-10-31 02:32:18,897 - DEBUG - VM ctest-TestRoutersBasic-56169761-81753326 launched on Node cn-jenkins-deploy-platform-ansible-os-4567-1 2025-10-31 02:32:18,971 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/02403dc7-664c-4da2-88dc-82d9ec9af0c5 2025-10-31 02:32:18,979 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/b845b7f0-d4b5-4c4b-8599-911ce0faf55d 2025-10-31 02:32:20,217 - 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=4.49 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.785 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.785/2.637/4.490/1.852 ms') 2025-10-31 02:32:20,217 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-56169761-81753326 passed 2025-10-31 02:32:20,370 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 02:32:20,371 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-56169761-81753326, IP 41.135.203.131, Port 22 2025-10-31 02:32:20,526 - DEBUG - VM ctest-TestRoutersBasic-56169761-81753326 is ready for SSH connections 2025-10-31 02:32:20,527 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 02:32:20,527 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 41.135.203.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123 2025-10-31 02:32:20,527 - DEBUG - ping -s 56 -c 3 -W 1 41.135.203.131 2025-10-31 02:32:24,260 - DEBUG - PING 41.135.203.131 (41.135.203.131): 56 data bytes 64 bytes from 41.135.203.131: seq=0 ttl=62 time=7.483 ms 64 bytes from 41.135.203.131: seq=1 ttl=62 time=1.246 ms 64 bytes from 41.135.203.131: seq=2 ttl=62 time=1.263 ms --- 41.135.203.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.246/3.330/7.483 ms 2025-10-31 02:32:24,260 - INFO - Ping to IP 41.135.203.131 from VM ctest-TestRoutersBasic-56169761-48462186 passed 2025-10-31 02:32:24,260 - INFO - Deleting interface with subnet_id f6319f47-7a36-40f1-9c38-ddbf2915f699, port_id None from router d36d6dc7-7401-494c-9161-c8c4535d20a6 2025-10-31 02:32:24,463 - INFO - Deleting VM ctest-TestRoutersBasic-56169761-81753326 2025-10-31 02:32:24,554 - INFO - Deleting VM ctest-TestRoutersBasic-56169761-48462186 2025-10-31 02:32:24,643 - INFO - Deleting VN ctest-ext_vn-12453576 2025-10-31 02:32:24,712 - DEBUG - VN 13571913-bfdd-4832-a13e-611a53e5ed00 still in use: Unable to complete operation on network 13571913-bfdd-4832-a13e-611a53e5ed00. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f6595663-ce5d-4534-88a0-4d13cc31d454'] 2025-10-31 02:32:24,713 - WARNING - Deleting VN ctest-ext_vn-12453576 failed..Will retry 2025-10-31 02:32:26,832 - DEBUG - Response for deleting network () 2025-10-31 02:32:26,833 - INFO - Deleting VN ctest-vn-77860947 2025-10-31 02:32:26,942 - DEBUG - Response for deleting network () 2025-10-31 02:32:27,200 - DEBUG - No XMPP flaps were noticed during the test 2025-10-31 02:32:27,200 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-10-31 02:32:27,200 - INFO - -------------------------------------------------------------------------------- 2025-10-31 02:32:27,915 - INFO - Deleted project: ctest-TestRoutersBasic-56169761, ID : c703ec28-b662-4ee5-8a7c-767f69617a3d