2025-10-31 00:24:00,594 - INFO - Domain Default found not creating 2025-10-31 00:24:01,049 - INFO - Project ctest-TestRoutersBasic-87584949 not found, creating it 2025-10-31 00:24:01,487 - INFO - Created Project:ctest-TestRoutersBasic-87584949, ID : 0b562771-027c-4596-b931-d792d2a43a44 2025-10-31 00:24:02,893 - INFO - ================================================================================ 2025-10-31 00:24:02,893 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-31 00:24:02,893 - 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 00:24:03,153 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-10-31 00:24:03,153 - INFO - Initial checks done. Running the testcase now 2025-10-31 00:24:03,153 - INFO - 2025-10-31 00:24:03,844 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-87584949 2025-10-31 00:24:03,939 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-87584949 2025-10-31 00:24:04,263 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-87584949', 'default']} 2025-10-31 00:24:04,543 - DEBUG - Response for create_network : {'network': {'id': '4d56538d-4e01-47e8-a842-e325866b1cee', 'name': 'ctest-vn-00662030', 'tenant_id': '0b562771027c4596b931d792d2a43a44', 'project_id': '0b562771027c4596b931d792d2a43a44', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-87584949', 'ctest-vn-00662030'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 00:24:04,764 - DEBUG - Response for create_subnet : {'subnet': {'id': '269862e4-e993-452d-ab3f-0cb3e1c72c44', 'name': '', 'tenant_id': '0b562771027c4596b931d792d2a43a44', 'network_id': '4d56538d-4e01-47e8-a842-e325866b1cee', 'ip_version': 4, 'cidr': '203.104.114.192/26', 'allocation_pools': [{'start': '203.104.114.194', 'end': '203.104.114.254'}], 'gateway_ip': '203.104.114.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.104.114.194', 'tags': [], 'project_id': '0b562771027c4596b931d792d2a43a44'}} 2025-10-31 00:24:04,783 - INFO - Created VN ctest-vn-00662030 2025-10-31 00:24:04,835 - DEBUG - VN ctest-vn-00662030 UUID is 4d56538d-4e01-47e8-a842-e325866b1cee 2025-10-31 00:24:05,160 - DEBUG - Response for create_network : {'network': {'id': 'a78d0abe-70ec-4e34-98c6-f408a9450463', 'name': 'ctest-ext_vn-77872363', 'tenant_id': '0b562771027c4596b931d792d2a43a44', 'project_id': '0b562771027c4596b931d792d2a43a44', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-87584949', 'ctest-ext_vn-77872363'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 00:24:05,375 - DEBUG - Response for create_subnet : {'subnet': {'id': '9a488ef1-530e-4951-a222-22e4995fbbb3', 'name': '', 'tenant_id': '0b562771027c4596b931d792d2a43a44', 'network_id': 'a78d0abe-70ec-4e34-98c6-f408a9450463', 'ip_version': 4, 'cidr': '117.56.168.0/26', 'allocation_pools': [{'start': '117.56.168.2', 'end': '117.56.168.62'}], 'gateway_ip': '117.56.168.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '117.56.168.2', 'tags': [], 'project_id': '0b562771027c4596b931d792d2a43a44'}} 2025-10-31 00:24:05,390 - INFO - Created VN ctest-ext_vn-77872363 2025-10-31 00:24:05,443 - DEBUG - VN ctest-ext_vn-77872363 UUID is a78d0abe-70ec-4e34-98c6-f408a9450463 2025-10-31 00:24:05,640 - DEBUG - Services list from nova: [, , ] 2025-10-31 00:24:06,633 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4562-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4562-1) 2025-10-31 00:24:07,743 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4562-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4562-1) 2025-10-31 00:24:07,815 - INFO - Setting gateway for router 080bdd52-7e84-4dd7-9ac2-f69389ca0f2b to network a78d0abe-70ec-4e34-98c6-f408a9450463 2025-10-31 00:24:07,870 - INFO - Adding interface with subnet_id 269862e4-e993-452d-ab3f-0cb3e1c72c44, port_id None to router 080bdd52-7e84-4dd7-9ac2-f69389ca0f2b 2025-10-31 00:24:08,212 - INFO - Waiting for VM ctest-TestRoutersBasic-87584949-77364266 to be up.. 2025-10-31 00:24:08,380 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-31 00:24:13,445 - DEBUG - VM is in ACTIVE state now 2025-10-31 00:24:13,445 - INFO - VM name : ctest-TestRoutersBasic-87584949-77364266 2025-10-31 00:24:13,510 - DEBUG - VM ctest-TestRoutersBasic-87584949-77364266 ID is d1740578-ae5d-404f-90ce-e4d3a6250a35 2025-10-31 00:24:13,528 - DEBUG - VM ctest-TestRoutersBasic-87584949-77364266 launched on Node cn-jenkins-deploy-platform-ansible-os-4562-1 2025-10-31 00:24:13,595 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/d1740578-ae5d-404f-90ce-e4d3a6250a35 2025-10-31 00:24:13,889 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/d1740578-ae5d-404f-90ce-e4d3a6250a35 2025-10-31 00:24:13,919 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/de1666ec-3992-4505-916b-59a2451c4250 2025-10-31 00:24:17,181 - 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 1019ms') 2025-10-31 00:24:17,181 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-87584949-77364266 failed! 2025-10-31 00:24:17,239 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-87584949:ctest-vn-00662030 is 203.104.114.193 and allocation pool is NOT set 2025-10-31 00:24:19,307 - 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=2.80 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.380 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.380/1.589/2.798/1.209 ms') 2025-10-31 00:24:19,307 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-87584949-77364266 passed 2025-10-31 00:24:19,455 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 00:24:19,455 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-87584949-77364266, IP 203.104.114.195, Port 22 2025-10-31 00:24:19,611 - DEBUG - VM ctest-TestRoutersBasic-87584949-77364266 is ready for SSH connections 2025-10-31 00:24:19,611 - INFO - Waiting for VM ctest-TestRoutersBasic-87584949-03251569 to be up.. 2025-10-31 00:24:19,685 - DEBUG - VM is in ACTIVE state now 2025-10-31 00:24:19,685 - INFO - VM name : ctest-TestRoutersBasic-87584949-03251569 2025-10-31 00:24:19,749 - DEBUG - VM ctest-TestRoutersBasic-87584949-03251569 ID is 15206048-198d-4646-812f-807fea136a75 2025-10-31 00:24:19,749 - DEBUG - VM ctest-TestRoutersBasic-87584949-03251569 launched on Node cn-jenkins-deploy-platform-ansible-os-4562-1 2025-10-31 00:24:19,815 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/15206048-198d-4646-812f-807fea136a75 2025-10-31 00:24:19,823 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/703ba138-3d90-472d-ac1c-a7cd4148aa47 2025-10-31 00:24:21,056 - 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.34 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.330 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.330/1.834/3.338/1.504 ms') 2025-10-31 00:24:21,056 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-87584949-03251569 passed 2025-10-31 00:24:21,203 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 00:24:21,203 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-87584949-03251569, IP 117.56.168.3, Port 22 2025-10-31 00:24:21,370 - DEBUG - VM ctest-TestRoutersBasic-87584949-03251569 is ready for SSH connections 2025-10-31 00:24:21,370 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 00:24:21,370 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 117.56.168.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-31 00:24:21,371 - DEBUG - ping -s 56 -c 3 -W 1 117.56.168.3 2025-10-31 00:24:25,077 - DEBUG - PING 117.56.168.3 (117.56.168.3): 56 data bytes 64 bytes from 117.56.168.3: seq=0 ttl=62 time=4.953 ms 64 bytes from 117.56.168.3: seq=1 ttl=62 time=0.869 ms 64 bytes from 117.56.168.3: seq=2 ttl=62 time=0.858 ms --- 117.56.168.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.858/2.226/4.953 ms 2025-10-31 00:24:25,077 - INFO - Ping to IP 117.56.168.3 from VM ctest-TestRoutersBasic-87584949-77364266 passed 2025-10-31 00:24:25,078 - INFO - Deleting interface with subnet_id 269862e4-e993-452d-ab3f-0cb3e1c72c44, port_id None from router 080bdd52-7e84-4dd7-9ac2-f69389ca0f2b 2025-10-31 00:24:25,244 - INFO - Deleting VM ctest-TestRoutersBasic-87584949-03251569 2025-10-31 00:24:25,305 - INFO - Deleting VM ctest-TestRoutersBasic-87584949-77364266 2025-10-31 00:24:25,375 - INFO - Deleting VN ctest-ext_vn-77872363 2025-10-31 00:24:25,436 - DEBUG - VN a78d0abe-70ec-4e34-98c6-f408a9450463 still in use: Unable to complete operation on network a78d0abe-70ec-4e34-98c6-f408a9450463. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-544ae836-2494-4f01-a379-4e6af2e6ce83'] 2025-10-31 00:24:25,436 - WARNING - Deleting VN ctest-ext_vn-77872363 failed..Will retry 2025-10-31 00:24:27,547 - DEBUG - Response for deleting network () 2025-10-31 00:24:27,547 - INFO - Deleting VN ctest-vn-00662030 2025-10-31 00:24:27,643 - DEBUG - Response for deleting network () 2025-10-31 00:24:27,904 - DEBUG - No XMPP flaps were noticed during the test
2025-10-31 00:24:27,905 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-10-31 00:24:27,905 - INFO - -------------------------------------------------------------------------------- 2025-10-31 00:24:28,569 - INFO - Deleted project: ctest-TestRoutersBasic-87584949, ID : 0b562771-027c-4596-b931-d792d2a43a44