2025-08-11 21:37:01,312 - INFO - Domain Default found not creating 2025-08-11 21:37:01,431 - INFO - Project ctest-TestRoutersBasic-28649392 not found, creating it 2025-08-11 21:37:01,876 - INFO - Created Project:ctest-TestRoutersBasic-28649392, ID : 738b5246-6761-42d2-a107-63362822d359 2025-08-11 21:37:03,193 - INFO - ================================================================================ 2025-08-11 21:37:03,193 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-11 21:37:03,194 - 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-11 21:37:03,443 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-08-11 21:37:03,443 - INFO - Initial checks done. Running the testcase now 2025-08-11 21:37:03,443 - INFO - 2025-08-11 21:37:04,117 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-28649392 2025-08-11 21:37:04,212 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-28649392 2025-08-11 21:37:04,536 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-28649392', 'default']} 2025-08-11 21:37:04,803 - DEBUG - Response for create_network : {'network': {'id': 'd82f7dd8-29cb-411d-beb6-2933c9f441fb', 'name': 'ctest-vn-62235666', 'tenant_id': '738b5246676142d2a10763362822d359', 'project_id': '738b5246676142d2a10763362822d359', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-28649392', 'ctest-vn-62235666'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 21:37:05,007 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c607361f-d7a9-43e5-9687-7ce465ef3676', 'name': '', 'tenant_id': '738b5246676142d2a10763362822d359', 'network_id': 'd82f7dd8-29cb-411d-beb6-2933c9f441fb', 'ip_version': 4, 'cidr': '41.42.9.64/26', 'allocation_pools': [{'start': '41.42.9.66', 'end': '41.42.9.126'}], 'gateway_ip': '41.42.9.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '41.42.9.66', 'tags': [], 'project_id': '738b5246676142d2a10763362822d359'}} 2025-08-11 21:37:05,022 - INFO - Created VN ctest-vn-62235666 2025-08-11 21:37:05,072 - DEBUG - VN ctest-vn-62235666 UUID is d82f7dd8-29cb-411d-beb6-2933c9f441fb 2025-08-11 21:37:05,395 - DEBUG - Response for create_network : {'network': {'id': '73a25a3f-108b-4507-a58c-973c7390fd86', 'name': 'ctest-ext_vn-49802970', 'tenant_id': '738b5246676142d2a10763362822d359', 'project_id': '738b5246676142d2a10763362822d359', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-28649392', 'ctest-ext_vn-49802970'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 21:37:05,550 - DEBUG - Response for create_subnet : {'subnet': {'id': '405d0ec2-6b2a-437b-8e7e-e0d360cdf011', 'name': '', 'tenant_id': '738b5246676142d2a10763362822d359', 'network_id': '73a25a3f-108b-4507-a58c-973c7390fd86', 'ip_version': 4, 'cidr': '166.99.61.192/26', 'allocation_pools': [{'start': '166.99.61.194', 'end': '166.99.61.254'}], 'gateway_ip': '166.99.61.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '166.99.61.194', 'tags': [], 'project_id': '738b5246676142d2a10763362822d359'}} 2025-08-11 21:37:05,566 - INFO - Created VN ctest-ext_vn-49802970 2025-08-11 21:37:05,616 - DEBUG - VN ctest-ext_vn-49802970 UUID is 73a25a3f-108b-4507-a58c-973c7390fd86 2025-08-11 21:37:05,799 - DEBUG - Services list from nova: [, , ] 2025-08-11 21:37:06,722 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3823-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3823-1) 2025-08-11 21:37:07,726 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3823-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3823-1) 2025-08-11 21:37:07,790 - INFO - Setting gateway for router 9cb755a9-8446-4b8c-96f0-a3b30638526b to network 73a25a3f-108b-4507-a58c-973c7390fd86 2025-08-11 21:37:07,851 - INFO - Adding interface with subnet_id c607361f-d7a9-43e5-9687-7ce465ef3676, port_id None to router 9cb755a9-8446-4b8c-96f0-a3b30638526b 2025-08-11 21:37:08,195 - INFO - Waiting for VM ctest-TestRoutersBasic-28649392-00086076 to be up.. 2025-08-11 21:37:08,333 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 21:37:13,393 - DEBUG - VM is in ACTIVE state now 2025-08-11 21:37:13,393 - INFO - VM name : ctest-TestRoutersBasic-28649392-00086076 2025-08-11 21:37:13,452 - DEBUG - VM ctest-TestRoutersBasic-28649392-00086076 ID is ee6d6ee6-f86d-4667-ae4f-7b282278bba9 2025-08-11 21:37:13,467 - DEBUG - VM ctest-TestRoutersBasic-28649392-00086076 launched on Node cn-jenkins-deploy-platform-ansible-os-3823-1 2025-08-11 21:37:13,526 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ee6d6ee6-f86d-4667-ae4f-7b282278bba9 2025-08-11 21:37:13,813 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ee6d6ee6-f86d-4667-ae4f-7b282278bba9 2025-08-11 21:37:13,841 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/1c99fe70-0204-4efa-b2ad-8ec2454a81e4 2025-08-11 21:37:17,087 - 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=2 ttl=63 time=9.81 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1012ms\r\nrtt min/avg/max/mdev = 9.807/9.807/9.807/0.000 ms') 2025-08-11 21:37:17,088 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-28649392-00086076 passed 2025-08-11 21:37:17,236 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 21:37:17,237 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-28649392-00086076, IP 41.42.9.67, Port 22 2025-08-11 21:37:17,395 - DEBUG - VM ctest-TestRoutersBasic-28649392-00086076 is ready for SSH connections 2025-08-11 21:37:17,395 - INFO - Waiting for VM ctest-TestRoutersBasic-28649392-30912430 to be up.. 2025-08-11 21:37:17,456 - DEBUG - VM is in ACTIVE state now 2025-08-11 21:37:17,456 - INFO - VM name : ctest-TestRoutersBasic-28649392-30912430 2025-08-11 21:37:17,513 - DEBUG - VM ctest-TestRoutersBasic-28649392-30912430 ID is 42bb1b2c-90ca-4b52-92c8-a3688d30d17d 2025-08-11 21:37:17,513 - DEBUG - VM ctest-TestRoutersBasic-28649392-30912430 launched on Node cn-jenkins-deploy-platform-ansible-os-3823-1 2025-08-11 21:37:17,571 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/42bb1b2c-90ca-4b52-92c8-a3688d30d17d 2025-08-11 21:37:17,579 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/966b16ad-c238-4502-9790-bb9689656d57 2025-08-11 21:37:18,820 - 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.47 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.34 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 = 1.338/2.905/4.472/1.567 ms') 2025-08-11 21:37:18,820 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-28649392-30912430 passed 2025-08-11 21:37:18,972 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 21:37:18,973 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-28649392-30912430, IP 166.99.61.195, Port 22 2025-08-11 21:37:19,123 - DEBUG - VM ctest-TestRoutersBasic-28649392-30912430 is ready for SSH connections 2025-08-11 21:37:19,124 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 21:37:19,124 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 166.99.61.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-11 21:37:19,124 - DEBUG - ping -s 56 -c 3 -W 1 166.99.61.195 2025-08-11 21:37:22,765 - DEBUG - PING 166.99.61.195 (166.99.61.195): 56 data bytes 64 bytes from 166.99.61.195: seq=0 ttl=62 time=5.663 ms 64 bytes from 166.99.61.195: seq=1 ttl=62 time=1.043 ms 64 bytes from 166.99.61.195: seq=2 ttl=62 time=0.824 ms --- 166.99.61.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.824/2.510/5.663 ms 2025-08-11 21:37:22,765 - INFO - Ping to IP 166.99.61.195 from VM ctest-TestRoutersBasic-28649392-00086076 passed 2025-08-11 21:37:22,765 - INFO - Deleting interface with subnet_id c607361f-d7a9-43e5-9687-7ce465ef3676, port_id None from router 9cb755a9-8446-4b8c-96f0-a3b30638526b 2025-08-11 21:37:22,920 - INFO - Deleting VM ctest-TestRoutersBasic-28649392-30912430 2025-08-11 21:37:22,979 - INFO - Deleting VM ctest-TestRoutersBasic-28649392-00086076 2025-08-11 21:37:23,042 - INFO - Deleting VN ctest-ext_vn-49802970 2025-08-11 21:37:23,100 - DEBUG - VN 73a25a3f-108b-4507-a58c-973c7390fd86 still in use: Unable to complete operation on network 73a25a3f-108b-4507-a58c-973c7390fd86. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-36fa6146-be8b-4829-8fb2-2f29325d8335'] 2025-08-11 21:37:23,100 - WARNING - Deleting VN ctest-ext_vn-49802970 failed..Will retry 2025-08-11 21:37:25,188 - DEBUG - Response for deleting network () 2025-08-11 21:37:25,189 - INFO - Deleting VN ctest-vn-62235666 2025-08-11 21:37:25,278 - DEBUG - Response for deleting network () 2025-08-11 21:37:25,529 - DEBUG - No XMPP flaps were noticed during the test 2025-08-11 21:37:25,529 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:22] 2025-08-11 21:37:25,529 - INFO - -------------------------------------------------------------------------------- 2025-08-11 21:37:26,672 - INFO - Deleted project: ctest-TestRoutersBasic-28649392, ID : 738b5246-6761-42d2-a107-63362822d359