2025-07-07 02:19:39,763 - INFO - Domain Default found not creating 2025-07-07 02:19:39,974 - INFO - Project ctest-TestRoutersBasic-06155448 not found, creating it 2025-07-07 02:19:40,655 - INFO - Created Project:ctest-TestRoutersBasic-06155448, ID : 6b2283dd-fa93-4950-a240-75deaefc30d8 2025-07-07 02:19:42,143 - INFO - ================================================================================ 2025-07-07 02:19:42,143 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-07-07 02:19:42,143 - 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-07 02:19:42,398 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.209': '0'}} with 2025-07-07 02:19:42,398 - INFO - Initial checks done. Running the testcase now 2025-07-07 02:19:42,398 - INFO - 2025-07-07 02:19:43,120 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-06155448 2025-07-07 02:19:43,219 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-06155448 2025-07-07 02:19:43,547 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-06155448', 'default']} 2025-07-07 02:19:43,867 - DEBUG - Response for create_network : {'network': {'id': '2cdd5aaa-f7db-4f80-be2e-3853b5a6453e', 'name': 'ctest-vn-43375526', 'tenant_id': '6b2283ddfa934950a24075deaefc30d8', 'project_id': '6b2283ddfa934950a24075deaefc30d8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-06155448', 'ctest-vn-43375526'], 'port_security_enabled': True, 'description': ''}} 2025-07-07 02:19:44,051 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b0922741-3815-412b-85f9-1cf5b6b32552', 'name': '', 'tenant_id': '6b2283ddfa934950a24075deaefc30d8', 'network_id': '2cdd5aaa-f7db-4f80-be2e-3853b5a6453e', 'ip_version': 4, 'cidr': '70.215.59.64/26', 'allocation_pools': [{'start': '70.215.59.66', 'end': '70.215.59.126'}], 'gateway_ip': '70.215.59.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '70.215.59.66', 'tags': [], 'project_id': '6b2283ddfa934950a24075deaefc30d8'}} 2025-07-07 02:19:44,072 - INFO - Created VN ctest-vn-43375526 2025-07-07 02:19:44,127 - DEBUG - VN ctest-vn-43375526 UUID is 2cdd5aaa-f7db-4f80-be2e-3853b5a6453e 2025-07-07 02:19:44,466 - DEBUG - Response for create_network : {'network': {'id': '3054151b-533d-47b2-b836-ffb8066ede25', 'name': 'ctest-ext_vn-14798868', 'tenant_id': '6b2283ddfa934950a24075deaefc30d8', 'project_id': '6b2283ddfa934950a24075deaefc30d8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-06155448', 'ctest-ext_vn-14798868'], 'port_security_enabled': True, 'description': ''}} 2025-07-07 02:19:44,696 - DEBUG - Response for create_subnet : {'subnet': {'id': '435fa1e6-d053-4975-8f1d-ec347f32a0c0', 'name': '', 'tenant_id': '6b2283ddfa934950a24075deaefc30d8', 'network_id': '3054151b-533d-47b2-b836-ffb8066ede25', 'ip_version': 4, 'cidr': '181.78.181.128/26', 'allocation_pools': [{'start': '181.78.181.130', 'end': '181.78.181.190'}], 'gateway_ip': '181.78.181.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '181.78.181.130', 'tags': [], 'project_id': '6b2283ddfa934950a24075deaefc30d8'}} 2025-07-07 02:19:44,717 - INFO - Created VN ctest-ext_vn-14798868 2025-07-07 02:19:44,771 - DEBUG - VN ctest-ext_vn-14798868 UUID is 3054151b-533d-47b2-b836-ffb8066ede25 2025-07-07 02:19:44,944 - DEBUG - Services list from nova: [, , ] 2025-07-07 02:19:46,099 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3605-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3605-1) 2025-07-07 02:19:47,283 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3605-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3605-1) 2025-07-07 02:19:47,397 - INFO - Setting gateway for router cbf3709b-38ec-4e9b-95fb-fc661db61e38 to network 3054151b-533d-47b2-b836-ffb8066ede25 2025-07-07 02:19:47,500 - INFO - Adding interface with subnet_id b0922741-3815-412b-85f9-1cf5b6b32552, port_id None to router cbf3709b-38ec-4e9b-95fb-fc661db61e38 2025-07-07 02:19:47,984 - INFO - Waiting for VM ctest-TestRoutersBasic-06155448-91466686 to be up.. 2025-07-07 02:19:48,173 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-07 02:19:53,248 - DEBUG - VM is in ACTIVE state now 2025-07-07 02:19:53,248 - INFO - VM name : ctest-TestRoutersBasic-06155448-91466686 2025-07-07 02:19:53,325 - DEBUG - VM ctest-TestRoutersBasic-06155448-91466686 ID is 915c16f6-e011-461b-9585-fc877f06b0b5 2025-07-07 02:19:53,345 - DEBUG - VM ctest-TestRoutersBasic-06155448-91466686 launched on Node cn-jenkins-deploy-platform-ansible-os-3605-1 2025-07-07 02:19:53,417 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/915c16f6-e011-461b-9585-fc877f06b0b5 2025-07-07 02:19:53,710 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/915c16f6-e011-461b-9585-fc877f06b0b5 2025-07-07 02:19:53,746 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/8bd35a6a-87be-462d-82bf-03a1b1400639 2025-07-07 02:19:57,009 - 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 1007ms') 2025-07-07 02:19:57,009 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-06155448-91466686 failed! 2025-07-07 02:19:57,067 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-06155448:ctest-vn-43375526 is 70.215.59.65 and allocation pool is NOT set 2025-07-07 02:19:59,127 - 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.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.412 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.412/2.544/4.677/2.132 ms') 2025-07-07 02:19:59,127 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-06155448-91466686 passed 2025-07-07 02:19:59,279 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-07 02:19:59,279 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-06155448-91466686, IP 70.215.59.67, Port 22 2025-07-07 02:19:59,434 - DEBUG - VM ctest-TestRoutersBasic-06155448-91466686 is ready for SSH connections 2025-07-07 02:19:59,435 - INFO - Waiting for VM ctest-TestRoutersBasic-06155448-94114129 to be up.. 2025-07-07 02:19:59,508 - DEBUG - VM is in ACTIVE state now 2025-07-07 02:19:59,508 - INFO - VM name : ctest-TestRoutersBasic-06155448-94114129 2025-07-07 02:19:59,584 - DEBUG - VM ctest-TestRoutersBasic-06155448-94114129 ID is d3a4df56-ddf2-480e-8ee4-75723007b627 2025-07-07 02:19:59,584 - DEBUG - VM ctest-TestRoutersBasic-06155448-94114129 launched on Node cn-jenkins-deploy-platform-ansible-os-3605-1 2025-07-07 02:19:59,654 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/d3a4df56-ddf2-480e-8ee4-75723007b627 2025-07-07 02:19:59,663 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/7ea26e0d-d35a-4eb5-a1ab-3b498681d885 2025-07-07 02:20:00,920 - 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.00 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.544 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.544/2.270/3.997/1.726 ms') 2025-07-07 02:20:00,920 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-06155448-94114129 passed 2025-07-07 02:20:01,075 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-07 02:20:01,075 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-06155448-94114129, IP 181.78.181.131, Port 22 2025-07-07 02:20:01,231 - DEBUG - VM ctest-TestRoutersBasic-06155448-94114129 is ready for SSH connections 2025-07-07 02:20:01,231 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-07 02:20:01,231 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 181.78.181.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-07-07 02:20:01,231 - DEBUG - ping -s 56 -c 3 -W 1 181.78.181.131 2025-07-07 02:20:05,277 - DEBUG - PING 181.78.181.131 (181.78.181.131): 56 data bytes 64 bytes from 181.78.181.131: seq=0 ttl=62 time=4.713 ms 64 bytes from 181.78.181.131: seq=1 ttl=62 time=0.881 ms 64 bytes from 181.78.181.131: seq=2 ttl=62 time=1.222 ms --- 181.78.181.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.881/2.272/4.713 ms 2025-07-07 02:20:05,277 - INFO - Ping to IP 181.78.181.131 from VM ctest-TestRoutersBasic-06155448-91466686 passed 2025-07-07 02:20:05,278 - INFO - Deleting interface with subnet_id b0922741-3815-412b-85f9-1cf5b6b32552, port_id None from router cbf3709b-38ec-4e9b-95fb-fc661db61e38 2025-07-07 02:20:05,524 - INFO - Deleting VM ctest-TestRoutersBasic-06155448-94114129 2025-07-07 02:20:05,606 - INFO - Deleting VM ctest-TestRoutersBasic-06155448-91466686 2025-07-07 02:20:05,679 - INFO - Deleting VN ctest-ext_vn-14798868 2025-07-07 02:20:05,770 - DEBUG - VN 3054151b-533d-47b2-b836-ffb8066ede25 still in use: Unable to complete operation on network 3054151b-533d-47b2-b836-ffb8066ede25. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-05ee1629-93b3-464a-b43f-ff5c1a87a43e'] 2025-07-07 02:20:05,770 - WARNING - Deleting VN ctest-ext_vn-14798868 failed..Will retry 2025-07-07 02:20:07,897 - DEBUG - Response for deleting network () 2025-07-07 02:20:07,897 - INFO - Deleting VN ctest-vn-43375526 2025-07-07 02:20:08,021 - DEBUG - Response for deleting network () 2025-07-07 02:20:08,277 - DEBUG - No XMPP flaps were noticed during the test
2025-07-07 02:20:08,277 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-07-07 02:20:08,277 - INFO - -------------------------------------------------------------------------------- 2025-07-07 02:20:08,975 - INFO - Deleted project: ctest-TestRoutersBasic-06155448, ID : 6b2283dd-fa93-4950-a240-75deaefc30d8