2025-08-11 02:32:19,272 - INFO - Domain Default found not creating 2025-08-11 02:32:19,428 - INFO - Project ctest-TestRoutersBasic-84082442 not found, creating it 2025-08-11 02:32:19,913 - INFO - Created Project:ctest-TestRoutersBasic-84082442, ID : 47cfaab8-3144-4774-a140-ea76e5ba78e7 2025-08-11 02:32:21,246 - INFO - ================================================================================ 2025-08-11 02:32:21,246 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-11 02:32:21,246 - 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-11 02:32:22,485 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.18': '0', '10.20.0.129': '0'}, '10.0.0.65': {'10.20.0.129': '0', '10.20.0.25': '0'}} with 2025-08-11 02:32:22,485 - INFO - Initial checks done. Running the testcase now 2025-08-11 02:32:22,485 - INFO - 2025-08-11 02:32:23,171 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-84082442 2025-08-11 02:32:23,228 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-84082442 2025-08-11 02:32:23,547 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-84082442', 'default']} 2025-08-11 02:32:23,966 - DEBUG - Response for create_network : {'network': {'id': 'a5780e45-0bb9-4cad-94cc-331ad8fb2876', 'name': 'ctest-vn-79759838', 'tenant_id': '47cfaab831444774a140ea76e5ba78e7', 'project_id': '47cfaab831444774a140ea76e5ba78e7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-84082442', 'ctest-vn-79759838'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 02:32:24,258 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f4b3e900-9725-49ef-8911-b0456e504c72', 'name': '', 'tenant_id': '47cfaab831444774a140ea76e5ba78e7', 'network_id': 'a5780e45-0bb9-4cad-94cc-331ad8fb2876', 'ip_version': 4, 'cidr': '218.203.20.64/26', 'allocation_pools': [{'start': '218.203.20.66', 'end': '218.203.20.126'}], 'gateway_ip': '218.203.20.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '218.203.20.66', 'tags': [], 'project_id': '47cfaab831444774a140ea76e5ba78e7'}} 2025-08-11 02:32:24,277 - INFO - Created VN ctest-vn-79759838 2025-08-11 02:32:24,288 - DEBUG - VN ctest-vn-79759838 UUID is a5780e45-0bb9-4cad-94cc-331ad8fb2876 2025-08-11 02:32:24,729 - DEBUG - Response for create_network : {'network': {'id': '0237a295-f01b-4f03-8c5b-7fe3d674c9d8', 'name': 'ctest-ext_vn-79831333', 'tenant_id': '47cfaab831444774a140ea76e5ba78e7', 'project_id': '47cfaab831444774a140ea76e5ba78e7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-84082442', 'ctest-ext_vn-79831333'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 02:32:24,931 - DEBUG - Response for create_subnet : {'subnet': {'id': '45ecd982-7a2b-40c5-9166-169c61147d1a', 'name': '', 'tenant_id': '47cfaab831444774a140ea76e5ba78e7', 'network_id': '0237a295-f01b-4f03-8c5b-7fe3d674c9d8', 'ip_version': 4, 'cidr': '215.199.231.0/26', 'allocation_pools': [{'start': '215.199.231.2', 'end': '215.199.231.62'}], 'gateway_ip': '215.199.231.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '215.199.231.2', 'tags': [], 'project_id': '47cfaab831444774a140ea76e5ba78e7'}} 2025-08-11 02:32:24,951 - INFO - Created VN ctest-ext_vn-79831333 2025-08-11 02:32:24,966 - DEBUG - VN ctest-ext_vn-79831333 UUID is 0237a295-f01b-4f03-8c5b-7fe3d674c9d8 2025-08-11 02:32:25,104 - DEBUG - Services list from nova: [, , , ] 2025-08-11 02:32:26,164 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3794-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3794-2) 2025-08-11 02:32:27,573 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3794-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3794-1) 2025-08-11 02:32:27,688 - INFO - Setting gateway for router a3fae2f8-b2a5-4a7f-b8d0-2ce829473e3c to network 0237a295-f01b-4f03-8c5b-7fe3d674c9d8 2025-08-11 02:32:27,750 - INFO - Adding interface with subnet_id f4b3e900-9725-49ef-8911-b0456e504c72, port_id None to router a3fae2f8-b2a5-4a7f-b8d0-2ce829473e3c 2025-08-11 02:32:28,081 - INFO - Waiting for VM ctest-TestRoutersBasic-84082442-13436746 to be up.. 2025-08-11 02:32:28,203 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 02:32:33,277 - DEBUG - VM is in ACTIVE state now 2025-08-11 02:32:33,277 - INFO - VM name : ctest-TestRoutersBasic-84082442-13436746 2025-08-11 02:32:33,345 - DEBUG - VM ctest-TestRoutersBasic-84082442-13436746 ID is 44528246-ec46-455e-96ab-51112333f60a 2025-08-11 02:32:33,367 - DEBUG - VM ctest-TestRoutersBasic-84082442-13436746 launched on Node an-jenkins-deploy-platform-ansible-os-3794-2 2025-08-11 02:32:33,436 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/44528246-ec46-455e-96ab-51112333f60a 2025-08-11 02:32:33,726 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/44528246-ec46-455e-96ab-51112333f60a 2025-08-11 02:32:33,759 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/8779cc57-0932-47c7-95dd-e7ae1809fa24 2025-08-11 02:32:36,971 - 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 1019ms') 2025-08-11 02:32:36,971 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-84082442-13436746 failed! 2025-08-11 02:32:36,984 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-84082442:ctest-vn-79759838 is 218.203.20.65 and allocation pool is NOT set 2025-08-11 02:32:39,048 - 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=3.87 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.401 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.401/2.135/3.870/1.734 ms') 2025-08-11 02:32:39,048 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-84082442-13436746 passed 2025-08-11 02:32:39,162 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 02:32:39,162 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-84082442-13436746, IP 218.203.20.67, Port 22 2025-08-11 02:32:39,317 - DEBUG - VM ctest-TestRoutersBasic-84082442-13436746 is ready for SSH connections 2025-08-11 02:32:39,317 - INFO - Waiting for VM ctest-TestRoutersBasic-84082442-53588664 to be up.. 2025-08-11 02:32:39,385 - DEBUG - VM is in ACTIVE state now 2025-08-11 02:32:39,385 - INFO - VM name : ctest-TestRoutersBasic-84082442-53588664 2025-08-11 02:32:39,454 - DEBUG - VM ctest-TestRoutersBasic-84082442-53588664 ID is 1e6a88cd-c824-4adf-b4ea-a469ae3bc11a 2025-08-11 02:32:39,454 - DEBUG - VM ctest-TestRoutersBasic-84082442-53588664 launched on Node an-jenkins-deploy-platform-ansible-os-3794-1 2025-08-11 02:32:39,533 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/1e6a88cd-c824-4adf-b4ea-a469ae3bc11a 2025-08-11 02:32:39,543 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/f315000e-bbfa-4db7-8496-ee7e08e39239 2025-08-11 02:32:40,747 - 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.80 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.787 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.787/2.792/4.798/2.005 ms') 2025-08-11 02:32:40,747 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-84082442-53588664 passed 2025-08-11 02:32:40,860 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 02:32:40,860 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-84082442-53588664, IP 215.199.231.4, Port 22 2025-08-11 02:32:41,019 - DEBUG - VM ctest-TestRoutersBasic-84082442-53588664 is ready for SSH connections 2025-08-11 02:32:41,019 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 02:32:41,020 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 215.199.231.4, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-08-11 02:32:41,020 - DEBUG - ping -s 56 -c 3 -W 1 215.199.231.4 2025-08-11 02:32:44,896 - DEBUG - PING 215.199.231.4 (215.199.231.4): 56 data bytes 64 bytes from 215.199.231.4: seq=0 ttl=62 time=7.399 ms 64 bytes from 215.199.231.4: seq=1 ttl=62 time=1.006 ms 64 bytes from 215.199.231.4: seq=2 ttl=62 time=0.952 ms --- 215.199.231.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.952/3.119/7.399 ms 2025-08-11 02:32:44,896 - INFO - Ping to IP 215.199.231.4 from VM ctest-TestRoutersBasic-84082442-13436746 passed 2025-08-11 02:32:44,896 - INFO - Deleting interface with subnet_id f4b3e900-9725-49ef-8911-b0456e504c72, port_id None from router a3fae2f8-b2a5-4a7f-b8d0-2ce829473e3c 2025-08-11 02:32:45,172 - INFO - Deleting VM ctest-TestRoutersBasic-84082442-53588664 2025-08-11 02:32:45,249 - INFO - Deleting VM ctest-TestRoutersBasic-84082442-13436746 2025-08-11 02:32:45,329 - INFO - Deleting VN ctest-ext_vn-79831333 2025-08-11 02:32:45,427 - DEBUG - VN 0237a295-f01b-4f03-8c5b-7fe3d674c9d8 still in use: Unable to complete operation on network 0237a295-f01b-4f03-8c5b-7fe3d674c9d8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-25541d37-9004-4060-9224-a9e6d8b4cc6d'] 2025-08-11 02:32:45,427 - WARNING - Deleting VN ctest-ext_vn-79831333 failed..Will retry 2025-08-11 02:32:47,572 - DEBUG - Response for deleting network () 2025-08-11 02:32:47,572 - INFO - Deleting VN ctest-vn-79759838 2025-08-11 02:32:47,740 - DEBUG - Response for deleting network () 2025-08-11 02:32:48,993 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 02:32:48,993 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2025-08-11 02:32:48,993 - INFO - -------------------------------------------------------------------------------- 2025-08-11 02:32:49,812 - INFO - Deleted project: ctest-TestRoutersBasic-84082442, ID : 47cfaab8-3144-4774-a140-ea76e5ba78e7