2025-08-02 23:31:30,118 - INFO - Domain Default found not creating 2025-08-02 23:31:30,309 - INFO - Project ctest-TestRoutersBasic-60099742 not found, creating it 2025-08-02 23:31:30,965 - INFO - Created Project:ctest-TestRoutersBasic-60099742, ID : be60582e-7aba-4c97-bcd5-30757be40e45 2025-08-02 23:31:32,600 - INFO - ================================================================================ 2025-08-02 23:31:32,600 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-02 23:31:32,601 - 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-02 23:31:33,991 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0', '10.20.0.14': '0'}, '10.0.0.49': {'10.20.0.17': '0', '10.20.0.14': '0'}} with 2025-08-02 23:31:33,992 - INFO - Initial checks done. Running the testcase now 2025-08-02 23:31:33,992 - INFO - 2025-08-02 23:31:34,814 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-60099742 2025-08-02 23:31:34,886 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-60099742 2025-08-02 23:31:35,293 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-60099742', 'default']} 2025-08-02 23:31:35,774 - DEBUG - Response for create_network : {'network': {'id': 'e1dcd1b6-7af9-41b3-9596-2c04255b03f3', 'name': 'ctest-vn-35396342', 'tenant_id': 'be60582e7aba4c97bcd530757be40e45', 'project_id': 'be60582e7aba4c97bcd530757be40e45', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-60099742', 'ctest-vn-35396342'], 'port_security_enabled': True, 'description': ''}} 2025-08-02 23:31:36,075 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bce48959-0fff-445b-9bae-32ece2a117ac', 'name': '', 'tenant_id': 'be60582e7aba4c97bcd530757be40e45', 'network_id': 'e1dcd1b6-7af9-41b3-9596-2c04255b03f3', 'ip_version': 4, 'cidr': '183.253.62.64/26', 'allocation_pools': [{'start': '183.253.62.66', 'end': '183.253.62.126'}], 'gateway_ip': '183.253.62.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '183.253.62.66', 'tags': [], 'project_id': 'be60582e7aba4c97bcd530757be40e45'}} 2025-08-02 23:31:36,107 - INFO - Created VN ctest-vn-35396342 2025-08-02 23:31:36,125 - DEBUG - VN ctest-vn-35396342 UUID is e1dcd1b6-7af9-41b3-9596-2c04255b03f3 2025-08-02 23:31:36,607 - DEBUG - Response for create_network : {'network': {'id': '341a6d27-e885-4c2a-8a29-09e27c770d4a', 'name': 'ctest-ext_vn-25107786', 'tenant_id': 'be60582e7aba4c97bcd530757be40e45', 'project_id': 'be60582e7aba4c97bcd530757be40e45', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-60099742', 'ctest-ext_vn-25107786'], 'port_security_enabled': True, 'description': ''}} 2025-08-02 23:31:36,949 - DEBUG - Response for create_subnet : {'subnet': {'id': '38a9eb70-3eb8-4f53-ac86-dfe9fe208484', 'name': '', 'tenant_id': 'be60582e7aba4c97bcd530757be40e45', 'network_id': '341a6d27-e885-4c2a-8a29-09e27c770d4a', 'ip_version': 4, 'cidr': '92.113.239.192/26', 'allocation_pools': [{'start': '92.113.239.194', 'end': '92.113.239.254'}], 'gateway_ip': '92.113.239.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '92.113.239.194', 'tags': [], 'project_id': 'be60582e7aba4c97bcd530757be40e45'}} 2025-08-02 23:31:36,975 - INFO - Created VN ctest-ext_vn-25107786 2025-08-02 23:31:36,990 - DEBUG - VN ctest-ext_vn-25107786 UUID is 341a6d27-e885-4c2a-8a29-09e27c770d4a 2025-08-02 23:31:37,145 - DEBUG - Services list from nova: [, , , ] 2025-08-02 23:31:38,318 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3743-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3743-2) 2025-08-02 23:31:39,811 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3743-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3743-1) 2025-08-02 23:31:40,005 - INFO - Setting gateway for router 88c31fab-7e9d-418b-882c-0925d6ccb368 to network 341a6d27-e885-4c2a-8a29-09e27c770d4a 2025-08-02 23:31:40,114 - INFO - Adding interface with subnet_id bce48959-0fff-445b-9bae-32ece2a117ac, port_id None to router 88c31fab-7e9d-418b-882c-0925d6ccb368 2025-08-02 23:31:40,660 - INFO - Waiting for VM ctest-TestRoutersBasic-60099742-81969332 to be up.. 2025-08-02 23:31:40,934 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-02 23:31:46,075 - DEBUG - VM is in ACTIVE state now 2025-08-02 23:31:46,075 - INFO - VM name : ctest-TestRoutersBasic-60099742-81969332 2025-08-02 23:31:46,180 - DEBUG - VM ctest-TestRoutersBasic-60099742-81969332 ID is bf465d67-e46c-47f1-8fff-b7c7b9c6100d 2025-08-02 23:31:46,210 - DEBUG - VM ctest-TestRoutersBasic-60099742-81969332 launched on Node an-jenkins-deploy-platform-ansible-os-3743-2 2025-08-02 23:31:46,297 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/bf465d67-e46c-47f1-8fff-b7c7b9c6100d 2025-08-02 23:31:46,596 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/bf465d67-e46c-47f1-8fff-b7c7b9c6100d 2025-08-02 23:31:46,649 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/a30c4c8b-151a-4d59-9189-9b4e1b14988a 2025-08-02 23:31:49,891 - 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-08-02 23:31:49,891 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-60099742-81969332 failed! 2025-08-02 23:31:49,917 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-60099742:ctest-vn-35396342 is 183.253.62.65 and allocation pool is NOT set 2025-08-02 23:31:51,980 - 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.47 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.619 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.619/3.042/5.465/2.423 ms') 2025-08-02 23:31:51,980 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-60099742-81969332 passed 2025-08-02 23:31:52,115 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-02 23:31:52,115 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-60099742-81969332, IP 183.253.62.67, Port 22 2025-08-02 23:31:52,273 - DEBUG - VM ctest-TestRoutersBasic-60099742-81969332 is ready for SSH connections 2025-08-02 23:31:52,273 - INFO - Waiting for VM ctest-TestRoutersBasic-60099742-08469393 to be up.. 2025-08-02 23:31:52,372 - DEBUG - VM is in ACTIVE state now 2025-08-02 23:31:52,372 - INFO - VM name : ctest-TestRoutersBasic-60099742-08469393 2025-08-02 23:31:52,488 - DEBUG - VM ctest-TestRoutersBasic-60099742-08469393 ID is 80cf27a6-2360-4a2f-b9b9-d36d56c7e053 2025-08-02 23:31:52,488 - DEBUG - VM ctest-TestRoutersBasic-60099742-08469393 launched on Node an-jenkins-deploy-platform-ansible-os-3743-1 2025-08-02 23:31:52,576 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/80cf27a6-2360-4a2f-b9b9-d36d56c7e053 2025-08-02 23:31:52,597 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/18e35610-243c-404f-81a8-b6456d5402c7 2025-08-02 23:31:53,854 - 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.67 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.427 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.427/2.047/3.667/1.620 ms') 2025-08-02 23:31:53,854 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-60099742-08469393 passed 2025-08-02 23:31:54,001 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-02 23:31:54,001 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-60099742-08469393, IP 92.113.239.195, Port 22 2025-08-02 23:31:54,164 - DEBUG - VM ctest-TestRoutersBasic-60099742-08469393 is ready for SSH connections 2025-08-02 23:31:54,164 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-02 23:31:54,165 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 92.113.239.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-08-02 23:31:54,165 - DEBUG - ping -s 56 -c 3 -W 1 92.113.239.195 2025-08-02 23:31:58,083 - DEBUG - PING 92.113.239.195 (92.113.239.195): 56 data bytes 64 bytes from 92.113.239.195: seq=0 ttl=62 time=8.332 ms 64 bytes from 92.113.239.195: seq=1 ttl=62 time=1.230 ms 64 bytes from 92.113.239.195: seq=2 ttl=62 time=1.359 ms --- 92.113.239.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.230/3.640/8.332 ms 2025-08-02 23:31:58,083 - INFO - Ping to IP 92.113.239.195 from VM ctest-TestRoutersBasic-60099742-81969332 passed 2025-08-02 23:31:58,083 - INFO - Deleting interface with subnet_id bce48959-0fff-445b-9bae-32ece2a117ac, port_id None from router 88c31fab-7e9d-418b-882c-0925d6ccb368 2025-08-02 23:31:58,532 - INFO - Deleting VM ctest-TestRoutersBasic-60099742-08469393 2025-08-02 23:31:58,739 - INFO - Deleting VM ctest-TestRoutersBasic-60099742-81969332 2025-08-02 23:31:58,938 - INFO - Deleting VN ctest-ext_vn-25107786 2025-08-02 23:31:59,059 - DEBUG - VN 341a6d27-e885-4c2a-8a29-09e27c770d4a still in use: Unable to complete operation on network 341a6d27-e885-4c2a-8a29-09e27c770d4a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9105a3cb-e7fc-4f0c-94f8-6cdb01dec85e'] 2025-08-02 23:31:59,059 - WARNING - Deleting VN ctest-ext_vn-25107786 failed..Will retry 2025-08-02 23:32:01,370 - DEBUG - Response for deleting network () 2025-08-02 23:32:01,371 - INFO - Deleting VN ctest-vn-35396342 2025-08-02 23:32:01,578 - DEBUG - Response for deleting network () 2025-08-02 23:32:02,955 - DEBUG - No XMPP flaps were noticed during the test 2025-08-02 23:32:02,956 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:30] 2025-08-02 23:32:02,956 - INFO - -------------------------------------------------------------------------------- 2025-08-02 23:32:03,973 - INFO - Deleted project: ctest-TestRoutersBasic-60099742, ID : be60582e-7aba-4c97-bcd5-30757be40e45