2025-12-09 03:23:47,105 - INFO - Domain Default found not creating 2025-12-09 03:23:47,274 - INFO - Project ctest-TestRoutersBasic-88633002 not found, creating it 2025-12-09 03:23:47,749 - INFO - Created Project:ctest-TestRoutersBasic-88633002, ID : 6b4bb6e9-253d-4124-bbda-952e3f81c93c 2025-12-09 03:23:49,189 - INFO - ================================================================================ 2025-12-09 03:23:49,189 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-12-09 03:23:49,189 - 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-12-09 03:23:49,441 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.14': '0'}} with 2025-12-09 03:23:49,441 - INFO - Initial checks done. Running the testcase now 2025-12-09 03:23:49,441 - INFO - 2025-12-09 03:23:50,171 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-88633002 2025-12-09 03:23:50,265 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-88633002 2025-12-09 03:23:50,584 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88633002', 'default']} 2025-12-09 03:23:50,852 - DEBUG - Response for create_network : {'network': {'id': 'a5ab5d81-a473-4372-9fa4-762b5d38014d', 'name': 'ctest-vn-15459588', 'tenant_id': '6b4bb6e9253d4124bbda952e3f81c93c', 'project_id': '6b4bb6e9253d4124bbda952e3f81c93c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88633002', 'ctest-vn-15459588'], 'port_security_enabled': True, 'description': ''}} 2025-12-09 03:23:51,038 - DEBUG - Response for create_subnet : {'subnet': {'id': '31335b95-96f5-4e1d-bee3-9e5376b6056c', 'name': '', 'tenant_id': '6b4bb6e9253d4124bbda952e3f81c93c', 'network_id': 'a5ab5d81-a473-4372-9fa4-762b5d38014d', 'ip_version': 4, 'cidr': '112.11.76.128/26', 'allocation_pools': [{'start': '112.11.76.130', 'end': '112.11.76.190'}], 'gateway_ip': '112.11.76.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '112.11.76.130', 'tags': [], 'project_id': '6b4bb6e9253d4124bbda952e3f81c93c'}} 2025-12-09 03:23:51,057 - INFO - Created VN ctest-vn-15459588 2025-12-09 03:23:51,108 - DEBUG - VN ctest-vn-15459588 UUID is a5ab5d81-a473-4372-9fa4-762b5d38014d 2025-12-09 03:23:51,395 - DEBUG - Response for create_network : {'network': {'id': 'b9a03d63-67c8-44cc-b1ef-a2aef809fd83', 'name': 'ctest-ext_vn-83092268', 'tenant_id': '6b4bb6e9253d4124bbda952e3f81c93c', 'project_id': '6b4bb6e9253d4124bbda952e3f81c93c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88633002', 'ctest-ext_vn-83092268'], 'port_security_enabled': True, 'description': ''}} 2025-12-09 03:23:51,608 - DEBUG - Response for create_subnet : {'subnet': {'id': '77b65577-df44-4809-9f33-752c813f4f7e', 'name': '', 'tenant_id': '6b4bb6e9253d4124bbda952e3f81c93c', 'network_id': 'b9a03d63-67c8-44cc-b1ef-a2aef809fd83', 'ip_version': 4, 'cidr': '90.189.70.192/26', 'allocation_pools': [{'start': '90.189.70.194', 'end': '90.189.70.254'}], 'gateway_ip': '90.189.70.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.189.70.194', 'tags': [], 'project_id': '6b4bb6e9253d4124bbda952e3f81c93c'}} 2025-12-09 03:23:51,624 - INFO - Created VN ctest-ext_vn-83092268 2025-12-09 03:23:51,676 - DEBUG - VN ctest-ext_vn-83092268 UUID is b9a03d63-67c8-44cc-b1ef-a2aef809fd83 2025-12-09 03:23:51,879 - DEBUG - Services list from nova: [, , ] 2025-12-09 03:23:52,870 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4864-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4864-1) 2025-12-09 03:23:53,959 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4864-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4864-1) 2025-12-09 03:23:54,044 - INFO - Setting gateway for router 1916a744-1e70-4e5f-afbd-877537036959 to network b9a03d63-67c8-44cc-b1ef-a2aef809fd83 2025-12-09 03:23:54,103 - INFO - Adding interface with subnet_id 31335b95-96f5-4e1d-bee3-9e5376b6056c, port_id None to router 1916a744-1e70-4e5f-afbd-877537036959 2025-12-09 03:23:54,425 - INFO - Waiting for VM ctest-TestRoutersBasic-88633002-13596091 to be up.. 2025-12-09 03:23:54,560 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-09 03:23:59,633 - DEBUG - VM is in ACTIVE state now 2025-12-09 03:23:59,633 - INFO - VM name : ctest-TestRoutersBasic-88633002-13596091 2025-12-09 03:23:59,707 - DEBUG - VM ctest-TestRoutersBasic-88633002-13596091 ID is 58ba3de9-805d-4665-8394-636f9dae620e 2025-12-09 03:23:59,723 - DEBUG - VM ctest-TestRoutersBasic-88633002-13596091 launched on Node cn-jenkins-deploy-platform-ansible-os-4864-1 2025-12-09 03:23:59,788 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/58ba3de9-805d-4665-8394-636f9dae620e 2025-12-09 03:24:00,083 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/58ba3de9-805d-4665-8394-636f9dae620e 2025-12-09 03:24:00,114 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/89dee797-a948-416e-b0cc-6375f4bbc780 2025-12-09 03:24:03,361 - 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 1010ms') 2025-12-09 03:24:03,361 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-88633002-13596091 failed! 2025-12-09 03:24:03,412 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-88633002:ctest-vn-15459588 is 112.11.76.129 and allocation pool is NOT set 2025-12-09 03:24:05,469 - 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=8.39 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.840 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.840/4.616/8.393/3.776 ms') 2025-12-09 03:24:05,469 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-88633002-13596091 passed 2025-12-09 03:24:05,616 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 03:24:05,616 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-88633002-13596091, IP 112.11.76.131, Port 22 2025-12-09 03:24:05,771 - DEBUG - VM ctest-TestRoutersBasic-88633002-13596091 is ready for SSH connections 2025-12-09 03:24:05,772 - INFO - Waiting for VM ctest-TestRoutersBasic-88633002-45094954 to be up.. 2025-12-09 03:24:05,839 - DEBUG - VM is in ACTIVE state now 2025-12-09 03:24:05,839 - INFO - VM name : ctest-TestRoutersBasic-88633002-45094954 2025-12-09 03:24:05,914 - DEBUG - VM ctest-TestRoutersBasic-88633002-45094954 ID is 3957e24f-a706-4232-aea6-46b92572c7be 2025-12-09 03:24:05,914 - DEBUG - VM ctest-TestRoutersBasic-88633002-45094954 launched on Node cn-jenkins-deploy-platform-ansible-os-4864-1 2025-12-09 03:24:05,985 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/3957e24f-a706-4232-aea6-46b92572c7be 2025-12-09 03:24:05,992 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/dc9f8846-0cf4-4f5d-93de-cb974f4c43a4 2025-12-09 03:24:07,223 - 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.65 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.821 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 = 0.821/2.235/3.650/1.414 ms') 2025-12-09 03:24:07,223 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-88633002-45094954 passed 2025-12-09 03:24:07,372 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 03:24:07,372 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-88633002-45094954, IP 90.189.70.195, Port 22 2025-12-09 03:24:07,544 - DEBUG - VM ctest-TestRoutersBasic-88633002-45094954 is ready for SSH connections 2025-12-09 03:24:07,544 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 03:24:07,545 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 90.189.70.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-12-09 03:24:07,545 - DEBUG - ping -s 56 -c 3 -W 1 90.189.70.195 2025-12-09 03:24:11,580 - DEBUG - PING 90.189.70.195 (90.189.70.195): 56 data bytes 64 bytes from 90.189.70.195: seq=0 ttl=62 time=8.396 ms 64 bytes from 90.189.70.195: seq=1 ttl=62 time=0.772 ms 64 bytes from 90.189.70.195: seq=2 ttl=62 time=1.217 ms --- 90.189.70.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.772/3.461/8.396 ms 2025-12-09 03:24:11,580 - INFO - Ping to IP 90.189.70.195 from VM ctest-TestRoutersBasic-88633002-13596091 passed 2025-12-09 03:24:11,580 - INFO - Deleting interface with subnet_id 31335b95-96f5-4e1d-bee3-9e5376b6056c, port_id None from router 1916a744-1e70-4e5f-afbd-877537036959 2025-12-09 03:24:11,749 - INFO - Deleting VM ctest-TestRoutersBasic-88633002-45094954 2025-12-09 03:24:11,810 - INFO - Deleting VM ctest-TestRoutersBasic-88633002-13596091 2025-12-09 03:24:11,881 - INFO - Deleting VN ctest-ext_vn-83092268 2025-12-09 03:24:11,949 - DEBUG - VN b9a03d63-67c8-44cc-b1ef-a2aef809fd83 still in use: Unable to complete operation on network b9a03d63-67c8-44cc-b1ef-a2aef809fd83. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-90e839a7-8641-425e-b103-4585cf9cb337'] 2025-12-09 03:24:11,949 - WARNING - Deleting VN ctest-ext_vn-83092268 failed..Will retry 2025-12-09 03:24:14,036 - DEBUG - Response for deleting network () 2025-12-09 03:24:14,036 - INFO - Deleting VN ctest-vn-15459588 2025-12-09 03:24:14,130 - DEBUG - Response for deleting network () 2025-12-09 03:24:14,385 - DEBUG - No XMPP flaps were noticed during the test
2025-12-09 03:24:14,385 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-12-09 03:24:14,385 - INFO - -------------------------------------------------------------------------------- 2025-12-09 03:24:15,055 - INFO - Deleted project: ctest-TestRoutersBasic-88633002, ID : 6b4bb6e9-253d-4124-bbda-952e3f81c93c