2025-09-05 11:01:53,247 - INFO - Domain Default found not creating
2025-09-05 11:01:53,429 - INFO - Project ctest-TestRoutersBasic-16800144 not found, creating it
2025-09-05 11:01:53,911 - INFO - Created Project:ctest-TestRoutersBasic-16800144, ID : 05121692-dd2c-4d14-9ab9-8c80086c7be9
2025-09-05 11:01:55,393 - INFO - ================================================================================
2025-09-05 11:01:55,393 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-09-05 11:01:55,394 - 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-09-05 11:01:55,648 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2025-09-05 11:01:55,649 - INFO - Initial checks done. Running the testcase now
2025-09-05 11:01:55,649 - INFO -
2025-09-05 11:01:56,359 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-16800144
2025-09-05 11:01:56,457 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-16800144
2025-09-05 11:01:56,780 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-16800144', 'default']}
2025-09-05 11:01:57,070 - DEBUG - Response for create_network : {'network': {'id': '585d4201-8576-427c-b94d-9418b2ce7f05', 'name': 'ctest-vn-04371578', 'tenant_id': '05121692dd2c4d149ab98c80086c7be9', 'project_id': '05121692dd2c4d149ab98c80086c7be9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-16800144', 'ctest-vn-04371578'], 'port_security_enabled': True, 'description': ''}}
2025-09-05 11:01:57,290 - DEBUG - Response for create_subnet : {'subnet': {'id': '8b47bf0e-0577-4743-a3a4-8b57f0495838', 'name': '', 'tenant_id': '05121692dd2c4d149ab98c80086c7be9', 'network_id': '585d4201-8576-427c-b94d-9418b2ce7f05', 'ip_version': 4, 'cidr': '15.126.127.128/26', 'allocation_pools': [{'start': '15.126.127.130', 'end': '15.126.127.190'}], 'gateway_ip': '15.126.127.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '15.126.127.130', 'tags': [], 'project_id': '05121692dd2c4d149ab98c80086c7be9'}}
2025-09-05 11:01:57,306 - INFO - Created VN ctest-vn-04371578
2025-09-05 11:01:57,361 - DEBUG - VN ctest-vn-04371578 UUID is 585d4201-8576-427c-b94d-9418b2ce7f05
2025-09-05 11:01:57,661 - DEBUG - Response for create_network : {'network': {'id': '0c8b323d-423c-4e19-a5c2-ac1c5ec2eac9', 'name': 'ctest-ext_vn-28890855', 'tenant_id': '05121692dd2c4d149ab98c80086c7be9', 'project_id': '05121692dd2c4d149ab98c80086c7be9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-16800144', 'ctest-ext_vn-28890855'], 'port_security_enabled': True, 'description': ''}}
2025-09-05 11:01:57,834 - DEBUG - Response for create_subnet : {'subnet': {'id': '07793f67-f133-4ee9-83cb-c1c298dcc523', 'name': '', 'tenant_id': '05121692dd2c4d149ab98c80086c7be9', 'network_id': '0c8b323d-423c-4e19-a5c2-ac1c5ec2eac9', 'ip_version': 4, 'cidr': '128.251.227.128/26', 'allocation_pools': [{'start': '128.251.227.130', 'end': '128.251.227.190'}], 'gateway_ip': '128.251.227.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '128.251.227.130', 'tags': [], 'project_id': '05121692dd2c4d149ab98c80086c7be9'}}
2025-09-05 11:01:57,851 - INFO - Created VN ctest-ext_vn-28890855
2025-09-05 11:01:57,905 - DEBUG - VN ctest-ext_vn-28890855 UUID is 0c8b323d-423c-4e19-a5c2-ac1c5ec2eac9
2025-09-05 11:01:58,072 - DEBUG - Services list from nova: [, , ]
2025-09-05 11:01:59,107 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4023-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4023-1)
2025-09-05 11:02:00,280 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4023-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4023-1)
2025-09-05 11:02:00,344 - INFO - Setting gateway for router 85ec57bc-428e-4112-bdc9-5a2681eccb2e to network 0c8b323d-423c-4e19-a5c2-ac1c5ec2eac9
2025-09-05 11:02:00,404 - INFO - Adding interface with subnet_id 8b47bf0e-0577-4743-a3a4-8b57f0495838, port_id None to router 85ec57bc-428e-4112-bdc9-5a2681eccb2e
2025-09-05 11:02:00,706 - INFO - Waiting for VM ctest-TestRoutersBasic-16800144-85641410 to be up..
2025-09-05 11:02:00,808 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-05 11:02:05,880 - DEBUG - VM is in ACTIVE state now
2025-09-05 11:02:05,880 - INFO - VM name : ctest-TestRoutersBasic-16800144-85641410
2025-09-05 11:02:05,950 - DEBUG - VM ctest-TestRoutersBasic-16800144-85641410 ID is 01f99d42-e55f-4bf2-9173-19ea3615fc48
2025-09-05 11:02:05,969 - DEBUG - VM ctest-TestRoutersBasic-16800144-85641410 launched on Node cn-jenkins-deploy-platform-ansible-os-4023-1
2025-09-05 11:02:06,040 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/01f99d42-e55f-4bf2-9173-19ea3615fc48
2025-09-05 11:02:06,337 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/01f99d42-e55f-4bf2-9173-19ea3615fc48
2025-09-05 11:02:06,367 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d38c5f86-f404-4e47-a579-0a35f6625339
2025-09-05 11:02:09,628 - 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 1022ms')
2025-09-05 11:02:09,628 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-16800144-85641410 failed!
2025-09-05 11:02:09,685 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-16800144:ctest-vn-04371578 is 15.126.127.129 and allocation pool is NOT set
2025-09-05 11:02:11,750 - 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=5.34 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.908 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.908/3.124/5.341/2.216 ms')
2025-09-05 11:02:11,750 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-16800144-85641410 passed
2025-09-05 11:02:11,901 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-05 11:02:11,901 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-16800144-85641410, IP 15.126.127.131, Port 22
2025-09-05 11:02:12,060 - DEBUG - VM ctest-TestRoutersBasic-16800144-85641410 is ready for SSH connections
2025-09-05 11:02:12,061 - INFO - Waiting for VM ctest-TestRoutersBasic-16800144-26299116 to be up..
2025-09-05 11:02:12,146 - DEBUG - VM is in ACTIVE state now
2025-09-05 11:02:12,146 - INFO - VM name : ctest-TestRoutersBasic-16800144-26299116
2025-09-05 11:02:12,220 - DEBUG - VM ctest-TestRoutersBasic-16800144-26299116 ID is da7a0fb6-70a6-4cfe-96eb-5c12f3c0a2c7
2025-09-05 11:02:12,220 - DEBUG - VM ctest-TestRoutersBasic-16800144-26299116 launched on Node cn-jenkins-deploy-platform-ansible-os-4023-1
2025-09-05 11:02:12,295 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/da7a0fb6-70a6-4cfe-96eb-5c12f3c0a2c7
2025-09-05 11:02:12,303 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/4e51765b-7932-44cc-9d81-dc4aa9d5f062
2025-09-05 11:02:13,545 - 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=2.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.419 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.419/1.623/2.828/1.204 ms')
2025-09-05 11:02:13,545 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-16800144-26299116 passed
2025-09-05 11:02:13,693 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-05 11:02:13,693 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-16800144-26299116, IP 128.251.227.131, Port 22
2025-09-05 11:02:13,853 - DEBUG - VM ctest-TestRoutersBasic-16800144-26299116 is ready for SSH connections
2025-09-05 11:02:13,853 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-05 11:02:13,853 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 128.251.227.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-09-05 11:02:13,853 - DEBUG - ping -s 56 -c 3 -W 1 128.251.227.131
2025-09-05 11:02:17,868 - DEBUG - PING 128.251.227.131 (128.251.227.131): 56 data bytes
64 bytes from 128.251.227.131: seq=0 ttl=62 time=5.124 ms
64 bytes from 128.251.227.131: seq=1 ttl=62 time=0.881 ms
64 bytes from 128.251.227.131: seq=2 ttl=62 time=0.884 ms
--- 128.251.227.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.881/2.296/5.124 ms
2025-09-05 11:02:17,868 - INFO - Ping to IP 128.251.227.131 from VM ctest-TestRoutersBasic-16800144-85641410 passed
2025-09-05 11:02:17,868 - INFO - Deleting interface with subnet_id 8b47bf0e-0577-4743-a3a4-8b57f0495838, port_id None from router 85ec57bc-428e-4112-bdc9-5a2681eccb2e
2025-09-05 11:02:18,084 - INFO - Deleting VM ctest-TestRoutersBasic-16800144-26299116
2025-09-05 11:02:18,156 - INFO - Deleting VM ctest-TestRoutersBasic-16800144-85641410
2025-09-05 11:02:18,234 - INFO - Deleting VN ctest-ext_vn-28890855
2025-09-05 11:02:18,298 - DEBUG - VN 0c8b323d-423c-4e19-a5c2-ac1c5ec2eac9 still in use: Unable to complete operation on network 0c8b323d-423c-4e19-a5c2-ac1c5ec2eac9. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-a3d41a63-b0f7-4b2f-9da3-47760cf6a278']
2025-09-05 11:02:18,298 - WARNING - Deleting VN ctest-ext_vn-28890855 failed..Will retry
2025-09-05 11:02:20,400 - DEBUG - Response for deleting network ()
2025-09-05 11:02:20,400 - INFO - Deleting VN ctest-vn-04371578
2025-09-05 11:02:20,492 - DEBUG - Response for deleting network ()
2025-09-05 11:02:20,749 - DEBUG - No XMPP flaps were noticed during the test
2025-09-05 11:02:20,749 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-09-05 11:02:20,749 - INFO - --------------------------------------------------------------------------------
2025-09-05 11:02:21,430 - INFO - Deleted project: ctest-TestRoutersBasic-16800144, ID : 05121692-dd2c-4d14-9ab9-8c80086c7be9