2025-08-25 21:09:34,374 - INFO - Domain Default found not creating 2025-08-25 21:09:34,508 - INFO - Project ctest-TestRoutersBasic-02942030 not found, creating it 2025-08-25 21:09:34,981 - INFO - Created Project:ctest-TestRoutersBasic-02942030, ID : 94e23ef2-c3a4-471d-9ab8-1ce1c113d623 2025-08-25 21:09:36,392 - INFO - ================================================================================ 2025-08-25 21:09:36,393 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-25 21:09:36,393 - 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-08-25 21:09:36,653 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with 2025-08-25 21:09:36,653 - INFO - Initial checks done. Running the testcase now 2025-08-25 21:09:36,653 - INFO - 2025-08-25 21:09:37,359 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-02942030 2025-08-25 21:09:37,454 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-02942030 2025-08-25 21:09:37,786 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-02942030', 'default']} 2025-08-25 21:09:38,087 - DEBUG - Response for create_network : {'network': {'id': '73ad6a1a-82bc-41d8-9e69-41a0ff7a8877', 'name': 'ctest-vn-67895254', 'tenant_id': '94e23ef2c3a4471d9ab81ce1c113d623', 'project_id': '94e23ef2c3a4471d9ab81ce1c113d623', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-02942030', 'ctest-vn-67895254'], 'port_security_enabled': True, 'description': ''}} 2025-08-25 21:09:38,246 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e10fcf02-20e3-44a8-97c5-a52cfd177a3e', 'name': '', 'tenant_id': '94e23ef2c3a4471d9ab81ce1c113d623', 'network_id': '73ad6a1a-82bc-41d8-9e69-41a0ff7a8877', 'ip_version': 4, 'cidr': '204.87.190.64/26', 'allocation_pools': [{'start': '204.87.190.66', 'end': '204.87.190.126'}], 'gateway_ip': '204.87.190.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '204.87.190.66', 'tags': [], 'project_id': '94e23ef2c3a4471d9ab81ce1c113d623'}} 2025-08-25 21:09:38,264 - INFO - Created VN ctest-vn-67895254 2025-08-25 21:09:38,318 - DEBUG - VN ctest-vn-67895254 UUID is 73ad6a1a-82bc-41d8-9e69-41a0ff7a8877 2025-08-25 21:09:38,647 - DEBUG - Response for create_network : {'network': {'id': 'f5785dd9-2559-4030-b3f9-bb604a16adc3', 'name': 'ctest-ext_vn-57794807', 'tenant_id': '94e23ef2c3a4471d9ab81ce1c113d623', 'project_id': '94e23ef2c3a4471d9ab81ce1c113d623', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-02942030', 'ctest-ext_vn-57794807'], 'port_security_enabled': True, 'description': ''}} 2025-08-25 21:09:38,818 - DEBUG - Response for create_subnet : {'subnet': {'id': '998150cd-28f3-4c90-89cc-062a33c3d19c', 'name': '', 'tenant_id': '94e23ef2c3a4471d9ab81ce1c113d623', 'network_id': 'f5785dd9-2559-4030-b3f9-bb604a16adc3', 'ip_version': 4, 'cidr': '186.88.139.128/26', 'allocation_pools': [{'start': '186.88.139.130', 'end': '186.88.139.190'}], 'gateway_ip': '186.88.139.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '186.88.139.130', 'tags': [], 'project_id': '94e23ef2c3a4471d9ab81ce1c113d623'}} 2025-08-25 21:09:38,837 - INFO - Created VN ctest-ext_vn-57794807 2025-08-25 21:09:38,890 - DEBUG - VN ctest-ext_vn-57794807 UUID is f5785dd9-2559-4030-b3f9-bb604a16adc3 2025-08-25 21:09:39,101 - DEBUG - Services list from nova: [, , ] 2025-08-25 21:09:40,095 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3928-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3928-1) 2025-08-25 21:09:41,217 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3928-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3928-1) 2025-08-25 21:09:41,301 - INFO - Setting gateway for router ebd89427-0dc5-4320-b24e-83e6a7ff1092 to network f5785dd9-2559-4030-b3f9-bb604a16adc3 2025-08-25 21:09:41,370 - INFO - Adding interface with subnet_id e10fcf02-20e3-44a8-97c5-a52cfd177a3e, port_id None to router ebd89427-0dc5-4320-b24e-83e6a7ff1092 2025-08-25 21:09:41,797 - INFO - Waiting for VM ctest-TestRoutersBasic-02942030-29084062 to be up.. 2025-08-25 21:09:41,947 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-25 21:09:47,043 - DEBUG - VM is in ACTIVE state now 2025-08-25 21:09:47,043 - INFO - VM name : ctest-TestRoutersBasic-02942030-29084062 2025-08-25 21:09:47,141 - DEBUG - VM ctest-TestRoutersBasic-02942030-29084062 ID is 03953784-d9cb-4c8a-9ed3-ca91199ce7cd 2025-08-25 21:09:47,163 - DEBUG - VM ctest-TestRoutersBasic-02942030-29084062 launched on Node cn-jenkins-deploy-platform-ansible-os-3928-1 2025-08-25 21:09:47,245 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/03953784-d9cb-4c8a-9ed3-ca91199ce7cd 2025-08-25 21:09:47,540 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/03953784-d9cb-4c8a-9ed3-ca91199ce7cd 2025-08-25 21:09:47,568 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/866b8312-ea21-45cf-a009-34b694f0bfef 2025-08-25 21:09:50,819 - 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 1003ms') 2025-08-25 21:09:50,820 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-02942030-29084062 failed! 2025-08-25 21:09:50,878 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-02942030:ctest-vn-67895254 is 204.87.190.65 and allocation pool is NOT set 2025-08-25 21:09:52,934 - 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.64 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.380 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 = 0.380/1.510/2.641/1.130 ms') 2025-08-25 21:09:52,934 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-02942030-29084062 passed 2025-08-25 21:09:53,087 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 21:09:53,087 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-02942030-29084062, IP 204.87.190.67, Port 22 2025-08-25 21:09:53,246 - DEBUG - VM ctest-TestRoutersBasic-02942030-29084062 is ready for SSH connections 2025-08-25 21:09:53,246 - INFO - Waiting for VM ctest-TestRoutersBasic-02942030-06398438 to be up.. 2025-08-25 21:09:53,317 - DEBUG - VM is in ACTIVE state now 2025-08-25 21:09:53,317 - INFO - VM name : ctest-TestRoutersBasic-02942030-06398438 2025-08-25 21:09:53,386 - DEBUG - VM ctest-TestRoutersBasic-02942030-06398438 ID is 8001dbaa-b7d1-4b9a-8456-0b52d441fc59 2025-08-25 21:09:53,386 - DEBUG - VM ctest-TestRoutersBasic-02942030-06398438 launched on Node cn-jenkins-deploy-platform-ansible-os-3928-1 2025-08-25 21:09:53,458 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/8001dbaa-b7d1-4b9a-8456-0b52d441fc59 2025-08-25 21:09:53,468 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/0ee755de-58e0-4592-98db-37a76bafe29d 2025-08-25 21:09:54,714 - 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.16 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.819 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.819/2.491/4.164/1.672 ms') 2025-08-25 21:09:54,714 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-02942030-06398438 passed 2025-08-25 21:09:54,866 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 21:09:54,866 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-02942030-06398438, IP 186.88.139.131, Port 22 2025-08-25 21:09:55,017 - DEBUG - VM ctest-TestRoutersBasic-02942030-06398438 is ready for SSH connections 2025-08-25 21:09:55,018 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 21:09:55,018 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 186.88.139.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-08-25 21:09:55,018 - DEBUG - ping -s 56 -c 3 -W 1 186.88.139.131 2025-08-25 21:09:58,694 - DEBUG - PING 186.88.139.131 (186.88.139.131): 56 data bytes 64 bytes from 186.88.139.131: seq=0 ttl=62 time=6.057 ms 64 bytes from 186.88.139.131: seq=1 ttl=62 time=0.910 ms 64 bytes from 186.88.139.131: seq=2 ttl=62 time=0.870 ms --- 186.88.139.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.870/2.612/6.057 ms 2025-08-25 21:09:58,694 - INFO - Ping to IP 186.88.139.131 from VM ctest-TestRoutersBasic-02942030-29084062 passed 2025-08-25 21:09:58,694 - INFO - Deleting interface with subnet_id e10fcf02-20e3-44a8-97c5-a52cfd177a3e, port_id None from router ebd89427-0dc5-4320-b24e-83e6a7ff1092 2025-08-25 21:09:58,898 - INFO - Deleting VM ctest-TestRoutersBasic-02942030-06398438 2025-08-25 21:09:58,965 - INFO - Deleting VM ctest-TestRoutersBasic-02942030-29084062 2025-08-25 21:09:59,066 - INFO - Deleting VN ctest-ext_vn-57794807 2025-08-25 21:09:59,151 - DEBUG - VN f5785dd9-2559-4030-b3f9-bb604a16adc3 still in use: Unable to complete operation on network f5785dd9-2559-4030-b3f9-bb604a16adc3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ee762873-8473-46a0-9e78-e09cd7d88ce7'] 2025-08-25 21:09:59,151 - WARNING - Deleting VN ctest-ext_vn-57794807 failed..Will retry 2025-08-25 21:10:01,267 - DEBUG - Response for deleting network () 2025-08-25 21:10:01,267 - INFO - Deleting VN ctest-vn-67895254 2025-08-25 21:10:01,412 - DEBUG - Response for deleting network () 2025-08-25 21:10:01,680 - DEBUG - No XMPP flaps were noticed during the test
2025-08-25 21:10:01,680 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-08-25 21:10:01,680 - INFO - -------------------------------------------------------------------------------- 2025-08-25 21:10:02,356 - INFO - Deleted project: ctest-TestRoutersBasic-02942030, ID : 94e23ef2-c3a4-471d-9ab8-1ce1c113d623