2025-04-14 19:49:17,701 - INFO - Domain Default found not creating 2025-04-14 19:49:17,874 - INFO - Project ctest-TestRoutersBasic-81789074 not found, creating it 2025-04-14 19:49:18,405 - INFO - Created Project:ctest-TestRoutersBasic-81789074, ID : f4848317-b473-4b6a-a0d7-651c58c99a4a 2025-04-14 19:49:20,001 - INFO - ================================================================================ 2025-04-14 19:49:20,001 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-04-14 19:49:20,001 - 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-04-14 19:49:20,286 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-04-14 19:49:20,286 - INFO - Initial checks done. Running the testcase now 2025-04-14 19:49:20,286 - INFO - 2025-04-14 19:49:21,062 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-81789074 2025-04-14 19:49:21,168 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-81789074 2025-04-14 19:49:21,512 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-81789074', 'default']} 2025-04-14 19:49:21,837 - DEBUG - Response for create_network : {'network': {'id': '9b81118d-6ccb-4b3c-9583-d78268b8c8eb', 'name': 'ctest-vn-16631817', 'tenant_id': 'f4848317b4734b6aa0d7651c58c99a4a', 'project_id': 'f4848317b4734b6aa0d7651c58c99a4a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-81789074', 'ctest-vn-16631817'], 'port_security_enabled': True, 'description': ''}} 2025-04-14 19:49:22,026 - DEBUG - Response for create_subnet : {'subnet': {'id': '38e9f7db-d90d-4904-818f-9d4c7bfa9676', 'name': '', 'tenant_id': 'f4848317b4734b6aa0d7651c58c99a4a', 'network_id': '9b81118d-6ccb-4b3c-9583-d78268b8c8eb', 'ip_version': 4, 'cidr': '191.55.225.64/26', 'allocation_pools': [{'start': '191.55.225.66', 'end': '191.55.225.126'}], 'gateway_ip': '191.55.225.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '191.55.225.66', 'tags': [], 'project_id': 'f4848317b4734b6aa0d7651c58c99a4a'}} 2025-04-14 19:49:22,049 - INFO - Created VN ctest-vn-16631817 2025-04-14 19:49:22,104 - DEBUG - VN ctest-vn-16631817 UUID is 9b81118d-6ccb-4b3c-9583-d78268b8c8eb 2025-04-14 19:49:22,464 - DEBUG - Response for create_network : {'network': {'id': '19582e19-0682-47af-9007-6fd9a14592e5', 'name': 'ctest-ext_vn-20085152', 'tenant_id': 'f4848317b4734b6aa0d7651c58c99a4a', 'project_id': 'f4848317b4734b6aa0d7651c58c99a4a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-81789074', 'ctest-ext_vn-20085152'], 'port_security_enabled': True, 'description': ''}} 2025-04-14 19:49:22,657 - DEBUG - Response for create_subnet : {'subnet': {'id': '81ae2b1c-c508-4f27-9824-1f9e6ba1faf8', 'name': '', 'tenant_id': 'f4848317b4734b6aa0d7651c58c99a4a', 'network_id': '19582e19-0682-47af-9007-6fd9a14592e5', 'ip_version': 4, 'cidr': '100.254.209.192/26', 'allocation_pools': [{'start': '100.254.209.194', 'end': '100.254.209.254'}], 'gateway_ip': '100.254.209.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '100.254.209.194', 'tags': [], 'project_id': 'f4848317b4734b6aa0d7651c58c99a4a'}} 2025-04-14 19:49:22,678 - INFO - Created VN ctest-ext_vn-20085152 2025-04-14 19:49:22,732 - DEBUG - VN ctest-ext_vn-20085152 UUID is 19582e19-0682-47af-9007-6fd9a14592e5 2025-04-14 19:49:22,930 - DEBUG - Services list from nova: [, , ] 2025-04-14 19:49:24,078 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3108-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3108-1) 2025-04-14 19:49:25,346 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3108-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3108-1) 2025-04-14 19:49:25,453 - INFO - Setting gateway for router 80992c68-ae19-4bc1-9e62-c55834dff5d3 to network 19582e19-0682-47af-9007-6fd9a14592e5 2025-04-14 19:49:25,551 - INFO - Adding interface with subnet_id 38e9f7db-d90d-4904-818f-9d4c7bfa9676, port_id None to router 80992c68-ae19-4bc1-9e62-c55834dff5d3 2025-04-14 19:49:26,050 - INFO - Waiting for VM ctest-TestRoutersBasic-81789074-42604019 to be up.. 2025-04-14 19:49:26,285 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-14 19:49:31,378 - DEBUG - VM is in ACTIVE state now 2025-04-14 19:49:31,378 - INFO - VM name : ctest-TestRoutersBasic-81789074-42604019 2025-04-14 19:49:31,463 - DEBUG - VM ctest-TestRoutersBasic-81789074-42604019 ID is 04a7dbb9-3a08-4fb2-84c2-3d835048d268 2025-04-14 19:49:31,487 - DEBUG - VM ctest-TestRoutersBasic-81789074-42604019 launched on Node cn-jenkins-deploy-platform-ansible-os-3108-1 2025-04-14 19:49:31,576 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/04a7dbb9-3a08-4fb2-84c2-3d835048d268 2025-04-14 19:49:31,881 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/04a7dbb9-3a08-4fb2-84c2-3d835048d268 2025-04-14 19:49:31,920 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/31862d21-768f-4251-a574-c149e2a28e34 2025-04-14 19:49:35,196 - 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 1021ms') 2025-04-14 19:49:35,196 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-81789074-42604019 failed! 2025-04-14 19:49:35,256 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-81789074:ctest-vn-16631817 is 191.55.225.65 and allocation pool is NOT set 2025-04-14 19:49:37,327 - 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.66 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.664 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.664/2.659/4.655/1.995 ms') 2025-04-14 19:49:37,327 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-81789074-42604019 passed 2025-04-14 19:49:37,488 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-14 19:49:37,488 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-81789074-42604019, IP 191.55.225.67, Port 22 2025-04-14 19:49:37,654 - DEBUG - VM ctest-TestRoutersBasic-81789074-42604019 is ready for SSH connections 2025-04-14 19:49:37,654 - INFO - Waiting for VM ctest-TestRoutersBasic-81789074-81652235 to be up.. 2025-04-14 19:49:37,755 - DEBUG - VM is in ACTIVE state now 2025-04-14 19:49:37,755 - INFO - VM name : ctest-TestRoutersBasic-81789074-81652235 2025-04-14 19:49:37,845 - DEBUG - VM ctest-TestRoutersBasic-81789074-81652235 ID is 457377b2-92ee-4e02-86d6-723acc578dcc 2025-04-14 19:49:37,845 - DEBUG - VM ctest-TestRoutersBasic-81789074-81652235 launched on Node cn-jenkins-deploy-platform-ansible-os-3108-1 2025-04-14 19:49:37,934 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/457377b2-92ee-4e02-86d6-723acc578dcc 2025-04-14 19:49:37,945 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/3366dacf-ecbd-4987-98a6-ec2b25e4f363 2025-04-14 19:49:39,204 - 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.80 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.41 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.410/3.106/4.802/1.696 ms') 2025-04-14 19:49:39,204 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-81789074-81652235 passed 2025-04-14 19:49:39,364 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-14 19:49:39,364 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-81789074-81652235, IP 100.254.209.195, Port 22 2025-04-14 19:49:39,520 - DEBUG - VM ctest-TestRoutersBasic-81789074-81652235 is ready for SSH connections 2025-04-14 19:49:39,520 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-14 19:49:39,520 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 100.254.209.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-04-14 19:49:39,520 - DEBUG - ping -s 56 -c 3 -W 1 100.254.209.195 2025-04-14 19:49:43,305 - DEBUG - PING 100.254.209.195 (100.254.209.195): 56 data bytes 64 bytes from 100.254.209.195: seq=0 ttl=62 time=9.026 ms 64 bytes from 100.254.209.195: seq=1 ttl=62 time=1.182 ms 64 bytes from 100.254.209.195: seq=2 ttl=62 time=1.226 ms --- 100.254.209.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.182/3.811/9.026 ms 2025-04-14 19:49:43,305 - INFO - Ping to IP 100.254.209.195 from VM ctest-TestRoutersBasic-81789074-42604019 passed 2025-04-14 19:49:43,305 - INFO - Deleting interface with subnet_id 38e9f7db-d90d-4904-818f-9d4c7bfa9676, port_id None from router 80992c68-ae19-4bc1-9e62-c55834dff5d3 2025-04-14 19:49:43,575 - INFO - Deleting VM ctest-TestRoutersBasic-81789074-81652235 2025-04-14 19:49:43,653 - INFO - Deleting VM ctest-TestRoutersBasic-81789074-42604019 2025-04-14 19:49:43,745 - INFO - Deleting VN ctest-ext_vn-20085152 2025-04-14 19:49:43,837 - DEBUG - VN 19582e19-0682-47af-9007-6fd9a14592e5 still in use: Unable to complete operation on network 19582e19-0682-47af-9007-6fd9a14592e5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-dae974ea-245d-4054-b88f-33e65a7db9a8'] 2025-04-14 19:49:43,837 - WARNING - Deleting VN ctest-ext_vn-20085152 failed..Will retry 2025-04-14 19:49:45,968 - DEBUG - Response for deleting network () 2025-04-14 19:49:45,968 - INFO - Deleting VN ctest-vn-16631817 2025-04-14 19:49:46,116 - DEBUG - Response for deleting network () 2025-04-14 19:49:46,374 - DEBUG - No XMPP flaps were noticed during the test
2025-04-14 19:49:46,374 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-04-14 19:49:46,374 - INFO - -------------------------------------------------------------------------------- 2025-04-14 19:49:47,091 - INFO - Deleted project: ctest-TestRoutersBasic-81789074, ID : f4848317-b473-4b6a-a0d7-651c58c99a4a