2026-02-09 13:02:49,850 - INFO - Domain Default found not creating 2026-02-09 13:02:50,047 - INFO - Project ctest-TestRoutersBasic-95265398 not found, creating it 2026-02-09 13:02:50,524 - INFO - Created Project:ctest-TestRoutersBasic-95265398, ID : c7e20eb1-d70d-4392-b910-74d78796c4aa 2026-02-09 13:02:52,122 - INFO - ================================================================================ 2026-02-09 13:02:52,123 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-09 13:02:52,123 - 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 2026-02-09 13:02:52,380 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.17': '0'}} with 2026-02-09 13:02:52,380 - INFO - Initial checks done. Running the testcase now 2026-02-09 13:02:52,380 - INFO - 2026-02-09 13:02:53,124 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-95265398 2026-02-09 13:02:53,218 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-95265398 2026-02-09 13:02:53,546 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-95265398', 'default']} 2026-02-09 13:02:53,847 - DEBUG - Response for create_network : {'network': {'id': 'c9982bac-039c-4120-96e6-b0223414577b', 'name': 'ctest-vn-64354309', 'tenant_id': 'c7e20eb1d70d4392b91074d78796c4aa', 'project_id': 'c7e20eb1d70d4392b91074d78796c4aa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-95265398', 'ctest-vn-64354309'], 'port_security_enabled': True, 'description': ''}} 2026-02-09 13:02:54,068 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e9354ef0-d4e6-4205-8c0b-f129cc3c5488', 'name': '', 'tenant_id': 'c7e20eb1d70d4392b91074d78796c4aa', 'network_id': 'c9982bac-039c-4120-96e6-b0223414577b', 'ip_version': 4, 'cidr': '158.143.207.192/26', 'allocation_pools': [{'start': '158.143.207.194', 'end': '158.143.207.254'}], 'gateway_ip': '158.143.207.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '158.143.207.194', 'tags': [], 'project_id': 'c7e20eb1d70d4392b91074d78796c4aa'}} 2026-02-09 13:02:54,089 - INFO - Created VN ctest-vn-64354309 2026-02-09 13:02:54,142 - DEBUG - VN ctest-vn-64354309 UUID is c9982bac-039c-4120-96e6-b0223414577b 2026-02-09 13:02:54,475 - DEBUG - Response for create_network : {'network': {'id': '7caf5907-9056-4802-b7ee-01d4ccda00e2', 'name': 'ctest-ext_vn-05022640', 'tenant_id': 'c7e20eb1d70d4392b91074d78796c4aa', 'project_id': 'c7e20eb1d70d4392b91074d78796c4aa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-95265398', 'ctest-ext_vn-05022640'], 'port_security_enabled': True, 'description': ''}} 2026-02-09 13:02:54,642 - DEBUG - Response for create_subnet : {'subnet': {'id': '667ec40d-591e-4e73-a28b-b5a1a3b78bbc', 'name': '', 'tenant_id': 'c7e20eb1d70d4392b91074d78796c4aa', 'network_id': '7caf5907-9056-4802-b7ee-01d4ccda00e2', 'ip_version': 4, 'cidr': '145.238.190.0/26', 'allocation_pools': [{'start': '145.238.190.2', 'end': '145.238.190.62'}], 'gateway_ip': '145.238.190.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '145.238.190.2', 'tags': [], 'project_id': 'c7e20eb1d70d4392b91074d78796c4aa'}} 2026-02-09 13:02:54,661 - INFO - Created VN ctest-ext_vn-05022640 2026-02-09 13:02:54,714 - DEBUG - VN ctest-ext_vn-05022640 UUID is 7caf5907-9056-4802-b7ee-01d4ccda00e2 2026-02-09 13:02:54,892 - DEBUG - Services list from nova: [, , ] 2026-02-09 13:02:55,963 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5243-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5243-1) 2026-02-09 13:02:57,115 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5243-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5243-1) 2026-02-09 13:02:57,181 - INFO - Setting gateway for router 79b4786b-782e-44ff-86b2-58d31fef3b0c to network 7caf5907-9056-4802-b7ee-01d4ccda00e2 2026-02-09 13:02:57,253 - INFO - Adding interface with subnet_id e9354ef0-d4e6-4205-8c0b-f129cc3c5488, port_id None to router 79b4786b-782e-44ff-86b2-58d31fef3b0c 2026-02-09 13:02:57,579 - INFO - Waiting for VM ctest-TestRoutersBasic-95265398-93939142 to be up.. 2026-02-09 13:02:57,735 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-09 13:03:02,841 - DEBUG - VM is in ACTIVE state now 2026-02-09 13:03:02,842 - INFO - VM name : ctest-TestRoutersBasic-95265398-93939142 2026-02-09 13:03:02,940 - DEBUG - VM ctest-TestRoutersBasic-95265398-93939142 ID is d270d61b-51ec-40a9-acbe-f343805408c1 2026-02-09 13:03:02,970 - DEBUG - VM ctest-TestRoutersBasic-95265398-93939142 launched on Node cn-jenkins-deploy-platform-ansible-os-5243-1 2026-02-09 13:03:03,054 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/d270d61b-51ec-40a9-acbe-f343805408c1 2026-02-09 13:03:03,357 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/d270d61b-51ec-40a9-acbe-f343805408c1 2026-02-09 13:03:03,395 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/561baeb4-2dcd-4d1f-9b2b-5da573b5825a 2026-02-09 13:03:06,665 - 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') 2026-02-09 13:03:06,665 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-95265398-93939142 failed! 2026-02-09 13:03:06,722 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-95265398:ctest-vn-64354309 is 158.143.207.193 and allocation pool is NOT set 2026-02-09 13:03:08,787 - 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.83 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.589 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.589/2.208/3.827/1.619 ms') 2026-02-09 13:03:08,788 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-95265398-93939142 passed 2026-02-09 13:03:08,938 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 13:03:08,938 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-95265398-93939142, IP 158.143.207.195, Port 22 2026-02-09 13:03:09,105 - DEBUG - VM ctest-TestRoutersBasic-95265398-93939142 is ready for SSH connections 2026-02-09 13:03:09,105 - INFO - Waiting for VM ctest-TestRoutersBasic-95265398-00133402 to be up.. 2026-02-09 13:03:09,186 - DEBUG - VM is in ACTIVE state now 2026-02-09 13:03:09,186 - INFO - VM name : ctest-TestRoutersBasic-95265398-00133402 2026-02-09 13:03:09,277 - DEBUG - VM ctest-TestRoutersBasic-95265398-00133402 ID is 4cce96b0-8fb6-4a0f-b09d-244fbb9195f4 2026-02-09 13:03:09,277 - DEBUG - VM ctest-TestRoutersBasic-95265398-00133402 launched on Node cn-jenkins-deploy-platform-ansible-os-5243-1 2026-02-09 13:03:09,362 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/4cce96b0-8fb6-4a0f-b09d-244fbb9195f4 2026-02-09 13:03:09,372 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/aa3102e1-9e5e-4442-85ef-fcbeb9e0a3a2 2026-02-09 13:03:10,612 - 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=4.86 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.48 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 = 1.480/3.170/4.860/1.690 ms') 2026-02-09 13:03:10,612 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-95265398-00133402 passed 2026-02-09 13:03:10,766 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 13:03:10,766 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-95265398-00133402, IP 145.238.190.3, Port 22 2026-02-09 13:03:10,945 - DEBUG - VM ctest-TestRoutersBasic-95265398-00133402 is ready for SSH connections 2026-02-09 13:03:10,945 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 13:03:10,945 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 145.238.190.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-02-09 13:03:10,945 - DEBUG - ping -s 56 -c 3 -W 1 145.238.190.3 2026-02-09 13:03:14,987 - DEBUG - PING 145.238.190.3 (145.238.190.3): 56 data bytes 64 bytes from 145.238.190.3: seq=0 ttl=62 time=5.753 ms 64 bytes from 145.238.190.3: seq=1 ttl=62 time=1.162 ms 64 bytes from 145.238.190.3: seq=2 ttl=62 time=0.979 ms --- 145.238.190.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.979/2.631/5.753 ms 2026-02-09 13:03:14,987 - INFO - Ping to IP 145.238.190.3 from VM ctest-TestRoutersBasic-95265398-93939142 passed 2026-02-09 13:03:14,987 - INFO - Deleting interface with subnet_id e9354ef0-d4e6-4205-8c0b-f129cc3c5488, port_id None from router 79b4786b-782e-44ff-86b2-58d31fef3b0c 2026-02-09 13:03:15,165 - INFO - Deleting VM ctest-TestRoutersBasic-95265398-00133402 2026-02-09 13:03:15,241 - INFO - Deleting VM ctest-TestRoutersBasic-95265398-93939142 2026-02-09 13:03:15,328 - INFO - Deleting VN ctest-ext_vn-05022640 2026-02-09 13:03:15,412 - DEBUG - VN 7caf5907-9056-4802-b7ee-01d4ccda00e2 still in use: Unable to complete operation on network 7caf5907-9056-4802-b7ee-01d4ccda00e2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f1c8cd43-18b8-4075-b71d-3df67d74b528'] 2026-02-09 13:03:15,412 - WARNING - Deleting VN ctest-ext_vn-05022640 failed..Will retry 2026-02-09 13:03:17,514 - DEBUG - Response for deleting network () 2026-02-09 13:03:17,514 - INFO - Deleting VN ctest-vn-64354309 2026-02-09 13:03:17,625 - DEBUG - Response for deleting network () 2026-02-09 13:03:17,887 - DEBUG - No XMPP flaps were noticed during the test
2026-02-09 13:03:17,887 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2026-02-09 13:03:17,892 - INFO - -------------------------------------------------------------------------------- 2026-02-09 13:03:18,597 - INFO - Deleted project: ctest-TestRoutersBasic-95265398, ID : c7e20eb1-d70d-4392-b910-74d78796c4aa