2025-11-10 10:15:47,248 - INFO - Domain Default found not creating 2025-11-10 10:15:47,396 - INFO - Project ctest-TestRoutersBasic-25063719 not found, creating it 2025-11-10 10:15:47,863 - INFO - Created Project:ctest-TestRoutersBasic-25063719, ID : b3054be0-1d02-4558-9b16-99a52eff3919 2025-11-10 10:15:49,422 - INFO - ================================================================================ 2025-11-10 10:15:49,423 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-10 10:15:49,423 - 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-11-10 10:15:49,678 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-11-10 10:15:49,678 - INFO - Initial checks done. Running the testcase now 2025-11-10 10:15:49,678 - INFO - 2025-11-10 10:15:50,438 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-25063719 2025-11-10 10:15:50,536 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-25063719 2025-11-10 10:15:50,860 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-25063719', 'default']} 2025-11-10 10:15:51,132 - DEBUG - Response for create_network : {'network': {'id': '10c3b7d8-4052-4950-a476-81ae9bcce490', 'name': 'ctest-vn-11195063', 'tenant_id': 'b3054be01d0245589b1699a52eff3919', 'project_id': 'b3054be01d0245589b1699a52eff3919', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-25063719', 'ctest-vn-11195063'], 'port_security_enabled': True, 'description': ''}} 2025-11-10 10:15:51,343 - DEBUG - Response for create_subnet : {'subnet': {'id': '04f31f58-b7ec-44ca-9c93-4adfc6ee4c9d', 'name': '', 'tenant_id': 'b3054be01d0245589b1699a52eff3919', 'network_id': '10c3b7d8-4052-4950-a476-81ae9bcce490', 'ip_version': 4, 'cidr': '178.172.139.0/26', 'allocation_pools': [{'start': '178.172.139.2', 'end': '178.172.139.62'}], 'gateway_ip': '178.172.139.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '178.172.139.2', 'tags': [], 'project_id': 'b3054be01d0245589b1699a52eff3919'}} 2025-11-10 10:15:51,357 - INFO - Created VN ctest-vn-11195063 2025-11-10 10:15:51,408 - DEBUG - VN ctest-vn-11195063 UUID is 10c3b7d8-4052-4950-a476-81ae9bcce490 2025-11-10 10:15:51,723 - DEBUG - Response for create_network : {'network': {'id': 'e88022be-284b-4d15-881b-396a920c445e', 'name': 'ctest-ext_vn-15949266', 'tenant_id': 'b3054be01d0245589b1699a52eff3919', 'project_id': 'b3054be01d0245589b1699a52eff3919', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-25063719', 'ctest-ext_vn-15949266'], 'port_security_enabled': True, 'description': ''}} 2025-11-10 10:15:51,912 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cc3295a3-5c74-41fb-ba2a-fb30006d07d9', 'name': '', 'tenant_id': 'b3054be01d0245589b1699a52eff3919', 'network_id': 'e88022be-284b-4d15-881b-396a920c445e', 'ip_version': 4, 'cidr': '7.60.140.192/26', 'allocation_pools': [{'start': '7.60.140.194', 'end': '7.60.140.254'}], 'gateway_ip': '7.60.140.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '7.60.140.194', 'tags': [], 'project_id': 'b3054be01d0245589b1699a52eff3919'}} 2025-11-10 10:15:51,928 - INFO - Created VN ctest-ext_vn-15949266 2025-11-10 10:15:51,980 - DEBUG - VN ctest-ext_vn-15949266 UUID is e88022be-284b-4d15-881b-396a920c445e 2025-11-10 10:15:52,180 - DEBUG - Services list from nova: [, , ] 2025-11-10 10:15:53,340 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4679-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4679-1) 2025-11-10 10:15:54,490 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4679-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4679-1) 2025-11-10 10:15:54,560 - INFO - Setting gateway for router e99493b5-7b58-4434-80d3-bca0fecd1d7e to network e88022be-284b-4d15-881b-396a920c445e 2025-11-10 10:15:54,602 - INFO - Adding interface with subnet_id 04f31f58-b7ec-44ca-9c93-4adfc6ee4c9d, port_id None to router e99493b5-7b58-4434-80d3-bca0fecd1d7e 2025-11-10 10:15:54,873 - INFO - Waiting for VM ctest-TestRoutersBasic-25063719-08700704 to be up.. 2025-11-10 10:15:54,973 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-10 10:16:00,052 - DEBUG - VM is in ACTIVE state now 2025-11-10 10:16:00,052 - INFO - VM name : ctest-TestRoutersBasic-25063719-08700704 2025-11-10 10:16:00,139 - DEBUG - VM ctest-TestRoutersBasic-25063719-08700704 ID is fb83531c-2fe1-4a17-b6da-e6c63d63e5e3 2025-11-10 10:16:00,160 - DEBUG - VM ctest-TestRoutersBasic-25063719-08700704 launched on Node cn-jenkins-deploy-platform-ansible-os-4679-1 2025-11-10 10:16:00,232 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/fb83531c-2fe1-4a17-b6da-e6c63d63e5e3 2025-11-10 10:16:00,554 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/fb83531c-2fe1-4a17-b6da-e6c63d63e5e3 2025-11-10 10:16:00,587 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/78319693-3570-46e4-97c1-485a512c5ee3 2025-11-10 10:16:01,829 - 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=16.3 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.04 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 = 2.038/9.154/16.271/7.116 ms') 2025-11-10 10:16:01,829 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-25063719-08700704 passed 2025-11-10 10:16:01,984 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 10:16:01,984 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-25063719-08700704, IP 178.172.139.3, Port 22 2025-11-10 10:16:02,140 - DEBUG - VM ctest-TestRoutersBasic-25063719-08700704 is ready for SSH connections 2025-11-10 10:16:02,140 - INFO - Waiting for VM ctest-TestRoutersBasic-25063719-32880191 to be up.. 2025-11-10 10:16:02,211 - DEBUG - VM is in ACTIVE state now 2025-11-10 10:16:02,211 - INFO - VM name : ctest-TestRoutersBasic-25063719-32880191 2025-11-10 10:16:02,281 - DEBUG - VM ctest-TestRoutersBasic-25063719-32880191 ID is ded414a1-7164-4aff-860d-ffe6a45b1836 2025-11-10 10:16:02,281 - DEBUG - VM ctest-TestRoutersBasic-25063719-32880191 launched on Node cn-jenkins-deploy-platform-ansible-os-4679-1 2025-11-10 10:16:02,350 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/ded414a1-7164-4aff-860d-ffe6a45b1836 2025-11-10 10:16:02,357 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/20ed3f52-6c7a-43a9-8f58-56230e13bdd3 2025-11-10 10:16:03,590 - 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=6.39 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.506 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.506/3.447/6.389/2.941 ms') 2025-11-10 10:16:03,590 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-25063719-32880191 passed 2025-11-10 10:16:03,744 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 10:16:03,744 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-25063719-32880191, IP 7.60.140.195, Port 22 2025-11-10 10:16:03,903 - DEBUG - VM ctest-TestRoutersBasic-25063719-32880191 is ready for SSH connections 2025-11-10 10:16:03,904 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 10:16:03,904 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 7.60.140.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-10 10:16:03,904 - DEBUG - ping -s 56 -c 3 -W 1 7.60.140.195 2025-11-10 10:16:07,511 - DEBUG - PING 7.60.140.195 (7.60.140.195): 56 data bytes 64 bytes from 7.60.140.195: seq=0 ttl=62 time=4.691 ms 64 bytes from 7.60.140.195: seq=1 ttl=62 time=1.048 ms 64 bytes from 7.60.140.195: seq=2 ttl=62 time=1.008 ms --- 7.60.140.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.008/2.249/4.691 ms 2025-11-10 10:16:07,511 - INFO - Ping to IP 7.60.140.195 from VM ctest-TestRoutersBasic-25063719-08700704 passed 2025-11-10 10:16:07,511 - INFO - Deleting interface with subnet_id 04f31f58-b7ec-44ca-9c93-4adfc6ee4c9d, port_id None from router e99493b5-7b58-4434-80d3-bca0fecd1d7e 2025-11-10 10:16:07,678 - INFO - Deleting VM ctest-TestRoutersBasic-25063719-32880191 2025-11-10 10:16:07,757 - INFO - Deleting VM ctest-TestRoutersBasic-25063719-08700704 2025-11-10 10:16:07,833 - INFO - Deleting VN ctest-ext_vn-15949266 2025-11-10 10:16:07,918 - DEBUG - VN e88022be-284b-4d15-881b-396a920c445e still in use: Unable to complete operation on network e88022be-284b-4d15-881b-396a920c445e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d4c30aea-067d-47de-8818-295a62f77ce4'] 2025-11-10 10:16:07,918 - WARNING - Deleting VN ctest-ext_vn-15949266 failed..Will retry 2025-11-10 10:16:10,017 - DEBUG - Response for deleting network () 2025-11-10 10:16:10,017 - INFO - Deleting VN ctest-vn-11195063 2025-11-10 10:16:10,108 - DEBUG - Response for deleting network () 2025-11-10 10:16:10,366 - DEBUG - No XMPP flaps were noticed during the test
2025-11-10 10:16:10,366 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:21]
2025-11-10 10:16:10,366 - INFO - -------------------------------------------------------------------------------- 2025-11-10 10:16:11,062 - INFO - Deleted project: ctest-TestRoutersBasic-25063719, ID : b3054be0-1d02-4558-9b16-99a52eff3919