2025-08-11 02:05:08,345 - INFO - Domain Default found not creating 2025-08-11 02:05:08,484 - INFO - Project ctest-TestRoutersBasic-45308545 not found, creating it 2025-08-11 02:05:08,935 - INFO - Created Project:ctest-TestRoutersBasic-45308545, ID : 1316dfdb-6239-4d84-9d56-6f25fadde439 2025-08-11 02:05:10,360 - INFO - ================================================================================ 2025-08-11 02:05:10,360 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-11 02:05:10,360 - 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 02:05:10,622 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.14': '0'}} with 2025-08-11 02:05:10,622 - INFO - Initial checks done. Running the testcase now 2025-08-11 02:05:10,622 - INFO - 2025-08-11 02:05:11,304 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-45308545 2025-08-11 02:05:11,400 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-45308545 2025-08-11 02:05:11,724 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-45308545', 'default']} 2025-08-11 02:05:12,014 - DEBUG - Response for create_network : {'network': {'id': 'd0468c3d-87ad-4559-8334-24d90b959a52', 'name': 'ctest-vn-82231606', 'tenant_id': '1316dfdb62394d849d566f25fadde439', 'project_id': '1316dfdb62394d849d566f25fadde439', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-45308545', 'ctest-vn-82231606'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 02:05:12,249 - DEBUG - Response for create_subnet : {'subnet': {'id': '8b5b50df-0f4a-4bd4-90a9-031b102a70ba', 'name': '', 'tenant_id': '1316dfdb62394d849d566f25fadde439', 'network_id': 'd0468c3d-87ad-4559-8334-24d90b959a52', 'ip_version': 4, 'cidr': '77.251.45.128/26', 'allocation_pools': [{'start': '77.251.45.130', 'end': '77.251.45.190'}], 'gateway_ip': '77.251.45.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '77.251.45.130', 'tags': [], 'project_id': '1316dfdb62394d849d566f25fadde439'}} 2025-08-11 02:05:12,268 - INFO - Created VN ctest-vn-82231606 2025-08-11 02:05:12,320 - DEBUG - VN ctest-vn-82231606 UUID is d0468c3d-87ad-4559-8334-24d90b959a52 2025-08-11 02:05:12,640 - DEBUG - Response for create_network : {'network': {'id': '70816124-4b1f-4442-96bd-ca60713db7a1', 'name': 'ctest-ext_vn-13316755', 'tenant_id': '1316dfdb62394d849d566f25fadde439', 'project_id': '1316dfdb62394d849d566f25fadde439', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-45308545', 'ctest-ext_vn-13316755'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 02:05:12,815 - DEBUG - Response for create_subnet : {'subnet': {'id': '0d2852d6-bd8b-4d95-8197-2c7d5210cd35', 'name': '', 'tenant_id': '1316dfdb62394d849d566f25fadde439', 'network_id': '70816124-4b1f-4442-96bd-ca60713db7a1', 'ip_version': 4, 'cidr': '47.210.55.0/26', 'allocation_pools': [{'start': '47.210.55.2', 'end': '47.210.55.62'}], 'gateway_ip': '47.210.55.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '47.210.55.2', 'tags': [], 'project_id': '1316dfdb62394d849d566f25fadde439'}} 2025-08-11 02:05:12,835 - INFO - Created VN ctest-ext_vn-13316755 2025-08-11 02:05:12,892 - DEBUG - VN ctest-ext_vn-13316755 UUID is 70816124-4b1f-4442-96bd-ca60713db7a1 2025-08-11 02:05:13,109 - DEBUG - Services list from nova: [, , ] 2025-08-11 02:05:14,118 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3791-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3791-1) 2025-08-11 02:05:15,215 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3791-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3791-1) 2025-08-11 02:05:15,293 - INFO - Setting gateway for router 45fcf464-9153-49f6-9e78-5bf60a9ec7bb to network 70816124-4b1f-4442-96bd-ca60713db7a1 2025-08-11 02:05:15,394 - INFO - Adding interface with subnet_id 8b5b50df-0f4a-4bd4-90a9-031b102a70ba, port_id None to router 45fcf464-9153-49f6-9e78-5bf60a9ec7bb 2025-08-11 02:05:15,753 - INFO - Waiting for VM ctest-TestRoutersBasic-45308545-48903910 to be up.. 2025-08-11 02:05:15,884 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 02:05:20,966 - DEBUG - VM is in ACTIVE state now 2025-08-11 02:05:20,966 - INFO - VM name : ctest-TestRoutersBasic-45308545-48903910 2025-08-11 02:05:21,043 - DEBUG - VM ctest-TestRoutersBasic-45308545-48903910 ID is 4fde56ce-c399-41e5-a5d7-65457609a96f 2025-08-11 02:05:21,062 - DEBUG - VM ctest-TestRoutersBasic-45308545-48903910 launched on Node cn-jenkins-deploy-platform-ansible-os-3791-1 2025-08-11 02:05:21,143 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/4fde56ce-c399-41e5-a5d7-65457609a96f 2025-08-11 02:05:21,436 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/4fde56ce-c399-41e5-a5d7-65457609a96f 2025-08-11 02:05:21,468 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/134cb94d-f249-4f26-8fdc-dd3cf386bc6f 2025-08-11 02:05:24,746 - 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 1030ms') 2025-08-11 02:05:24,746 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-45308545-48903910 failed! 2025-08-11 02:05:24,800 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-45308545:ctest-vn-82231606 is 77.251.45.129 and allocation pool is NOT set 2025-08-11 02:05:26,859 - 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=4.74 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.79 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 = 1.790/3.265/4.740/1.475 ms') 2025-08-11 02:05:26,859 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-45308545-48903910 passed 2025-08-11 02:05:27,008 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 02:05:27,008 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-45308545-48903910, IP 77.251.45.131, Port 22 2025-08-11 02:05:27,160 - DEBUG - VM ctest-TestRoutersBasic-45308545-48903910 is ready for SSH connections 2025-08-11 02:05:27,160 - INFO - Waiting for VM ctest-TestRoutersBasic-45308545-86406180 to be up.. 2025-08-11 02:05:27,229 - DEBUG - VM is in ACTIVE state now 2025-08-11 02:05:27,229 - INFO - VM name : ctest-TestRoutersBasic-45308545-86406180 2025-08-11 02:05:27,299 - DEBUG - VM ctest-TestRoutersBasic-45308545-86406180 ID is 6e661d8f-fbe2-4c10-8cfb-2bf1348cde8b 2025-08-11 02:05:27,299 - DEBUG - VM ctest-TestRoutersBasic-45308545-86406180 launched on Node cn-jenkins-deploy-platform-ansible-os-3791-1 2025-08-11 02:05:27,370 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/6e661d8f-fbe2-4c10-8cfb-2bf1348cde8b 2025-08-11 02:05:27,379 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/3f403d5e-6d77-43af-bb49-86504bd7740b 2025-08-11 02:05:28,617 - 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.85 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.372 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.372/1.613/2.854/1.241 ms') 2025-08-11 02:05:28,617 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-45308545-86406180 passed 2025-08-11 02:05:28,764 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 02:05:28,764 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-45308545-86406180, IP 47.210.55.3, Port 22 2025-08-11 02:05:28,920 - DEBUG - VM ctest-TestRoutersBasic-45308545-86406180 is ready for SSH connections 2025-08-11 02:05:28,920 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 02:05:28,920 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 47.210.55.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-08-11 02:05:28,921 - DEBUG - ping -s 56 -c 3 -W 1 47.210.55.3 2025-08-11 02:05:32,625 - DEBUG - PING 47.210.55.3 (47.210.55.3): 56 data bytes 64 bytes from 47.210.55.3: seq=0 ttl=62 time=8.916 ms 64 bytes from 47.210.55.3: seq=1 ttl=62 time=0.761 ms 64 bytes from 47.210.55.3: seq=2 ttl=62 time=0.861 ms --- 47.210.55.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.761/3.512/8.916 ms 2025-08-11 02:05:32,625 - INFO - Ping to IP 47.210.55.3 from VM ctest-TestRoutersBasic-45308545-48903910 passed 2025-08-11 02:05:32,625 - INFO - Deleting interface with subnet_id 8b5b50df-0f4a-4bd4-90a9-031b102a70ba, port_id None from router 45fcf464-9153-49f6-9e78-5bf60a9ec7bb 2025-08-11 02:05:32,811 - INFO - Deleting VM ctest-TestRoutersBasic-45308545-86406180 2025-08-11 02:05:32,879 - INFO - Deleting VM ctest-TestRoutersBasic-45308545-48903910 2025-08-11 02:05:32,962 - INFO - Deleting VN ctest-ext_vn-13316755 2025-08-11 02:05:33,028 - DEBUG - VN 70816124-4b1f-4442-96bd-ca60713db7a1 still in use: Unable to complete operation on network 70816124-4b1f-4442-96bd-ca60713db7a1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5c55ad31-e1ea-4954-90e0-a89ec35ba947'] 2025-08-11 02:05:33,029 - WARNING - Deleting VN ctest-ext_vn-13316755 failed..Will retry 2025-08-11 02:05:35,126 - DEBUG - Response for deleting network () 2025-08-11 02:05:35,126 - INFO - Deleting VN ctest-vn-82231606 2025-08-11 02:05:35,221 - DEBUG - Response for deleting network () 2025-08-11 02:05:35,483 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 02:05:35,483 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-08-11 02:05:35,483 - INFO - -------------------------------------------------------------------------------- 2025-08-11 02:05:36,175 - INFO - Deleted project: ctest-TestRoutersBasic-45308545, ID : 1316dfdb-6239-4d84-9d56-6f25fadde439