2025-02-06 02:18:55,403 - INFO - Domain Default found not creating 2025-02-06 02:18:55,528 - INFO - Project ctest-TestRoutersBasic-94801143 not found, creating it 2025-02-06 02:18:56,043 - INFO - Created Project:ctest-TestRoutersBasic-94801143, ID : b926dbba-5602-436b-960a-5c8e9abda064 2025-02-06 02:18:57,348 - INFO - ================================================================================ 2025-02-06 02:18:57,348 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-02-06 02:18:57,349 - 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-02-06 02:18:57,605 - DEBUG - Nothing to compare xmpp stats {'10.0.0.32': {'10.0.0.32': '0'}} with 2025-02-06 02:18:57,605 - INFO - Initial checks done. Running the testcase now 2025-02-06 02:18:57,605 - INFO - 2025-02-06 02:18:58,278 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-94801143 2025-02-06 02:18:58,375 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-94801143 2025-02-06 02:18:58,705 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-94801143', 'default']} 2025-02-06 02:18:59,141 - DEBUG - Response for create_network : {'network': {'id': '531cfea3-b80b-44f0-a7f0-7fa5ae9cd803', 'name': 'ctest-vn-24730564', 'tenant_id': 'b926dbba5602436b960a5c8e9abda064', 'project_id': 'b926dbba5602436b960a5c8e9abda064', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-94801143', 'ctest-vn-24730564'], 'port_security_enabled': True, 'description': ''}} 2025-02-06 02:18:59,301 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f6f21f08-1d5f-42e9-a16f-abb94b1c44aa', 'name': '', 'tenant_id': 'b926dbba5602436b960a5c8e9abda064', 'network_id': '531cfea3-b80b-44f0-a7f0-7fa5ae9cd803', 'ip_version': 4, 'cidr': '155.74.208.128/26', 'allocation_pools': [{'start': '155.74.208.130', 'end': '155.74.208.190'}], 'gateway_ip': '155.74.208.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '155.74.208.130', 'tags': [], 'project_id': 'b926dbba5602436b960a5c8e9abda064'}} 2025-02-06 02:18:59,318 - INFO - Created VN ctest-vn-24730564 2025-02-06 02:18:59,370 - DEBUG - VN ctest-vn-24730564 UUID is 531cfea3-b80b-44f0-a7f0-7fa5ae9cd803 2025-02-06 02:18:59,702 - DEBUG - Response for create_network : {'network': {'id': 'd25fed6c-6eec-4759-ab8d-9f3ef1bf5d30', 'name': 'ctest-ext_vn-07290109', 'tenant_id': 'b926dbba5602436b960a5c8e9abda064', 'project_id': 'b926dbba5602436b960a5c8e9abda064', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-94801143', 'ctest-ext_vn-07290109'], 'port_security_enabled': True, 'description': ''}} 2025-02-06 02:18:59,878 - DEBUG - Response for create_subnet : {'subnet': {'id': '47426dad-2b02-43fa-aaac-5a0c8e7a3ee9', 'name': '', 'tenant_id': 'b926dbba5602436b960a5c8e9abda064', 'network_id': 'd25fed6c-6eec-4759-ab8d-9f3ef1bf5d30', 'ip_version': 4, 'cidr': '220.117.82.0/26', 'allocation_pools': [{'start': '220.117.82.2', 'end': '220.117.82.62'}], 'gateway_ip': '220.117.82.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '220.117.82.2', 'tags': [], 'project_id': 'b926dbba5602436b960a5c8e9abda064'}} 2025-02-06 02:18:59,894 - INFO - Created VN ctest-ext_vn-07290109 2025-02-06 02:18:59,947 - DEBUG - VN ctest-ext_vn-07290109 UUID is d25fed6c-6eec-4759-ab8d-9f3ef1bf5d30 2025-02-06 02:19:00,142 - DEBUG - Services list from nova: [, , ] 2025-02-06 02:19:01,103 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2700-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2700-1) 2025-02-06 02:19:02,165 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2700-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2700-1) 2025-02-06 02:19:02,240 - INFO - Setting gateway for router 2a4f839f-8726-4c58-b532-6e8e6e7db286 to network d25fed6c-6eec-4759-ab8d-9f3ef1bf5d30 2025-02-06 02:19:02,294 - INFO - Adding interface with subnet_id f6f21f08-1d5f-42e9-a16f-abb94b1c44aa, port_id None to router 2a4f839f-8726-4c58-b532-6e8e6e7db286 2025-02-06 02:19:02,736 - INFO - Waiting for VM ctest-TestRoutersBasic-94801143-69729749 to be up.. 2025-02-06 02:19:02,886 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-06 02:19:07,952 - DEBUG - VM is in ACTIVE state now 2025-02-06 02:19:07,953 - INFO - VM name : ctest-TestRoutersBasic-94801143-69729749 2025-02-06 02:19:08,013 - DEBUG - VM ctest-TestRoutersBasic-94801143-69729749 ID is 5cda547b-3994-450e-8848-04f1467bdc2a 2025-02-06 02:19:08,030 - DEBUG - VM ctest-TestRoutersBasic-94801143-69729749 launched on Node cn-jenkins-deploy-platform-ansible-os-2700-1. 2025-02-06 02:19:08,093 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/5cda547b-3994-450e-8848-04f1467bdc2a 2025-02-06 02:19:08,380 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/5cda547b-3994-450e-8848-04f1467bdc2a 2025-02-06 02:19:08,408 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/631947ef-790b-4dfc-819e-a3ad6af44d6b 2025-02-06 02:19:11,638 - 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=2 ttl=63 time=9.05 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1004ms\r\nrtt min/avg/max/mdev = 9.050/9.050/9.050/0.000 ms') 2025-02-06 02:19:11,638 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-94801143-69729749 passed 2025-02-06 02:19:11,791 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-06 02:19:11,791 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-94801143-69729749, IP 155.74.208.131, Port 22 2025-02-06 02:19:11,951 - DEBUG - VM ctest-TestRoutersBasic-94801143-69729749 is ready for SSH connections 2025-02-06 02:19:11,951 - INFO - Waiting for VM ctest-TestRoutersBasic-94801143-14825378 to be up.. 2025-02-06 02:19:12,022 - DEBUG - VM is in ACTIVE state now 2025-02-06 02:19:12,022 - INFO - VM name : ctest-TestRoutersBasic-94801143-14825378 2025-02-06 02:19:12,085 - DEBUG - VM ctest-TestRoutersBasic-94801143-14825378 ID is 94f66c83-de06-4156-b465-35ea7fb8ca05 2025-02-06 02:19:12,085 - DEBUG - VM ctest-TestRoutersBasic-94801143-14825378 launched on Node cn-jenkins-deploy-platform-ansible-os-2700-1. 2025-02-06 02:19:12,146 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/94f66c83-de06-4156-b465-35ea7fb8ca05 2025-02-06 02:19:12,153 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/c989915e-af79-47be-9f36-21d52719f426 2025-02-06 02:19:13,391 - 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=3.99 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.715 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.715/2.353/3.991/1.638 ms') 2025-02-06 02:19:13,391 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-94801143-14825378 passed 2025-02-06 02:19:13,539 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-06 02:19:13,539 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-94801143-14825378, IP 220.117.82.3, Port 22 2025-02-06 02:19:13,695 - DEBUG - VM ctest-TestRoutersBasic-94801143-14825378 is ready for SSH connections 2025-02-06 02:19:13,695 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-06 02:19:13,695 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 220.117.82.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.32, gateway password: c0ntrail123 2025-02-06 02:19:13,695 - DEBUG - ping -s 56 -c 3 -W 1 220.117.82.3 2025-02-06 02:19:17,617 - DEBUG - PING 220.117.82.3 (220.117.82.3): 56 data bytes 64 bytes from 220.117.82.3: seq=0 ttl=62 time=3.858 ms 64 bytes from 220.117.82.3: seq=1 ttl=62 time=0.728 ms 64 bytes from 220.117.82.3: seq=2 ttl=62 time=0.789 ms --- 220.117.82.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.728/1.791/3.858 ms 2025-02-06 02:19:17,617 - INFO - Ping to IP 220.117.82.3 from VM ctest-TestRoutersBasic-94801143-69729749 passed 2025-02-06 02:19:17,617 - INFO - Deleting interface with subnet_id f6f21f08-1d5f-42e9-a16f-abb94b1c44aa, port_id None from router 2a4f839f-8726-4c58-b532-6e8e6e7db286 2025-02-06 02:19:17,865 - INFO - Deleting VM ctest-TestRoutersBasic-94801143-14825378 2025-02-06 02:19:17,921 - INFO - Deleting VM ctest-TestRoutersBasic-94801143-69729749 2025-02-06 02:19:17,998 - INFO - Deleting VN ctest-ext_vn-07290109 2025-02-06 02:19:18,064 - DEBUG - VN d25fed6c-6eec-4759-ab8d-9f3ef1bf5d30 still in use: Unable to complete operation on network d25fed6c-6eec-4759-ab8d-9f3ef1bf5d30. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f316ab0e-329e-4582-af65-5ee3e20d960e'] 2025-02-06 02:19:18,064 - WARNING - Deleting VN ctest-ext_vn-07290109 failed..Will retry 2025-02-06 02:19:20,164 - DEBUG - Response for deleting network () 2025-02-06 02:19:20,165 - INFO - Deleting VN ctest-vn-24730564 2025-02-06 02:19:20,260 - DEBUG - Response for deleting network () 2025-02-06 02:19:20,512 - DEBUG - No XMPP flaps were noticed during the test
2025-02-06 02:19:20,512 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:23]
2025-02-06 02:19:20,513 - INFO - -------------------------------------------------------------------------------- 2025-02-06 02:19:21,144 - INFO - Deleted project: ctest-TestRoutersBasic-94801143, ID : b926dbba-5602-436b-960a-5c8e9abda064