2025-07-22 07:52:19,889 - INFO - Domain Default found not creating 2025-07-22 07:52:20,061 - INFO - Project ctest-TestRoutersBasic-34396870 not found, creating it 2025-07-22 07:52:20,536 - INFO - Created Project:ctest-TestRoutersBasic-34396870, ID : c2ac4c27-e679-4e94-9c4a-59f4dac7bc05 2025-07-22 07:52:21,999 - INFO - ================================================================================ 2025-07-22 07:52:21,999 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-07-22 07:52:21,999 - 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-22 07:52:22,260 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-07-22 07:52:22,260 - INFO - Initial checks done. Running the testcase now 2025-07-22 07:52:22,260 - INFO - 2025-07-22 07:52:22,961 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-34396870 2025-07-22 07:52:23,058 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-34396870 2025-07-22 07:52:23,378 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-34396870', 'default']} 2025-07-22 07:52:23,666 - DEBUG - Response for create_network : {'network': {'id': '81332e7c-9062-4f2b-ba26-525dc38c19e7', 'name': 'ctest-vn-40193276', 'tenant_id': 'c2ac4c27e6794e949c4a59f4dac7bc05', 'project_id': 'c2ac4c27e6794e949c4a59f4dac7bc05', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-34396870', 'ctest-vn-40193276'], 'port_security_enabled': True, 'description': ''}} 2025-07-22 07:52:23,838 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b3fb3f6d-37db-48fe-87bd-c4a1b6f826e9', 'name': '', 'tenant_id': 'c2ac4c27e6794e949c4a59f4dac7bc05', 'network_id': '81332e7c-9062-4f2b-ba26-525dc38c19e7', 'ip_version': 4, 'cidr': '170.231.112.0/26', 'allocation_pools': [{'start': '170.231.112.2', 'end': '170.231.112.62'}], 'gateway_ip': '170.231.112.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '170.231.112.2', 'tags': [], 'project_id': 'c2ac4c27e6794e949c4a59f4dac7bc05'}} 2025-07-22 07:52:23,857 - INFO - Created VN ctest-vn-40193276 2025-07-22 07:52:23,910 - DEBUG - VN ctest-vn-40193276 UUID is 81332e7c-9062-4f2b-ba26-525dc38c19e7 2025-07-22 07:52:24,260 - DEBUG - Response for create_network : {'network': {'id': '83040a27-feed-4747-bd29-08cb73580e19', 'name': 'ctest-ext_vn-08390457', 'tenant_id': 'c2ac4c27e6794e949c4a59f4dac7bc05', 'project_id': 'c2ac4c27e6794e949c4a59f4dac7bc05', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-34396870', 'ctest-ext_vn-08390457'], 'port_security_enabled': True, 'description': ''}} 2025-07-22 07:52:24,472 - DEBUG - Response for create_subnet : {'subnet': {'id': '9d78add1-d0b2-4d6e-8e8d-24b3fc3d3083', 'name': '', 'tenant_id': 'c2ac4c27e6794e949c4a59f4dac7bc05', 'network_id': '83040a27-feed-4747-bd29-08cb73580e19', 'ip_version': 4, 'cidr': '20.94.163.0/26', 'allocation_pools': [{'start': '20.94.163.2', 'end': '20.94.163.62'}], 'gateway_ip': '20.94.163.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '20.94.163.2', 'tags': [], 'project_id': 'c2ac4c27e6794e949c4a59f4dac7bc05'}} 2025-07-22 07:52:24,489 - INFO - Created VN ctest-ext_vn-08390457 2025-07-22 07:52:24,542 - DEBUG - VN ctest-ext_vn-08390457 UUID is 83040a27-feed-4747-bd29-08cb73580e19 2025-07-22 07:52:24,717 - DEBUG - Services list from nova: [, , ] 2025-07-22 07:52:25,717 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3684-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3684-1) 2025-07-22 07:52:26,832 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3684-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3684-1) 2025-07-22 07:52:26,909 - INFO - Setting gateway for router a00ee5bf-f163-4eab-9e8a-f355dcb71b54 to network 83040a27-feed-4747-bd29-08cb73580e19 2025-07-22 07:52:26,990 - INFO - Adding interface with subnet_id b3fb3f6d-37db-48fe-87bd-c4a1b6f826e9, port_id None to router a00ee5bf-f163-4eab-9e8a-f355dcb71b54 2025-07-22 07:52:27,452 - INFO - Waiting for VM ctest-TestRoutersBasic-34396870-51556882 to be up.. 2025-07-22 07:52:27,612 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-22 07:52:32,716 - DEBUG - VM is in ACTIVE state now 2025-07-22 07:52:32,716 - INFO - VM name : ctest-TestRoutersBasic-34396870-51556882 2025-07-22 07:52:32,811 - DEBUG - VM ctest-TestRoutersBasic-34396870-51556882 ID is d708ec2d-92ff-487e-be51-7df0951b5d2b 2025-07-22 07:52:32,835 - DEBUG - VM ctest-TestRoutersBasic-34396870-51556882 launched on Node cn-jenkins-deploy-platform-ansible-os-3684-1 2025-07-22 07:52:32,913 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/d708ec2d-92ff-487e-be51-7df0951b5d2b 2025-07-22 07:52:33,211 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/d708ec2d-92ff-487e-be51-7df0951b5d2b 2025-07-22 07:52:33,522 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/63a7bc66-b5c0-4a63-ba4f-1302a6861b7a 2025-07-22 07:52:36,784 - 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 1007ms') 2025-07-22 07:52:36,785 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-34396870-51556882 failed! 2025-07-22 07:52:36,838 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-34396870:ctest-vn-40193276 is 170.231.112.1 and allocation pool is NOT set 2025-07-22 07:52:38,908 - 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.19 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.395 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.395/2.292/4.190/1.897 ms') 2025-07-22 07:52:38,908 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-34396870-51556882 passed 2025-07-22 07:52:39,062 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 07:52:39,062 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-34396870-51556882, IP 170.231.112.3, Port 22 2025-07-22 07:52:39,229 - DEBUG - VM ctest-TestRoutersBasic-34396870-51556882 is ready for SSH connections 2025-07-22 07:52:39,229 - INFO - Waiting for VM ctest-TestRoutersBasic-34396870-50069756 to be up.. 2025-07-22 07:52:39,303 - DEBUG - VM is in ACTIVE state now 2025-07-22 07:52:39,303 - INFO - VM name : ctest-TestRoutersBasic-34396870-50069756 2025-07-22 07:52:39,373 - DEBUG - VM ctest-TestRoutersBasic-34396870-50069756 ID is b94f5c3f-50e4-45b0-a95d-b92b8ad67cd9 2025-07-22 07:52:39,374 - DEBUG - VM ctest-TestRoutersBasic-34396870-50069756 launched on Node cn-jenkins-deploy-platform-ansible-os-3684-1 2025-07-22 07:52:39,446 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/b94f5c3f-50e4-45b0-a95d-b92b8ad67cd9 2025-07-22 07:52:39,456 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/cd23fae8-c88d-42d7-b1ed-01a0a9a3842e 2025-07-22 07:52:40,693 - 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.04 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.472 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.472/1.756/3.040/1.284 ms') 2025-07-22 07:52:40,693 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-34396870-50069756 passed 2025-07-22 07:52:40,846 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 07:52:40,846 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-34396870-50069756, IP 20.94.163.3, Port 22 2025-07-22 07:52:41,006 - DEBUG - VM ctest-TestRoutersBasic-34396870-50069756 is ready for SSH connections 2025-07-22 07:52:41,006 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 07:52:41,006 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 20.94.163.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-22 07:52:41,006 - DEBUG - ping -s 56 -c 3 -W 1 20.94.163.3 2025-07-22 07:52:44,997 - DEBUG - PING 20.94.163.3 (20.94.163.3): 56 data bytes 64 bytes from 20.94.163.3: seq=0 ttl=62 time=7.116 ms 64 bytes from 20.94.163.3: seq=1 ttl=62 time=1.088 ms 64 bytes from 20.94.163.3: seq=2 ttl=62 time=0.871 ms --- 20.94.163.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.871/3.025/7.116 ms 2025-07-22 07:52:44,997 - INFO - Ping to IP 20.94.163.3 from VM ctest-TestRoutersBasic-34396870-51556882 passed 2025-07-22 07:52:44,997 - INFO - Deleting interface with subnet_id b3fb3f6d-37db-48fe-87bd-c4a1b6f826e9, port_id None from router a00ee5bf-f163-4eab-9e8a-f355dcb71b54 2025-07-22 07:52:45,189 - INFO - Deleting VM ctest-TestRoutersBasic-34396870-50069756 2025-07-22 07:52:45,258 - INFO - Deleting VM ctest-TestRoutersBasic-34396870-51556882 2025-07-22 07:52:45,333 - INFO - Deleting VN ctest-ext_vn-08390457 2025-07-22 07:52:45,406 - DEBUG - VN 83040a27-feed-4747-bd29-08cb73580e19 still in use: Unable to complete operation on network 83040a27-feed-4747-bd29-08cb73580e19. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-be7de20b-0384-4f7a-b213-8d3547e89fc9'] 2025-07-22 07:52:45,406 - WARNING - Deleting VN ctest-ext_vn-08390457 failed..Will retry 2025-07-22 07:52:47,518 - DEBUG - Response for deleting network () 2025-07-22 07:52:47,518 - INFO - Deleting VN ctest-vn-40193276 2025-07-22 07:52:47,632 - DEBUG - Response for deleting network () 2025-07-22 07:52:47,896 - DEBUG - No XMPP flaps were noticed during the test
2025-07-22 07:52:47,896 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-07-22 07:52:47,896 - INFO - -------------------------------------------------------------------------------- 2025-07-22 07:52:48,579 - INFO - Deleted project: ctest-TestRoutersBasic-34396870, ID : c2ac4c27-e679-4e94-9c4a-59f4dac7bc05