2025-07-10 02:17:47,550 - INFO - Domain Default found not creating
2025-07-10 02:17:47,687 - INFO - Project ctest-TestRoutersBasic-49696855 not found, creating it
2025-07-10 02:17:48,104 - INFO - Created Project:ctest-TestRoutersBasic-49696855, ID : 69eb5bc1-0ed2-4630-ac0d-e7f2e3339807
2025-07-10 02:17:49,452 - INFO - ================================================================================
2025-07-10 02:17:49,452 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-07-10 02:17:49,452 - 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-10 02:17:49,703 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.18': '0'}} with
2025-07-10 02:17:49,703 - INFO - Initial checks done. Running the testcase now
2025-07-10 02:17:49,703 - INFO -
2025-07-10 02:17:50,383 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-49696855
2025-07-10 02:17:50,477 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-49696855
2025-07-10 02:17:50,805 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-49696855', 'default']}
2025-07-10 02:17:51,094 - DEBUG - Response for create_network : {'network': {'id': 'a2e01df2-b41b-4e91-bcae-832a6d32f0c5', 'name': 'ctest-vn-42428259', 'tenant_id': '69eb5bc10ed24630ac0de7f2e3339807', 'project_id': '69eb5bc10ed24630ac0de7f2e3339807', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-49696855', 'ctest-vn-42428259'], 'port_security_enabled': True, 'description': ''}}
2025-07-10 02:17:51,261 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e015a8c7-d234-4dc6-bca0-7f62020dfe28', 'name': '', 'tenant_id': '69eb5bc10ed24630ac0de7f2e3339807', 'network_id': 'a2e01df2-b41b-4e91-bcae-832a6d32f0c5', 'ip_version': 4, 'cidr': '25.225.85.0/26', 'allocation_pools': [{'start': '25.225.85.2', 'end': '25.225.85.62'}], 'gateway_ip': '25.225.85.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '25.225.85.2', 'tags': [], 'project_id': '69eb5bc10ed24630ac0de7f2e3339807'}}
2025-07-10 02:17:51,280 - INFO - Created VN ctest-vn-42428259
2025-07-10 02:17:51,337 - DEBUG - VN ctest-vn-42428259 UUID is a2e01df2-b41b-4e91-bcae-832a6d32f0c5
2025-07-10 02:17:51,671 - DEBUG - Response for create_network : {'network': {'id': '54666366-61b1-48fb-8b7c-b434ad216495', 'name': 'ctest-ext_vn-18597819', 'tenant_id': '69eb5bc10ed24630ac0de7f2e3339807', 'project_id': '69eb5bc10ed24630ac0de7f2e3339807', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-49696855', 'ctest-ext_vn-18597819'], 'port_security_enabled': True, 'description': ''}}
2025-07-10 02:17:51,853 - DEBUG - Response for create_subnet : {'subnet': {'id': '6735dd66-fa8b-493a-b9ee-d3dc35f94fcb', 'name': '', 'tenant_id': '69eb5bc10ed24630ac0de7f2e3339807', 'network_id': '54666366-61b1-48fb-8b7c-b434ad216495', 'ip_version': 4, 'cidr': '162.87.36.128/26', 'allocation_pools': [{'start': '162.87.36.130', 'end': '162.87.36.190'}], 'gateway_ip': '162.87.36.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '162.87.36.130', 'tags': [], 'project_id': '69eb5bc10ed24630ac0de7f2e3339807'}}
2025-07-10 02:17:51,869 - INFO - Created VN ctest-ext_vn-18597819
2025-07-10 02:17:51,921 - DEBUG - VN ctest-ext_vn-18597819 UUID is 54666366-61b1-48fb-8b7c-b434ad216495
2025-07-10 02:17:52,120 - DEBUG - Services list from nova: [, , ]
2025-07-10 02:17:53,096 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3625-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3625-1)
2025-07-10 02:17:54,147 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3625-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3625-1)
2025-07-10 02:17:54,243 - INFO - Setting gateway for router fa1a49a4-b163-4d8a-947a-8523c7b7f383 to network 54666366-61b1-48fb-8b7c-b434ad216495
2025-07-10 02:17:54,299 - INFO - Adding interface with subnet_id e015a8c7-d234-4dc6-bca0-7f62020dfe28, port_id None to router fa1a49a4-b163-4d8a-947a-8523c7b7f383
2025-07-10 02:17:54,693 - INFO - Waiting for VM ctest-TestRoutersBasic-49696855-81798487 to be up..
2025-07-10 02:17:54,845 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-07-10 02:17:59,913 - DEBUG - VM is in ACTIVE state now
2025-07-10 02:17:59,913 - INFO - VM name : ctest-TestRoutersBasic-49696855-81798487
2025-07-10 02:17:59,985 - DEBUG - VM ctest-TestRoutersBasic-49696855-81798487 ID is 4f4cf61a-ce0c-49a4-b592-dc692274ea39
2025-07-10 02:18:00,004 - DEBUG - VM ctest-TestRoutersBasic-49696855-81798487 launched on Node cn-jenkins-deploy-platform-ansible-os-3625-1
2025-07-10 02:18:00,077 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/4f4cf61a-ce0c-49a4-b592-dc692274ea39
2025-07-10 02:18:00,369 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/4f4cf61a-ce0c-49a4-b592-dc692274ea39
2025-07-10 02:18:00,400 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/c3cc2880-f7b8-462b-9a53-0aed8ce8771a
2025-07-10 02:18:03,663 - 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 1013ms')
2025-07-10 02:18:03,663 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-49696855-81798487 failed!
2025-07-10 02:18:03,717 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-49696855:ctest-vn-42428259 is 25.225.85.1 and allocation pool is NOT set
2025-07-10 02:18:05,782 - 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.91 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.17 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 = 1.171/2.541/3.912/1.370 ms')
2025-07-10 02:18:05,782 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-49696855-81798487 passed
2025-07-10 02:18:05,929 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-10 02:18:05,929 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-49696855-81798487, IP 25.225.85.3, Port 22
2025-07-10 02:18:05,984 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-07-10 02:18:06,057 - DEBUG - VM ctest-TestRoutersBasic-49696855-81798487 is NOT ready for SSH connections, VM status: ACTIVE
2025-07-10 02:18:11,058 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-10 02:18:11,058 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-49696855-81798487, IP 25.225.85.3, Port 22
2025-07-10 02:18:11,209 - DEBUG - VM ctest-TestRoutersBasic-49696855-81798487 is ready for SSH connections
2025-07-10 02:18:11,209 - INFO - Waiting for VM ctest-TestRoutersBasic-49696855-98341679 to be up..
2025-07-10 02:18:11,271 - DEBUG - VM is in ACTIVE state now
2025-07-10 02:18:11,271 - INFO - VM name : ctest-TestRoutersBasic-49696855-98341679
2025-07-10 02:18:11,332 - DEBUG - VM ctest-TestRoutersBasic-49696855-98341679 ID is aa7e256b-dd56-43a3-9f20-4deac1e56b9b
2025-07-10 02:18:11,332 - DEBUG - VM ctest-TestRoutersBasic-49696855-98341679 launched on Node cn-jenkins-deploy-platform-ansible-os-3625-1
2025-07-10 02:18:11,397 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/aa7e256b-dd56-43a3-9f20-4deac1e56b9b
2025-07-10 02:18:11,406 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/6f7c931d-abe5-483f-ba7c-8e4d13561e1e
2025-07-10 02:18:12,652 - 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.07 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.344 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.344/1.707/3.071/1.363 ms')
2025-07-10 02:18:12,652 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-49696855-98341679 passed
2025-07-10 02:18:12,801 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-10 02:18:12,801 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-49696855-98341679, IP 162.87.36.131, Port 22
2025-07-10 02:18:12,953 - DEBUG - VM ctest-TestRoutersBasic-49696855-98341679 is ready for SSH connections
2025-07-10 02:18:12,953 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-10 02:18:12,953 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 162.87.36.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123
2025-07-10 02:18:12,953 - DEBUG - ping -s 56 -c 3 -W 1 162.87.36.131
2025-07-10 02:18:16,795 - DEBUG - PING 162.87.36.131 (162.87.36.131): 56 data bytes
64 bytes from 162.87.36.131: seq=0 ttl=62 time=4.582 ms
64 bytes from 162.87.36.131: seq=1 ttl=62 time=0.762 ms
64 bytes from 162.87.36.131: seq=2 ttl=62 time=0.932 ms
--- 162.87.36.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.762/2.092/4.582 ms
2025-07-10 02:18:16,795 - INFO - Ping to IP 162.87.36.131 from VM ctest-TestRoutersBasic-49696855-81798487 passed
2025-07-10 02:18:16,795 - INFO - Deleting interface with subnet_id e015a8c7-d234-4dc6-bca0-7f62020dfe28, port_id None from router fa1a49a4-b163-4d8a-947a-8523c7b7f383
2025-07-10 02:18:17,118 - INFO - Deleting VM ctest-TestRoutersBasic-49696855-98341679
2025-07-10 02:18:17,191 - INFO - Deleting VM ctest-TestRoutersBasic-49696855-81798487
2025-07-10 02:18:17,265 - INFO - Deleting VN ctest-ext_vn-18597819
2025-07-10 02:18:17,353 - DEBUG - VN 54666366-61b1-48fb-8b7c-b434ad216495 still in use: Unable to complete operation on network 54666366-61b1-48fb-8b7c-b434ad216495. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-b810738d-466d-442e-a23a-d9074e88f2f8']
2025-07-10 02:18:17,353 - WARNING - Deleting VN ctest-ext_vn-18597819 failed..Will retry
2025-07-10 02:18:19,457 - DEBUG - Response for deleting network ()
2025-07-10 02:18:19,457 - INFO - Deleting VN ctest-vn-42428259
2025-07-10 02:18:19,543 - DEBUG - Response for deleting network ()
2025-07-10 02:18:19,798 - DEBUG - No XMPP flaps were noticed during the test
2025-07-10 02:18:19,798 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:30]
2025-07-10 02:18:19,798 - INFO - --------------------------------------------------------------------------------
2025-07-10 02:18:20,917 - INFO - Deleted project: ctest-TestRoutersBasic-49696855, ID : 69eb5bc1-0ed2-4630-ac0d-e7f2e3339807