2025-08-07 02:16:06,046 - INFO - Domain Default found not creating 2025-08-07 02:16:06,238 - INFO - Project ctest-TestRoutersBasic-91530085 not found, creating it 2025-08-07 02:16:06,748 - INFO - Created Project:ctest-TestRoutersBasic-91530085, ID : 67ae83fc-2a58-4dfb-a9a4-6f77ba3457c4 2025-08-07 02:16:08,357 - INFO - ================================================================================ 2025-08-07 02:16:08,357 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-07 02:16:08,357 - 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-08-07 02:16:08,612 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.14': '0'}} with 2025-08-07 02:16:08,612 - INFO - Initial checks done. Running the testcase now 2025-08-07 02:16:08,612 - INFO - 2025-08-07 02:16:09,492 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-91530085 2025-08-07 02:16:09,589 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-91530085 2025-08-07 02:16:09,937 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-91530085', 'default']} 2025-08-07 02:16:10,252 - DEBUG - Response for create_network : {'network': {'id': '01589524-4a0d-4f16-8d0b-f298fa043492', 'name': 'ctest-vn-79182808', 'tenant_id': '67ae83fc2a584dfba9a46f77ba3457c4', 'project_id': '67ae83fc2a584dfba9a46f77ba3457c4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-91530085', 'ctest-vn-79182808'], 'port_security_enabled': True, 'description': ''}} 2025-08-07 02:16:10,434 - DEBUG - Response for create_subnet : {'subnet': {'id': '04e77b4e-de2a-4df4-9d7a-12a7e65e7263', 'name': '', 'tenant_id': '67ae83fc2a584dfba9a46f77ba3457c4', 'network_id': '01589524-4a0d-4f16-8d0b-f298fa043492', 'ip_version': 4, 'cidr': '175.50.72.192/26', 'allocation_pools': [{'start': '175.50.72.194', 'end': '175.50.72.254'}], 'gateway_ip': '175.50.72.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '175.50.72.194', 'tags': [], 'project_id': '67ae83fc2a584dfba9a46f77ba3457c4'}} 2025-08-07 02:16:10,454 - INFO - Created VN ctest-vn-79182808 2025-08-07 02:16:10,513 - DEBUG - VN ctest-vn-79182808 UUID is 01589524-4a0d-4f16-8d0b-f298fa043492 2025-08-07 02:16:10,855 - DEBUG - Response for create_network : {'network': {'id': 'bba59665-4f6a-41f4-a448-3e7ff89f6c80', 'name': 'ctest-ext_vn-69543625', 'tenant_id': '67ae83fc2a584dfba9a46f77ba3457c4', 'project_id': '67ae83fc2a584dfba9a46f77ba3457c4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-91530085', 'ctest-ext_vn-69543625'], 'port_security_enabled': True, 'description': ''}} 2025-08-07 02:16:11,064 - DEBUG - Response for create_subnet : {'subnet': {'id': '4efd6c4e-e610-4152-b9fc-41480dcc8df8', 'name': '', 'tenant_id': '67ae83fc2a584dfba9a46f77ba3457c4', 'network_id': 'bba59665-4f6a-41f4-a448-3e7ff89f6c80', 'ip_version': 4, 'cidr': '55.138.218.64/26', 'allocation_pools': [{'start': '55.138.218.66', 'end': '55.138.218.126'}], 'gateway_ip': '55.138.218.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '55.138.218.66', 'tags': [], 'project_id': '67ae83fc2a584dfba9a46f77ba3457c4'}} 2025-08-07 02:16:11,085 - INFO - Created VN ctest-ext_vn-69543625 2025-08-07 02:16:11,137 - DEBUG - VN ctest-ext_vn-69543625 UUID is bba59665-4f6a-41f4-a448-3e7ff89f6c80 2025-08-07 02:16:11,315 - DEBUG - Services list from nova: [, , ] 2025-08-07 02:16:12,415 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3766-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3766-1) 2025-08-07 02:16:13,727 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3766-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3766-1) 2025-08-07 02:16:13,839 - INFO - Setting gateway for router e7bc48a5-0d90-4f00-b4a9-cf19b85bb3f5 to network bba59665-4f6a-41f4-a448-3e7ff89f6c80 2025-08-07 02:16:13,918 - INFO - Adding interface with subnet_id 04e77b4e-de2a-4df4-9d7a-12a7e65e7263, port_id None to router e7bc48a5-0d90-4f00-b4a9-cf19b85bb3f5 2025-08-07 02:16:14,524 - INFO - Waiting for VM ctest-TestRoutersBasic-91530085-41631207 to be up.. 2025-08-07 02:16:14,729 - DEBUG - VM is in ACTIVE state now 2025-08-07 02:16:14,730 - INFO - VM name : ctest-TestRoutersBasic-91530085-41631207 2025-08-07 02:16:14,841 - DEBUG - VM ctest-TestRoutersBasic-91530085-41631207 ID is 70b6ce69-4237-4e14-a137-7dd4db34a6a9 2025-08-07 02:16:14,865 - DEBUG - VM ctest-TestRoutersBasic-91530085-41631207 launched on Node cn-jenkins-deploy-platform-ansible-os-3766-1 2025-08-07 02:16:14,995 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/70b6ce69-4237-4e14-a137-7dd4db34a6a9 2025-08-07 02:16:15,366 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/70b6ce69-4237-4e14-a137-7dd4db34a6a9 2025-08-07 02:16:15,410 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/965f1b8e-c9f6-4a9e-ac45-b2ad2eff0aed 2025-08-07 02:16:18,684 - 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 1011ms') 2025-08-07 02:16:18,684 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-91530085-41631207 failed! 2025-08-07 02:16:18,741 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-91530085:ctest-vn-79182808 is 175.50.72.193 and allocation pool is NOT set 2025-08-07 02:16:22,807 - 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 1006ms') 2025-08-07 02:16:22,807 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-91530085-41631207 failed! 2025-08-07 02:16:22,865 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-91530085:ctest-vn-79182808 is 175.50.72.193 and allocation pool is NOT set 2025-08-07 02:16:24,925 - 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.43 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.569 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.569/1.999/3.430/1.430 ms') 2025-08-07 02:16:24,925 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-91530085-41631207 passed 2025-08-07 02:16:25,081 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:16:25,081 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-91530085-41631207, IP 175.50.72.195, Port 22 2025-08-07 02:16:25,241 - DEBUG - VM ctest-TestRoutersBasic-91530085-41631207 is ready for SSH connections 2025-08-07 02:16:25,241 - INFO - Waiting for VM ctest-TestRoutersBasic-91530085-41186452 to be up.. 2025-08-07 02:16:25,320 - DEBUG - VM is in ACTIVE state now 2025-08-07 02:16:25,320 - INFO - VM name : ctest-TestRoutersBasic-91530085-41186452 2025-08-07 02:16:25,394 - DEBUG - VM ctest-TestRoutersBasic-91530085-41186452 ID is 96b0414c-3b1c-4592-874e-c6dfc12907c3 2025-08-07 02:16:25,394 - DEBUG - VM ctest-TestRoutersBasic-91530085-41186452 launched on Node cn-jenkins-deploy-platform-ansible-os-3766-1 2025-08-07 02:16:25,468 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/96b0414c-3b1c-4592-874e-c6dfc12907c3 2025-08-07 02:16:25,479 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/89e23741-d955-492f-9a8f-2d285124fa02 2025-08-07 02:16:26,745 - 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.28 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.45 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 = 2.448/2.863/3.278/0.415 ms') 2025-08-07 02:16:26,745 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-91530085-41186452 passed 2025-08-07 02:16:26,905 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:16:26,905 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-91530085-41186452, IP 55.138.218.67, Port 22 2025-08-07 02:16:27,060 - DEBUG - VM ctest-TestRoutersBasic-91530085-41186452 is ready for SSH connections 2025-08-07 02:16:27,060 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:16:27,061 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 55.138.218.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-08-07 02:16:27,061 - DEBUG - ping -s 56 -c 3 -W 1 55.138.218.67 2025-08-07 02:16:30,781 - DEBUG - PING 55.138.218.67 (55.138.218.67): 56 data bytes 64 bytes from 55.138.218.67: seq=0 ttl=62 time=6.178 ms 64 bytes from 55.138.218.67: seq=1 ttl=62 time=0.822 ms 64 bytes from 55.138.218.67: seq=2 ttl=62 time=0.963 ms --- 55.138.218.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.822/2.654/6.178 ms 2025-08-07 02:16:30,781 - INFO - Ping to IP 55.138.218.67 from VM ctest-TestRoutersBasic-91530085-41631207 passed 2025-08-07 02:16:30,781 - INFO - Deleting interface with subnet_id 04e77b4e-de2a-4df4-9d7a-12a7e65e7263, port_id None from router e7bc48a5-0d90-4f00-b4a9-cf19b85bb3f5 2025-08-07 02:16:30,992 - INFO - Deleting VM ctest-TestRoutersBasic-91530085-41186452 2025-08-07 02:16:31,065 - INFO - Deleting VM ctest-TestRoutersBasic-91530085-41631207 2025-08-07 02:16:31,154 - INFO - Deleting VN ctest-ext_vn-69543625 2025-08-07 02:16:31,285 - DEBUG - VN bba59665-4f6a-41f4-a448-3e7ff89f6c80 still in use: Unable to complete operation on network bba59665-4f6a-41f4-a448-3e7ff89f6c80. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5701bad6-e99a-45ee-be6b-a8d6dc5fc1b7'] 2025-08-07 02:16:31,285 - WARNING - Deleting VN ctest-ext_vn-69543625 failed..Will retry 2025-08-07 02:16:33,398 - DEBUG - Response for deleting network () 2025-08-07 02:16:33,398 - INFO - Deleting VN ctest-vn-79182808 2025-08-07 02:16:33,515 - DEBUG - Response for deleting network () 2025-08-07 02:16:33,775 - DEBUG - No XMPP flaps were noticed during the test 2025-08-07 02:16:33,775 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-08-07 02:16:33,775 - INFO - -------------------------------------------------------------------------------- 2025-08-07 02:16:34,510 - INFO - Deleted project: ctest-TestRoutersBasic-91530085, ID : 67ae83fc-2a58-4dfb-a9a4-6f77ba3457c4