2025-09-15 11:45:27,126 - INFO - Domain Default found not creating 2025-09-15 11:45:27,271 - INFO - Project ctest-TestRoutersBasic-75085689 not found, creating it 2025-09-15 11:45:27,719 - INFO - Created Project:ctest-TestRoutersBasic-75085689, ID : bf23019b-8858-403d-aee0-02f8d670f4dd 2025-09-15 11:45:29,112 - INFO - ================================================================================ 2025-09-15 11:45:29,112 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-09-15 11:45:29,112 - 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-15 11:45:29,366 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2025-09-15 11:45:29,366 - INFO - Initial checks done. Running the testcase now 2025-09-15 11:45:29,366 - INFO - 2025-09-15 11:45:30,071 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-75085689 2025-09-15 11:45:30,165 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-75085689 2025-09-15 11:45:30,481 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-75085689', 'default']} 2025-09-15 11:45:30,755 - DEBUG - Response for create_network : {'network': {'id': '4f7c57ae-497e-417b-ba87-d2c9671be726', 'name': 'ctest-vn-00912061', 'tenant_id': 'bf23019b8858403daee002f8d670f4dd', 'project_id': 'bf23019b8858403daee002f8d670f4dd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-75085689', 'ctest-vn-00912061'], 'port_security_enabled': True, 'description': ''}} 2025-09-15 11:45:30,945 - DEBUG - Response for create_subnet : {'subnet': {'id': '3c021698-1578-4917-8812-0fdc3819de42', 'name': '', 'tenant_id': 'bf23019b8858403daee002f8d670f4dd', 'network_id': '4f7c57ae-497e-417b-ba87-d2c9671be726', 'ip_version': 4, 'cidr': '118.170.223.64/26', 'allocation_pools': [{'start': '118.170.223.66', 'end': '118.170.223.126'}], 'gateway_ip': '118.170.223.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '118.170.223.66', 'tags': [], 'project_id': 'bf23019b8858403daee002f8d670f4dd'}} 2025-09-15 11:45:30,963 - INFO - Created VN ctest-vn-00912061 2025-09-15 11:45:31,013 - DEBUG - VN ctest-vn-00912061 UUID is 4f7c57ae-497e-417b-ba87-d2c9671be726 2025-09-15 11:45:31,365 - DEBUG - Response for create_network : {'network': {'id': '16215483-16b4-4661-bfab-875df16971ed', 'name': 'ctest-ext_vn-67601333', 'tenant_id': 'bf23019b8858403daee002f8d670f4dd', 'project_id': 'bf23019b8858403daee002f8d670f4dd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-75085689', 'ctest-ext_vn-67601333'], 'port_security_enabled': True, 'description': ''}} 2025-09-15 11:45:31,576 - DEBUG - Response for create_subnet : {'subnet': {'id': '03458c5b-b255-41eb-bd8b-c5aac202b2c7', 'name': '', 'tenant_id': 'bf23019b8858403daee002f8d670f4dd', 'network_id': '16215483-16b4-4661-bfab-875df16971ed', 'ip_version': 4, 'cidr': '50.15.215.192/26', 'allocation_pools': [{'start': '50.15.215.194', 'end': '50.15.215.254'}], 'gateway_ip': '50.15.215.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '50.15.215.194', 'tags': [], 'project_id': 'bf23019b8858403daee002f8d670f4dd'}} 2025-09-15 11:45:31,596 - INFO - Created VN ctest-ext_vn-67601333 2025-09-15 11:45:31,649 - DEBUG - VN ctest-ext_vn-67601333 UUID is 16215483-16b4-4661-bfab-875df16971ed 2025-09-15 11:45:31,812 - DEBUG - Services list from nova: [, , ] 2025-09-15 11:45:32,807 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4116-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4116-1) 2025-09-15 11:45:33,921 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4116-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4116-1) 2025-09-15 11:45:33,991 - INFO - Setting gateway for router 609ee4b6-20f7-4d7e-9976-0560df6d203f to network 16215483-16b4-4661-bfab-875df16971ed 2025-09-15 11:45:34,056 - INFO - Adding interface with subnet_id 3c021698-1578-4917-8812-0fdc3819de42, port_id None to router 609ee4b6-20f7-4d7e-9976-0560df6d203f 2025-09-15 11:45:34,369 - INFO - Waiting for VM ctest-TestRoutersBasic-75085689-50885934 to be up.. 2025-09-15 11:45:34,479 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-15 11:45:39,552 - DEBUG - VM is in ACTIVE state now 2025-09-15 11:45:39,552 - INFO - VM name : ctest-TestRoutersBasic-75085689-50885934 2025-09-15 11:45:39,630 - DEBUG - VM ctest-TestRoutersBasic-75085689-50885934 ID is e88b18be-eaad-4d82-b3c3-d17629c3723c 2025-09-15 11:45:39,651 - DEBUG - VM ctest-TestRoutersBasic-75085689-50885934 launched on Node cn-jenkins-deploy-platform-ansible-os-4116-1 2025-09-15 11:45:39,725 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e88b18be-eaad-4d82-b3c3-d17629c3723c 2025-09-15 11:45:40,018 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e88b18be-eaad-4d82-b3c3-d17629c3723c 2025-09-15 11:45:40,047 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/7d46ac4e-dc17-43cd-9ace-a3972b075cea 2025-09-15 11:45:43,316 - 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 1026ms') 2025-09-15 11:45:43,316 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-75085689-50885934 failed! 2025-09-15 11:45:43,369 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-75085689:ctest-vn-00912061 is 118.170.223.65 and allocation pool is NOT set 2025-09-15 11:45:45,434 - 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.10 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.07 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 = 1.068/2.584/4.101/1.516 ms') 2025-09-15 11:45:45,434 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-75085689-50885934 passed 2025-09-15 11:45:45,541 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 11:45:45,541 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-75085689-50885934, IP 118.170.223.67, Port 22 2025-09-15 11:45:45,711 - DEBUG - VM ctest-TestRoutersBasic-75085689-50885934 is ready for SSH connections 2025-09-15 11:45:45,711 - INFO - Waiting for VM ctest-TestRoutersBasic-75085689-32812801 to be up.. 2025-09-15 11:45:45,785 - DEBUG - VM is in ACTIVE state now 2025-09-15 11:45:45,785 - INFO - VM name : ctest-TestRoutersBasic-75085689-32812801 2025-09-15 11:45:45,858 - DEBUG - VM ctest-TestRoutersBasic-75085689-32812801 ID is 565f54e0-c7ca-407a-860a-f9678ec04ec3 2025-09-15 11:45:45,858 - DEBUG - VM ctest-TestRoutersBasic-75085689-32812801 launched on Node cn-jenkins-deploy-platform-ansible-os-4116-1 2025-09-15 11:45:45,928 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/565f54e0-c7ca-407a-860a-f9678ec04ec3 2025-09-15 11:45:45,936 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ced1ab4a-7588-4b9b-a6bc-399ef46ee89e 2025-09-15 11:45:47,164 - 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.63 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.601 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.601/2.117/3.634/1.516 ms') 2025-09-15 11:45:47,165 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-75085689-32812801 passed 2025-09-15 11:45:47,313 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 11:45:47,313 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-75085689-32812801, IP 50.15.215.195, Port 22 2025-09-15 11:45:47,472 - DEBUG - VM ctest-TestRoutersBasic-75085689-32812801 is ready for SSH connections 2025-09-15 11:45:47,472 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 11:45:47,473 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 50.15.215.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-15 11:45:47,473 - DEBUG - ping -s 56 -c 3 -W 1 50.15.215.195 2025-09-15 11:45:51,195 - DEBUG - PING 50.15.215.195 (50.15.215.195): 56 data bytes 64 bytes from 50.15.215.195: seq=0 ttl=62 time=7.187 ms 64 bytes from 50.15.215.195: seq=1 ttl=62 time=0.791 ms 64 bytes from 50.15.215.195: seq=2 ttl=62 time=0.937 ms --- 50.15.215.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.791/2.971/7.187 ms 2025-09-15 11:45:51,195 - INFO - Ping to IP 50.15.215.195 from VM ctest-TestRoutersBasic-75085689-50885934 passed 2025-09-15 11:45:51,195 - INFO - Deleting interface with subnet_id 3c021698-1578-4917-8812-0fdc3819de42, port_id None from router 609ee4b6-20f7-4d7e-9976-0560df6d203f 2025-09-15 11:45:51,386 - INFO - Deleting VM ctest-TestRoutersBasic-75085689-32812801 2025-09-15 11:45:51,466 - INFO - Deleting VM ctest-TestRoutersBasic-75085689-50885934 2025-09-15 11:45:51,554 - INFO - Deleting VN ctest-ext_vn-67601333 2025-09-15 11:45:51,619 - DEBUG - VN 16215483-16b4-4661-bfab-875df16971ed still in use: Unable to complete operation on network 16215483-16b4-4661-bfab-875df16971ed. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-819279d5-4a04-462c-b621-3877502c0c61'] 2025-09-15 11:45:51,619 - WARNING - Deleting VN ctest-ext_vn-67601333 failed..Will retry 2025-09-15 11:45:53,726 - DEBUG - Response for deleting network () 2025-09-15 11:45:53,726 - INFO - Deleting VN ctest-vn-00912061 2025-09-15 11:45:53,840 - DEBUG - Response for deleting network () 2025-09-15 11:45:54,094 - DEBUG - No XMPP flaps were noticed during the test 2025-09-15 11:45:54,094 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-09-15 11:45:54,094 - INFO - -------------------------------------------------------------------------------- 2025-09-15 11:45:54,791 - INFO - Deleted project: ctest-TestRoutersBasic-75085689, ID : bf23019b-8858-403d-aee0-02f8d670f4dd