2025-08-06 07:56:51,371 - INFO - Domain Default found not creating 2025-08-06 07:56:51,549 - INFO - Project ctest-TestRoutersBasic-35016241 not found, creating it 2025-08-06 07:56:52,143 - INFO - Created Project:ctest-TestRoutersBasic-35016241, ID : b78818a7-c920-4ce7-a8fb-98988b4038b4 2025-08-06 07:56:53,809 - INFO - ================================================================================ 2025-08-06 07:56:53,809 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-06 07:56:53,809 - 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-06 07:56:55,112 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.25': '0', '10.20.0.14': '0'}, '10.0.0.57': {'10.20.0.14': '0', '10.20.0.254': '0'}} with 2025-08-06 07:56:55,112 - INFO - Initial checks done. Running the testcase now 2025-08-06 07:56:55,112 - INFO - 2025-08-06 07:56:55,852 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-35016241 2025-08-06 07:56:55,917 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-35016241 2025-08-06 07:56:56,247 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-35016241', 'default']} 2025-08-06 07:56:56,668 - DEBUG - Response for create_network : {'network': {'id': '93026e11-aeef-4ff7-b2eb-210d0c6691b9', 'name': 'ctest-vn-83606202', 'tenant_id': 'b78818a7c9204ce7a8fb98988b4038b4', 'project_id': 'b78818a7c9204ce7a8fb98988b4038b4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-35016241', 'ctest-vn-83606202'], 'port_security_enabled': True, 'description': ''}} 2025-08-06 07:56:56,915 - DEBUG - Response for create_subnet : {'subnet': {'id': 'be3847bd-bcc6-4f80-b3c8-718af2ffe589', 'name': '', 'tenant_id': 'b78818a7c9204ce7a8fb98988b4038b4', 'network_id': '93026e11-aeef-4ff7-b2eb-210d0c6691b9', 'ip_version': 4, 'cidr': '34.131.242.128/26', 'allocation_pools': [{'start': '34.131.242.130', 'end': '34.131.242.190'}], 'gateway_ip': '34.131.242.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '34.131.242.130', 'tags': [], 'project_id': 'b78818a7c9204ce7a8fb98988b4038b4'}} 2025-08-06 07:56:56,944 - INFO - Created VN ctest-vn-83606202 2025-08-06 07:56:56,958 - DEBUG - VN ctest-vn-83606202 UUID is 93026e11-aeef-4ff7-b2eb-210d0c6691b9 2025-08-06 07:56:57,394 - DEBUG - Response for create_network : {'network': {'id': '667d5bfd-5b2a-4b86-a020-00bfe66a56b8', 'name': 'ctest-ext_vn-96004095', 'tenant_id': 'b78818a7c9204ce7a8fb98988b4038b4', 'project_id': 'b78818a7c9204ce7a8fb98988b4038b4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-35016241', 'ctest-ext_vn-96004095'], 'port_security_enabled': True, 'description': ''}} 2025-08-06 07:56:57,685 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd0cc0740-ce3b-4456-bc77-4a93783d5607', 'name': '', 'tenant_id': 'b78818a7c9204ce7a8fb98988b4038b4', 'network_id': '667d5bfd-5b2a-4b86-a020-00bfe66a56b8', 'ip_version': 4, 'cidr': '206.219.108.64/26', 'allocation_pools': [{'start': '206.219.108.66', 'end': '206.219.108.126'}], 'gateway_ip': '206.219.108.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '206.219.108.66', 'tags': [], 'project_id': 'b78818a7c9204ce7a8fb98988b4038b4'}} 2025-08-06 07:56:57,711 - INFO - Created VN ctest-ext_vn-96004095 2025-08-06 07:56:57,728 - DEBUG - VN ctest-ext_vn-96004095 UUID is 667d5bfd-5b2a-4b86-a020-00bfe66a56b8 2025-08-06 07:56:57,976 - DEBUG - Services list from nova: [, , , ] 2025-08-06 07:56:59,202 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3761-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3761-1) 2025-08-06 07:57:00,725 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3761-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3761-2) 2025-08-06 07:57:00,872 - INFO - Setting gateway for router 095ad8d1-c43b-4795-9b61-e8fcd4fc0122 to network 667d5bfd-5b2a-4b86-a020-00bfe66a56b8 2025-08-06 07:57:01,027 - INFO - Adding interface with subnet_id be3847bd-bcc6-4f80-b3c8-718af2ffe589, port_id None to router 095ad8d1-c43b-4795-9b61-e8fcd4fc0122 2025-08-06 07:57:01,718 - INFO - Waiting for VM ctest-TestRoutersBasic-35016241-09874976 to be up.. 2025-08-06 07:57:01,923 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-06 07:57:07,063 - DEBUG - VM is in ACTIVE state now 2025-08-06 07:57:07,063 - INFO - VM name : ctest-TestRoutersBasic-35016241-09874976 2025-08-06 07:57:07,169 - DEBUG - VM ctest-TestRoutersBasic-35016241-09874976 ID is c427c6cb-3570-4bfd-8dc5-e5add909d9e5 2025-08-06 07:57:07,203 - DEBUG - VM ctest-TestRoutersBasic-35016241-09874976 launched on Node an-jenkins-deploy-platform-ansible-os-3761-1 2025-08-06 07:57:07,308 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c427c6cb-3570-4bfd-8dc5-e5add909d9e5 2025-08-06 07:57:07,609 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c427c6cb-3570-4bfd-8dc5-e5add909d9e5 2025-08-06 07:57:07,647 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/04a1acc5-41f8-42fd-9ef1-8cc837792ca7 2025-08-06 07:57:10,876 - 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=2 ttl=63 time=3.31 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1015ms\r\nrtt min/avg/max/mdev = 3.306/3.306/3.306/0.000 ms') 2025-08-06 07:57:10,876 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-35016241-09874976 passed 2025-08-06 07:57:11,001 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 07:57:11,001 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-35016241-09874976, IP 34.131.242.131, Port 22 2025-08-06 07:57:11,161 - DEBUG - VM ctest-TestRoutersBasic-35016241-09874976 is ready for SSH connections 2025-08-06 07:57:11,161 - INFO - Waiting for VM ctest-TestRoutersBasic-35016241-39208715 to be up.. 2025-08-06 07:57:11,264 - DEBUG - VM is in ACTIVE state now 2025-08-06 07:57:11,264 - INFO - VM name : ctest-TestRoutersBasic-35016241-39208715 2025-08-06 07:57:11,368 - DEBUG - VM ctest-TestRoutersBasic-35016241-39208715 ID is d38ff641-fb2e-4bb2-ba44-e89daf1b0a34 2025-08-06 07:57:11,369 - DEBUG - VM ctest-TestRoutersBasic-35016241-39208715 launched on Node an-jenkins-deploy-platform-ansible-os-3761-2 2025-08-06 07:57:11,480 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d38ff641-fb2e-4bb2-ba44-e89daf1b0a34 2025-08-06 07:57:11,493 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/1f513fc0-999e-450c-966c-fea1553a62c9 2025-08-06 07:57:14,757 - 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 1030ms') 2025-08-06 07:57:14,757 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-35016241-39208715 failed! 2025-08-06 07:57:14,777 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-35016241:ctest-ext_vn-96004095 is 206.219.108.65 and allocation pool is NOT set 2025-08-06 07:57:16,846 - 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.74 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.609 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.609/2.675/4.742/2.066 ms') 2025-08-06 07:57:16,846 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-35016241-39208715 passed 2025-08-06 07:57:16,961 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 07:57:16,961 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-35016241-39208715, IP 206.219.108.67, Port 22 2025-08-06 07:57:17,141 - DEBUG - VM ctest-TestRoutersBasic-35016241-39208715 is ready for SSH connections 2025-08-06 07:57:17,141 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 07:57:17,141 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 206.219.108.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-08-06 07:57:17,142 - DEBUG - ping -s 56 -c 3 -W 1 206.219.108.67 2025-08-06 07:57:20,990 - DEBUG - PING 206.219.108.67 (206.219.108.67): 56 data bytes 64 bytes from 206.219.108.67: seq=0 ttl=62 time=8.853 ms 64 bytes from 206.219.108.67: seq=1 ttl=62 time=1.339 ms 64 bytes from 206.219.108.67: seq=2 ttl=62 time=1.222 ms --- 206.219.108.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.222/3.804/8.853 ms 2025-08-06 07:57:20,990 - INFO - Ping to IP 206.219.108.67 from VM ctest-TestRoutersBasic-35016241-09874976 passed 2025-08-06 07:57:20,990 - INFO - Deleting interface with subnet_id be3847bd-bcc6-4f80-b3c8-718af2ffe589, port_id None from router 095ad8d1-c43b-4795-9b61-e8fcd4fc0122 2025-08-06 07:57:21,538 - INFO - Deleting VM ctest-TestRoutersBasic-35016241-39208715 2025-08-06 07:57:21,718 - INFO - Deleting VM ctest-TestRoutersBasic-35016241-09874976 2025-08-06 07:57:21,959 - INFO - Deleting VN ctest-ext_vn-96004095 2025-08-06 07:57:22,112 - DEBUG - VN 667d5bfd-5b2a-4b86-a020-00bfe66a56b8 still in use: Unable to complete operation on network 667d5bfd-5b2a-4b86-a020-00bfe66a56b8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3d952196-54b5-417c-8506-8b043d65afb9'] 2025-08-06 07:57:22,112 - WARNING - Deleting VN ctest-ext_vn-96004095 failed..Will retry 2025-08-06 07:57:24,365 - DEBUG - Response for deleting network () 2025-08-06 07:57:24,365 - INFO - Deleting VN ctest-vn-83606202 2025-08-06 07:57:24,557 - DEBUG - Response for deleting network () 2025-08-06 07:57:25,839 - DEBUG - No XMPP flaps were noticed during the test
2025-08-06 07:57:25,839 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:32]
2025-08-06 07:57:25,839 - INFO - -------------------------------------------------------------------------------- 2025-08-06 07:57:26,601 - INFO - Deleted project: ctest-TestRoutersBasic-35016241, ID : b78818a7-c920-4ce7-a8fb-98988b4038b4