2025-10-29 11:45:06,006 - INFO - Domain Default found not creating 2025-10-29 11:45:06,208 - INFO - Project ctest-TestRoutersBasic-49222744 not found, creating it 2025-10-29 11:45:06,861 - INFO - Created Project:ctest-TestRoutersBasic-49222744, ID : 97cb2df1-fccf-41b4-bb76-02bc7efd65ef 2025-10-29 11:45:08,447 - INFO - ================================================================================ 2025-10-29 11:45:08,448 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-29 11:45:08,448 - 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-10-29 11:45:09,733 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.17': '0', '10.20.0.254': '0'}, '10.0.0.50': {'10.20.0.254': '0', '10.20.0.14': '0'}} with 2025-10-29 11:45:09,733 - INFO - Initial checks done. Running the testcase now 2025-10-29 11:45:09,733 - INFO - 2025-10-29 11:45:10,499 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-49222744 2025-10-29 11:45:10,557 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-49222744 2025-10-29 11:45:10,900 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-49222744', 'default']} 2025-10-29 11:45:11,338 - DEBUG - Response for create_network : {'network': {'id': '7afddb5f-d31d-437e-888b-0f68674729c9', 'name': 'ctest-vn-76113127', 'tenant_id': '97cb2df1fccf41b4bb7602bc7efd65ef', 'project_id': '97cb2df1fccf41b4bb7602bc7efd65ef', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-49222744', 'ctest-vn-76113127'], 'port_security_enabled': True, 'description': ''}} 2025-10-29 11:45:11,597 - DEBUG - Response for create_subnet : {'subnet': {'id': '9bb62ecb-df35-42d2-a6bc-15e02fde9f36', 'name': '', 'tenant_id': '97cb2df1fccf41b4bb7602bc7efd65ef', 'network_id': '7afddb5f-d31d-437e-888b-0f68674729c9', 'ip_version': 4, 'cidr': '29.200.139.0/26', 'allocation_pools': [{'start': '29.200.139.2', 'end': '29.200.139.62'}], 'gateway_ip': '29.200.139.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '29.200.139.2', 'tags': [], 'project_id': '97cb2df1fccf41b4bb7602bc7efd65ef'}} 2025-10-29 11:45:11,622 - INFO - Created VN ctest-vn-76113127 2025-10-29 11:45:11,634 - DEBUG - VN ctest-vn-76113127 UUID is 7afddb5f-d31d-437e-888b-0f68674729c9 2025-10-29 11:45:12,076 - DEBUG - Response for create_network : {'network': {'id': 'ac9aa35a-22cf-455d-9c22-d05151858dab', 'name': 'ctest-ext_vn-58113918', 'tenant_id': '97cb2df1fccf41b4bb7602bc7efd65ef', 'project_id': '97cb2df1fccf41b4bb7602bc7efd65ef', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-49222744', 'ctest-ext_vn-58113918'], 'port_security_enabled': True, 'description': ''}} 2025-10-29 11:45:12,325 - DEBUG - Response for create_subnet : {'subnet': {'id': '46b70792-b03b-4398-8ea2-208b733ef767', 'name': '', 'tenant_id': '97cb2df1fccf41b4bb7602bc7efd65ef', 'network_id': 'ac9aa35a-22cf-455d-9c22-d05151858dab', 'ip_version': 4, 'cidr': '107.46.11.64/26', 'allocation_pools': [{'start': '107.46.11.66', 'end': '107.46.11.126'}], 'gateway_ip': '107.46.11.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.46.11.66', 'tags': [], 'project_id': '97cb2df1fccf41b4bb7602bc7efd65ef'}} 2025-10-29 11:45:12,348 - INFO - Created VN ctest-ext_vn-58113918 2025-10-29 11:45:12,363 - DEBUG - VN ctest-ext_vn-58113918 UUID is ac9aa35a-22cf-455d-9c22-d05151858dab 2025-10-29 11:45:12,499 - DEBUG - Services list from nova: [, , , ] 2025-10-29 11:45:13,620 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4521-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4521-2) 2025-10-29 11:45:15,027 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4521-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4521-1) 2025-10-29 11:45:15,132 - INFO - Setting gateway for router c2fdec10-b297-4b10-b912-ab50539a5dd6 to network ac9aa35a-22cf-455d-9c22-d05151858dab 2025-10-29 11:45:15,255 - INFO - Adding interface with subnet_id 9bb62ecb-df35-42d2-a6bc-15e02fde9f36, port_id None to router c2fdec10-b297-4b10-b912-ab50539a5dd6 2025-10-29 11:45:15,790 - INFO - Waiting for VM ctest-TestRoutersBasic-49222744-63628960 to be up.. 2025-10-29 11:45:15,949 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-29 11:45:21,043 - DEBUG - VM is in ACTIVE state now 2025-10-29 11:45:21,043 - INFO - VM name : ctest-TestRoutersBasic-49222744-63628960 2025-10-29 11:45:21,141 - DEBUG - VM ctest-TestRoutersBasic-49222744-63628960 ID is a4a13127-6e7e-46f6-bf13-7e2be7879a13 2025-10-29 11:45:21,173 - DEBUG - VM ctest-TestRoutersBasic-49222744-63628960 launched on Node an-jenkins-deploy-platform-ansible-os-4521-2 2025-10-29 11:45:21,272 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/a4a13127-6e7e-46f6-bf13-7e2be7879a13 2025-10-29 11:45:21,586 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/a4a13127-6e7e-46f6-bf13-7e2be7879a13 2025-10-29 11:45:21,625 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/7630c547-7051-4cc1-8ea8-d8a3e19ebe44 2025-10-29 11:45:24,820 - 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 1031ms') 2025-10-29 11:45:24,820 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-49222744-63628960 failed! 2025-10-29 11:45:24,836 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-49222744:ctest-vn-76113127 is 29.200.139.1 and allocation pool is NOT set 2025-10-29 11:45:26,898 - 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.38 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.479 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.479/1.927/3.375/1.448 ms') 2025-10-29 11:45:26,898 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-49222744-63628960 passed 2025-10-29 11:45:26,970 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 11:45:26,970 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-49222744-63628960, IP 29.200.139.3, Port 22 2025-10-29 11:45:27,131 - DEBUG - VM ctest-TestRoutersBasic-49222744-63628960 is ready for SSH connections 2025-10-29 11:45:27,131 - INFO - Waiting for VM ctest-TestRoutersBasic-49222744-45852040 to be up.. 2025-10-29 11:45:27,233 - DEBUG - VM is in ACTIVE state now 2025-10-29 11:45:27,233 - INFO - VM name : ctest-TestRoutersBasic-49222744-45852040 2025-10-29 11:45:27,318 - DEBUG - VM ctest-TestRoutersBasic-49222744-45852040 ID is 207807f7-7180-45ec-95f5-22c8d03c22a2 2025-10-29 11:45:27,319 - DEBUG - VM ctest-TestRoutersBasic-49222744-45852040 launched on Node an-jenkins-deploy-platform-ansible-os-4521-1 2025-10-29 11:45:27,411 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/207807f7-7180-45ec-95f5-22c8d03c22a2 2025-10-29 11:45:27,422 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/008adc19-5ff6-49c8-8d0b-11375273ba1f 2025-10-29 11:45:28,587 - 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.16 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.802 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.802/2.478/4.155/1.676 ms') 2025-10-29 11:45:28,587 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-49222744-45852040 passed 2025-10-29 11:45:28,658 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 11:45:28,658 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-49222744-45852040, IP 107.46.11.67, Port 22 2025-10-29 11:45:28,822 - DEBUG - VM ctest-TestRoutersBasic-49222744-45852040 is ready for SSH connections 2025-10-29 11:45:28,823 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 11:45:28,823 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 107.46.11.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-10-29 11:45:28,823 - DEBUG - ping -s 56 -c 3 -W 1 107.46.11.67 2025-10-29 11:45:32,498 - DEBUG - PING 107.46.11.67 (107.46.11.67): 56 data bytes 64 bytes from 107.46.11.67: seq=0 ttl=62 time=9.381 ms 64 bytes from 107.46.11.67: seq=1 ttl=62 time=1.221 ms 64 bytes from 107.46.11.67: seq=2 ttl=62 time=1.348 ms --- 107.46.11.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.221/3.983/9.381 ms 2025-10-29 11:45:32,499 - INFO - Ping to IP 107.46.11.67 from VM ctest-TestRoutersBasic-49222744-63628960 passed 2025-10-29 11:45:32,499 - INFO - Deleting interface with subnet_id 9bb62ecb-df35-42d2-a6bc-15e02fde9f36, port_id None from router c2fdec10-b297-4b10-b912-ab50539a5dd6 2025-10-29 11:45:32,860 - INFO - Deleting VM ctest-TestRoutersBasic-49222744-45852040 2025-10-29 11:45:32,975 - INFO - Deleting VM ctest-TestRoutersBasic-49222744-63628960 2025-10-29 11:45:33,094 - INFO - Deleting VN ctest-ext_vn-58113918 2025-10-29 11:45:33,229 - DEBUG - VN ac9aa35a-22cf-455d-9c22-d05151858dab still in use: Unable to complete operation on network ac9aa35a-22cf-455d-9c22-d05151858dab. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5803e88e-7b56-4d46-9da6-d46b6452493d'] 2025-10-29 11:45:33,229 - WARNING - Deleting VN ctest-ext_vn-58113918 failed..Will retry 2025-10-29 11:45:35,399 - DEBUG - Response for deleting network () 2025-10-29 11:45:35,399 - INFO - Deleting VN ctest-vn-76113127 2025-10-29 11:45:35,561 - DEBUG - Response for deleting network () 2025-10-29 11:45:36,820 - DEBUG - No XMPP flaps were noticed during the test 2025-10-29 11:45:36,821 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:28] 2025-10-29 11:45:36,821 - INFO - -------------------------------------------------------------------------------- 2025-10-29 11:45:37,579 - INFO - Deleted project: ctest-TestRoutersBasic-49222744, ID : 97cb2df1-fccf-41b4-bb76-02bc7efd65ef