2025-08-08 00:38:06,142 - INFO - Domain Default found not creating 2025-08-08 00:38:06,344 - INFO - Project ctest-TestRoutersBasic-88518817 not found, creating it 2025-08-08 00:38:06,910 - INFO - Created Project:ctest-TestRoutersBasic-88518817, ID : c8070d29-9d3f-48e9-baaf-17b91e53e5a7 2025-08-08 00:38:08,439 - INFO - ================================================================================ 2025-08-08 00:38:08,439 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-08 00:38:08,439 - 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-08 00:38:08,709 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-08-08 00:38:08,709 - INFO - Initial checks done. Running the testcase now 2025-08-08 00:38:08,709 - INFO - 2025-08-08 00:38:09,434 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-88518817 2025-08-08 00:38:09,540 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-88518817 2025-08-08 00:38:09,868 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88518817', 'default']} 2025-08-08 00:38:10,181 - DEBUG - Response for create_network : {'network': {'id': '38cdb34f-3c3c-476a-befe-f99e73c47ddf', 'name': 'ctest-vn-32723625', 'tenant_id': 'c8070d299d3f48e9baaf17b91e53e5a7', 'project_id': 'c8070d299d3f48e9baaf17b91e53e5a7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88518817', 'ctest-vn-32723625'], 'port_security_enabled': True, 'description': ''}} 2025-08-08 00:38:10,354 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b14de8df-04f0-4a1f-9c72-d0d38fc73d85', 'name': '', 'tenant_id': 'c8070d299d3f48e9baaf17b91e53e5a7', 'network_id': '38cdb34f-3c3c-476a-befe-f99e73c47ddf', 'ip_version': 4, 'cidr': '172.173.56.128/26', 'allocation_pools': [{'start': '172.173.56.130', 'end': '172.173.56.190'}], 'gateway_ip': '172.173.56.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '172.173.56.130', 'tags': [], 'project_id': 'c8070d299d3f48e9baaf17b91e53e5a7'}} 2025-08-08 00:38:10,374 - INFO - Created VN ctest-vn-32723625 2025-08-08 00:38:10,428 - DEBUG - VN ctest-vn-32723625 UUID is 38cdb34f-3c3c-476a-befe-f99e73c47ddf 2025-08-08 00:38:10,781 - DEBUG - Response for create_network : {'network': {'id': 'a4095201-9fbd-4bba-b31b-cdcb20baee5c', 'name': 'ctest-ext_vn-73538248', 'tenant_id': 'c8070d299d3f48e9baaf17b91e53e5a7', 'project_id': 'c8070d299d3f48e9baaf17b91e53e5a7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88518817', 'ctest-ext_vn-73538248'], 'port_security_enabled': True, 'description': ''}} 2025-08-08 00:38:10,954 - DEBUG - Response for create_subnet : {'subnet': {'id': '47b71f6a-84f2-4506-a40a-acbc31a8cce3', 'name': '', 'tenant_id': 'c8070d299d3f48e9baaf17b91e53e5a7', 'network_id': 'a4095201-9fbd-4bba-b31b-cdcb20baee5c', 'ip_version': 4, 'cidr': '179.36.213.192/26', 'allocation_pools': [{'start': '179.36.213.194', 'end': '179.36.213.254'}], 'gateway_ip': '179.36.213.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '179.36.213.194', 'tags': [], 'project_id': 'c8070d299d3f48e9baaf17b91e53e5a7'}} 2025-08-08 00:38:10,975 - INFO - Created VN ctest-ext_vn-73538248 2025-08-08 00:38:11,028 - DEBUG - VN ctest-ext_vn-73538248 UUID is a4095201-9fbd-4bba-b31b-cdcb20baee5c 2025-08-08 00:38:11,199 - DEBUG - Services list from nova: [, , ] 2025-08-08 00:38:12,281 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3778-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3778-1) 2025-08-08 00:38:13,497 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3778-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3778-1) 2025-08-08 00:38:13,586 - INFO - Setting gateway for router 81fa2777-8f57-478e-b8ec-eb243819ebb6 to network a4095201-9fbd-4bba-b31b-cdcb20baee5c 2025-08-08 00:38:13,714 - INFO - Adding interface with subnet_id b14de8df-04f0-4a1f-9c72-d0d38fc73d85, port_id None to router 81fa2777-8f57-478e-b8ec-eb243819ebb6 2025-08-08 00:38:14,056 - INFO - Waiting for VM ctest-TestRoutersBasic-88518817-64640748 to be up.. 2025-08-08 00:38:14,214 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-08 00:38:19,293 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-08 00:38:24,372 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-08 00:38:29,452 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-08 00:38:34,532 - DEBUG - VM is in ACTIVE state now 2025-08-08 00:38:34,532 - INFO - VM name : ctest-TestRoutersBasic-88518817-64640748 2025-08-08 00:38:34,613 - DEBUG - VM ctest-TestRoutersBasic-88518817-64640748 ID is bf9c58b7-5e43-45d9-8b26-beeaec2c4a8b 2025-08-08 00:38:34,631 - DEBUG - VM ctest-TestRoutersBasic-88518817-64640748 launched on Node cn-jenkins-deploy-platform-ansible-os-3778-1 2025-08-08 00:38:34,705 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/bf9c58b7-5e43-45d9-8b26-beeaec2c4a8b 2025-08-08 00:38:35,009 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/bf9c58b7-5e43-45d9-8b26-beeaec2c4a8b 2025-08-08 00:38:35,049 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/a6b4e037-c998-4a5d-bbd6-db75c2d941a7 2025-08-08 00:38:38,312 - 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 1006ms') 2025-08-08 00:38:38,313 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-88518817-64640748 failed! 2025-08-08 00:38:38,368 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-88518817:ctest-vn-32723625 is 172.173.56.129 and allocation pool is NOT set 2025-08-08 00:38:40,426 - 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.58 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.480 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.480/2.529/4.578/2.049 ms') 2025-08-08 00:38:40,426 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-88518817-64640748 passed 2025-08-08 00:38:40,540 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 00:38:40,540 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-88518817-64640748, IP 172.173.56.131, Port 22 2025-08-08 00:38:40,695 - DEBUG - VM ctest-TestRoutersBasic-88518817-64640748 is ready for SSH connections 2025-08-08 00:38:40,696 - INFO - Waiting for VM ctest-TestRoutersBasic-88518817-86203767 to be up.. 2025-08-08 00:38:40,775 - DEBUG - VM is in ACTIVE state now 2025-08-08 00:38:40,776 - INFO - VM name : ctest-TestRoutersBasic-88518817-86203767 2025-08-08 00:38:40,860 - DEBUG - VM ctest-TestRoutersBasic-88518817-86203767 ID is 5e123324-fd38-47ce-9a34-4d99fc9e5bab 2025-08-08 00:38:40,860 - DEBUG - VM ctest-TestRoutersBasic-88518817-86203767 launched on Node cn-jenkins-deploy-platform-ansible-os-3778-1 2025-08-08 00:38:40,936 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/5e123324-fd38-47ce-9a34-4d99fc9e5bab 2025-08-08 00:38:40,946 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/50b98a68-7b12-43e4-b2e1-f7ab3d1f5efd 2025-08-08 00:38:42,185 - 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=2.53 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.31 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.313/1.919/2.526/0.606 ms') 2025-08-08 00:38:42,185 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-88518817-86203767 passed 2025-08-08 00:38:42,344 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 00:38:42,344 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-88518817-86203767, IP 179.36.213.195, Port 22 2025-08-08 00:38:42,522 - DEBUG - VM ctest-TestRoutersBasic-88518817-86203767 is ready for SSH connections 2025-08-08 00:38:42,523 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 00:38:42,523 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 179.36.213.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-08 00:38:42,523 - DEBUG - ping -s 56 -c 3 -W 1 179.36.213.195 2025-08-08 00:38:46,230 - DEBUG - PING 179.36.213.195 (179.36.213.195): 56 data bytes 64 bytes from 179.36.213.195: seq=0 ttl=62 time=7.266 ms 64 bytes from 179.36.213.195: seq=1 ttl=62 time=0.889 ms 64 bytes from 179.36.213.195: seq=2 ttl=62 time=1.190 ms --- 179.36.213.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.889/3.115/7.266 ms 2025-08-08 00:38:46,230 - INFO - Ping to IP 179.36.213.195 from VM ctest-TestRoutersBasic-88518817-64640748 passed 2025-08-08 00:38:46,230 - INFO - Deleting interface with subnet_id b14de8df-04f0-4a1f-9c72-d0d38fc73d85, port_id None from router 81fa2777-8f57-478e-b8ec-eb243819ebb6 2025-08-08 00:38:46,535 - INFO - Deleting VM ctest-TestRoutersBasic-88518817-86203767 2025-08-08 00:38:46,614 - INFO - Deleting VM ctest-TestRoutersBasic-88518817-64640748 2025-08-08 00:38:46,709 - INFO - Deleting VN ctest-ext_vn-73538248 2025-08-08 00:38:46,785 - DEBUG - VN a4095201-9fbd-4bba-b31b-cdcb20baee5c still in use: Unable to complete operation on network a4095201-9fbd-4bba-b31b-cdcb20baee5c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-088ec301-f7cc-43bd-bf0b-488136a65652'] 2025-08-08 00:38:46,786 - WARNING - Deleting VN ctest-ext_vn-73538248 failed..Will retry 2025-08-08 00:38:48,906 - DEBUG - Response for deleting network () 2025-08-08 00:38:48,907 - INFO - Deleting VN ctest-vn-32723625 2025-08-08 00:38:49,017 - DEBUG - Response for deleting network () 2025-08-08 00:38:49,278 - DEBUG - No XMPP flaps were noticed during the test
2025-08-08 00:38:49,278 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:41]
2025-08-08 00:38:49,278 - INFO - -------------------------------------------------------------------------------- 2025-08-08 00:38:49,984 - INFO - Deleted project: ctest-TestRoutersBasic-88518817, ID : c8070d29-9d3f-48e9-baaf-17b91e53e5a7