2025-03-31 02:24:13,494 - INFO - Domain Default found not creating
2025-03-31 02:24:13,653 - INFO - Project ctest-TestRoutersBasic-72005859 not found, creating it
2025-03-31 02:24:14,172 - INFO - Created Project:ctest-TestRoutersBasic-72005859, ID : 513c773d-18e0-40de-a85b-8ed35ab06cee
2025-03-31 02:24:15,590 - INFO - ================================================================================
2025-03-31 02:24:15,590 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-03-31 02:24:15,590 - 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-03-31 02:24:15,845 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.0.0.27': '0'}} with
2025-03-31 02:24:15,845 - INFO - Initial checks done. Running the testcase now
2025-03-31 02:24:15,845 - INFO -
2025-03-31 02:24:16,560 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-72005859
2025-03-31 02:24:16,659 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-72005859
2025-03-31 02:24:16,991 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-72005859', 'default']}
2025-03-31 02:24:17,293 - DEBUG - Response for create_network : {'network': {'id': '624c1767-3e72-466a-8a74-22fc10564cb3', 'name': 'ctest-vn-36142061', 'tenant_id': '513c773d18e040dea85b8ed35ab06cee', 'project_id': '513c773d18e040dea85b8ed35ab06cee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-72005859', 'ctest-vn-36142061'], 'port_security_enabled': True, 'description': ''}}
2025-03-31 02:24:17,445 - DEBUG - Response for create_subnet : {'subnet': {'id': '377776da-1984-4f37-beb4-ab5703bbea12', 'name': '', 'tenant_id': '513c773d18e040dea85b8ed35ab06cee', 'network_id': '624c1767-3e72-466a-8a74-22fc10564cb3', 'ip_version': 4, 'cidr': '201.157.138.128/26', 'allocation_pools': [{'start': '201.157.138.130', 'end': '201.157.138.190'}], 'gateway_ip': '201.157.138.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '201.157.138.130', 'tags': [], 'project_id': '513c773d18e040dea85b8ed35ab06cee'}}
2025-03-31 02:24:17,464 - INFO - Created VN ctest-vn-36142061
2025-03-31 02:24:17,519 - DEBUG - VN ctest-vn-36142061 UUID is 624c1767-3e72-466a-8a74-22fc10564cb3
2025-03-31 02:24:17,862 - DEBUG - Response for create_network : {'network': {'id': 'fcf6edfe-65fa-4681-bd8e-6cfe44d5983d', 'name': 'ctest-ext_vn-11946226', 'tenant_id': '513c773d18e040dea85b8ed35ab06cee', 'project_id': '513c773d18e040dea85b8ed35ab06cee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-72005859', 'ctest-ext_vn-11946226'], 'port_security_enabled': True, 'description': ''}}
2025-03-31 02:24:18,081 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cf5e2b1f-c169-4ba3-9232-ae1dee2fd48e', 'name': '', 'tenant_id': '513c773d18e040dea85b8ed35ab06cee', 'network_id': 'fcf6edfe-65fa-4681-bd8e-6cfe44d5983d', 'ip_version': 4, 'cidr': '187.144.222.128/26', 'allocation_pools': [{'start': '187.144.222.130', 'end': '187.144.222.190'}], 'gateway_ip': '187.144.222.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '187.144.222.130', 'tags': [], 'project_id': '513c773d18e040dea85b8ed35ab06cee'}}
2025-03-31 02:24:18,100 - INFO - Created VN ctest-ext_vn-11946226
2025-03-31 02:24:18,154 - DEBUG - VN ctest-ext_vn-11946226 UUID is fcf6edfe-65fa-4681-bd8e-6cfe44d5983d
2025-03-31 02:24:18,361 - DEBUG - Services list from nova: [, , ]
2025-03-31 02:24:19,362 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3011-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3011-1)
2025-03-31 02:24:20,567 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3011-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3011-1)
2025-03-31 02:24:20,653 - INFO - Setting gateway for router f04731f5-9aef-48e8-aea1-652882611dbd to network fcf6edfe-65fa-4681-bd8e-6cfe44d5983d
2025-03-31 02:24:20,735 - INFO - Adding interface with subnet_id 377776da-1984-4f37-beb4-ab5703bbea12, port_id None to router f04731f5-9aef-48e8-aea1-652882611dbd
2025-03-31 02:24:21,131 - INFO - Waiting for VM ctest-TestRoutersBasic-72005859-88346103 to be up..
2025-03-31 02:24:21,308 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-03-31 02:24:26,405 - DEBUG - VM is in ACTIVE state now
2025-03-31 02:24:26,405 - INFO - VM name : ctest-TestRoutersBasic-72005859-88346103
2025-03-31 02:24:26,488 - DEBUG - VM ctest-TestRoutersBasic-72005859-88346103 ID is 7e4c79af-44b0-47d1-8d8e-cd83b8e6ef40
2025-03-31 02:24:26,509 - DEBUG - VM ctest-TestRoutersBasic-72005859-88346103 launched on Node cn-jenkins-deploy-platform-ansible-os-3011-1.
2025-03-31 02:24:26,587 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/7e4c79af-44b0-47d1-8d8e-cd83b8e6ef40
2025-03-31 02:24:26,884 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/7e4c79af-44b0-47d1-8d8e-cd83b8e6ef40
2025-03-31 02:24:26,919 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/581930d0-087a-44fc-9387-1f330965169d
2025-03-31 02:24:30,184 - 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 1018ms')
2025-03-31 02:24:30,184 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-72005859-88346103 failed!
2025-03-31 02:24:30,243 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-72005859:ctest-vn-36142061 is 201.157.138.129 and allocation pool is NOT set
2025-03-31 02:24:32,306 - 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=3.39 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.462 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.462/1.926/3.390/1.464 ms')
2025-03-31 02:24:32,306 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-72005859-88346103 passed
2025-03-31 02:24:32,419 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-31 02:24:32,419 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-72005859-88346103, IP 201.157.138.131, Port 22
2025-03-31 02:24:32,578 - DEBUG - VM ctest-TestRoutersBasic-72005859-88346103 is ready for SSH connections
2025-03-31 02:24:32,578 - INFO - Waiting for VM ctest-TestRoutersBasic-72005859-78217236 to be up..
2025-03-31 02:24:32,654 - DEBUG - VM is in ACTIVE state now
2025-03-31 02:24:32,655 - INFO - VM name : ctest-TestRoutersBasic-72005859-78217236
2025-03-31 02:24:32,730 - DEBUG - VM ctest-TestRoutersBasic-72005859-78217236 ID is 481c8ea1-0d2e-4fa8-8938-14e389ee052e
2025-03-31 02:24:32,730 - DEBUG - VM ctest-TestRoutersBasic-72005859-78217236 launched on Node cn-jenkins-deploy-platform-ansible-os-3011-1.
2025-03-31 02:24:32,808 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/481c8ea1-0d2e-4fa8-8938-14e389ee052e
2025-03-31 02:24:32,817 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/0af17daa-abdd-41f2-adf3-c32ea1dd297e
2025-03-31 02:24:34,063 - 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.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.407 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.407/2.086/3.765/1.679 ms')
2025-03-31 02:24:34,063 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-72005859-78217236 passed
2025-03-31 02:24:34,223 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-31 02:24:34,223 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-72005859-78217236, IP 187.144.222.131, Port 22
2025-03-31 02:24:34,378 - DEBUG - VM ctest-TestRoutersBasic-72005859-78217236 is ready for SSH connections
2025-03-31 02:24:34,378 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-31 02:24:34,379 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 187.144.222.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2025-03-31 02:24:34,379 - DEBUG - ping -s 56 -c 3 -W 1 187.144.222.131
2025-03-31 02:24:38,424 - DEBUG - PING 187.144.222.131 (187.144.222.131): 56 data bytes
64 bytes from 187.144.222.131: seq=0 ttl=62 time=7.782 ms
64 bytes from 187.144.222.131: seq=1 ttl=62 time=1.053 ms
64 bytes from 187.144.222.131: seq=2 ttl=62 time=1.340 ms
--- 187.144.222.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.053/3.391/7.782 ms
2025-03-31 02:24:38,424 - INFO - Ping to IP 187.144.222.131 from VM ctest-TestRoutersBasic-72005859-88346103 passed
2025-03-31 02:24:38,424 - INFO - Deleting interface with subnet_id 377776da-1984-4f37-beb4-ab5703bbea12, port_id None from router f04731f5-9aef-48e8-aea1-652882611dbd
2025-03-31 02:24:38,626 - INFO - Deleting VM ctest-TestRoutersBasic-72005859-78217236
2025-03-31 02:24:38,696 - INFO - Deleting VM ctest-TestRoutersBasic-72005859-88346103
2025-03-31 02:24:38,787 - INFO - Deleting VN ctest-ext_vn-11946226
2025-03-31 02:24:38,877 - DEBUG - VN fcf6edfe-65fa-4681-bd8e-6cfe44d5983d still in use: Unable to complete operation on network fcf6edfe-65fa-4681-bd8e-6cfe44d5983d. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-61c10915-10f0-46c9-9efd-febb998aab14']
2025-03-31 02:24:38,877 - WARNING - Deleting VN ctest-ext_vn-11946226 failed..Will retry
2025-03-31 02:24:41,011 - DEBUG - Response for deleting network ()
2025-03-31 02:24:41,011 - INFO - Deleting VN ctest-vn-36142061
2025-03-31 02:24:41,137 - DEBUG - Response for deleting network ()
2025-03-31 02:24:41,403 - DEBUG - No XMPP flaps were noticed during the test
2025-03-31 02:24:41,403 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-03-31 02:24:41,403 - INFO - --------------------------------------------------------------------------------
2025-03-31 02:24:42,114 - INFO - Deleted project: ctest-TestRoutersBasic-72005859, ID : 513c773d-18e0-40de-a85b-8ed35ab06cee