2025-06-25 07:07:58,120 - INFO - Domain Default found not creating 2025-06-25 07:07:58,262 - INFO - Project ctest-TestRoutersBasic-68449141 not found, creating it 2025-06-25 07:07:58,714 - INFO - Created Project:ctest-TestRoutersBasic-68449141, ID : 8a36399d-0d8a-4e15-8eb9-ed74a1b029b1 2025-06-25 07:08:00,109 - INFO - ================================================================================ 2025-06-25 07:08:00,110 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-25 07:08:00,110 - 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-25 07:08:00,369 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-06-25 07:08:00,369 - INFO - Initial checks done. Running the testcase now 2025-06-25 07:08:00,369 - INFO - 2025-06-25 07:08:01,069 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-68449141 2025-06-25 07:08:01,162 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-68449141 2025-06-25 07:08:01,482 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-68449141', 'default']} 2025-06-25 07:08:01,787 - DEBUG - Response for create_network : {'network': {'id': '2a7b160d-9425-4da8-9aa9-a000ec534acd', 'name': 'ctest-vn-24835507', 'tenant_id': '8a36399d0d8a4e158eb9ed74a1b029b1', 'project_id': '8a36399d0d8a4e158eb9ed74a1b029b1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-68449141', 'ctest-vn-24835507'], 'port_security_enabled': True, 'description': ''}} 2025-06-25 07:08:01,982 - DEBUG - Response for create_subnet : {'subnet': {'id': '7755342f-16b5-4419-b9b4-1d528b501855', 'name': '', 'tenant_id': '8a36399d0d8a4e158eb9ed74a1b029b1', 'network_id': '2a7b160d-9425-4da8-9aa9-a000ec534acd', 'ip_version': 4, 'cidr': '134.62.230.0/26', 'allocation_pools': [{'start': '134.62.230.2', 'end': '134.62.230.62'}], 'gateway_ip': '134.62.230.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '134.62.230.2', 'tags': [], 'project_id': '8a36399d0d8a4e158eb9ed74a1b029b1'}} 2025-06-25 07:08:02,006 - INFO - Created VN ctest-vn-24835507 2025-06-25 07:08:02,062 - DEBUG - VN ctest-vn-24835507 UUID is 2a7b160d-9425-4da8-9aa9-a000ec534acd 2025-06-25 07:08:02,402 - DEBUG - Response for create_network : {'network': {'id': 'b6a045b4-5d2d-4a91-9106-f038ff3157f3', 'name': 'ctest-ext_vn-23102348', 'tenant_id': '8a36399d0d8a4e158eb9ed74a1b029b1', 'project_id': '8a36399d0d8a4e158eb9ed74a1b029b1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-68449141', 'ctest-ext_vn-23102348'], 'port_security_enabled': True, 'description': ''}} 2025-06-25 07:08:02,605 - DEBUG - Response for create_subnet : {'subnet': {'id': '89a3ea80-0f4c-4673-8922-9844fe38c74a', 'name': '', 'tenant_id': '8a36399d0d8a4e158eb9ed74a1b029b1', 'network_id': 'b6a045b4-5d2d-4a91-9106-f038ff3157f3', 'ip_version': 4, 'cidr': '18.181.44.0/26', 'allocation_pools': [{'start': '18.181.44.2', 'end': '18.181.44.62'}], 'gateway_ip': '18.181.44.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '18.181.44.2', 'tags': [], 'project_id': '8a36399d0d8a4e158eb9ed74a1b029b1'}} 2025-06-25 07:08:02,624 - INFO - Created VN ctest-ext_vn-23102348 2025-06-25 07:08:02,675 - DEBUG - VN ctest-ext_vn-23102348 UUID is b6a045b4-5d2d-4a91-9106-f038ff3157f3 2025-06-25 07:08:02,842 - DEBUG - Services list from nova: [, , ] 2025-06-25 07:08:03,870 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3544-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3544-1) 2025-06-25 07:08:05,019 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3544-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3544-1) 2025-06-25 07:08:05,097 - INFO - Setting gateway for router 98eb9b9b-887b-46db-b284-ed61e3ffc013 to network b6a045b4-5d2d-4a91-9106-f038ff3157f3 2025-06-25 07:08:05,154 - INFO - Adding interface with subnet_id 7755342f-16b5-4419-b9b4-1d528b501855, port_id None to router 98eb9b9b-887b-46db-b284-ed61e3ffc013 2025-06-25 07:08:05,594 - INFO - Waiting for VM ctest-TestRoutersBasic-68449141-50638773 to be up.. 2025-06-25 07:08:05,759 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-25 07:08:10,833 - DEBUG - VM is in ACTIVE state now 2025-06-25 07:08:10,834 - INFO - VM name : ctest-TestRoutersBasic-68449141-50638773 2025-06-25 07:08:10,901 - DEBUG - VM ctest-TestRoutersBasic-68449141-50638773 ID is 46a46c02-4256-4499-a0d3-e10429ab8fcf 2025-06-25 07:08:10,919 - DEBUG - VM ctest-TestRoutersBasic-68449141-50638773 launched on Node cn-jenkins-deploy-platform-ansible-os-3544-1 2025-06-25 07:08:11,013 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/46a46c02-4256-4499-a0d3-e10429ab8fcf 2025-06-25 07:08:11,312 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/46a46c02-4256-4499-a0d3-e10429ab8fcf 2025-06-25 07:08:11,342 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/b89d7686-962a-4766-bcd3-ce6aab567f52 2025-06-25 07:08:14,613 - 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 1027ms') 2025-06-25 07:08:14,614 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-68449141-50638773 failed! 2025-06-25 07:08:14,674 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-68449141:ctest-vn-24835507 is 134.62.230.1 and allocation pool is NOT set 2025-06-25 07:08:16,734 - 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.15 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 1001ms\r\nrtt min/avg/max/mdev = 0.427/1.786/3.146/1.359 ms') 2025-06-25 07:08:16,735 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-68449141-50638773 passed 2025-06-25 07:08:16,886 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-25 07:08:16,886 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-68449141-50638773, IP 134.62.230.3, Port 22 2025-06-25 07:08:17,042 - DEBUG - VM ctest-TestRoutersBasic-68449141-50638773 is ready for SSH connections 2025-06-25 07:08:17,043 - INFO - Waiting for VM ctest-TestRoutersBasic-68449141-66223934 to be up.. 2025-06-25 07:08:17,122 - DEBUG - VM is in ACTIVE state now 2025-06-25 07:08:17,122 - INFO - VM name : ctest-TestRoutersBasic-68449141-66223934 2025-06-25 07:08:17,193 - DEBUG - VM ctest-TestRoutersBasic-68449141-66223934 ID is 249a7ab6-65c7-47f7-9378-38cc65ea14c5 2025-06-25 07:08:17,193 - DEBUG - VM ctest-TestRoutersBasic-68449141-66223934 launched on Node cn-jenkins-deploy-platform-ansible-os-3544-1 2025-06-25 07:08:17,260 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/249a7ab6-65c7-47f7-9378-38cc65ea14c5 2025-06-25 07:08:17,270 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/36288b1c-46b2-4af6-88bc-3b9a5b08dfad 2025-06-25 07:08:18,503 - 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=2.64 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.340 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.340/1.488/2.636/1.148 ms') 2025-06-25 07:08:18,503 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-68449141-66223934 passed 2025-06-25 07:08:18,654 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-25 07:08:18,654 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-68449141-66223934, IP 18.181.44.3, Port 22 2025-06-25 07:08:18,810 - DEBUG - VM ctest-TestRoutersBasic-68449141-66223934 is ready for SSH connections 2025-06-25 07:08:18,810 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-25 07:08:18,810 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 18.181.44.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-06-25 07:08:18,810 - DEBUG - ping -s 56 -c 3 -W 1 18.181.44.3 2025-06-25 07:08:22,514 - DEBUG - PING 18.181.44.3 (18.181.44.3): 56 data bytes 64 bytes from 18.181.44.3: seq=0 ttl=62 time=4.989 ms 64 bytes from 18.181.44.3: seq=1 ttl=62 time=0.846 ms 64 bytes from 18.181.44.3: seq=2 ttl=62 time=0.910 ms --- 18.181.44.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.846/2.248/4.989 ms 2025-06-25 07:08:22,514 - INFO - Ping to IP 18.181.44.3 from VM ctest-TestRoutersBasic-68449141-50638773 passed 2025-06-25 07:08:22,514 - INFO - Deleting interface with subnet_id 7755342f-16b5-4419-b9b4-1d528b501855, port_id None from router 98eb9b9b-887b-46db-b284-ed61e3ffc013 2025-06-25 07:08:22,706 - INFO - Deleting VM ctest-TestRoutersBasic-68449141-66223934 2025-06-25 07:08:22,768 - INFO - Deleting VM ctest-TestRoutersBasic-68449141-50638773 2025-06-25 07:08:22,852 - INFO - Deleting VN ctest-ext_vn-23102348 2025-06-25 07:08:22,913 - DEBUG - VN b6a045b4-5d2d-4a91-9106-f038ff3157f3 still in use: Unable to complete operation on network b6a045b4-5d2d-4a91-9106-f038ff3157f3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-989fd0b8-18fe-4d4b-8cfa-0e4ad9c818bb'] 2025-06-25 07:08:22,913 - WARNING - Deleting VN ctest-ext_vn-23102348 failed..Will retry 2025-06-25 07:08:25,027 - DEBUG - Response for deleting network () 2025-06-25 07:08:25,027 - INFO - Deleting VN ctest-vn-24835507 2025-06-25 07:08:25,135 - DEBUG - Response for deleting network () 2025-06-25 07:08:25,387 - DEBUG - No XMPP flaps were noticed during the test 2025-06-25 07:08:25,388 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-06-25 07:08:25,388 - INFO - -------------------------------------------------------------------------------- 2025-06-25 07:08:26,057 - INFO - Deleted project: ctest-TestRoutersBasic-68449141, ID : 8a36399d-0d8a-4e15-8eb9-ed74a1b029b1