2025-10-17 10:19:13,792 - INFO - Domain Default found not creating 2025-10-17 10:19:13,933 - INFO - Project ctest-TestRoutersBasic-93344954 not found, creating it 2025-10-17 10:19:14,383 - INFO - Created Project:ctest-TestRoutersBasic-93344954, ID : 5d08c970-941d-445b-901b-917e4e7c8f18 2025-10-17 10:19:15,763 - INFO - ================================================================================ 2025-10-17 10:19:15,763 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-17 10:19:15,763 - 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-10-17 10:19:16,020 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.17': '0'}} with 2025-10-17 10:19:16,020 - INFO - Initial checks done. Running the testcase now 2025-10-17 10:19:16,020 - INFO - 2025-10-17 10:19:16,703 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-93344954 2025-10-17 10:19:16,798 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-93344954 2025-10-17 10:19:17,126 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-93344954', 'default']} 2025-10-17 10:19:17,415 - DEBUG - Response for create_network : {'network': {'id': '3d291e69-8ac1-4a28-851b-b07193da6f91', 'name': 'ctest-vn-09401505', 'tenant_id': '5d08c970941d445b901b917e4e7c8f18', 'project_id': '5d08c970941d445b901b917e4e7c8f18', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-93344954', 'ctest-vn-09401505'], 'port_security_enabled': True, 'description': ''}} 2025-10-17 10:19:17,626 - DEBUG - Response for create_subnet : {'subnet': {'id': '811d140a-537f-4da0-b005-f2a349b83b52', 'name': '', 'tenant_id': '5d08c970941d445b901b917e4e7c8f18', 'network_id': '3d291e69-8ac1-4a28-851b-b07193da6f91', 'ip_version': 4, 'cidr': '65.160.72.64/26', 'allocation_pools': [{'start': '65.160.72.66', 'end': '65.160.72.126'}], 'gateway_ip': '65.160.72.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '65.160.72.66', 'tags': [], 'project_id': '5d08c970941d445b901b917e4e7c8f18'}} 2025-10-17 10:19:17,643 - INFO - Created VN ctest-vn-09401505 2025-10-17 10:19:17,698 - DEBUG - VN ctest-vn-09401505 UUID is 3d291e69-8ac1-4a28-851b-b07193da6f91 2025-10-17 10:19:18,008 - DEBUG - Response for create_network : {'network': {'id': '7537baf2-4043-49d3-a22b-37a904f26a7d', 'name': 'ctest-ext_vn-01395511', 'tenant_id': '5d08c970941d445b901b917e4e7c8f18', 'project_id': '5d08c970941d445b901b917e4e7c8f18', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-93344954', 'ctest-ext_vn-01395511'], 'port_security_enabled': True, 'description': ''}} 2025-10-17 10:19:18,238 - DEBUG - Response for create_subnet : {'subnet': {'id': 'da9c5039-9be4-4f39-9260-b24c1f8797fd', 'name': '', 'tenant_id': '5d08c970941d445b901b917e4e7c8f18', 'network_id': '7537baf2-4043-49d3-a22b-37a904f26a7d', 'ip_version': 4, 'cidr': '87.32.118.0/26', 'allocation_pools': [{'start': '87.32.118.2', 'end': '87.32.118.62'}], 'gateway_ip': '87.32.118.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '87.32.118.2', 'tags': [], 'project_id': '5d08c970941d445b901b917e4e7c8f18'}} 2025-10-17 10:19:18,260 - INFO - Created VN ctest-ext_vn-01395511 2025-10-17 10:19:18,318 - DEBUG - VN ctest-ext_vn-01395511 UUID is 7537baf2-4043-49d3-a22b-37a904f26a7d 2025-10-17 10:19:18,486 - DEBUG - Services list from nova: [, , ] 2025-10-17 10:19:19,479 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4354-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4354-1) 2025-10-17 10:19:20,577 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4354-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4354-1) 2025-10-17 10:19:20,640 - INFO - Setting gateway for router 0075709f-1c10-41dd-a5e5-c08cf1c74028 to network 7537baf2-4043-49d3-a22b-37a904f26a7d 2025-10-17 10:19:20,719 - INFO - Adding interface with subnet_id 811d140a-537f-4da0-b005-f2a349b83b52, port_id None to router 0075709f-1c10-41dd-a5e5-c08cf1c74028 2025-10-17 10:19:21,086 - INFO - Waiting for VM ctest-TestRoutersBasic-93344954-52863395 to be up.. 2025-10-17 10:19:21,223 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-17 10:19:26,306 - DEBUG - VM is in ACTIVE state now 2025-10-17 10:19:26,306 - INFO - VM name : ctest-TestRoutersBasic-93344954-52863395 2025-10-17 10:19:26,386 - DEBUG - VM ctest-TestRoutersBasic-93344954-52863395 ID is ef57a3f4-d088-4d83-bdf6-02df417dac5a 2025-10-17 10:19:26,405 - DEBUG - VM ctest-TestRoutersBasic-93344954-52863395 launched on Node cn-jenkins-deploy-platform-ansible-os-4354-1 2025-10-17 10:19:26,487 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/ef57a3f4-d088-4d83-bdf6-02df417dac5a 2025-10-17 10:19:26,789 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/ef57a3f4-d088-4d83-bdf6-02df417dac5a 2025-10-17 10:19:26,824 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/698ebf09-bd67-4aad-a24f-c7dceb6e99b9 2025-10-17 10:19:30,059 - 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-10-17 10:19:30,059 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-93344954-52863395 failed! 2025-10-17 10:19:30,114 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-93344954:ctest-vn-09401505 is 65.160.72.65 and allocation pool is NOT set 2025-10-17 10:19:32,172 - 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.13 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.425 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.425/1.778/3.132/1.353 ms') 2025-10-17 10:19:32,172 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-93344954-52863395 passed 2025-10-17 10:19:32,318 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 10:19:32,318 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-93344954-52863395, IP 65.160.72.67, Port 22 2025-10-17 10:19:32,474 - DEBUG - VM ctest-TestRoutersBasic-93344954-52863395 is ready for SSH connections 2025-10-17 10:19:32,474 - INFO - Waiting for VM ctest-TestRoutersBasic-93344954-36039675 to be up.. 2025-10-17 10:19:32,543 - DEBUG - VM is in ACTIVE state now 2025-10-17 10:19:32,543 - INFO - VM name : ctest-TestRoutersBasic-93344954-36039675 2025-10-17 10:19:32,607 - DEBUG - VM ctest-TestRoutersBasic-93344954-36039675 ID is 8159b01d-11dd-48d4-a516-cce259221336 2025-10-17 10:19:32,607 - DEBUG - VM ctest-TestRoutersBasic-93344954-36039675 launched on Node cn-jenkins-deploy-platform-ansible-os-4354-1 2025-10-17 10:19:32,671 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/8159b01d-11dd-48d4-a516-cce259221336 2025-10-17 10:19:32,679 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/b9d1485b-a3d5-469b-8318-529b49815d52 2025-10-17 10:19:33,913 - 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.05 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.14 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 = 2.140/3.096/4.052/0.956 ms') 2025-10-17 10:19:33,913 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-93344954-36039675 passed 2025-10-17 10:19:34,062 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 10:19:34,062 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-93344954-36039675, IP 87.32.118.3, Port 22 2025-10-17 10:19:34,218 - DEBUG - VM ctest-TestRoutersBasic-93344954-36039675 is ready for SSH connections 2025-10-17 10:19:34,218 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 10:19:34,218 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 87.32.118.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-10-17 10:19:34,218 - DEBUG - ping -s 56 -c 3 -W 1 87.32.118.3 2025-10-17 10:19:38,221 - DEBUG - PING 87.32.118.3 (87.32.118.3): 56 data bytes 64 bytes from 87.32.118.3: seq=0 ttl=62 time=5.554 ms 64 bytes from 87.32.118.3: seq=1 ttl=62 time=1.019 ms 64 bytes from 87.32.118.3: seq=2 ttl=62 time=0.857 ms --- 87.32.118.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.857/2.476/5.554 ms 2025-10-17 10:19:38,222 - INFO - Ping to IP 87.32.118.3 from VM ctest-TestRoutersBasic-93344954-52863395 passed 2025-10-17 10:19:38,222 - INFO - Deleting interface with subnet_id 811d140a-537f-4da0-b005-f2a349b83b52, port_id None from router 0075709f-1c10-41dd-a5e5-c08cf1c74028 2025-10-17 10:19:38,431 - INFO - Deleting VM ctest-TestRoutersBasic-93344954-36039675 2025-10-17 10:19:38,498 - INFO - Deleting VM ctest-TestRoutersBasic-93344954-52863395 2025-10-17 10:19:38,566 - INFO - Deleting VN ctest-ext_vn-01395511 2025-10-17 10:19:38,617 - DEBUG - VN 7537baf2-4043-49d3-a22b-37a904f26a7d still in use: Unable to complete operation on network 7537baf2-4043-49d3-a22b-37a904f26a7d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c8c3970f-1a91-4388-b9da-0b5c675edb3d'] 2025-10-17 10:19:38,618 - WARNING - Deleting VN ctest-ext_vn-01395511 failed..Will retry 2025-10-17 10:19:40,713 - DEBUG - Response for deleting network () 2025-10-17 10:19:40,713 - INFO - Deleting VN ctest-vn-09401505 2025-10-17 10:19:40,798 - DEBUG - Response for deleting network () 2025-10-17 10:19:41,051 - DEBUG - No XMPP flaps were noticed during the test
2025-10-17 10:19:41,051 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-10-17 10:19:41,051 - INFO - -------------------------------------------------------------------------------- 2025-10-17 10:19:41,698 - INFO - Deleted project: ctest-TestRoutersBasic-93344954, ID : 5d08c970-941d-445b-901b-917e4e7c8f18