2025-05-26 11:39:32,307 - INFO - Domain Default found not creating 2025-05-26 11:39:32,460 - INFO - Project ctest-TestRoutersBasic-76494259 not found, creating it 2025-05-26 11:39:32,937 - INFO - Created Project:ctest-TestRoutersBasic-76494259, ID : 77596ac0-181c-446a-8164-f1e54e7b5807 2025-05-26 11:39:34,517 - INFO - ================================================================================ 2025-05-26 11:39:34,517 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-05-26 11:39:34,518 - 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-05-26 11:39:34,772 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-05-26 11:39:34,772 - INFO - Initial checks done. Running the testcase now 2025-05-26 11:39:34,772 - INFO - 2025-05-26 11:39:35,564 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-76494259 2025-05-26 11:39:35,665 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-76494259 2025-05-26 11:39:36,000 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-76494259', 'default']} 2025-05-26 11:39:36,656 - DEBUG - Response for create_network : {'network': {'id': 'df7adff1-b3c4-45c1-bdd7-99eaae111c3f', 'name': 'ctest-vn-16766410', 'tenant_id': '77596ac0181c446a8164f1e54e7b5807', 'project_id': '77596ac0181c446a8164f1e54e7b5807', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-76494259', 'ctest-vn-16766410'], 'port_security_enabled': True, 'description': ''}} 2025-05-26 11:39:36,862 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f19450f0-e578-4a08-aff0-6a0cc4506665', 'name': '', 'tenant_id': '77596ac0181c446a8164f1e54e7b5807', 'network_id': 'df7adff1-b3c4-45c1-bdd7-99eaae111c3f', 'ip_version': 4, 'cidr': '106.47.43.128/26', 'allocation_pools': [{'start': '106.47.43.130', 'end': '106.47.43.190'}], 'gateway_ip': '106.47.43.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '106.47.43.130', 'tags': [], 'project_id': '77596ac0181c446a8164f1e54e7b5807'}} 2025-05-26 11:39:36,883 - INFO - Created VN ctest-vn-16766410 2025-05-26 11:39:36,937 - DEBUG - VN ctest-vn-16766410 UUID is df7adff1-b3c4-45c1-bdd7-99eaae111c3f 2025-05-26 11:39:37,322 - DEBUG - Response for create_network : {'network': {'id': '83043fc5-a0f3-482d-a5b2-89c85ef7147b', 'name': 'ctest-ext_vn-21678590', 'tenant_id': '77596ac0181c446a8164f1e54e7b5807', 'project_id': '77596ac0181c446a8164f1e54e7b5807', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-76494259', 'ctest-ext_vn-21678590'], 'port_security_enabled': True, 'description': ''}} 2025-05-26 11:39:37,536 - DEBUG - Response for create_subnet : {'subnet': {'id': '7c5841d3-16c4-4054-9d7b-34ef1b2ca32e', 'name': '', 'tenant_id': '77596ac0181c446a8164f1e54e7b5807', 'network_id': '83043fc5-a0f3-482d-a5b2-89c85ef7147b', 'ip_version': 4, 'cidr': '40.107.165.192/26', 'allocation_pools': [{'start': '40.107.165.194', 'end': '40.107.165.254'}], 'gateway_ip': '40.107.165.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '40.107.165.194', 'tags': [], 'project_id': '77596ac0181c446a8164f1e54e7b5807'}} 2025-05-26 11:39:37,555 - INFO - Created VN ctest-ext_vn-21678590 2025-05-26 11:39:37,608 - DEBUG - VN ctest-ext_vn-21678590 UUID is 83043fc5-a0f3-482d-a5b2-89c85ef7147b 2025-05-26 11:39:37,791 - DEBUG - Services list from nova: [, , ] 2025-05-26 11:39:38,899 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3339-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3339-1) 2025-05-26 11:39:40,149 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3339-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3339-1) 2025-05-26 11:39:40,241 - INFO - Setting gateway for router 3b5d8c46-90d8-4dd1-9456-67038318d62f to network 83043fc5-a0f3-482d-a5b2-89c85ef7147b 2025-05-26 11:39:40,329 - INFO - Adding interface with subnet_id f19450f0-e578-4a08-aff0-6a0cc4506665, port_id None to router 3b5d8c46-90d8-4dd1-9456-67038318d62f 2025-05-26 11:39:40,796 - INFO - Waiting for VM ctest-TestRoutersBasic-76494259-43039581 to be up.. 2025-05-26 11:39:41,021 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-26 11:39:46,121 - DEBUG - VM is in ACTIVE state now 2025-05-26 11:39:46,121 - INFO - VM name : ctest-TestRoutersBasic-76494259-43039581 2025-05-26 11:39:46,208 - DEBUG - VM ctest-TestRoutersBasic-76494259-43039581 ID is 5a628135-57fc-41d7-b357-667b9e0c5136 2025-05-26 11:39:46,229 - DEBUG - VM ctest-TestRoutersBasic-76494259-43039581 launched on Node cn-jenkins-deploy-platform-ansible-os-3339-1 2025-05-26 11:39:46,313 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/5a628135-57fc-41d7-b357-667b9e0c5136 2025-05-26 11:39:46,650 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/5a628135-57fc-41d7-b357-667b9e0c5136 2025-05-26 11:39:46,684 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/110f4f9b-eccb-40b3-8c27-e4e07c67664f 2025-05-26 11:39:49,949 - 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 1014ms') 2025-05-26 11:39:49,949 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-76494259-43039581 failed! 2025-05-26 11:39:50,005 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-76494259:ctest-vn-16766410 is 106.47.43.129 and allocation pool is NOT set 2025-05-26 11:39:52,074 - 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.36 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.687 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.687/2.523/4.359/1.836 ms') 2025-05-26 11:39:52,074 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-76494259-43039581 passed 2025-05-26 11:39:52,229 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-26 11:39:52,229 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-76494259-43039581, IP 106.47.43.131, Port 22 2025-05-26 11:39:52,384 - DEBUG - VM ctest-TestRoutersBasic-76494259-43039581 is ready for SSH connections 2025-05-26 11:39:52,384 - INFO - Waiting for VM ctest-TestRoutersBasic-76494259-55531004 to be up.. 2025-05-26 11:39:52,464 - DEBUG - VM is in ACTIVE state now 2025-05-26 11:39:52,464 - INFO - VM name : ctest-TestRoutersBasic-76494259-55531004 2025-05-26 11:39:52,541 - DEBUG - VM ctest-TestRoutersBasic-76494259-55531004 ID is 30d201f4-961e-45f8-8e5f-1fbbbf2efb6f 2025-05-26 11:39:52,541 - DEBUG - VM ctest-TestRoutersBasic-76494259-55531004 launched on Node cn-jenkins-deploy-platform-ansible-os-3339-1 2025-05-26 11:39:52,619 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/30d201f4-961e-45f8-8e5f-1fbbbf2efb6f 2025-05-26 11:39:52,629 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/b93ba9e4-bb92-4c22-b2a7-a424bfd054da 2025-05-26 11:39:53,878 - 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.35 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.841 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.841/2.097/3.353/1.256 ms') 2025-05-26 11:39:53,879 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-76494259-55531004 passed 2025-05-26 11:39:54,033 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-26 11:39:54,033 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-76494259-55531004, IP 40.107.165.195, Port 22 2025-05-26 11:39:54,196 - DEBUG - VM ctest-TestRoutersBasic-76494259-55531004 is ready for SSH connections 2025-05-26 11:39:54,197 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-26 11:39:54,197 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 40.107.165.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-05-26 11:39:54,197 - DEBUG - ping -s 56 -c 3 -W 1 40.107.165.195 2025-05-26 11:39:57,917 - DEBUG - PING 40.107.165.195 (40.107.165.195): 56 data bytes 64 bytes from 40.107.165.195: seq=0 ttl=62 time=4.704 ms 64 bytes from 40.107.165.195: seq=1 ttl=62 time=1.013 ms 64 bytes from 40.107.165.195: seq=2 ttl=62 time=0.895 ms --- 40.107.165.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.895/2.204/4.704 ms 2025-05-26 11:39:57,917 - INFO - Ping to IP 40.107.165.195 from VM ctest-TestRoutersBasic-76494259-43039581 passed 2025-05-26 11:39:57,917 - INFO - Deleting interface with subnet_id f19450f0-e578-4a08-aff0-6a0cc4506665, port_id None from router 3b5d8c46-90d8-4dd1-9456-67038318d62f 2025-05-26 11:39:58,161 - INFO - Deleting VM ctest-TestRoutersBasic-76494259-55531004 2025-05-26 11:39:58,246 - INFO - Deleting VM ctest-TestRoutersBasic-76494259-43039581 2025-05-26 11:39:58,330 - INFO - Deleting VN ctest-ext_vn-21678590 2025-05-26 11:39:58,410 - DEBUG - VN 83043fc5-a0f3-482d-a5b2-89c85ef7147b still in use: Unable to complete operation on network 83043fc5-a0f3-482d-a5b2-89c85ef7147b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5f9a1460-9dc7-4d11-a1c5-c2e026f28f01'] 2025-05-26 11:39:58,410 - WARNING - Deleting VN ctest-ext_vn-21678590 failed..Will retry 2025-05-26 11:40:00,527 - DEBUG - Response for deleting network () 2025-05-26 11:40:00,527 - INFO - Deleting VN ctest-vn-16766410 2025-05-26 11:40:00,642 - DEBUG - Response for deleting network () 2025-05-26 11:40:00,907 - DEBUG - No XMPP flaps were noticed during the test 2025-05-26 11:40:00,907 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-05-26 11:40:00,907 - INFO - -------------------------------------------------------------------------------- 2025-05-26 11:40:01,664 - INFO - Deleted project: ctest-TestRoutersBasic-76494259, ID : 77596ac0-181c-446a-8164-f1e54e7b5807