2025-07-31 13:25:16,412 - INFO - Domain Default found not creating 2025-07-31 13:25:16,909 - INFO - Project ctest-TestRoutersBasic-70753517 not found, creating it 2025-07-31 13:25:17,393 - INFO - Created Project:ctest-TestRoutersBasic-70753517, ID : 7b3dccbd-f346-4042-b21f-47b63c4004e4 2025-07-31 13:25:18,921 - INFO - ================================================================================ 2025-07-31 13:25:18,921 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-07-31 13:25:18,921 - 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-07-31 13:25:19,195 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.0.0.38': '0'}} with 2025-07-31 13:25:19,195 - INFO - Initial checks done. Running the testcase now 2025-07-31 13:25:19,195 - INFO - 2025-07-31 13:25:19,939 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-70753517 2025-07-31 13:25:20,035 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-70753517 2025-07-31 13:25:20,367 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-70753517', 'default']} 2025-07-31 13:25:20,709 - DEBUG - Response for create_network : {'network': {'id': '5fea1526-7500-432d-95f0-adedadaf72b3', 'name': 'ctest-vn-67405584', 'tenant_id': '7b3dccbdf3464042b21f47b63c4004e4', 'project_id': '7b3dccbdf3464042b21f47b63c4004e4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-70753517', 'ctest-vn-67405584'], 'port_security_enabled': True, 'description': ''}} 2025-07-31 13:25:20,922 - DEBUG - Response for create_subnet : {'subnet': {'id': '5e106e06-778a-4d58-bc82-a7937fe12dfe', 'name': '', 'tenant_id': '7b3dccbdf3464042b21f47b63c4004e4', 'network_id': '5fea1526-7500-432d-95f0-adedadaf72b3', 'ip_version': 4, 'cidr': '138.136.229.128/26', 'allocation_pools': [{'start': '138.136.229.130', 'end': '138.136.229.190'}], 'gateway_ip': '138.136.229.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '138.136.229.130', 'tags': [], 'project_id': '7b3dccbdf3464042b21f47b63c4004e4'}} 2025-07-31 13:25:20,943 - INFO - Created VN ctest-vn-67405584 2025-07-31 13:25:21,003 - DEBUG - VN ctest-vn-67405584 UUID is 5fea1526-7500-432d-95f0-adedadaf72b3 2025-07-31 13:25:21,358 - DEBUG - Response for create_network : {'network': {'id': 'dbecf2b0-02cb-496a-9437-ee819b0c76f2', 'name': 'ctest-ext_vn-26714320', 'tenant_id': '7b3dccbdf3464042b21f47b63c4004e4', 'project_id': '7b3dccbdf3464042b21f47b63c4004e4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-70753517', 'ctest-ext_vn-26714320'], 'port_security_enabled': True, 'description': ''}} 2025-07-31 13:25:21,552 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bb583f15-2f40-45c7-b008-70324617abcd', 'name': '', 'tenant_id': '7b3dccbdf3464042b21f47b63c4004e4', 'network_id': 'dbecf2b0-02cb-496a-9437-ee819b0c76f2', 'ip_version': 4, 'cidr': '43.232.76.128/26', 'allocation_pools': [{'start': '43.232.76.130', 'end': '43.232.76.190'}], 'gateway_ip': '43.232.76.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '43.232.76.130', 'tags': [], 'project_id': '7b3dccbdf3464042b21f47b63c4004e4'}} 2025-07-31 13:25:21,575 - INFO - Created VN ctest-ext_vn-26714320 2025-07-31 13:25:21,628 - DEBUG - VN ctest-ext_vn-26714320 UUID is dbecf2b0-02cb-496a-9437-ee819b0c76f2 2025-07-31 13:25:21,819 - DEBUG - Services list from nova: [, , ] 2025-07-31 13:25:22,938 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3736-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3736-1) 2025-07-31 13:25:24,131 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3736-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3736-1) 2025-07-31 13:25:24,210 - INFO - Setting gateway for router 109be2a8-f771-4fae-9ccc-1ee2b10f165f to network dbecf2b0-02cb-496a-9437-ee819b0c76f2 2025-07-31 13:25:24,295 - INFO - Adding interface with subnet_id 5e106e06-778a-4d58-bc82-a7937fe12dfe, port_id None to router 109be2a8-f771-4fae-9ccc-1ee2b10f165f 2025-07-31 13:25:24,748 - INFO - Waiting for VM ctest-TestRoutersBasic-70753517-99704365 to be up.. 2025-07-31 13:25:24,937 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-31 13:25:30,019 - DEBUG - VM is in ACTIVE state now 2025-07-31 13:25:30,019 - INFO - VM name : ctest-TestRoutersBasic-70753517-99704365 2025-07-31 13:25:30,098 - DEBUG - VM ctest-TestRoutersBasic-70753517-99704365 ID is 35eeaf7d-b290-4b38-a130-13060ea69ab7 2025-07-31 13:25:30,121 - DEBUG - VM ctest-TestRoutersBasic-70753517-99704365 launched on Node cn-jenkins-deploy-platform-ansible-os-3736-1. 2025-07-31 13:25:30,223 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/35eeaf7d-b290-4b38-a130-13060ea69ab7 2025-07-31 13:25:30,526 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/35eeaf7d-b290-4b38-a130-13060ea69ab7 2025-07-31 13:25:30,560 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/bd7d5e34-90c2-4ef6-8be1-da7253f5a923 2025-07-31 13:25:33,836 - 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 1019ms') 2025-07-31 13:25:33,836 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-70753517-99704365 failed! 2025-07-31 13:25:33,899 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-70753517:ctest-vn-67405584 is 138.136.229.129 and allocation pool is NOT set 2025-07-31 13:25:35,959 - 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=6.32 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.46 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 = 1.461/3.891/6.322/2.430 ms') 2025-07-31 13:25:35,959 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-70753517-99704365 passed 2025-07-31 13:25:36,075 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 13:25:36,075 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-70753517-99704365, IP 138.136.229.131, Port 22 2025-07-31 13:25:36,242 - DEBUG - VM ctest-TestRoutersBasic-70753517-99704365 is ready for SSH connections 2025-07-31 13:25:36,242 - INFO - Waiting for VM ctest-TestRoutersBasic-70753517-93902729 to be up.. 2025-07-31 13:25:36,328 - DEBUG - VM is in ACTIVE state now 2025-07-31 13:25:36,328 - INFO - VM name : ctest-TestRoutersBasic-70753517-93902729 2025-07-31 13:25:36,410 - DEBUG - VM ctest-TestRoutersBasic-70753517-93902729 ID is 8ddeda2e-17d3-4b12-a557-4a66c5da3d2a 2025-07-31 13:25:36,411 - DEBUG - VM ctest-TestRoutersBasic-70753517-93902729 launched on Node cn-jenkins-deploy-platform-ansible-os-3736-1. 2025-07-31 13:25:36,491 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/8ddeda2e-17d3-4b12-a557-4a66c5da3d2a 2025-07-31 13:25:36,510 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/fc1cd807-1f77-4f79-9302-8f927ab10788 2025-07-31 13:25:37,772 - 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.40 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.98 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 = 1.984/3.190/4.397/1.206 ms') 2025-07-31 13:25:37,772 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-70753517-93902729 passed 2025-07-31 13:25:37,923 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 13:25:37,923 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-70753517-93902729, IP 43.232.76.131, Port 22 2025-07-31 13:25:38,094 - DEBUG - VM ctest-TestRoutersBasic-70753517-93902729 is ready for SSH connections 2025-07-31 13:25:38,094 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 13:25:38,094 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 43.232.76.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-07-31 13:25:38,094 - DEBUG - ping -s 56 -c 3 -W 1 43.232.76.131 2025-07-31 13:25:41,819 - DEBUG - PING 43.232.76.131 (43.232.76.131): 56 data bytes 64 bytes from 43.232.76.131: seq=0 ttl=62 time=7.689 ms 64 bytes from 43.232.76.131: seq=1 ttl=62 time=1.470 ms 64 bytes from 43.232.76.131: seq=2 ttl=62 time=1.404 ms --- 43.232.76.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.404/3.521/7.689 ms 2025-07-31 13:25:41,820 - INFO - Ping to IP 43.232.76.131 from VM ctest-TestRoutersBasic-70753517-99704365 passed 2025-07-31 13:25:41,820 - INFO - Deleting interface with subnet_id 5e106e06-778a-4d58-bc82-a7937fe12dfe, port_id None from router 109be2a8-f771-4fae-9ccc-1ee2b10f165f 2025-07-31 13:25:42,039 - INFO - Deleting VM ctest-TestRoutersBasic-70753517-93902729 2025-07-31 13:25:42,118 - INFO - Deleting VM ctest-TestRoutersBasic-70753517-99704365 2025-07-31 13:25:42,225 - INFO - Deleting VN ctest-ext_vn-26714320 2025-07-31 13:25:42,311 - DEBUG - VN dbecf2b0-02cb-496a-9437-ee819b0c76f2 still in use: Unable to complete operation on network dbecf2b0-02cb-496a-9437-ee819b0c76f2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2679947c-9ef8-4940-a690-990f6610d481'] 2025-07-31 13:25:42,311 - WARNING - Deleting VN ctest-ext_vn-26714320 failed..Will retry 2025-07-31 13:25:44,432 - DEBUG - Response for deleting network () 2025-07-31 13:25:44,432 - INFO - Deleting VN ctest-vn-67405584 2025-07-31 13:25:44,551 - DEBUG - Response for deleting network () 2025-07-31 13:25:44,813 - DEBUG - No XMPP flaps were noticed during the test
2025-07-31 13:25:44,814 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-07-31 13:25:44,814 - INFO - -------------------------------------------------------------------------------- 2025-07-31 13:25:45,515 - INFO - Deleted project: ctest-TestRoutersBasic-70753517, ID : 7b3dccbd-f346-4042-b21f-47b63c4004e4