2025-04-09 11:36:46,507 - INFO - Domain Default found not creating
2025-04-09 11:36:46,679 - INFO - Project ctest-TestRoutersBasic-13686489 not found, creating it
2025-04-09 11:36:47,207 - INFO - Created Project:ctest-TestRoutersBasic-13686489, ID : b3764a31-be0d-4b12-aff6-3df69f8966e3
2025-04-09 11:36:48,754 - INFO - ================================================================================
2025-04-09 11:36:48,755 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-04-09 11:36:48,755 - 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-04-09 11:36:49,025 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2025-04-09 11:36:49,025 - INFO - Initial checks done. Running the testcase now
2025-04-09 11:36:49,026 - INFO -
2025-04-09 11:36:49,789 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-13686489
2025-04-09 11:36:49,889 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-13686489
2025-04-09 11:36:50,232 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-13686489', 'default']}
2025-04-09 11:36:50,557 - DEBUG - Response for create_network : {'network': {'id': '3b491d24-9e5a-4a7a-a3ea-34404e3b810b', 'name': 'ctest-vn-30428864', 'tenant_id': 'b3764a31be0d4b12aff63df69f8966e3', 'project_id': 'b3764a31be0d4b12aff63df69f8966e3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-13686489', 'ctest-vn-30428864'], 'port_security_enabled': True, 'description': ''}}
2025-04-09 11:36:50,808 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a7a077b5-cd0c-430f-8b25-a0528f613044', 'name': '', 'tenant_id': 'b3764a31be0d4b12aff63df69f8966e3', 'network_id': '3b491d24-9e5a-4a7a-a3ea-34404e3b810b', 'ip_version': 4, 'cidr': '23.135.246.64/26', 'allocation_pools': [{'start': '23.135.246.66', 'end': '23.135.246.126'}], 'gateway_ip': '23.135.246.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '23.135.246.66', 'tags': [], 'project_id': 'b3764a31be0d4b12aff63df69f8966e3'}}
2025-04-09 11:36:50,833 - INFO - Created VN ctest-vn-30428864
2025-04-09 11:36:50,889 - DEBUG - VN ctest-vn-30428864 UUID is 3b491d24-9e5a-4a7a-a3ea-34404e3b810b
2025-04-09 11:36:51,269 - DEBUG - Response for create_network : {'network': {'id': '47597aed-5bda-4d93-9b9d-384523046de5', 'name': 'ctest-ext_vn-88693651', 'tenant_id': 'b3764a31be0d4b12aff63df69f8966e3', 'project_id': 'b3764a31be0d4b12aff63df69f8966e3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-13686489', 'ctest-ext_vn-88693651'], 'port_security_enabled': True, 'description': ''}}
2025-04-09 11:36:51,471 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aab1df9a-10e1-49f9-83be-8add70f69e67', 'name': '', 'tenant_id': 'b3764a31be0d4b12aff63df69f8966e3', 'network_id': '47597aed-5bda-4d93-9b9d-384523046de5', 'ip_version': 4, 'cidr': '22.82.221.128/26', 'allocation_pools': [{'start': '22.82.221.130', 'end': '22.82.221.190'}], 'gateway_ip': '22.82.221.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '22.82.221.130', 'tags': [], 'project_id': 'b3764a31be0d4b12aff63df69f8966e3'}}
2025-04-09 11:36:51,494 - INFO - Created VN ctest-ext_vn-88693651
2025-04-09 11:36:51,557 - DEBUG - VN ctest-ext_vn-88693651 UUID is 47597aed-5bda-4d93-9b9d-384523046de5
2025-04-09 11:36:51,759 - DEBUG - Services list from nova: [, , ]
2025-04-09 11:36:52,838 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3062-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3062-1)
2025-04-09 11:36:54,063 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3062-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3062-1)
2025-04-09 11:36:54,156 - INFO - Setting gateway for router 65ef9c78-5cd5-488e-85b3-74d9b88147fb to network 47597aed-5bda-4d93-9b9d-384523046de5
2025-04-09 11:36:54,262 - INFO - Adding interface with subnet_id a7a077b5-cd0c-430f-8b25-a0528f613044, port_id None to router 65ef9c78-5cd5-488e-85b3-74d9b88147fb
2025-04-09 11:36:54,740 - INFO - Waiting for VM ctest-TestRoutersBasic-13686489-72868541 to be up..
2025-04-09 11:36:55,021 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-04-09 11:37:00,127 - DEBUG - VM is in ACTIVE state now
2025-04-09 11:37:00,128 - INFO - VM name : ctest-TestRoutersBasic-13686489-72868541
2025-04-09 11:37:00,217 - DEBUG - VM ctest-TestRoutersBasic-13686489-72868541 ID is 796f5e1f-8796-45b9-9903-23e0901dface
2025-04-09 11:37:00,238 - DEBUG - VM ctest-TestRoutersBasic-13686489-72868541 launched on Node cn-jenkins-deploy-platform-ansible-os-3062-1
2025-04-09 11:37:00,324 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/796f5e1f-8796-45b9-9903-23e0901dface
2025-04-09 11:37:00,738 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/796f5e1f-8796-45b9-9903-23e0901dface
2025-04-09 11:37:00,783 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/68a98d94-3139-4e1a-bcd5-6faf8a58e5f8
2025-04-09 11:37:04,064 - 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-04-09 11:37:04,064 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-13686489-72868541 failed!
2025-04-09 11:37:04,121 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-13686489:ctest-vn-30428864 is 23.135.246.65 and allocation pool is NOT set
2025-04-09 11:37:06,184 - 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.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.631 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.631/3.195/5.760/2.564 ms')
2025-04-09 11:37:06,185 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-13686489-72868541 passed
2025-04-09 11:37:06,349 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-09 11:37:06,349 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-13686489-72868541, IP 23.135.246.67, Port 22
2025-04-09 11:37:06,508 - DEBUG - VM ctest-TestRoutersBasic-13686489-72868541 is ready for SSH connections
2025-04-09 11:37:06,509 - INFO - Waiting for VM ctest-TestRoutersBasic-13686489-07457634 to be up..
2025-04-09 11:37:06,607 - DEBUG - VM is in ACTIVE state now
2025-04-09 11:37:06,607 - INFO - VM name : ctest-TestRoutersBasic-13686489-07457634
2025-04-09 11:37:06,695 - DEBUG - VM ctest-TestRoutersBasic-13686489-07457634 ID is 8075c63f-d112-4292-90b0-c0145240099a
2025-04-09 11:37:06,696 - DEBUG - VM ctest-TestRoutersBasic-13686489-07457634 launched on Node cn-jenkins-deploy-platform-ansible-os-3062-1
2025-04-09 11:37:06,795 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/8075c63f-d112-4292-90b0-c0145240099a
2025-04-09 11:37:06,812 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/aa8b0614-fc2e-45a6-a5f1-a66000f26542
2025-04-09 11:37:08,082 - 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=5.31 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.55 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.547/3.429/5.311/1.882 ms')
2025-04-09 11:37:08,082 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-13686489-07457634 passed
2025-04-09 11:37:08,245 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-09 11:37:08,245 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-13686489-07457634, IP 22.82.221.131, Port 22
2025-04-09 11:37:08,400 - DEBUG - VM ctest-TestRoutersBasic-13686489-07457634 is ready for SSH connections
2025-04-09 11:37:08,401 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-09 11:37:08,401 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 22.82.221.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-04-09 11:37:08,401 - DEBUG - ping -s 56 -c 3 -W 1 22.82.221.131
2025-04-09 11:37:12,118 - DEBUG - PING 22.82.221.131 (22.82.221.131): 56 data bytes
64 bytes from 22.82.221.131: seq=0 ttl=62 time=6.565 ms
64 bytes from 22.82.221.131: seq=1 ttl=62 time=0.916 ms
64 bytes from 22.82.221.131: seq=2 ttl=62 time=0.842 ms
--- 22.82.221.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.842/2.774/6.565 ms
2025-04-09 11:37:12,118 - INFO - Ping to IP 22.82.221.131 from VM ctest-TestRoutersBasic-13686489-72868541 passed
2025-04-09 11:37:12,118 - INFO - Deleting interface with subnet_id a7a077b5-cd0c-430f-8b25-a0528f613044, port_id None from router 65ef9c78-5cd5-488e-85b3-74d9b88147fb
2025-04-09 11:37:12,365 - INFO - Deleting VM ctest-TestRoutersBasic-13686489-07457634
2025-04-09 11:37:12,447 - INFO - Deleting VM ctest-TestRoutersBasic-13686489-72868541
2025-04-09 11:37:12,545 - INFO - Deleting VN ctest-ext_vn-88693651
2025-04-09 11:37:12,628 - DEBUG - VN 47597aed-5bda-4d93-9b9d-384523046de5 still in use: Unable to complete operation on network 47597aed-5bda-4d93-9b9d-384523046de5. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-26446e9f-73eb-4b19-aaad-a6ca20c2633d']
2025-04-09 11:37:12,628 - WARNING - Deleting VN ctest-ext_vn-88693651 failed..Will retry
2025-04-09 11:37:14,760 - DEBUG - Response for deleting network ()
2025-04-09 11:37:14,760 - INFO - Deleting VN ctest-vn-30428864
2025-04-09 11:37:14,919 - DEBUG - Response for deleting network ()
2025-04-09 11:37:15,183 - DEBUG - No XMPP flaps were noticed during the test
2025-04-09 11:37:15,183 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2025-04-09 11:37:15,183 - INFO - --------------------------------------------------------------------------------
2025-04-09 11:37:15,897 - INFO - Deleted project: ctest-TestRoutersBasic-13686489, ID : b3764a31-be0d-4b12-aff6-3df69f8966e3