2025-12-11 02:21:17,142 - INFO - Domain Default found not creating 2025-12-11 02:21:17,307 - INFO - Project ctest-TestRoutersBasic-21284553 not found, creating it 2025-12-11 02:21:17,748 - INFO - Created Project:ctest-TestRoutersBasic-21284553, ID : 9e93544c-51d6-4000-8289-e4ad80294d0b 2025-12-11 02:21:19,208 - INFO - ================================================================================ 2025-12-11 02:21:19,208 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-12-11 02:21:19,208 - 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-12-11 02:21:19,464 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.192': '0'}} with 2025-12-11 02:21:19,464 - INFO - Initial checks done. Running the testcase now 2025-12-11 02:21:19,464 - INFO - 2025-12-11 02:21:20,166 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-21284553 2025-12-11 02:21:20,263 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-21284553 2025-12-11 02:21:20,582 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-21284553', 'default']} 2025-12-11 02:21:20,853 - DEBUG - Response for create_network : {'network': {'id': 'ac185b46-4212-4057-86fb-f6c0bf51cbfa', 'name': 'ctest-vn-24301408', 'tenant_id': '9e93544c51d640008289e4ad80294d0b', 'project_id': '9e93544c51d640008289e4ad80294d0b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-21284553', 'ctest-vn-24301408'], 'port_security_enabled': True, 'description': ''}} 2025-12-11 02:21:21,022 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd6d109e9-bea2-43c3-b972-f1ea6c62c5de', 'name': '', 'tenant_id': '9e93544c51d640008289e4ad80294d0b', 'network_id': 'ac185b46-4212-4057-86fb-f6c0bf51cbfa', 'ip_version': 4, 'cidr': '6.81.97.128/26', 'allocation_pools': [{'start': '6.81.97.130', 'end': '6.81.97.190'}], 'gateway_ip': '6.81.97.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '6.81.97.130', 'tags': [], 'project_id': '9e93544c51d640008289e4ad80294d0b'}} 2025-12-11 02:21:21,037 - INFO - Created VN ctest-vn-24301408 2025-12-11 02:21:21,087 - DEBUG - VN ctest-vn-24301408 UUID is ac185b46-4212-4057-86fb-f6c0bf51cbfa 2025-12-11 02:21:21,410 - DEBUG - Response for create_network : {'network': {'id': '09e85a8f-6fbe-409e-a682-33b121737045', 'name': 'ctest-ext_vn-73286133', 'tenant_id': '9e93544c51d640008289e4ad80294d0b', 'project_id': '9e93544c51d640008289e4ad80294d0b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-21284553', 'ctest-ext_vn-73286133'], 'port_security_enabled': True, 'description': ''}} 2025-12-11 02:21:21,575 - DEBUG - Response for create_subnet : {'subnet': {'id': '5b5d24bf-87ab-433b-ac76-9e378135fb8d', 'name': '', 'tenant_id': '9e93544c51d640008289e4ad80294d0b', 'network_id': '09e85a8f-6fbe-409e-a682-33b121737045', 'ip_version': 4, 'cidr': '89.245.121.128/26', 'allocation_pools': [{'start': '89.245.121.130', 'end': '89.245.121.190'}], 'gateway_ip': '89.245.121.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.245.121.130', 'tags': [], 'project_id': '9e93544c51d640008289e4ad80294d0b'}} 2025-12-11 02:21:21,590 - INFO - Created VN ctest-ext_vn-73286133 2025-12-11 02:21:21,639 - DEBUG - VN ctest-ext_vn-73286133 UUID is 09e85a8f-6fbe-409e-a682-33b121737045 2025-12-11 02:21:21,826 - DEBUG - Services list from nova: [, , ] 2025-12-11 02:21:22,810 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4879-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4879-1) 2025-12-11 02:21:23,954 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4879-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4879-1) 2025-12-11 02:21:24,025 - INFO - Setting gateway for router 9ebcffde-50d1-46ac-95b3-d4e6ed05d3e8 to network 09e85a8f-6fbe-409e-a682-33b121737045 2025-12-11 02:21:24,095 - INFO - Adding interface with subnet_id d6d109e9-bea2-43c3-b972-f1ea6c62c5de, port_id None to router 9ebcffde-50d1-46ac-95b3-d4e6ed05d3e8 2025-12-11 02:21:24,385 - INFO - Waiting for VM ctest-TestRoutersBasic-21284553-63656565 to be up.. 2025-12-11 02:21:24,490 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-11 02:21:29,564 - DEBUG - VM is in ACTIVE state now 2025-12-11 02:21:29,564 - INFO - VM name : ctest-TestRoutersBasic-21284553-63656565 2025-12-11 02:21:29,645 - DEBUG - VM ctest-TestRoutersBasic-21284553-63656565 ID is 64be482c-25f3-4852-a718-84b658811630 2025-12-11 02:21:29,667 - DEBUG - VM ctest-TestRoutersBasic-21284553-63656565 launched on Node cn-jenkins-deploy-platform-ansible-os-4879-1 2025-12-11 02:21:29,741 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/64be482c-25f3-4852-a718-84b658811630 2025-12-11 02:21:30,047 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/64be482c-25f3-4852-a718-84b658811630 2025-12-11 02:21:30,078 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/eb38ad7a-cf98-4601-8c25-9bb6e7071fa1 2025-12-11 02:21:33,328 - 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-12-11 02:21:33,328 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-21284553-63656565 failed! 2025-12-11 02:21:33,383 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-21284553:ctest-vn-24301408 is 6.81.97.129 and allocation pool is NOT set 2025-12-11 02:21:35,438 - 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.39 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.353 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.353/2.373/4.393/2.020 ms') 2025-12-11 02:21:35,438 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-21284553-63656565 passed 2025-12-11 02:21:35,543 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-11 02:21:35,543 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-21284553-63656565, IP 6.81.97.131, Port 22 2025-12-11 02:21:35,698 - DEBUG - VM ctest-TestRoutersBasic-21284553-63656565 is ready for SSH connections 2025-12-11 02:21:35,698 - INFO - Waiting for VM ctest-TestRoutersBasic-21284553-74823605 to be up.. 2025-12-11 02:21:35,765 - DEBUG - VM is in ACTIVE state now 2025-12-11 02:21:35,765 - INFO - VM name : ctest-TestRoutersBasic-21284553-74823605 2025-12-11 02:21:35,834 - DEBUG - VM ctest-TestRoutersBasic-21284553-74823605 ID is cef84d71-a3c6-47a2-be25-2a1874c5b190 2025-12-11 02:21:35,834 - DEBUG - VM ctest-TestRoutersBasic-21284553-74823605 launched on Node cn-jenkins-deploy-platform-ansible-os-4879-1 2025-12-11 02:21:35,902 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/cef84d71-a3c6-47a2-be25-2a1874c5b190 2025-12-11 02:21:35,909 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/2eab2541-c933-42e2-a9bb-e2c6bbbdaf36 2025-12-11 02:21:37,147 - 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.99 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.447 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.447/1.716/2.986/1.269 ms') 2025-12-11 02:21:37,147 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-21284553-74823605 passed 2025-12-11 02:21:37,299 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-11 02:21:37,299 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-21284553-74823605, IP 89.245.121.131, Port 22 2025-12-11 02:21:37,454 - DEBUG - VM ctest-TestRoutersBasic-21284553-74823605 is ready for SSH connections 2025-12-11 02:21:37,455 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-11 02:21:37,455 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 89.245.121.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-12-11 02:21:37,455 - DEBUG - ping -s 56 -c 3 -W 1 89.245.121.131 2025-12-11 02:21:41,158 - DEBUG - PING 89.245.121.131 (89.245.121.131): 56 data bytes 64 bytes from 89.245.121.131: seq=0 ttl=62 time=6.209 ms 64 bytes from 89.245.121.131: seq=1 ttl=62 time=1.007 ms 64 bytes from 89.245.121.131: seq=2 ttl=62 time=0.916 ms --- 89.245.121.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.916/2.710/6.209 ms 2025-12-11 02:21:41,158 - INFO - Ping to IP 89.245.121.131 from VM ctest-TestRoutersBasic-21284553-63656565 passed 2025-12-11 02:21:41,158 - INFO - Deleting interface with subnet_id d6d109e9-bea2-43c3-b972-f1ea6c62c5de, port_id None from router 9ebcffde-50d1-46ac-95b3-d4e6ed05d3e8 2025-12-11 02:21:41,331 - INFO - Deleting VM ctest-TestRoutersBasic-21284553-74823605 2025-12-11 02:21:41,406 - INFO - Deleting VM ctest-TestRoutersBasic-21284553-63656565 2025-12-11 02:21:41,479 - INFO - Deleting VN ctest-ext_vn-73286133 2025-12-11 02:21:41,543 - DEBUG - VN 09e85a8f-6fbe-409e-a682-33b121737045 still in use: Unable to complete operation on network 09e85a8f-6fbe-409e-a682-33b121737045. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-efb3a7e0-4342-4af8-a623-92ec94ce66b6'] 2025-12-11 02:21:41,544 - WARNING - Deleting VN ctest-ext_vn-73286133 failed..Will retry 2025-12-11 02:21:43,632 - DEBUG - Response for deleting network () 2025-12-11 02:21:43,632 - INFO - Deleting VN ctest-vn-24301408 2025-12-11 02:21:43,720 - DEBUG - Response for deleting network () 2025-12-11 02:21:43,976 - DEBUG - No XMPP flaps were noticed during the test
2025-12-11 02:21:43,976 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:24]
2025-12-11 02:21:43,977 - INFO - -------------------------------------------------------------------------------- 2025-12-11 02:21:44,643 - INFO - Deleted project: ctest-TestRoutersBasic-21284553, ID : 9e93544c-51d6-4000-8289-e4ad80294d0b