2025-08-19 10:32:04,185 - INFO - Domain Default found not creating
2025-08-19 10:32:04,321 - INFO - Project ctest-TestRoutersBasic-41618250 not found, creating it
2025-08-19 10:32:04,748 - INFO - Created Project:ctest-TestRoutersBasic-41618250, ID : f120fe3d-5e5e-48ec-b50e-1b4668bd8de1
2025-08-19 10:32:06,122 - INFO - ================================================================================
2025-08-19 10:32:06,122 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-08-19 10:32:06,122 - 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-19 10:32:06,379 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with
2025-08-19 10:32:06,379 - INFO - Initial checks done. Running the testcase now
2025-08-19 10:32:06,380 - INFO -
2025-08-19 10:32:07,084 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-41618250
2025-08-19 10:32:07,178 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-41618250
2025-08-19 10:32:07,505 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-41618250', 'default']}
2025-08-19 10:32:07,794 - DEBUG - Response for create_network : {'network': {'id': '66d24588-0adb-48c6-a087-ebcc61bc5c74', 'name': 'ctest-vn-20650129', 'tenant_id': 'f120fe3d5e5e48ecb50e1b4668bd8de1', 'project_id': 'f120fe3d5e5e48ecb50e1b4668bd8de1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-41618250', 'ctest-vn-20650129'], 'port_security_enabled': True, 'description': ''}}
2025-08-19 10:32:08,011 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c32b5449-9ec3-45e1-96a7-20cdee489c76', 'name': '', 'tenant_id': 'f120fe3d5e5e48ecb50e1b4668bd8de1', 'network_id': '66d24588-0adb-48c6-a087-ebcc61bc5c74', 'ip_version': 4, 'cidr': '120.205.59.192/26', 'allocation_pools': [{'start': '120.205.59.194', 'end': '120.205.59.254'}], 'gateway_ip': '120.205.59.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '120.205.59.194', 'tags': [], 'project_id': 'f120fe3d5e5e48ecb50e1b4668bd8de1'}}
2025-08-19 10:32:08,034 - INFO - Created VN ctest-vn-20650129
2025-08-19 10:32:08,085 - DEBUG - VN ctest-vn-20650129 UUID is 66d24588-0adb-48c6-a087-ebcc61bc5c74
2025-08-19 10:32:08,392 - DEBUG - Response for create_network : {'network': {'id': '9f17d922-8db5-4ec0-b46b-f5b547bfd91f', 'name': 'ctest-ext_vn-04993810', 'tenant_id': 'f120fe3d5e5e48ecb50e1b4668bd8de1', 'project_id': 'f120fe3d5e5e48ecb50e1b4668bd8de1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-41618250', 'ctest-ext_vn-04993810'], 'port_security_enabled': True, 'description': ''}}
2025-08-19 10:32:08,594 - DEBUG - Response for create_subnet : {'subnet': {'id': '32a6a9bd-d79e-4ee3-9bf2-fedfb4c9d9ec', 'name': '', 'tenant_id': 'f120fe3d5e5e48ecb50e1b4668bd8de1', 'network_id': '9f17d922-8db5-4ec0-b46b-f5b547bfd91f', 'ip_version': 4, 'cidr': '35.210.207.0/26', 'allocation_pools': [{'start': '35.210.207.2', 'end': '35.210.207.62'}], 'gateway_ip': '35.210.207.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.210.207.2', 'tags': [], 'project_id': 'f120fe3d5e5e48ecb50e1b4668bd8de1'}}
2025-08-19 10:32:08,613 - INFO - Created VN ctest-ext_vn-04993810
2025-08-19 10:32:08,669 - DEBUG - VN ctest-ext_vn-04993810 UUID is 9f17d922-8db5-4ec0-b46b-f5b547bfd91f
2025-08-19 10:32:08,878 - DEBUG - Services list from nova: [, , ]
2025-08-19 10:32:09,861 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3882-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3882-1)
2025-08-19 10:32:10,952 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3882-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3882-1)
2025-08-19 10:32:11,050 - INFO - Setting gateway for router 0f102340-205c-4f70-9830-585d7f126cdf to network 9f17d922-8db5-4ec0-b46b-f5b547bfd91f
2025-08-19 10:32:11,128 - INFO - Adding interface with subnet_id c32b5449-9ec3-45e1-96a7-20cdee489c76, port_id None to router 0f102340-205c-4f70-9830-585d7f126cdf
2025-08-19 10:32:11,604 - INFO - Waiting for VM ctest-TestRoutersBasic-41618250-09839772 to be up..
2025-08-19 10:32:11,741 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-19 10:32:16,835 - DEBUG - VM is in ACTIVE state now
2025-08-19 10:32:16,835 - INFO - VM name : ctest-TestRoutersBasic-41618250-09839772
2025-08-19 10:32:16,910 - DEBUG - VM ctest-TestRoutersBasic-41618250-09839772 ID is e1db74d8-a203-4877-b76f-6469e9130ed3
2025-08-19 10:32:16,928 - DEBUG - VM ctest-TestRoutersBasic-41618250-09839772 launched on Node cn-jenkins-deploy-platform-ansible-os-3882-1
2025-08-19 10:32:17,003 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/e1db74d8-a203-4877-b76f-6469e9130ed3
2025-08-19 10:32:17,300 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/e1db74d8-a203-4877-b76f-6469e9130ed3
2025-08-19 10:32:17,333 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/27c0a88e-b70e-4304-8e46-33471605d454
2025-08-19 10:32:20,589 - 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 1014ms')
2025-08-19 10:32:20,590 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-41618250-09839772 failed!
2025-08-19 10:32:20,645 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-41618250:ctest-vn-20650129 is 120.205.59.193 and allocation pool is NOT set
2025-08-19 10:32:22,706 - 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=2.96 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.21 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 = 2.211/2.585/2.959/0.374 ms')
2025-08-19 10:32:22,706 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-41618250-09839772 passed
2025-08-19 10:32:22,862 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-19 10:32:22,862 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-41618250-09839772, IP 120.205.59.195, Port 22
2025-08-19 10:32:23,017 - DEBUG - VM ctest-TestRoutersBasic-41618250-09839772 is ready for SSH connections
2025-08-19 10:32:23,017 - INFO - Waiting for VM ctest-TestRoutersBasic-41618250-90687945 to be up..
2025-08-19 10:32:23,092 - DEBUG - VM is in ACTIVE state now
2025-08-19 10:32:23,092 - INFO - VM name : ctest-TestRoutersBasic-41618250-90687945
2025-08-19 10:32:23,167 - DEBUG - VM ctest-TestRoutersBasic-41618250-90687945 ID is cd12783f-0e67-4bf6-bb09-923b2a89890e
2025-08-19 10:32:23,167 - DEBUG - VM ctest-TestRoutersBasic-41618250-90687945 launched on Node cn-jenkins-deploy-platform-ansible-os-3882-1
2025-08-19 10:32:23,231 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/cd12783f-0e67-4bf6-bb09-923b2a89890e
2025-08-19 10:32:23,240 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/97394d92-9759-433c-b033-1552da682e7a
2025-08-19 10:32:24,475 - 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.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.96 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 = 1.955/3.328/4.702/1.373 ms')
2025-08-19 10:32:24,475 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-41618250-90687945 passed
2025-08-19 10:32:24,622 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-19 10:32:24,622 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-41618250-90687945, IP 35.210.207.3, Port 22
2025-08-19 10:32:24,777 - DEBUG - VM ctest-TestRoutersBasic-41618250-90687945 is ready for SSH connections
2025-08-19 10:32:24,777 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-19 10:32:24,777 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.210.207.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123
2025-08-19 10:32:24,777 - DEBUG - ping -s 56 -c 3 -W 1 35.210.207.3
2025-08-19 10:32:28,475 - DEBUG - PING 35.210.207.3 (35.210.207.3): 56 data bytes
64 bytes from 35.210.207.3: seq=0 ttl=62 time=4.112 ms
64 bytes from 35.210.207.3: seq=1 ttl=62 time=0.798 ms
64 bytes from 35.210.207.3: seq=2 ttl=62 time=0.801 ms
--- 35.210.207.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.798/1.903/4.112 ms
2025-08-19 10:32:28,476 - INFO - Ping to IP 35.210.207.3 from VM ctest-TestRoutersBasic-41618250-09839772 passed
2025-08-19 10:32:28,476 - INFO - Deleting interface with subnet_id c32b5449-9ec3-45e1-96a7-20cdee489c76, port_id None from router 0f102340-205c-4f70-9830-585d7f126cdf
2025-08-19 10:32:28,670 - INFO - Deleting VM ctest-TestRoutersBasic-41618250-90687945
2025-08-19 10:32:28,736 - INFO - Deleting VM ctest-TestRoutersBasic-41618250-09839772
2025-08-19 10:32:28,823 - INFO - Deleting VN ctest-ext_vn-04993810
2025-08-19 10:32:28,891 - DEBUG - VN 9f17d922-8db5-4ec0-b46b-f5b547bfd91f still in use: Unable to complete operation on network 9f17d922-8db5-4ec0-b46b-f5b547bfd91f. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-2f080edb-2534-4f3e-9bec-7f3b163e6602']
2025-08-19 10:32:28,891 - WARNING - Deleting VN ctest-ext_vn-04993810 failed..Will retry
2025-08-19 10:32:31,003 - DEBUG - Response for deleting network ()
2025-08-19 10:32:31,003 - INFO - Deleting VN ctest-vn-20650129
2025-08-19 10:32:31,121 - DEBUG - Response for deleting network ()
2025-08-19 10:32:31,375 - DEBUG - No XMPP flaps were noticed during the test
2025-08-19 10:32:31,375 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-08-19 10:32:31,375 - INFO - --------------------------------------------------------------------------------
2025-08-19 10:32:32,066 - INFO - Deleted project: ctest-TestRoutersBasic-41618250, ID : f120fe3d-5e5e-48ec-b50e-1b4668bd8de1