2025-07-19 07:51:16,852 - INFO - Domain Default found not creating
2025-07-19 07:51:16,998 - INFO - Project ctest-TestRoutersBasic-17296866 not found, creating it
2025-07-19 07:51:17,428 - INFO - Created Project:ctest-TestRoutersBasic-17296866, ID : 2c285ccf-cc88-4d33-879c-a89875850cfe
2025-07-19 07:51:18,762 - INFO - ================================================================================
2025-07-19 07:51:18,763 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-07-19 07:51:18,763 - 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-19 07:51:19,024 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.0.0.27': '0'}} with
2025-07-19 07:51:19,024 - INFO - Initial checks done. Running the testcase now
2025-07-19 07:51:19,024 - INFO -
2025-07-19 07:51:19,703 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-17296866
2025-07-19 07:51:19,799 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-17296866
2025-07-19 07:51:20,111 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-17296866', 'default']}
2025-07-19 07:51:20,416 - DEBUG - Response for create_network : {'network': {'id': '533435f2-52ca-4fb2-8710-5b04af015efa', 'name': 'ctest-vn-81277855', 'tenant_id': '2c285ccfcc884d33879ca89875850cfe', 'project_id': '2c285ccfcc884d33879ca89875850cfe', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-17296866', 'ctest-vn-81277855'], 'port_security_enabled': True, 'description': ''}}
2025-07-19 07:51:20,638 - DEBUG - Response for create_subnet : {'subnet': {'id': '008bd777-26bd-48cc-9676-b72706bd3c3e', 'name': '', 'tenant_id': '2c285ccfcc884d33879ca89875850cfe', 'network_id': '533435f2-52ca-4fb2-8710-5b04af015efa', 'ip_version': 4, 'cidr': '120.89.25.0/26', 'allocation_pools': [{'start': '120.89.25.2', 'end': '120.89.25.62'}], 'gateway_ip': '120.89.25.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '120.89.25.2', 'tags': [], 'project_id': '2c285ccfcc884d33879ca89875850cfe'}}
2025-07-19 07:51:20,655 - INFO - Created VN ctest-vn-81277855
2025-07-19 07:51:20,707 - DEBUG - VN ctest-vn-81277855 UUID is 533435f2-52ca-4fb2-8710-5b04af015efa
2025-07-19 07:51:21,041 - DEBUG - Response for create_network : {'network': {'id': 'ba815283-405b-4b29-9775-e543703f45ce', 'name': 'ctest-ext_vn-64580670', 'tenant_id': '2c285ccfcc884d33879ca89875850cfe', 'project_id': '2c285ccfcc884d33879ca89875850cfe', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-17296866', 'ctest-ext_vn-64580670'], 'port_security_enabled': True, 'description': ''}}
2025-07-19 07:51:21,220 - DEBUG - Response for create_subnet : {'subnet': {'id': '0cfa5375-de88-46cf-a073-be44866d7842', 'name': '', 'tenant_id': '2c285ccfcc884d33879ca89875850cfe', 'network_id': 'ba815283-405b-4b29-9775-e543703f45ce', 'ip_version': 4, 'cidr': '208.3.141.128/26', 'allocation_pools': [{'start': '208.3.141.130', 'end': '208.3.141.190'}], 'gateway_ip': '208.3.141.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '208.3.141.130', 'tags': [], 'project_id': '2c285ccfcc884d33879ca89875850cfe'}}
2025-07-19 07:51:21,237 - INFO - Created VN ctest-ext_vn-64580670
2025-07-19 07:51:21,287 - DEBUG - VN ctest-ext_vn-64580670 UUID is ba815283-405b-4b29-9775-e543703f45ce
2025-07-19 07:51:21,489 - DEBUG - Services list from nova: [, , ]
2025-07-19 07:51:22,450 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3670-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3670-1)
2025-07-19 07:51:23,534 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3670-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3670-1)
2025-07-19 07:51:23,610 - INFO - Setting gateway for router a3e2e3e3-2b38-4bde-8944-445944b678f8 to network ba815283-405b-4b29-9775-e543703f45ce
2025-07-19 07:51:23,683 - INFO - Adding interface with subnet_id 008bd777-26bd-48cc-9676-b72706bd3c3e, port_id None to router a3e2e3e3-2b38-4bde-8944-445944b678f8
2025-07-19 07:51:23,975 - INFO - Waiting for VM ctest-TestRoutersBasic-17296866-45758868 to be up..
2025-07-19 07:51:24,092 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-07-19 07:51:29,163 - DEBUG - VM is in ACTIVE state now
2025-07-19 07:51:29,163 - INFO - VM name : ctest-TestRoutersBasic-17296866-45758868
2025-07-19 07:51:29,230 - DEBUG - VM ctest-TestRoutersBasic-17296866-45758868 ID is 1ee36510-2e27-4cf4-aac3-8e2ce8030af8
2025-07-19 07:51:29,249 - DEBUG - VM ctest-TestRoutersBasic-17296866-45758868 launched on Node cn-jenkins-deploy-platform-ansible-os-3670-1.
2025-07-19 07:51:29,442 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/1ee36510-2e27-4cf4-aac3-8e2ce8030af8
2025-07-19 07:51:29,734 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/1ee36510-2e27-4cf4-aac3-8e2ce8030af8
2025-07-19 07:51:29,770 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/f22adff1-dad9-44b5-8397-002061ac7db8
2025-07-19 07:51:33,011 - 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-19 07:51:33,011 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-17296866-45758868 failed!
2025-07-19 07:51:33,067 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-17296866:ctest-vn-81277855 is 120.89.25.1 and allocation pool is NOT set
2025-07-19 07:51:35,135 - 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.87 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.898 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.898/2.384/3.870/1.486 ms')
2025-07-19 07:51:35,135 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-17296866-45758868 passed
2025-07-19 07:51:35,283 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-19 07:51:35,283 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-17296866-45758868, IP 120.89.25.3, Port 22
2025-07-19 07:51:35,438 - DEBUG - VM ctest-TestRoutersBasic-17296866-45758868 is ready for SSH connections
2025-07-19 07:51:35,438 - INFO - Waiting for VM ctest-TestRoutersBasic-17296866-35021708 to be up..
2025-07-19 07:51:35,505 - DEBUG - VM is in ACTIVE state now
2025-07-19 07:51:35,506 - INFO - VM name : ctest-TestRoutersBasic-17296866-35021708
2025-07-19 07:51:35,573 - DEBUG - VM ctest-TestRoutersBasic-17296866-35021708 ID is bbafa977-f310-43ff-9705-61c74dda44c9
2025-07-19 07:51:35,573 - DEBUG - VM ctest-TestRoutersBasic-17296866-35021708 launched on Node cn-jenkins-deploy-platform-ansible-os-3670-1.
2025-07-19 07:51:35,639 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/bbafa977-f310-43ff-9705-61c74dda44c9
2025-07-19 07:51:35,647 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/75aef3b0-c7eb-45f9-9fc6-f9f75f2ccecd
2025-07-19 07:51:36,884 - 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.98 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.06 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 = 1.062/3.022/4.983/1.960 ms')
2025-07-19 07:51:36,884 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-17296866-35021708 passed
2025-07-19 07:51:37,039 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-19 07:51:37,039 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-17296866-35021708, IP 208.3.141.131, Port 22
2025-07-19 07:51:37,199 - DEBUG - VM ctest-TestRoutersBasic-17296866-35021708 is ready for SSH connections
2025-07-19 07:51:37,199 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-19 07:51:37,200 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 208.3.141.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2025-07-19 07:51:37,200 - DEBUG - ping -s 56 -c 3 -W 1 208.3.141.131
2025-07-19 07:51:40,894 - DEBUG - PING 208.3.141.131 (208.3.141.131): 56 data bytes
64 bytes from 208.3.141.131: seq=0 ttl=62 time=7.665 ms
64 bytes from 208.3.141.131: seq=1 ttl=62 time=0.918 ms
64 bytes from 208.3.141.131: seq=2 ttl=62 time=0.712 ms
--- 208.3.141.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.712/3.098/7.665 ms
2025-07-19 07:51:40,894 - INFO - Ping to IP 208.3.141.131 from VM ctest-TestRoutersBasic-17296866-45758868 passed
2025-07-19 07:51:40,894 - INFO - Deleting interface with subnet_id 008bd777-26bd-48cc-9676-b72706bd3c3e, port_id None from router a3e2e3e3-2b38-4bde-8944-445944b678f8
2025-07-19 07:51:41,077 - INFO - Deleting VM ctest-TestRoutersBasic-17296866-35021708
2025-07-19 07:51:41,142 - INFO - Deleting VM ctest-TestRoutersBasic-17296866-45758868
2025-07-19 07:51:41,224 - INFO - Deleting VN ctest-ext_vn-64580670
2025-07-19 07:51:41,289 - DEBUG - VN ba815283-405b-4b29-9775-e543703f45ce still in use: Unable to complete operation on network ba815283-405b-4b29-9775-e543703f45ce. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-27da454b-a7d6-4829-b1ca-67945280ca77']
2025-07-19 07:51:41,289 - WARNING - Deleting VN ctest-ext_vn-64580670 failed..Will retry
2025-07-19 07:51:43,389 - DEBUG - Response for deleting network ()
2025-07-19 07:51:43,389 - INFO - Deleting VN ctest-vn-81277855
2025-07-19 07:51:43,487 - DEBUG - Response for deleting network ()
2025-07-19 07:51:43,739 - DEBUG - No XMPP flaps were noticed during the test
2025-07-19 07:51:43,739 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-07-19 07:51:43,739 - INFO - --------------------------------------------------------------------------------
2025-07-19 07:51:44,411 - INFO - Deleted project: ctest-TestRoutersBasic-17296866, ID : 2c285ccf-cc88-4d33-879c-a89875850cfe