2025-08-31 06:41:36,417 - INFO - Domain Default found not creating 2025-08-31 06:41:36,562 - INFO - Project ctest-TestRoutersBasic-36699275 not found, creating it 2025-08-31 06:41:37,009 - INFO - Created Project:ctest-TestRoutersBasic-36699275, ID : 3044599f-8ab9-48e5-a065-34abb89355a9 2025-08-31 06:41:38,407 - INFO - ================================================================================ 2025-08-31 06:41:38,407 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-31 06:41:38,407 - 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-31 06:41:38,663 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-08-31 06:41:38,663 - INFO - Initial checks done. Running the testcase now 2025-08-31 06:41:38,664 - INFO - 2025-08-31 06:41:39,383 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-36699275 2025-08-31 06:41:39,478 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-36699275 2025-08-31 06:41:39,789 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-36699275', 'default']} 2025-08-31 06:41:40,078 - DEBUG - Response for create_network : {'network': {'id': '2bdc581e-8df9-4aca-8215-eb6f5827f403', 'name': 'ctest-vn-49186501', 'tenant_id': '3044599f8ab948e5a06534abb89355a9', 'project_id': '3044599f8ab948e5a06534abb89355a9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-36699275', 'ctest-vn-49186501'], 'port_security_enabled': True, 'description': ''}} 2025-08-31 06:41:40,231 - DEBUG - Response for create_subnet : {'subnet': {'id': '3bc08c94-96c5-4663-b60e-d91e30407656', 'name': '', 'tenant_id': '3044599f8ab948e5a06534abb89355a9', 'network_id': '2bdc581e-8df9-4aca-8215-eb6f5827f403', 'ip_version': 4, 'cidr': '46.201.199.192/26', 'allocation_pools': [{'start': '46.201.199.194', 'end': '46.201.199.254'}], 'gateway_ip': '46.201.199.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '46.201.199.194', 'tags': [], 'project_id': '3044599f8ab948e5a06534abb89355a9'}} 2025-08-31 06:41:40,249 - INFO - Created VN ctest-vn-49186501 2025-08-31 06:41:40,301 - DEBUG - VN ctest-vn-49186501 UUID is 2bdc581e-8df9-4aca-8215-eb6f5827f403 2025-08-31 06:41:40,597 - DEBUG - Response for create_network : {'network': {'id': '0273c43d-1341-4b9c-b561-f721bb197635', 'name': 'ctest-ext_vn-59544966', 'tenant_id': '3044599f8ab948e5a06534abb89355a9', 'project_id': '3044599f8ab948e5a06534abb89355a9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-36699275', 'ctest-ext_vn-59544966'], 'port_security_enabled': True, 'description': ''}} 2025-08-31 06:41:40,789 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b4b6b27d-11ab-4303-a2c9-9f932726b1ee', 'name': '', 'tenant_id': '3044599f8ab948e5a06534abb89355a9', 'network_id': '0273c43d-1341-4b9c-b561-f721bb197635', 'ip_version': 4, 'cidr': '120.121.18.192/26', 'allocation_pools': [{'start': '120.121.18.194', 'end': '120.121.18.254'}], 'gateway_ip': '120.121.18.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '120.121.18.194', 'tags': [], 'project_id': '3044599f8ab948e5a06534abb89355a9'}} 2025-08-31 06:41:40,809 - INFO - Created VN ctest-ext_vn-59544966 2025-08-31 06:41:40,865 - DEBUG - VN ctest-ext_vn-59544966 UUID is 0273c43d-1341-4b9c-b561-f721bb197635 2025-08-31 06:41:41,074 - DEBUG - Services list from nova: [, , ] 2025-08-31 06:41:42,101 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3988-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3988-1) 2025-08-31 06:41:43,265 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3988-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3988-1) 2025-08-31 06:41:43,340 - INFO - Setting gateway for router 89fe1c49-6ecb-4db8-a797-a22242676c9a to network 0273c43d-1341-4b9c-b561-f721bb197635 2025-08-31 06:41:43,410 - INFO - Adding interface with subnet_id 3bc08c94-96c5-4663-b60e-d91e30407656, port_id None to router 89fe1c49-6ecb-4db8-a797-a22242676c9a 2025-08-31 06:41:43,734 - INFO - Waiting for VM ctest-TestRoutersBasic-36699275-04628576 to be up.. 2025-08-31 06:41:43,841 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-31 06:41:48,916 - DEBUG - VM is in ACTIVE state now 2025-08-31 06:41:48,916 - INFO - VM name : ctest-TestRoutersBasic-36699275-04628576 2025-08-31 06:41:48,994 - DEBUG - VM ctest-TestRoutersBasic-36699275-04628576 ID is fa520bed-f6b9-4be8-ae84-0c733ec2781f 2025-08-31 06:41:49,014 - DEBUG - VM ctest-TestRoutersBasic-36699275-04628576 launched on Node cn-jenkins-deploy-platform-ansible-os-3988-1 2025-08-31 06:41:49,099 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/fa520bed-f6b9-4be8-ae84-0c733ec2781f 2025-08-31 06:41:49,394 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/fa520bed-f6b9-4be8-ae84-0c733ec2781f 2025-08-31 06:41:49,434 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/b3c1ed33-03bf-4b26-8aa5-43074c059c82 2025-08-31 06:41:52,678 - 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-31 06:41:52,678 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-36699275-04628576 failed! 2025-08-31 06:41:52,729 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-36699275:ctest-vn-49186501 is 46.201.199.193 and allocation pool is NOT set 2025-08-31 06:41:54,792 - 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.50 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.15 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.149/2.826/4.503/1.677 ms') 2025-08-31 06:41:54,792 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-36699275-04628576 passed 2025-08-31 06:41:54,941 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 06:41:54,941 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-36699275-04628576, IP 46.201.199.195, Port 22 2025-08-31 06:41:55,102 - DEBUG - VM ctest-TestRoutersBasic-36699275-04628576 is ready for SSH connections 2025-08-31 06:41:55,102 - INFO - Waiting for VM ctest-TestRoutersBasic-36699275-06605232 to be up.. 2025-08-31 06:41:55,189 - DEBUG - VM is in ACTIVE state now 2025-08-31 06:41:55,189 - INFO - VM name : ctest-TestRoutersBasic-36699275-06605232 2025-08-31 06:41:55,279 - DEBUG - VM ctest-TestRoutersBasic-36699275-06605232 ID is 0a3f1981-d240-4852-b364-3cc125221d66 2025-08-31 06:41:55,279 - DEBUG - VM ctest-TestRoutersBasic-36699275-06605232 launched on Node cn-jenkins-deploy-platform-ansible-os-3988-1 2025-08-31 06:41:55,357 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/0a3f1981-d240-4852-b364-3cc125221d66 2025-08-31 06:41:55,366 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/8f1c7a65-94e8-40e1-bbc2-b4da7d745e45 2025-08-31 06:41:56,597 - 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=2.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.415 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.415/1.612/2.809/1.197 ms') 2025-08-31 06:41:56,597 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-36699275-06605232 passed 2025-08-31 06:41:56,753 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 06:41:56,753 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-36699275-06605232, IP 120.121.18.195, Port 22 2025-08-31 06:41:56,909 - DEBUG - VM ctest-TestRoutersBasic-36699275-06605232 is ready for SSH connections 2025-08-31 06:41:56,909 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 06:41:56,909 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 120.121.18.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-08-31 06:41:56,909 - DEBUG - ping -s 56 -c 3 -W 1 120.121.18.195 2025-08-31 06:42:00,612 - DEBUG - PING 120.121.18.195 (120.121.18.195): 56 data bytes 64 bytes from 120.121.18.195: seq=0 ttl=62 time=4.316 ms 64 bytes from 120.121.18.195: seq=1 ttl=62 time=0.936 ms 64 bytes from 120.121.18.195: seq=2 ttl=62 time=0.942 ms --- 120.121.18.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.936/2.064/4.316 ms 2025-08-31 06:42:00,613 - INFO - Ping to IP 120.121.18.195 from VM ctest-TestRoutersBasic-36699275-04628576 passed 2025-08-31 06:42:00,613 - INFO - Deleting interface with subnet_id 3bc08c94-96c5-4663-b60e-d91e30407656, port_id None from router 89fe1c49-6ecb-4db8-a797-a22242676c9a 2025-08-31 06:42:00,799 - INFO - Deleting VM ctest-TestRoutersBasic-36699275-06605232 2025-08-31 06:42:00,872 - INFO - Deleting VM ctest-TestRoutersBasic-36699275-04628576 2025-08-31 06:42:00,967 - INFO - Deleting VN ctest-ext_vn-59544966 2025-08-31 06:42:01,057 - DEBUG - VN 0273c43d-1341-4b9c-b561-f721bb197635 still in use: Unable to complete operation on network 0273c43d-1341-4b9c-b561-f721bb197635. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d88e76fc-450a-48fc-9a6f-dd2592fea99f'] 2025-08-31 06:42:01,058 - WARNING - Deleting VN ctest-ext_vn-59544966 failed..Will retry 2025-08-31 06:42:03,170 - DEBUG - Response for deleting network () 2025-08-31 06:42:03,170 - INFO - Deleting VN ctest-vn-49186501 2025-08-31 06:42:03,265 - DEBUG - Response for deleting network () 2025-08-31 06:42:03,518 - DEBUG - No XMPP flaps were noticed during the test 2025-08-31 06:42:03,518 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-08-31 06:42:03,518 - INFO - -------------------------------------------------------------------------------- 2025-08-31 06:42:04,212 - INFO - Deleted project: ctest-TestRoutersBasic-36699275, ID : 3044599f-8ab9-48e5-a065-34abb89355a9