2025-06-20 06:46:40,670 - INFO - Domain Default found not creating 2025-06-20 06:46:40,819 - INFO - Project ctest-TestRoutersBasic-21544099 not found, creating it 2025-06-20 06:46:41,297 - INFO - Created Project:ctest-TestRoutersBasic-21544099, ID : b456e38b-234a-4943-8de0-af345ffd9f11 2025-06-20 06:46:42,702 - INFO - ================================================================================ 2025-06-20 06:46:42,702 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-20 06:46:42,703 - 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-06-20 06:46:42,958 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.17': '0'}} with 2025-06-20 06:46:42,958 - INFO - Initial checks done. Running the testcase now 2025-06-20 06:46:42,958 - INFO - 2025-06-20 06:46:43,650 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-21544099 2025-06-20 06:46:43,744 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-21544099 2025-06-20 06:46:44,072 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-21544099', 'default']} 2025-06-20 06:46:44,378 - DEBUG - Response for create_network : {'network': {'id': 'd6cf6a7f-1578-42fd-9d03-237e80c1e078', 'name': 'ctest-vn-36581445', 'tenant_id': 'b456e38b234a49438de0af345ffd9f11', 'project_id': 'b456e38b234a49438de0af345ffd9f11', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-21544099', 'ctest-vn-36581445'], 'port_security_enabled': True, 'description': ''}} 2025-06-20 06:46:44,605 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e498ef4d-0bad-4e77-ab4d-85c4e7cad5bc', 'name': '', 'tenant_id': 'b456e38b234a49438de0af345ffd9f11', 'network_id': 'd6cf6a7f-1578-42fd-9d03-237e80c1e078', 'ip_version': 4, 'cidr': '106.45.200.128/26', 'allocation_pools': [{'start': '106.45.200.130', 'end': '106.45.200.190'}], 'gateway_ip': '106.45.200.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '106.45.200.130', 'tags': [], 'project_id': 'b456e38b234a49438de0af345ffd9f11'}} 2025-06-20 06:46:44,622 - INFO - Created VN ctest-vn-36581445 2025-06-20 06:46:44,676 - DEBUG - VN ctest-vn-36581445 UUID is d6cf6a7f-1578-42fd-9d03-237e80c1e078 2025-06-20 06:46:44,978 - DEBUG - Response for create_network : {'network': {'id': '4daf2c9a-db52-4179-985b-e203c9c60bb1', 'name': 'ctest-ext_vn-97814895', 'tenant_id': 'b456e38b234a49438de0af345ffd9f11', 'project_id': 'b456e38b234a49438de0af345ffd9f11', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-21544099', 'ctest-ext_vn-97814895'], 'port_security_enabled': True, 'description': ''}} 2025-06-20 06:46:45,206 - DEBUG - Response for create_subnet : {'subnet': {'id': '319bccd6-e168-40a2-8528-048b75182b0d', 'name': '', 'tenant_id': 'b456e38b234a49438de0af345ffd9f11', 'network_id': '4daf2c9a-db52-4179-985b-e203c9c60bb1', 'ip_version': 4, 'cidr': '2.58.144.0/26', 'allocation_pools': [{'start': '2.58.144.2', 'end': '2.58.144.62'}], 'gateway_ip': '2.58.144.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '2.58.144.2', 'tags': [], 'project_id': 'b456e38b234a49438de0af345ffd9f11'}} 2025-06-20 06:46:45,224 - INFO - Created VN ctest-ext_vn-97814895 2025-06-20 06:46:45,276 - DEBUG - VN ctest-ext_vn-97814895 UUID is 4daf2c9a-db52-4179-985b-e203c9c60bb1 2025-06-20 06:46:45,456 - DEBUG - Services list from nova: [, , ] 2025-06-20 06:46:46,456 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3500-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3500-1) 2025-06-20 06:46:47,669 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3500-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3500-1) 2025-06-20 06:46:47,750 - INFO - Setting gateway for router abe2d500-36ca-41fe-9f94-9f2424268270 to network 4daf2c9a-db52-4179-985b-e203c9c60bb1 2025-06-20 06:46:47,820 - INFO - Adding interface with subnet_id e498ef4d-0bad-4e77-ab4d-85c4e7cad5bc, port_id None to router abe2d500-36ca-41fe-9f94-9f2424268270 2025-06-20 06:46:48,306 - INFO - Waiting for VM ctest-TestRoutersBasic-21544099-89068062 to be up.. 2025-06-20 06:46:48,577 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-20 06:46:53,668 - DEBUG - VM is in ACTIVE state now 2025-06-20 06:46:53,668 - INFO - VM name : ctest-TestRoutersBasic-21544099-89068062 2025-06-20 06:46:53,746 - DEBUG - VM ctest-TestRoutersBasic-21544099-89068062 ID is 57a8fcf3-7fe5-4e73-bea4-0d2953e95866 2025-06-20 06:46:53,768 - DEBUG - VM ctest-TestRoutersBasic-21544099-89068062 launched on Node cn-jenkins-deploy-platform-ansible-os-3500-1 2025-06-20 06:46:53,846 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/57a8fcf3-7fe5-4e73-bea4-0d2953e95866 2025-06-20 06:46:54,149 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/57a8fcf3-7fe5-4e73-bea4-0d2953e95866 2025-06-20 06:46:54,181 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/a2acab59-100d-4ee4-865c-2bfd20c8891e 2025-06-20 06:46:57,444 - 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 1015ms') 2025-06-20 06:46:57,444 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-21544099-89068062 failed! 2025-06-20 06:46:57,508 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-21544099:ctest-vn-36581445 is 106.45.200.129 and allocation pool is NOT set 2025-06-20 06:46:59,574 - 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.81 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.535 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.535/2.174/3.814/1.639 ms') 2025-06-20 06:46:59,574 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-21544099-89068062 passed 2025-06-20 06:46:59,728 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-20 06:46:59,728 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-21544099-89068062, IP 106.45.200.131, Port 22 2025-06-20 06:46:59,884 - DEBUG - VM ctest-TestRoutersBasic-21544099-89068062 is ready for SSH connections 2025-06-20 06:46:59,884 - INFO - Waiting for VM ctest-TestRoutersBasic-21544099-39046049 to be up.. 2025-06-20 06:46:59,961 - DEBUG - VM is in ACTIVE state now 2025-06-20 06:46:59,961 - INFO - VM name : ctest-TestRoutersBasic-21544099-39046049 2025-06-20 06:47:00,038 - DEBUG - VM ctest-TestRoutersBasic-21544099-39046049 ID is 559f0ee3-a4d3-4e21-8816-26e240e83efe 2025-06-20 06:47:00,038 - DEBUG - VM ctest-TestRoutersBasic-21544099-39046049 launched on Node cn-jenkins-deploy-platform-ansible-os-3500-1 2025-06-20 06:47:00,126 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/559f0ee3-a4d3-4e21-8816-26e240e83efe 2025-06-20 06:47:00,139 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/3fb49f46-2747-4659-a9d1-ad626446096a 2025-06-20 06:47:01,384 - 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.53 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.594 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.594/2.064/3.534/1.470 ms') 2025-06-20 06:47:01,384 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-21544099-39046049 passed 2025-06-20 06:47:01,544 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-20 06:47:01,544 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-21544099-39046049, IP 2.58.144.3, Port 22 2025-06-20 06:47:01,714 - DEBUG - VM ctest-TestRoutersBasic-21544099-39046049 is ready for SSH connections 2025-06-20 06:47:01,714 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-20 06:47:01,714 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 2.58.144.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-06-20 06:47:01,714 - DEBUG - ping -s 56 -c 3 -W 1 2.58.144.3 2025-06-20 06:47:05,687 - DEBUG - PING 2.58.144.3 (2.58.144.3): 56 data bytes 64 bytes from 2.58.144.3: seq=0 ttl=62 time=7.276 ms 64 bytes from 2.58.144.3: seq=1 ttl=62 time=0.884 ms 64 bytes from 2.58.144.3: seq=2 ttl=62 time=1.043 ms --- 2.58.144.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.884/3.067/7.276 ms 2025-06-20 06:47:05,687 - INFO - Ping to IP 2.58.144.3 from VM ctest-TestRoutersBasic-21544099-89068062 passed 2025-06-20 06:47:05,687 - INFO - Deleting interface with subnet_id e498ef4d-0bad-4e77-ab4d-85c4e7cad5bc, port_id None from router abe2d500-36ca-41fe-9f94-9f2424268270 2025-06-20 06:47:05,953 - INFO - Deleting VM ctest-TestRoutersBasic-21544099-39046049 2025-06-20 06:47:06,023 - INFO - Deleting VM ctest-TestRoutersBasic-21544099-89068062 2025-06-20 06:47:06,115 - INFO - Deleting VN ctest-ext_vn-97814895 2025-06-20 06:47:06,214 - DEBUG - VN 4daf2c9a-db52-4179-985b-e203c9c60bb1 still in use: Unable to complete operation on network 4daf2c9a-db52-4179-985b-e203c9c60bb1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8e2e2ad7-0f46-4f78-8049-7d124fe70537'] 2025-06-20 06:47:06,214 - WARNING - Deleting VN ctest-ext_vn-97814895 failed..Will retry 2025-06-20 06:47:08,336 - DEBUG - Response for deleting network () 2025-06-20 06:47:08,337 - INFO - Deleting VN ctest-vn-36581445 2025-06-20 06:47:08,465 - DEBUG - Response for deleting network () 2025-06-20 06:47:08,733 - DEBUG - No XMPP flaps were noticed during the test 2025-06-20 06:47:08,733 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-06-20 06:47:08,733 - INFO - -------------------------------------------------------------------------------- 2025-06-20 06:47:09,432 - INFO - Deleted project: ctest-TestRoutersBasic-21544099, ID : b456e38b-234a-4943-8de0-af345ffd9f11