2025-02-13 06:35:06,478 - INFO - Domain Default found not creating 2025-02-13 06:35:06,645 - INFO - Project ctest-TestRoutersBasic-91061036 not found, creating it 2025-02-13 06:35:07,104 - INFO - Created Project:ctest-TestRoutersBasic-91061036, ID : 48ac0a4b-55dd-439d-b078-2054ab0ab4ec 2025-02-13 06:35:08,481 - INFO - ================================================================================ 2025-02-13 06:35:08,481 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-02-13 06:35:08,481 - 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-13 06:35:08,735 - DEBUG - Nothing to compare xmpp stats {'10.0.0.43': {'10.20.0.7': '0'}} with 2025-02-13 06:35:08,735 - INFO - Initial checks done. Running the testcase now 2025-02-13 06:35:08,735 - INFO - 2025-02-13 06:35:09,426 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-91061036 2025-02-13 06:35:09,526 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-91061036 2025-02-13 06:35:09,845 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-91061036', 'default']} 2025-02-13 06:35:10,146 - DEBUG - Response for create_network : {'network': {'id': 'ad8dad3e-cbba-49ac-9b78-56fdd62561bb', 'name': 'ctest-vn-20618599', 'tenant_id': '48ac0a4b55dd439db0782054ab0ab4ec', 'project_id': '48ac0a4b55dd439db0782054ab0ab4ec', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-91061036', 'ctest-vn-20618599'], 'port_security_enabled': True, 'description': ''}} 2025-02-13 06:35:10,324 - DEBUG - Response for create_subnet : {'subnet': {'id': '73bb49e4-59d8-4aaf-82a7-e1980709adbc', 'name': '', 'tenant_id': '48ac0a4b55dd439db0782054ab0ab4ec', 'network_id': 'ad8dad3e-cbba-49ac-9b78-56fdd62561bb', 'ip_version': 4, 'cidr': '102.130.7.0/26', 'allocation_pools': [{'start': '102.130.7.2', 'end': '102.130.7.62'}], 'gateway_ip': '102.130.7.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '102.130.7.2', 'tags': [], 'project_id': '48ac0a4b55dd439db0782054ab0ab4ec'}} 2025-02-13 06:35:10,342 - INFO - Created VN ctest-vn-20618599 2025-02-13 06:35:10,398 - DEBUG - VN ctest-vn-20618599 UUID is ad8dad3e-cbba-49ac-9b78-56fdd62561bb 2025-02-13 06:35:10,718 - DEBUG - Response for create_network : {'network': {'id': '2121a4f1-11da-4c12-96e5-6d60d5cf3183', 'name': 'ctest-ext_vn-73415716', 'tenant_id': '48ac0a4b55dd439db0782054ab0ab4ec', 'project_id': '48ac0a4b55dd439db0782054ab0ab4ec', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-91061036', 'ctest-ext_vn-73415716'], 'port_security_enabled': True, 'description': ''}} 2025-02-13 06:35:10,908 - DEBUG - Response for create_subnet : {'subnet': {'id': '378c60c5-165c-4c4d-b9e6-a796fcded5a3', 'name': '', 'tenant_id': '48ac0a4b55dd439db0782054ab0ab4ec', 'network_id': '2121a4f1-11da-4c12-96e5-6d60d5cf3183', 'ip_version': 4, 'cidr': '107.73.143.0/26', 'allocation_pools': [{'start': '107.73.143.2', 'end': '107.73.143.62'}], 'gateway_ip': '107.73.143.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.73.143.2', 'tags': [], 'project_id': '48ac0a4b55dd439db0782054ab0ab4ec'}} 2025-02-13 06:35:10,926 - INFO - Created VN ctest-ext_vn-73415716 2025-02-13 06:35:10,977 - DEBUG - VN ctest-ext_vn-73415716 UUID is 2121a4f1-11da-4c12-96e5-6d60d5cf3183 2025-02-13 06:35:11,142 - DEBUG - Services list from nova: [, , ] 2025-02-13 06:35:12,138 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2733-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2733-1) 2025-02-13 06:35:13,283 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2733-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2733-1) 2025-02-13 06:35:13,353 - INFO - Setting gateway for router 93a08e7b-dfa2-42f9-b7ac-9e4be4414d56 to network 2121a4f1-11da-4c12-96e5-6d60d5cf3183 2025-02-13 06:35:13,429 - INFO - Adding interface with subnet_id 73bb49e4-59d8-4aaf-82a7-e1980709adbc, port_id None to router 93a08e7b-dfa2-42f9-b7ac-9e4be4414d56 2025-02-13 06:35:13,873 - INFO - Waiting for VM ctest-TestRoutersBasic-91061036-48179159 to be up.. 2025-02-13 06:35:14,062 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-13 06:35:19,160 - DEBUG - VM is in ACTIVE state now 2025-02-13 06:35:19,160 - INFO - VM name : ctest-TestRoutersBasic-91061036-48179159 2025-02-13 06:35:19,239 - DEBUG - VM ctest-TestRoutersBasic-91061036-48179159 ID is dce84dc9-106e-4c9e-a496-82e7a74a2eda 2025-02-13 06:35:19,262 - DEBUG - VM ctest-TestRoutersBasic-91061036-48179159 launched on Node cn-jenkins-deploy-platform-ansible-os-2733-1 2025-02-13 06:35:19,346 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-machine/dce84dc9-106e-4c9e-a496-82e7a74a2eda 2025-02-13 06:35:19,637 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-machine/dce84dc9-106e-4c9e-a496-82e7a74a2eda 2025-02-13 06:35:19,667 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-machine-interface/b9ac4f98-51da-481a-906d-a258b0399716 2025-02-13 06:35:22,912 - 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 1007ms') 2025-02-13 06:35:22,913 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-91061036-48179159 failed! 2025-02-13 06:35:22,966 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-91061036:ctest-vn-20618599 is 102.130.7.1 and allocation pool is NOT set 2025-02-13 06:35:25,026 - 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=2.88 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.465 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 = 0.465/1.673/2.881/1.208 ms') 2025-02-13 06:35:25,026 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-91061036-48179159 passed 2025-02-13 06:35:25,177 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-13 06:35:25,178 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-91061036-48179159, IP 102.130.7.3, Port 22 2025-02-13 06:35:25,343 - DEBUG - VM ctest-TestRoutersBasic-91061036-48179159 is ready for SSH connections 2025-02-13 06:35:25,344 - INFO - Waiting for VM ctest-TestRoutersBasic-91061036-62017751 to be up.. 2025-02-13 06:35:25,422 - DEBUG - VM is in ACTIVE state now 2025-02-13 06:35:25,423 - INFO - VM name : ctest-TestRoutersBasic-91061036-62017751 2025-02-13 06:35:25,494 - DEBUG - VM ctest-TestRoutersBasic-91061036-62017751 ID is c4b2cb3d-c487-4031-ae3c-7afa6a1415a9 2025-02-13 06:35:25,494 - DEBUG - VM ctest-TestRoutersBasic-91061036-62017751 launched on Node cn-jenkins-deploy-platform-ansible-os-2733-1 2025-02-13 06:35:25,566 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-machine/c4b2cb3d-c487-4031-ae3c-7afa6a1415a9 2025-02-13 06:35:25,576 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-machine-interface/faf8a1f2-4592-4bf9-97b2-e7e112cdc8bf 2025-02-13 06:35:26,819 - 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.96 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.290 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.290/1.623/2.957/1.333 ms') 2025-02-13 06:35:26,819 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-91061036-62017751 passed 2025-02-13 06:35:26,973 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-13 06:35:26,974 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-91061036-62017751, IP 107.73.143.3, Port 22 2025-02-13 06:35:27,125 - DEBUG - VM ctest-TestRoutersBasic-91061036-62017751 is ready for SSH connections 2025-02-13 06:35:27,126 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-13 06:35:27,126 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 107.73.143.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.43, gateway password: c0ntrail123 2025-02-13 06:35:27,126 - DEBUG - ping -s 56 -c 3 -W 1 107.73.143.3 2025-02-13 06:35:30,804 - DEBUG - PING 107.73.143.3 (107.73.143.3): 56 data bytes 64 bytes from 107.73.143.3: seq=0 ttl=62 time=7.943 ms 64 bytes from 107.73.143.3: seq=1 ttl=62 time=0.820 ms 64 bytes from 107.73.143.3: seq=2 ttl=62 time=0.882 ms --- 107.73.143.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.820/3.215/7.943 ms 2025-02-13 06:35:30,804 - INFO - Ping to IP 107.73.143.3 from VM ctest-TestRoutersBasic-91061036-48179159 passed 2025-02-13 06:35:30,805 - INFO - Deleting interface with subnet_id 73bb49e4-59d8-4aaf-82a7-e1980709adbc, port_id None from router 93a08e7b-dfa2-42f9-b7ac-9e4be4414d56 2025-02-13 06:35:31,003 - INFO - Deleting VM ctest-TestRoutersBasic-91061036-62017751 2025-02-13 06:35:31,064 - INFO - Deleting VM ctest-TestRoutersBasic-91061036-48179159 2025-02-13 06:35:31,133 - INFO - Deleting VN ctest-ext_vn-73415716 2025-02-13 06:35:31,198 - DEBUG - VN 2121a4f1-11da-4c12-96e5-6d60d5cf3183 still in use: Unable to complete operation on network 2121a4f1-11da-4c12-96e5-6d60d5cf3183. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5f5ba85f-94e5-4f59-bd9b-b4040298a6f7'] 2025-02-13 06:35:31,199 - WARNING - Deleting VN ctest-ext_vn-73415716 failed..Will retry 2025-02-13 06:35:33,303 - DEBUG - Response for deleting network () 2025-02-13 06:35:33,303 - INFO - Deleting VN ctest-vn-20618599 2025-02-13 06:35:33,405 - DEBUG - Response for deleting network () 2025-02-13 06:35:33,660 - DEBUG - No XMPP flaps were noticed during the test
2025-02-13 06:35:33,660 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-02-13 06:35:33,660 - INFO - -------------------------------------------------------------------------------- 2025-02-13 06:35:34,320 - INFO - Deleted project: ctest-TestRoutersBasic-91061036, ID : 48ac0a4b-55dd-439d-b078-2054ab0ab4ec