2025-09-11 09:11:24,922 - INFO - Domain Default found not creating 2025-09-11 09:11:25,080 - INFO - Project ctest-TestRoutersBasic-08593033 not found, creating it 2025-09-11 09:11:25,563 - INFO - Created Project:ctest-TestRoutersBasic-08593033, ID : 696d750c-424b-4d45-af90-94c0ae929808 2025-09-11 09:11:27,208 - INFO - ================================================================================ 2025-09-11 09:11:27,208 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-09-11 09:11:27,208 - 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-09-11 09:11:27,477 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-11 09:11:27,477 - INFO - Initial checks done. Running the testcase now 2025-09-11 09:11:27,477 - INFO - 2025-09-11 09:11:28,338 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-08593033 2025-09-11 09:11:28,447 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-08593033 2025-09-11 09:11:28,791 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-08593033', 'default']} 2025-09-11 09:11:29,111 - DEBUG - Response for create_network : {'network': {'id': '7ec2399b-59e9-4054-871a-fcc8d4b39850', 'name': 'ctest-vn-22929429', 'tenant_id': '696d750c424b4d45af9094c0ae929808', 'project_id': '696d750c424b4d45af9094c0ae929808', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-08593033', 'ctest-vn-22929429'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 09:11:29,272 - DEBUG - Response for create_subnet : {'subnet': {'id': '96416c63-b899-4d90-bdbb-fbc177638269', 'name': '', 'tenant_id': '696d750c424b4d45af9094c0ae929808', 'network_id': '7ec2399b-59e9-4054-871a-fcc8d4b39850', 'ip_version': 4, 'cidr': '58.108.70.64/26', 'allocation_pools': [{'start': '58.108.70.66', 'end': '58.108.70.126'}], 'gateway_ip': '58.108.70.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '58.108.70.66', 'tags': [], 'project_id': '696d750c424b4d45af9094c0ae929808'}} 2025-09-11 09:11:29,293 - INFO - Created VN ctest-vn-22929429 2025-09-11 09:11:29,348 - DEBUG - VN ctest-vn-22929429 UUID is 7ec2399b-59e9-4054-871a-fcc8d4b39850 2025-09-11 09:11:29,670 - DEBUG - Response for create_network : {'network': {'id': '184fc63a-8050-4885-978e-68283e93add0', 'name': 'ctest-ext_vn-07026039', 'tenant_id': '696d750c424b4d45af9094c0ae929808', 'project_id': '696d750c424b4d45af9094c0ae929808', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-08593033', 'ctest-ext_vn-07026039'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 09:11:29,860 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd694acc4-7b73-4923-b7b3-d39eda7e7e79', 'name': '', 'tenant_id': '696d750c424b4d45af9094c0ae929808', 'network_id': '184fc63a-8050-4885-978e-68283e93add0', 'ip_version': 4, 'cidr': '22.113.63.64/26', 'allocation_pools': [{'start': '22.113.63.66', 'end': '22.113.63.126'}], 'gateway_ip': '22.113.63.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '22.113.63.66', 'tags': [], 'project_id': '696d750c424b4d45af9094c0ae929808'}} 2025-09-11 09:11:29,878 - INFO - Created VN ctest-ext_vn-07026039 2025-09-11 09:11:29,931 - DEBUG - VN ctest-ext_vn-07026039 UUID is 184fc63a-8050-4885-978e-68283e93add0 2025-09-11 09:11:30,108 - DEBUG - Services list from nova: [, , ] 2025-09-11 09:11:31,256 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4086-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4086-1) 2025-09-11 09:11:32,559 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4086-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4086-1) 2025-09-11 09:11:32,638 - INFO - Setting gateway for router 1141370f-7031-4fca-ad9e-be8fb5ee2ac6 to network 184fc63a-8050-4885-978e-68283e93add0 2025-09-11 09:11:32,702 - INFO - Adding interface with subnet_id 96416c63-b899-4d90-bdbb-fbc177638269, port_id None to router 1141370f-7031-4fca-ad9e-be8fb5ee2ac6 2025-09-11 09:11:33,066 - INFO - Waiting for VM ctest-TestRoutersBasic-08593033-44487346 to be up.. 2025-09-11 09:11:33,324 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-11 09:11:38,428 - DEBUG - VM is in ACTIVE state now 2025-09-11 09:11:38,428 - INFO - VM name : ctest-TestRoutersBasic-08593033-44487346 2025-09-11 09:11:38,525 - DEBUG - VM ctest-TestRoutersBasic-08593033-44487346 ID is 50c77de2-3538-48fb-b184-4181c85010cb 2025-09-11 09:11:38,551 - DEBUG - VM ctest-TestRoutersBasic-08593033-44487346 launched on Node cn-jenkins-deploy-platform-ansible-os-4086-1 2025-09-11 09:11:38,632 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/50c77de2-3538-48fb-b184-4181c85010cb 2025-09-11 09:11:38,975 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/50c77de2-3538-48fb-b184-4181c85010cb 2025-09-11 09:11:39,016 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a2df9df9-8406-4bc5-b7a4-15e6e26913e1 2025-09-11 09:11:42,282 - 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 1021ms') 2025-09-11 09:11:42,283 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-08593033-44487346 failed! 2025-09-11 09:11:42,339 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-08593033:ctest-vn-22929429 is 58.108.70.65 and allocation pool is NOT set 2025-09-11 09:11:44,410 - 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.46 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.18 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.180/2.820/4.461/1.640 ms') 2025-09-11 09:11:44,411 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-08593033-44487346 passed 2025-09-11 09:11:44,571 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 09:11:44,571 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-08593033-44487346, IP 58.108.70.67, Port 22 2025-09-11 09:11:44,741 - DEBUG - VM ctest-TestRoutersBasic-08593033-44487346 is ready for SSH connections 2025-09-11 09:11:44,741 - INFO - Waiting for VM ctest-TestRoutersBasic-08593033-05232358 to be up.. 2025-09-11 09:11:44,840 - DEBUG - VM is in ACTIVE state now 2025-09-11 09:11:44,840 - INFO - VM name : ctest-TestRoutersBasic-08593033-05232358 2025-09-11 09:11:44,948 - DEBUG - VM ctest-TestRoutersBasic-08593033-05232358 ID is 8e051f77-8c22-4df2-84ff-ffe27fbac062 2025-09-11 09:11:44,949 - DEBUG - VM ctest-TestRoutersBasic-08593033-05232358 launched on Node cn-jenkins-deploy-platform-ansible-os-4086-1 2025-09-11 09:11:45,052 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/8e051f77-8c22-4df2-84ff-ffe27fbac062 2025-09-11 09:11:45,068 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/9efbff05-b910-4ad9-a0f0-c5a4cce03d6f 2025-09-11 09:11:46,314 - 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.32 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.602 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.602/2.461/4.321/1.859 ms') 2025-09-11 09:11:46,314 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-08593033-05232358 passed 2025-09-11 09:11:46,463 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 09:11:46,463 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-08593033-05232358, IP 22.113.63.67, Port 22 2025-09-11 09:11:46,620 - DEBUG - VM ctest-TestRoutersBasic-08593033-05232358 is ready for SSH connections 2025-09-11 09:11:46,620 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 09:11:46,620 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 22.113.63.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-11 09:11:46,620 - DEBUG - ping -s 56 -c 3 -W 1 22.113.63.67 2025-09-11 09:11:50,372 - DEBUG - PING 22.113.63.67 (22.113.63.67): 56 data bytes 64 bytes from 22.113.63.67: seq=0 ttl=62 time=5.449 ms 64 bytes from 22.113.63.67: seq=1 ttl=62 time=1.257 ms 64 bytes from 22.113.63.67: seq=2 ttl=62 time=1.259 ms --- 22.113.63.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.257/2.655/5.449 ms 2025-09-11 09:11:50,372 - INFO - Ping to IP 22.113.63.67 from VM ctest-TestRoutersBasic-08593033-44487346 passed 2025-09-11 09:11:50,372 - INFO - Deleting interface with subnet_id 96416c63-b899-4d90-bdbb-fbc177638269, port_id None from router 1141370f-7031-4fca-ad9e-be8fb5ee2ac6 2025-09-11 09:11:50,601 - INFO - Deleting VM ctest-TestRoutersBasic-08593033-05232358 2025-09-11 09:11:50,679 - INFO - Deleting VM ctest-TestRoutersBasic-08593033-44487346 2025-09-11 09:11:50,783 - INFO - Deleting VN ctest-ext_vn-07026039 2025-09-11 09:11:50,869 - DEBUG - VN 184fc63a-8050-4885-978e-68283e93add0 still in use: Unable to complete operation on network 184fc63a-8050-4885-978e-68283e93add0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-85809888-db65-4dc4-8cb0-e7dc2b317e57'] 2025-09-11 09:11:50,869 - WARNING - Deleting VN ctest-ext_vn-07026039 failed..Will retry 2025-09-11 09:11:52,995 - DEBUG - Response for deleting network () 2025-09-11 09:11:52,996 - INFO - Deleting VN ctest-vn-22929429 2025-09-11 09:11:53,098 - DEBUG - Response for deleting network () 2025-09-11 09:11:53,357 - DEBUG - No XMPP flaps were noticed during the test 2025-09-11 09:11:53,357 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-09-11 09:11:53,357 - INFO - -------------------------------------------------------------------------------- 2025-09-11 09:11:54,104 - INFO - Deleted project: ctest-TestRoutersBasic-08593033, ID : 696d750c-424b-4d45-af90-94c0ae929808