2025-08-18 17:59:23,172 - INFO - Domain Default found not creating 2025-08-18 17:59:23,292 - INFO - Project ctest-TestRoutersBasic-26288247 not found, creating it 2025-08-18 17:59:23,738 - INFO - Created Project:ctest-TestRoutersBasic-26288247, ID : 2f218c52-7296-4114-b55b-66ed70a13f4b 2025-08-18 17:59:25,056 - INFO - ================================================================================ 2025-08-18 17:59:25,057 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-18 17:59:25,057 - 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-18 17:59:25,315 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-08-18 17:59:25,315 - INFO - Initial checks done. Running the testcase now 2025-08-18 17:59:25,315 - INFO - 2025-08-18 17:59:25,981 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-26288247 2025-08-18 17:59:26,078 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-26288247 2025-08-18 17:59:26,401 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-26288247', 'default']} 2025-08-18 17:59:26,679 - DEBUG - Response for create_network : {'network': {'id': '71fbc883-c8a1-430b-b853-360d8a9dfcd3', 'name': 'ctest-vn-31111939', 'tenant_id': '2f218c5272964114b55b66ed70a13f4b', 'project_id': '2f218c5272964114b55b66ed70a13f4b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-26288247', 'ctest-vn-31111939'], 'port_security_enabled': True, 'description': ''}} 2025-08-18 17:59:26,873 - DEBUG - Response for create_subnet : {'subnet': {'id': '012eaaf0-813a-4414-ae49-de5359d1ed6a', 'name': '', 'tenant_id': '2f218c5272964114b55b66ed70a13f4b', 'network_id': '71fbc883-c8a1-430b-b853-360d8a9dfcd3', 'ip_version': 4, 'cidr': '71.133.127.64/26', 'allocation_pools': [{'start': '71.133.127.66', 'end': '71.133.127.126'}], 'gateway_ip': '71.133.127.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '71.133.127.66', 'tags': [], 'project_id': '2f218c5272964114b55b66ed70a13f4b'}} 2025-08-18 17:59:26,889 - INFO - Created VN ctest-vn-31111939 2025-08-18 17:59:26,941 - DEBUG - VN ctest-vn-31111939 UUID is 71fbc883-c8a1-430b-b853-360d8a9dfcd3 2025-08-18 17:59:27,288 - DEBUG - Response for create_network : {'network': {'id': 'e45b2458-b949-4a00-b972-805c0cee8156', 'name': 'ctest-ext_vn-67424099', 'tenant_id': '2f218c5272964114b55b66ed70a13f4b', 'project_id': '2f218c5272964114b55b66ed70a13f4b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-26288247', 'ctest-ext_vn-67424099'], 'port_security_enabled': True, 'description': ''}} 2025-08-18 17:59:27,458 - DEBUG - Response for create_subnet : {'subnet': {'id': '5138f999-13ce-4f7f-8f29-e563161787bb', 'name': '', 'tenant_id': '2f218c5272964114b55b66ed70a13f4b', 'network_id': 'e45b2458-b949-4a00-b972-805c0cee8156', 'ip_version': 4, 'cidr': '193.67.54.128/26', 'allocation_pools': [{'start': '193.67.54.130', 'end': '193.67.54.190'}], 'gateway_ip': '193.67.54.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '193.67.54.130', 'tags': [], 'project_id': '2f218c5272964114b55b66ed70a13f4b'}} 2025-08-18 17:59:27,472 - INFO - Created VN ctest-ext_vn-67424099 2025-08-18 17:59:27,521 - DEBUG - VN ctest-ext_vn-67424099 UUID is e45b2458-b949-4a00-b972-805c0cee8156 2025-08-18 17:59:27,708 - DEBUG - Services list from nova: [, , ] 2025-08-18 17:59:28,640 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3879-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3879-1) 2025-08-18 17:59:29,687 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3879-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3879-1) 2025-08-18 17:59:29,769 - INFO - Setting gateway for router 7d8e548a-a908-4035-87e9-00758f793100 to network e45b2458-b949-4a00-b972-805c0cee8156 2025-08-18 17:59:29,833 - INFO - Adding interface with subnet_id 012eaaf0-813a-4414-ae49-de5359d1ed6a, port_id None to router 7d8e548a-a908-4035-87e9-00758f793100 2025-08-18 17:59:30,253 - INFO - Waiting for VM ctest-TestRoutersBasic-26288247-19231090 to be up.. 2025-08-18 17:59:30,437 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-18 17:59:35,503 - DEBUG - VM is in ACTIVE state now 2025-08-18 17:59:35,503 - INFO - VM name : ctest-TestRoutersBasic-26288247-19231090 2025-08-18 17:59:35,576 - DEBUG - VM ctest-TestRoutersBasic-26288247-19231090 ID is bb2b55ad-4a36-4924-8c6d-2c94410d4cee 2025-08-18 17:59:35,594 - DEBUG - VM ctest-TestRoutersBasic-26288247-19231090 launched on Node cn-jenkins-deploy-platform-ansible-os-3879-1 2025-08-18 17:59:35,658 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/bb2b55ad-4a36-4924-8c6d-2c94410d4cee 2025-08-18 17:59:35,952 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/bb2b55ad-4a36-4924-8c6d-2c94410d4cee 2025-08-18 17:59:35,982 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/4f56cf3a-66a1-49d9-991a-e5ea024196d5 2025-08-18 17:59:39,243 - 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=2 ttl=63 time=9.95 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1032ms\r\nrtt min/avg/max/mdev = 9.949/9.949/9.949/0.000 ms') 2025-08-18 17:59:39,243 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-26288247-19231090 passed 2025-08-18 17:59:39,393 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 17:59:39,394 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-26288247-19231090, IP 71.133.127.67, Port 22 2025-08-18 17:59:39,544 - DEBUG - VM ctest-TestRoutersBasic-26288247-19231090 is ready for SSH connections 2025-08-18 17:59:39,545 - INFO - Waiting for VM ctest-TestRoutersBasic-26288247-34893296 to be up.. 2025-08-18 17:59:39,609 - DEBUG - VM is in ACTIVE state now 2025-08-18 17:59:39,609 - INFO - VM name : ctest-TestRoutersBasic-26288247-34893296 2025-08-18 17:59:39,679 - DEBUG - VM ctest-TestRoutersBasic-26288247-34893296 ID is 536ce474-a355-401a-9223-1c716a94b060 2025-08-18 17:59:39,679 - DEBUG - VM ctest-TestRoutersBasic-26288247-34893296 launched on Node cn-jenkins-deploy-platform-ansible-os-3879-1 2025-08-18 17:59:39,740 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/536ce474-a355-401a-9223-1c716a94b060 2025-08-18 17:59:39,747 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/d1728aec-d5c7-4885-9caf-2c89c261790a 2025-08-18 17:59:40,975 - 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.27 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.485 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.485/1.876/3.268/1.391 ms') 2025-08-18 17:59:40,975 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-26288247-34893296 passed 2025-08-18 17:59:41,129 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 17:59:41,130 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-26288247-34893296, IP 193.67.54.131, Port 22 2025-08-18 17:59:41,284 - DEBUG - VM ctest-TestRoutersBasic-26288247-34893296 is ready for SSH connections 2025-08-18 17:59:41,284 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 17:59:41,285 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 193.67.54.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-18 17:59:41,285 - DEBUG - ping -s 56 -c 3 -W 1 193.67.54.131 2025-08-18 17:59:44,940 - DEBUG - PING 193.67.54.131 (193.67.54.131): 56 data bytes 64 bytes from 193.67.54.131: seq=0 ttl=62 time=5.756 ms 64 bytes from 193.67.54.131: seq=1 ttl=62 time=0.742 ms 64 bytes from 193.67.54.131: seq=2 ttl=62 time=0.817 ms --- 193.67.54.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.742/2.438/5.756 ms 2025-08-18 17:59:44,940 - INFO - Ping to IP 193.67.54.131 from VM ctest-TestRoutersBasic-26288247-19231090 passed 2025-08-18 17:59:44,940 - INFO - Deleting interface with subnet_id 012eaaf0-813a-4414-ae49-de5359d1ed6a, port_id None from router 7d8e548a-a908-4035-87e9-00758f793100 2025-08-18 17:59:45,098 - INFO - Deleting VM ctest-TestRoutersBasic-26288247-34893296 2025-08-18 17:59:45,160 - INFO - Deleting VM ctest-TestRoutersBasic-26288247-19231090 2025-08-18 17:59:45,230 - INFO - Deleting VN ctest-ext_vn-67424099 2025-08-18 17:59:45,285 - DEBUG - VN e45b2458-b949-4a00-b972-805c0cee8156 still in use: Unable to complete operation on network e45b2458-b949-4a00-b972-805c0cee8156. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-916b2f22-07e7-471a-b8ca-b20692fae8c7'] 2025-08-18 17:59:45,285 - WARNING - Deleting VN ctest-ext_vn-67424099 failed..Will retry 2025-08-18 17:59:47,377 - DEBUG - Response for deleting network () 2025-08-18 17:59:47,377 - INFO - Deleting VN ctest-vn-31111939 2025-08-18 17:59:47,468 - DEBUG - Response for deleting network () 2025-08-18 17:59:47,720 - DEBUG - No XMPP flaps were noticed during the test
2025-08-18 17:59:47,720 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:22]
2025-08-18 17:59:47,720 - INFO - -------------------------------------------------------------------------------- 2025-08-18 17:59:48,357 - INFO - Deleted project: ctest-TestRoutersBasic-26288247, ID : 2f218c52-7296-4114-b55b-66ed70a13f4b