2025-11-20 01:57:41,107 - INFO - Domain Default found not creating 2025-11-20 01:57:41,273 - INFO - Project ctest-TestRoutersBasic-14212580 not found, creating it 2025-11-20 01:57:41,729 - INFO - Created Project:ctest-TestRoutersBasic-14212580, ID : d8965d37-a3ae-4804-adbe-1f21e24efb7b 2025-11-20 01:57:43,182 - INFO - ================================================================================ 2025-11-20 01:57:43,182 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-20 01:57:43,182 - 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-11-20 01:57:43,436 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.241': '0'}} with 2025-11-20 01:57:43,437 - INFO - Initial checks done. Running the testcase now 2025-11-20 01:57:43,437 - INFO - 2025-11-20 01:57:44,148 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-14212580 2025-11-20 01:57:44,247 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-14212580 2025-11-20 01:57:44,567 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-14212580', 'default']} 2025-11-20 01:57:44,863 - DEBUG - Response for create_network : {'network': {'id': '33dadfb4-ba8f-4432-82b6-23e2c5fd76b4', 'name': 'ctest-vn-68439552', 'tenant_id': 'd8965d37a3ae4804adbe1f21e24efb7b', 'project_id': 'd8965d37a3ae4804adbe1f21e24efb7b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-14212580', 'ctest-vn-68439552'], 'port_security_enabled': True, 'description': ''}} 2025-11-20 01:57:45,045 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c12885c9-7ba7-415e-8409-b51bf0e1100a', 'name': '', 'tenant_id': 'd8965d37a3ae4804adbe1f21e24efb7b', 'network_id': '33dadfb4-ba8f-4432-82b6-23e2c5fd76b4', 'ip_version': 4, 'cidr': '16.120.238.64/26', 'allocation_pools': [{'start': '16.120.238.66', 'end': '16.120.238.126'}], 'gateway_ip': '16.120.238.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '16.120.238.66', 'tags': [], 'project_id': 'd8965d37a3ae4804adbe1f21e24efb7b'}} 2025-11-20 01:57:45,062 - INFO - Created VN ctest-vn-68439552 2025-11-20 01:57:45,115 - DEBUG - VN ctest-vn-68439552 UUID is 33dadfb4-ba8f-4432-82b6-23e2c5fd76b4 2025-11-20 01:57:45,471 - DEBUG - Response for create_network : {'network': {'id': '42e7effa-2bae-44d3-abe3-96286ccf122d', 'name': 'ctest-ext_vn-85891150', 'tenant_id': 'd8965d37a3ae4804adbe1f21e24efb7b', 'project_id': 'd8965d37a3ae4804adbe1f21e24efb7b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-14212580', 'ctest-ext_vn-85891150'], 'port_security_enabled': True, 'description': ''}} 2025-11-20 01:57:45,632 - DEBUG - Response for create_subnet : {'subnet': {'id': '12382e47-41c3-432e-9753-0a9d79c9a09e', 'name': '', 'tenant_id': 'd8965d37a3ae4804adbe1f21e24efb7b', 'network_id': '42e7effa-2bae-44d3-abe3-96286ccf122d', 'ip_version': 4, 'cidr': '171.5.177.0/26', 'allocation_pools': [{'start': '171.5.177.2', 'end': '171.5.177.62'}], 'gateway_ip': '171.5.177.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '171.5.177.2', 'tags': [], 'project_id': 'd8965d37a3ae4804adbe1f21e24efb7b'}} 2025-11-20 01:57:45,650 - INFO - Created VN ctest-ext_vn-85891150 2025-11-20 01:57:45,704 - DEBUG - VN ctest-ext_vn-85891150 UUID is 42e7effa-2bae-44d3-abe3-96286ccf122d 2025-11-20 01:57:45,915 - DEBUG - Services list from nova: [, , ] 2025-11-20 01:57:46,942 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4771-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4771-1) 2025-11-20 01:57:48,073 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4771-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4771-1) 2025-11-20 01:57:48,153 - INFO - Setting gateway for router 9893184b-5472-4d9a-91c5-df1dc03f6a37 to network 42e7effa-2bae-44d3-abe3-96286ccf122d 2025-11-20 01:57:48,218 - INFO - Adding interface with subnet_id c12885c9-7ba7-415e-8409-b51bf0e1100a, port_id None to router 9893184b-5472-4d9a-91c5-df1dc03f6a37 2025-11-20 01:57:48,475 - INFO - Waiting for VM ctest-TestRoutersBasic-14212580-59434396 to be up.. 2025-11-20 01:57:48,585 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-20 01:57:53,658 - DEBUG - VM is in ACTIVE state now 2025-11-20 01:57:53,658 - INFO - VM name : ctest-TestRoutersBasic-14212580-59434396 2025-11-20 01:57:53,732 - DEBUG - VM ctest-TestRoutersBasic-14212580-59434396 ID is a91b3be4-7434-4814-a6da-17143601c43f 2025-11-20 01:57:53,751 - DEBUG - VM ctest-TestRoutersBasic-14212580-59434396 launched on Node cn-jenkins-deploy-platform-ansible-os-4771-1 2025-11-20 01:57:53,821 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/a91b3be4-7434-4814-a6da-17143601c43f 2025-11-20 01:57:54,115 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/a91b3be4-7434-4814-a6da-17143601c43f 2025-11-20 01:57:54,146 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/f62d6426-87f0-45d8-92a5-35b08d892a08 2025-11-20 01:57:57,384 - 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 1003ms') 2025-11-20 01:57:57,384 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-14212580-59434396 failed! 2025-11-20 01:57:57,435 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-14212580:ctest-vn-68439552 is 16.120.238.65 and allocation pool is NOT set 2025-11-20 01:57:59,492 - 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.27 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.491 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.491/1.881/3.272/1.390 ms') 2025-11-20 01:57:59,492 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-14212580-59434396 passed 2025-11-20 01:57:59,643 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 01:57:59,643 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-14212580-59434396, IP 16.120.238.67, Port 22 2025-11-20 01:57:59,799 - DEBUG - VM ctest-TestRoutersBasic-14212580-59434396 is ready for SSH connections 2025-11-20 01:57:59,799 - INFO - Waiting for VM ctest-TestRoutersBasic-14212580-35114007 to be up.. 2025-11-20 01:57:59,874 - DEBUG - VM is in ACTIVE state now 2025-11-20 01:57:59,875 - INFO - VM name : ctest-TestRoutersBasic-14212580-35114007 2025-11-20 01:57:59,940 - DEBUG - VM ctest-TestRoutersBasic-14212580-35114007 ID is ebe3f2ce-7c6d-483c-8d91-e055b795990b 2025-11-20 01:57:59,940 - DEBUG - VM ctest-TestRoutersBasic-14212580-35114007 launched on Node cn-jenkins-deploy-platform-ansible-os-4771-1 2025-11-20 01:58:00,009 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/ebe3f2ce-7c6d-483c-8d91-e055b795990b 2025-11-20 01:58:00,017 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/9944b7c6-c942-43ff-a461-7d1bd3a70ce2 2025-11-20 01:58:01,245 - 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.95 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.501 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.501/1.724/2.947/1.223 ms') 2025-11-20 01:58:01,245 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-14212580-35114007 passed 2025-11-20 01:58:01,391 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 01:58:01,391 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-14212580-35114007, IP 171.5.177.3, Port 22 2025-11-20 01:58:01,558 - DEBUG - VM ctest-TestRoutersBasic-14212580-35114007 is ready for SSH connections 2025-11-20 01:58:01,558 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 01:58:01,558 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 171.5.177.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-11-20 01:58:01,558 - DEBUG - ping -s 56 -c 3 -W 1 171.5.177.3 2025-11-20 01:58:05,234 - DEBUG - PING 171.5.177.3 (171.5.177.3): 56 data bytes 64 bytes from 171.5.177.3: seq=0 ttl=62 time=4.886 ms 64 bytes from 171.5.177.3: seq=1 ttl=62 time=1.206 ms 64 bytes from 171.5.177.3: seq=2 ttl=62 time=1.187 ms --- 171.5.177.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.187/2.426/4.886 ms 2025-11-20 01:58:05,234 - INFO - Ping to IP 171.5.177.3 from VM ctest-TestRoutersBasic-14212580-59434396 passed 2025-11-20 01:58:05,234 - INFO - Deleting interface with subnet_id c12885c9-7ba7-415e-8409-b51bf0e1100a, port_id None from router 9893184b-5472-4d9a-91c5-df1dc03f6a37 2025-11-20 01:58:05,445 - INFO - Deleting VM ctest-TestRoutersBasic-14212580-35114007 2025-11-20 01:58:05,510 - INFO - Deleting VM ctest-TestRoutersBasic-14212580-59434396 2025-11-20 01:58:05,589 - INFO - Deleting VN ctest-ext_vn-85891150 2025-11-20 01:58:05,654 - DEBUG - VN 42e7effa-2bae-44d3-abe3-96286ccf122d still in use: Unable to complete operation on network 42e7effa-2bae-44d3-abe3-96286ccf122d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d69c6ba5-45f0-4544-a499-3b3cc7feed31'] 2025-11-20 01:58:05,654 - WARNING - Deleting VN ctest-ext_vn-85891150 failed..Will retry 2025-11-20 01:58:07,770 - DEBUG - Response for deleting network () 2025-11-20 01:58:07,770 - INFO - Deleting VN ctest-vn-68439552 2025-11-20 01:58:07,868 - DEBUG - Response for deleting network () 2025-11-20 01:58:08,132 - DEBUG - No XMPP flaps were noticed during the test
2025-11-20 01:58:08,132 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-11-20 01:58:08,132 - INFO - -------------------------------------------------------------------------------- 2025-11-20 01:58:08,829 - INFO - Deleted project: ctest-TestRoutersBasic-14212580, ID : d8965d37-a3ae-4804-adbe-1f21e24efb7b