2025-11-05 08:08:39,267 - INFO - Domain Default found not creating 2025-11-05 08:08:39,427 - INFO - Project ctest-TestRoutersBasic-37205293 not found, creating it 2025-11-05 08:08:39,874 - INFO - Created Project:ctest-TestRoutersBasic-37205293, ID : c2ba16c8-a1f1-46ef-9983-34c87f073111 2025-11-05 08:08:41,397 - INFO - ================================================================================ 2025-11-05 08:08:41,397 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-05 08:08:41,397 - 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-05 08:08:41,652 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.254': '0'}} with 2025-11-05 08:08:41,652 - INFO - Initial checks done. Running the testcase now 2025-11-05 08:08:41,652 - INFO - 2025-11-05 08:08:42,412 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-37205293 2025-11-05 08:08:42,507 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-37205293 2025-11-05 08:08:42,822 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-37205293', 'default']} 2025-11-05 08:08:43,092 - DEBUG - Response for create_network : {'network': {'id': 'f3db1ade-ae17-4b1e-b3f0-fa40518f7132', 'name': 'ctest-vn-28386978', 'tenant_id': 'c2ba16c8a1f146ef998334c87f073111', 'project_id': 'c2ba16c8a1f146ef998334c87f073111', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-37205293', 'ctest-vn-28386978'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 08:08:43,291 - DEBUG - Response for create_subnet : {'subnet': {'id': '8487e939-ed3a-409f-a0a1-9d5c24a02d02', 'name': '', 'tenant_id': 'c2ba16c8a1f146ef998334c87f073111', 'network_id': 'f3db1ade-ae17-4b1e-b3f0-fa40518f7132', 'ip_version': 4, 'cidr': '146.175.199.0/26', 'allocation_pools': [{'start': '146.175.199.2', 'end': '146.175.199.62'}], 'gateway_ip': '146.175.199.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.175.199.2', 'tags': [], 'project_id': 'c2ba16c8a1f146ef998334c87f073111'}} 2025-11-05 08:08:43,306 - INFO - Created VN ctest-vn-28386978 2025-11-05 08:08:43,355 - DEBUG - VN ctest-vn-28386978 UUID is f3db1ade-ae17-4b1e-b3f0-fa40518f7132 2025-11-05 08:08:43,679 - DEBUG - Response for create_network : {'network': {'id': '41a2d59c-21ab-4241-8090-6105101b48b4', 'name': 'ctest-ext_vn-17976131', 'tenant_id': 'c2ba16c8a1f146ef998334c87f073111', 'project_id': 'c2ba16c8a1f146ef998334c87f073111', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-37205293', 'ctest-ext_vn-17976131'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 08:08:43,873 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fc91b969-fecb-4bc4-999f-9e79aa0d8a78', 'name': '', 'tenant_id': 'c2ba16c8a1f146ef998334c87f073111', 'network_id': '41a2d59c-21ab-4241-8090-6105101b48b4', 'ip_version': 4, 'cidr': '165.1.241.0/26', 'allocation_pools': [{'start': '165.1.241.2', 'end': '165.1.241.62'}], 'gateway_ip': '165.1.241.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '165.1.241.2', 'tags': [], 'project_id': 'c2ba16c8a1f146ef998334c87f073111'}} 2025-11-05 08:08:43,886 - INFO - Created VN ctest-ext_vn-17976131 2025-11-05 08:08:43,935 - DEBUG - VN ctest-ext_vn-17976131 UUID is 41a2d59c-21ab-4241-8090-6105101b48b4 2025-11-05 08:08:44,123 - DEBUG - Services list from nova: [, , ] 2025-11-05 08:08:45,137 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4629-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4629-1) 2025-11-05 08:08:46,252 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4629-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4629-1) 2025-11-05 08:08:46,312 - INFO - Setting gateway for router 7448ad6e-c3b1-4300-98eb-82b7e07046a0 to network 41a2d59c-21ab-4241-8090-6105101b48b4 2025-11-05 08:08:46,357 - INFO - Adding interface with subnet_id 8487e939-ed3a-409f-a0a1-9d5c24a02d02, port_id None to router 7448ad6e-c3b1-4300-98eb-82b7e07046a0 2025-11-05 08:08:46,575 - INFO - Waiting for VM ctest-TestRoutersBasic-37205293-01749873 to be up.. 2025-11-05 08:08:46,720 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-05 08:08:51,786 - DEBUG - VM is in ACTIVE state now 2025-11-05 08:08:51,787 - INFO - VM name : ctest-TestRoutersBasic-37205293-01749873 2025-11-05 08:08:51,853 - DEBUG - VM ctest-TestRoutersBasic-37205293-01749873 ID is 6d3b30ef-95db-4a20-97a1-2c2113ef8773 2025-11-05 08:08:51,871 - DEBUG - VM ctest-TestRoutersBasic-37205293-01749873 launched on Node cn-jenkins-deploy-platform-ansible-os-4629-1 2025-11-05 08:08:51,941 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/6d3b30ef-95db-4a20-97a1-2c2113ef8773 2025-11-05 08:08:52,260 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/6d3b30ef-95db-4a20-97a1-2c2113ef8773 2025-11-05 08:08:52,289 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/028ec339-2e95-45f0-9fb4-1686c76cab5d 2025-11-05 08:08:53,525 - 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.57 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.843 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.843/2.705/4.567/1.862 ms') 2025-11-05 08:08:53,525 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-37205293-01749873 passed 2025-11-05 08:08:53,675 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 08:08:53,675 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-37205293-01749873, IP 146.175.199.3, Port 22 2025-11-05 08:08:53,830 - DEBUG - VM ctest-TestRoutersBasic-37205293-01749873 is ready for SSH connections 2025-11-05 08:08:53,830 - INFO - Waiting for VM ctest-TestRoutersBasic-37205293-32786804 to be up.. 2025-11-05 08:08:53,900 - DEBUG - VM is in ACTIVE state now 2025-11-05 08:08:53,900 - INFO - VM name : ctest-TestRoutersBasic-37205293-32786804 2025-11-05 08:08:53,970 - DEBUG - VM ctest-TestRoutersBasic-37205293-32786804 ID is 3925fe27-4aa5-48d4-8347-d81d7f87ab86 2025-11-05 08:08:53,970 - DEBUG - VM ctest-TestRoutersBasic-37205293-32786804 launched on Node cn-jenkins-deploy-platform-ansible-os-4629-1 2025-11-05 08:08:54,038 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/3925fe27-4aa5-48d4-8347-d81d7f87ab86 2025-11-05 08:08:54,045 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/861eee32-c6f3-4e59-b0f1-4e1ae5a2845d 2025-11-05 08:08:55,275 - 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=5.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.444 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.444/3.108/5.773/2.664 ms') 2025-11-05 08:08:55,275 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-37205293-32786804 passed 2025-11-05 08:08:55,423 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 08:08:55,423 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-37205293-32786804, IP 165.1.241.3, Port 22 2025-11-05 08:08:55,578 - DEBUG - VM ctest-TestRoutersBasic-37205293-32786804 is ready for SSH connections 2025-11-05 08:08:55,578 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 08:08:55,578 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 165.1.241.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-11-05 08:08:55,579 - DEBUG - ping -s 56 -c 3 -W 1 165.1.241.3 2025-11-05 08:08:59,171 - DEBUG - PING 165.1.241.3 (165.1.241.3): 56 data bytes 64 bytes from 165.1.241.3: seq=0 ttl=62 time=6.594 ms 64 bytes from 165.1.241.3: seq=1 ttl=62 time=0.923 ms 64 bytes from 165.1.241.3: seq=2 ttl=62 time=0.914 ms --- 165.1.241.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.914/2.810/6.594 ms 2025-11-05 08:08:59,171 - INFO - Ping to IP 165.1.241.3 from VM ctest-TestRoutersBasic-37205293-01749873 passed 2025-11-05 08:08:59,172 - INFO - Deleting interface with subnet_id 8487e939-ed3a-409f-a0a1-9d5c24a02d02, port_id None from router 7448ad6e-c3b1-4300-98eb-82b7e07046a0 2025-11-05 08:08:59,332 - INFO - Deleting VM ctest-TestRoutersBasic-37205293-32786804 2025-11-05 08:08:59,400 - INFO - Deleting VM ctest-TestRoutersBasic-37205293-01749873 2025-11-05 08:08:59,478 - INFO - Deleting VN ctest-ext_vn-17976131 2025-11-05 08:08:59,547 - DEBUG - VN 41a2d59c-21ab-4241-8090-6105101b48b4 still in use: Unable to complete operation on network 41a2d59c-21ab-4241-8090-6105101b48b4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-afaed16b-1992-40fa-8c54-65405d6c66bd'] 2025-11-05 08:08:59,547 - WARNING - Deleting VN ctest-ext_vn-17976131 failed..Will retry 2025-11-05 08:09:01,643 - DEBUG - Response for deleting network () 2025-11-05 08:09:01,644 - INFO - Deleting VN ctest-vn-28386978 2025-11-05 08:09:01,735 - DEBUG - Response for deleting network () 2025-11-05 08:09:01,992 - DEBUG - No XMPP flaps were noticed during the test 2025-11-05 08:09:01,992 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:20] 2025-11-05 08:09:01,992 - INFO - -------------------------------------------------------------------------------- 2025-11-05 08:09:02,677 - INFO - Deleted project: ctest-TestRoutersBasic-37205293, ID : c2ba16c8-a1f1-46ef-9983-34c87f073111