2025-06-10 21:46:12,547 - INFO - Domain Default found not creating 2025-06-10 21:46:12,723 - INFO - Project ctest-TestRoutersBasic-71291528 not found, creating it 2025-06-10 21:46:13,229 - INFO - Created Project:ctest-TestRoutersBasic-71291528, ID : b2e68b14-c114-444f-84fb-ca88f9b08327 2025-06-10 21:46:15,415 - INFO - ================================================================================ 2025-06-10 21:46:15,415 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-10 21:46:15,415 - 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-10 21:46:15,679 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2025-06-10 21:46:15,679 - INFO - Initial checks done. Running the testcase now 2025-06-10 21:46:15,679 - INFO - 2025-06-10 21:46:16,386 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-71291528 2025-06-10 21:46:16,486 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-71291528 2025-06-10 21:46:16,817 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-71291528', 'default']} 2025-06-10 21:46:17,140 - DEBUG - Response for create_network : {'network': {'id': '23eef422-ba63-4bcb-9195-412f32426b61', 'name': 'ctest-vn-89794819', 'tenant_id': 'b2e68b14c114444f84fbca88f9b08327', 'project_id': 'b2e68b14c114444f84fbca88f9b08327', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-71291528', 'ctest-vn-89794819'], 'port_security_enabled': True, 'description': ''}} 2025-06-10 21:46:17,355 - DEBUG - Response for create_subnet : {'subnet': {'id': '4ef03285-b656-4539-a980-cdcf5d12eac6', 'name': '', 'tenant_id': 'b2e68b14c114444f84fbca88f9b08327', 'network_id': '23eef422-ba63-4bcb-9195-412f32426b61', 'ip_version': 4, 'cidr': '1.146.166.192/26', 'allocation_pools': [{'start': '1.146.166.194', 'end': '1.146.166.254'}], 'gateway_ip': '1.146.166.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '1.146.166.194', 'tags': [], 'project_id': 'b2e68b14c114444f84fbca88f9b08327'}} 2025-06-10 21:46:17,378 - INFO - Created VN ctest-vn-89794819 2025-06-10 21:46:17,433 - DEBUG - VN ctest-vn-89794819 UUID is 23eef422-ba63-4bcb-9195-412f32426b61 2025-06-10 21:46:17,841 - DEBUG - Response for create_network : {'network': {'id': '71acde07-c1f5-47b1-a369-97e9ad5b0259', 'name': 'ctest-ext_vn-56356713', 'tenant_id': 'b2e68b14c114444f84fbca88f9b08327', 'project_id': 'b2e68b14c114444f84fbca88f9b08327', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-71291528', 'ctest-ext_vn-56356713'], 'port_security_enabled': True, 'description': ''}} 2025-06-10 21:46:18,073 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b54d95bd-c4db-4197-8a7a-05e59c23bef5', 'name': '', 'tenant_id': 'b2e68b14c114444f84fbca88f9b08327', 'network_id': '71acde07-c1f5-47b1-a369-97e9ad5b0259', 'ip_version': 4, 'cidr': '149.220.93.0/26', 'allocation_pools': [{'start': '149.220.93.2', 'end': '149.220.93.62'}], 'gateway_ip': '149.220.93.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '149.220.93.2', 'tags': [], 'project_id': 'b2e68b14c114444f84fbca88f9b08327'}} 2025-06-10 21:46:18,092 - INFO - Created VN ctest-ext_vn-56356713 2025-06-10 21:46:18,149 - DEBUG - VN ctest-ext_vn-56356713 UUID is 71acde07-c1f5-47b1-a369-97e9ad5b0259 2025-06-10 21:46:18,353 - DEBUG - Services list from nova: [, , ] 2025-06-10 21:46:19,390 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3439-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3439-1) 2025-06-10 21:46:20,651 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3439-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3439-1) 2025-06-10 21:46:20,740 - INFO - Setting gateway for router a723e17d-a4bf-4b83-8b0c-9d9c8aa7346a to network 71acde07-c1f5-47b1-a369-97e9ad5b0259 2025-06-10 21:46:20,818 - INFO - Adding interface with subnet_id 4ef03285-b656-4539-a980-cdcf5d12eac6, port_id None to router a723e17d-a4bf-4b83-8b0c-9d9c8aa7346a 2025-06-10 21:46:21,178 - INFO - Waiting for VM ctest-TestRoutersBasic-71291528-69808037 to be up.. 2025-06-10 21:46:21,308 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-10 21:46:26,394 - DEBUG - VM is in ACTIVE state now 2025-06-10 21:46:26,394 - INFO - VM name : ctest-TestRoutersBasic-71291528-69808037 2025-06-10 21:46:26,474 - DEBUG - VM ctest-TestRoutersBasic-71291528-69808037 ID is a83ec3ad-4c79-4243-8ab3-04b61233109e 2025-06-10 21:46:26,498 - DEBUG - VM ctest-TestRoutersBasic-71291528-69808037 launched on Node cn-jenkins-deploy-platform-ansible-os-3439-1 2025-06-10 21:46:26,578 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a83ec3ad-4c79-4243-8ab3-04b61233109e 2025-06-10 21:46:26,879 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a83ec3ad-4c79-4243-8ab3-04b61233109e 2025-06-10 21:46:26,911 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/0e6b9506-425e-4035-8ee1-b420606b70af 2025-06-10 21:46:30,186 - 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 1031ms') 2025-06-10 21:46:30,186 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-71291528-69808037 failed! 2025-06-10 21:46:30,241 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-71291528:ctest-vn-89794819 is 1.146.166.193 and allocation pool is NOT set 2025-06-10 21:46:32,311 - 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=5.32 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.500 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.500/2.907/5.315/2.407 ms') 2025-06-10 21:46:32,311 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-71291528-69808037 passed 2025-06-10 21:46:32,473 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-10 21:46:32,473 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-71291528-69808037, IP 1.146.166.195, Port 22 2025-06-10 21:46:32,633 - DEBUG - VM ctest-TestRoutersBasic-71291528-69808037 is ready for SSH connections 2025-06-10 21:46:32,634 - INFO - Waiting for VM ctest-TestRoutersBasic-71291528-45955529 to be up.. 2025-06-10 21:46:32,731 - DEBUG - VM is in ACTIVE state now 2025-06-10 21:46:32,731 - INFO - VM name : ctest-TestRoutersBasic-71291528-45955529 2025-06-10 21:46:32,828 - DEBUG - VM ctest-TestRoutersBasic-71291528-45955529 ID is 7f6690f1-d31b-4e5d-a6c4-1297347b2f2f 2025-06-10 21:46:32,829 - DEBUG - VM ctest-TestRoutersBasic-71291528-45955529 launched on Node cn-jenkins-deploy-platform-ansible-os-3439-1 2025-06-10 21:46:32,913 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/7f6690f1-d31b-4e5d-a6c4-1297347b2f2f 2025-06-10 21:46:32,924 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/97f00bbe-e6f9-4f1a-94ab-e54b7e146144 2025-06-10 21:46:34,177 - 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.93 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.452 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.452/2.690/4.929/2.238 ms') 2025-06-10 21:46:34,177 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-71291528-45955529 passed 2025-06-10 21:46:34,337 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-10 21:46:34,337 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-71291528-45955529, IP 149.220.93.3, Port 22 2025-06-10 21:46:34,493 - DEBUG - VM ctest-TestRoutersBasic-71291528-45955529 is ready for SSH connections 2025-06-10 21:46:34,493 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-10 21:46:34,493 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 149.220.93.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-06-10 21:46:34,494 - DEBUG - ping -s 56 -c 3 -W 1 149.220.93.3 2025-06-10 21:46:38,175 - DEBUG - PING 149.220.93.3 (149.220.93.3): 56 data bytes 64 bytes from 149.220.93.3: seq=0 ttl=62 time=7.984 ms 64 bytes from 149.220.93.3: seq=1 ttl=62 time=0.905 ms 64 bytes from 149.220.93.3: seq=2 ttl=62 time=1.009 ms --- 149.220.93.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.905/3.299/7.984 ms 2025-06-10 21:46:38,175 - INFO - Ping to IP 149.220.93.3 from VM ctest-TestRoutersBasic-71291528-69808037 passed 2025-06-10 21:46:38,175 - INFO - Deleting interface with subnet_id 4ef03285-b656-4539-a980-cdcf5d12eac6, port_id None from router a723e17d-a4bf-4b83-8b0c-9d9c8aa7346a 2025-06-10 21:46:38,384 - INFO - Deleting VM ctest-TestRoutersBasic-71291528-45955529 2025-06-10 21:46:38,469 - INFO - Deleting VM ctest-TestRoutersBasic-71291528-69808037 2025-06-10 21:46:38,559 - INFO - Deleting VN ctest-ext_vn-56356713 2025-06-10 21:46:38,646 - DEBUG - VN 71acde07-c1f5-47b1-a369-97e9ad5b0259 still in use: Unable to complete operation on network 71acde07-c1f5-47b1-a369-97e9ad5b0259. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4fc1c148-6446-4806-a5b0-4031c0a48916'] 2025-06-10 21:46:38,646 - WARNING - Deleting VN ctest-ext_vn-56356713 failed..Will retry 2025-06-10 21:46:40,760 - DEBUG - Response for deleting network () 2025-06-10 21:46:40,760 - INFO - Deleting VN ctest-vn-89794819 2025-06-10 21:46:40,879 - DEBUG - Response for deleting network () 2025-06-10 21:46:41,144 - DEBUG - No XMPP flaps were noticed during the test
2025-06-10 21:46:41,144 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-06-10 21:46:41,144 - INFO - -------------------------------------------------------------------------------- 2025-06-10 21:46:41,832 - INFO - Deleted project: ctest-TestRoutersBasic-71291528, ID : b2e68b14-c114-444f-84fb-ca88f9b08327