2025-07-22 11:47:43,605 - INFO - Domain Default found not creating 2025-07-22 11:47:43,740 - INFO - Project ctest-TestRoutersBasic-06073040 not found, creating it 2025-07-22 11:47:44,174 - INFO - Created Project:ctest-TestRoutersBasic-06073040, ID : 00a2db6c-bc41-48e3-b36b-ce49438307bd 2025-07-22 11:47:45,564 - INFO - ================================================================================ 2025-07-22 11:47:45,564 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-07-22 11:47:45,564 - 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-07-22 11:47:45,819 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.192': '0'}} with 2025-07-22 11:47:45,819 - INFO - Initial checks done. Running the testcase now 2025-07-22 11:47:45,819 - INFO - 2025-07-22 11:47:46,504 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-06073040 2025-07-22 11:47:46,598 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-06073040 2025-07-22 11:47:46,917 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-06073040', 'default']} 2025-07-22 11:47:47,213 - DEBUG - Response for create_network : {'network': {'id': '792bfe0d-e606-46f7-8b67-c59682d07cd0', 'name': 'ctest-vn-70017619', 'tenant_id': '00a2db6cbc4148e3b36bce49438307bd', 'project_id': '00a2db6cbc4148e3b36bce49438307bd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-06073040', 'ctest-vn-70017619'], 'port_security_enabled': True, 'description': ''}} 2025-07-22 11:47:47,380 - DEBUG - Response for create_subnet : {'subnet': {'id': '16feae58-0664-42ec-b152-f45bb5666052', 'name': '', 'tenant_id': '00a2db6cbc4148e3b36bce49438307bd', 'network_id': '792bfe0d-e606-46f7-8b67-c59682d07cd0', 'ip_version': 4, 'cidr': '23.7.149.128/26', 'allocation_pools': [{'start': '23.7.149.130', 'end': '23.7.149.190'}], 'gateway_ip': '23.7.149.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '23.7.149.130', 'tags': [], 'project_id': '00a2db6cbc4148e3b36bce49438307bd'}} 2025-07-22 11:47:47,398 - INFO - Created VN ctest-vn-70017619 2025-07-22 11:47:47,450 - DEBUG - VN ctest-vn-70017619 UUID is 792bfe0d-e606-46f7-8b67-c59682d07cd0 2025-07-22 11:47:47,808 - DEBUG - Response for create_network : {'network': {'id': '70d04bd8-8c02-41bf-bfa2-fea37430eecd', 'name': 'ctest-ext_vn-76058035', 'tenant_id': '00a2db6cbc4148e3b36bce49438307bd', 'project_id': '00a2db6cbc4148e3b36bce49438307bd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-06073040', 'ctest-ext_vn-76058035'], 'port_security_enabled': True, 'description': ''}} 2025-07-22 11:47:48,062 - DEBUG - Response for create_subnet : {'subnet': {'id': '45c0859d-21a4-4dbe-8960-e27b2e3d531c', 'name': '', 'tenant_id': '00a2db6cbc4148e3b36bce49438307bd', 'network_id': '70d04bd8-8c02-41bf-bfa2-fea37430eecd', 'ip_version': 4, 'cidr': '177.33.75.64/26', 'allocation_pools': [{'start': '177.33.75.66', 'end': '177.33.75.126'}], 'gateway_ip': '177.33.75.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '177.33.75.66', 'tags': [], 'project_id': '00a2db6cbc4148e3b36bce49438307bd'}} 2025-07-22 11:47:48,082 - INFO - Created VN ctest-ext_vn-76058035 2025-07-22 11:47:48,134 - DEBUG - VN ctest-ext_vn-76058035 UUID is 70d04bd8-8c02-41bf-bfa2-fea37430eecd 2025-07-22 11:47:48,304 - DEBUG - Services list from nova: [, , ] 2025-07-22 11:47:49,280 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3690-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3690-1) 2025-07-22 11:47:50,339 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3690-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3690-1) 2025-07-22 11:47:50,420 - INFO - Setting gateway for router 29694f3b-6b65-4c69-800f-654845f57f2c to network 70d04bd8-8c02-41bf-bfa2-fea37430eecd 2025-07-22 11:47:50,483 - INFO - Adding interface with subnet_id 16feae58-0664-42ec-b152-f45bb5666052, port_id None to router 29694f3b-6b65-4c69-800f-654845f57f2c 2025-07-22 11:47:50,888 - INFO - Waiting for VM ctest-TestRoutersBasic-06073040-72157553 to be up.. 2025-07-22 11:47:51,030 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-22 11:47:56,103 - DEBUG - VM is in ACTIVE state now 2025-07-22 11:47:56,103 - INFO - VM name : ctest-TestRoutersBasic-06073040-72157553 2025-07-22 11:47:56,176 - DEBUG - VM ctest-TestRoutersBasic-06073040-72157553 ID is 17e29ebb-7b21-4584-8b07-691849c900cc 2025-07-22 11:47:56,195 - DEBUG - VM ctest-TestRoutersBasic-06073040-72157553 launched on Node cn-jenkins-deploy-platform-ansible-os-3690-1 2025-07-22 11:47:56,278 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/17e29ebb-7b21-4584-8b07-691849c900cc 2025-07-22 11:47:56,570 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/17e29ebb-7b21-4584-8b07-691849c900cc 2025-07-22 11:47:56,602 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/ea2af42e-ab4d-4462-8bc7-8a1bc90404f4 2025-07-22 11:47:59,873 - 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-07-22 11:47:59,874 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-06073040-72157553 failed! 2025-07-22 11:47:59,930 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-06073040:ctest-vn-70017619 is 23.7.149.129 and allocation pool is NOT set 2025-07-22 11:48:01,987 - 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=2.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.466 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.466/1.699/2.933/1.233 ms') 2025-07-22 11:48:01,987 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-06073040-72157553 passed 2025-07-22 11:48:02,142 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 11:48:02,142 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-06073040-72157553, IP 23.7.149.131, Port 22 2025-07-22 11:48:02,297 - DEBUG - VM ctest-TestRoutersBasic-06073040-72157553 is ready for SSH connections 2025-07-22 11:48:02,298 - INFO - Waiting for VM ctest-TestRoutersBasic-06073040-69179753 to be up.. 2025-07-22 11:48:02,380 - DEBUG - VM is in ACTIVE state now 2025-07-22 11:48:02,380 - INFO - VM name : ctest-TestRoutersBasic-06073040-69179753 2025-07-22 11:48:02,461 - DEBUG - VM ctest-TestRoutersBasic-06073040-69179753 ID is 85f8c837-bbfa-46c8-b346-c475fd8cee03 2025-07-22 11:48:02,461 - DEBUG - VM ctest-TestRoutersBasic-06073040-69179753 launched on Node cn-jenkins-deploy-platform-ansible-os-3690-1 2025-07-22 11:48:02,543 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/85f8c837-bbfa-46c8-b346-c475fd8cee03 2025-07-22 11:48:02,552 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/63d6aaed-7d2c-4543-9ad1-49a69fc8f4c6 2025-07-22 11:48:03,803 - 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=3.64 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.397 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.397/2.019/3.641/1.622 ms') 2025-07-22 11:48:03,803 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-06073040-69179753 passed 2025-07-22 11:48:03,970 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 11:48:03,970 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-06073040-69179753, IP 177.33.75.67, Port 22 2025-07-22 11:48:04,126 - DEBUG - VM ctest-TestRoutersBasic-06073040-69179753 is ready for SSH connections 2025-07-22 11:48:04,126 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 11:48:04,126 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 177.33.75.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-07-22 11:48:04,126 - DEBUG - ping -s 56 -c 3 -W 1 177.33.75.67 2025-07-22 11:48:08,156 - DEBUG - PING 177.33.75.67 (177.33.75.67): 56 data bytes 64 bytes from 177.33.75.67: seq=0 ttl=62 time=6.657 ms 64 bytes from 177.33.75.67: seq=1 ttl=62 time=1.207 ms 64 bytes from 177.33.75.67: seq=2 ttl=62 time=1.476 ms --- 177.33.75.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.207/3.113/6.657 ms 2025-07-22 11:48:08,157 - INFO - Ping to IP 177.33.75.67 from VM ctest-TestRoutersBasic-06073040-72157553 passed 2025-07-22 11:48:08,157 - INFO - Deleting interface with subnet_id 16feae58-0664-42ec-b152-f45bb5666052, port_id None from router 29694f3b-6b65-4c69-800f-654845f57f2c 2025-07-22 11:48:08,372 - INFO - Deleting VM ctest-TestRoutersBasic-06073040-69179753 2025-07-22 11:48:08,447 - INFO - Deleting VM ctest-TestRoutersBasic-06073040-72157553 2025-07-22 11:48:08,516 - INFO - Deleting VN ctest-ext_vn-76058035 2025-07-22 11:48:08,581 - DEBUG - VN 70d04bd8-8c02-41bf-bfa2-fea37430eecd still in use: Unable to complete operation on network 70d04bd8-8c02-41bf-bfa2-fea37430eecd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5e83365a-7b51-4366-8246-5e4ac350344f'] 2025-07-22 11:48:08,581 - WARNING - Deleting VN ctest-ext_vn-76058035 failed..Will retry 2025-07-22 11:48:10,679 - DEBUG - Response for deleting network () 2025-07-22 11:48:10,679 - INFO - Deleting VN ctest-vn-70017619 2025-07-22 11:48:10,774 - DEBUG - Response for deleting network () 2025-07-22 11:48:11,027 - DEBUG - No XMPP flaps were noticed during the test 2025-07-22 11:48:11,027 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-07-22 11:48:11,027 - INFO - -------------------------------------------------------------------------------- 2025-07-22 11:48:11,685 - INFO - Deleted project: ctest-TestRoutersBasic-06073040, ID : 00a2db6c-bc41-48e3-b36b-ce49438307bd