2025-12-09 18:49:04,533 - INFO - Domain Default found not creating
2025-12-09 18:49:04,692 - INFO - Project ctest-TestRoutersBasic-01921503 not found, creating it
2025-12-09 18:49:05,149 - INFO - Created Project:ctest-TestRoutersBasic-01921503, ID : 81c7a79e-6860-48b3-9b5d-8a1d7e31c4ed
2025-12-09 18:49:06,655 - INFO - ================================================================================
2025-12-09 18:49:06,655 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-12-09 18:49:06,655 - 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-12-09 18:49:06,913 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.14': '0'}} with
2025-12-09 18:49:06,913 - INFO - Initial checks done. Running the testcase now
2025-12-09 18:49:06,913 - INFO -
2025-12-09 18:49:07,616 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-01921503
2025-12-09 18:49:07,712 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-01921503
2025-12-09 18:49:08,028 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-01921503', 'default']}
2025-12-09 18:49:08,328 - DEBUG - Response for create_network : {'network': {'id': '282b598d-4e92-4725-939c-26083dbc1137', 'name': 'ctest-vn-80099451', 'tenant_id': '81c7a79e686048b39b5d8a1d7e31c4ed', 'project_id': '81c7a79e686048b39b5d8a1d7e31c4ed', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-01921503', 'ctest-vn-80099451'], 'port_security_enabled': True, 'description': ''}}
2025-12-09 18:49:08,479 - DEBUG - Response for create_subnet : {'subnet': {'id': 'adb0b12d-cc72-43a5-b7f3-cc64691c697e', 'name': '', 'tenant_id': '81c7a79e686048b39b5d8a1d7e31c4ed', 'network_id': '282b598d-4e92-4725-939c-26083dbc1137', 'ip_version': 4, 'cidr': '184.149.135.0/26', 'allocation_pools': [{'start': '184.149.135.2', 'end': '184.149.135.62'}], 'gateway_ip': '184.149.135.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '184.149.135.2', 'tags': [], 'project_id': '81c7a79e686048b39b5d8a1d7e31c4ed'}}
2025-12-09 18:49:08,500 - INFO - Created VN ctest-vn-80099451
2025-12-09 18:49:08,556 - DEBUG - VN ctest-vn-80099451 UUID is 282b598d-4e92-4725-939c-26083dbc1137
2025-12-09 18:49:08,894 - DEBUG - Response for create_network : {'network': {'id': '96554ffb-b88c-438f-a1be-df36e2ed6f6c', 'name': 'ctest-ext_vn-75531825', 'tenant_id': '81c7a79e686048b39b5d8a1d7e31c4ed', 'project_id': '81c7a79e686048b39b5d8a1d7e31c4ed', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-01921503', 'ctest-ext_vn-75531825'], 'port_security_enabled': True, 'description': ''}}
2025-12-09 18:49:09,042 - DEBUG - Response for create_subnet : {'subnet': {'id': '8b424e8f-65e3-44e2-afbd-f1918d4895aa', 'name': '', 'tenant_id': '81c7a79e686048b39b5d8a1d7e31c4ed', 'network_id': '96554ffb-b88c-438f-a1be-df36e2ed6f6c', 'ip_version': 4, 'cidr': '16.132.131.128/26', 'allocation_pools': [{'start': '16.132.131.130', 'end': '16.132.131.190'}], 'gateway_ip': '16.132.131.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '16.132.131.130', 'tags': [], 'project_id': '81c7a79e686048b39b5d8a1d7e31c4ed'}}
2025-12-09 18:49:09,059 - INFO - Created VN ctest-ext_vn-75531825
2025-12-09 18:49:09,112 - DEBUG - VN ctest-ext_vn-75531825 UUID is 96554ffb-b88c-438f-a1be-df36e2ed6f6c
2025-12-09 18:49:09,278 - DEBUG - Services list from nova: [, , ]
2025-12-09 18:49:10,291 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4872-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4872-1)
2025-12-09 18:49:11,445 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4872-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4872-1)
2025-12-09 18:49:11,504 - INFO - Setting gateway for router 2c2a5ebe-7882-4a40-a52b-a88725e845d0 to network 96554ffb-b88c-438f-a1be-df36e2ed6f6c
2025-12-09 18:49:11,568 - INFO - Adding interface with subnet_id adb0b12d-cc72-43a5-b7f3-cc64691c697e, port_id None to router 2c2a5ebe-7882-4a40-a52b-a88725e845d0
2025-12-09 18:49:11,896 - INFO - Waiting for VM ctest-TestRoutersBasic-01921503-88158853 to be up..
2025-12-09 18:49:12,042 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-12-09 18:49:17,148 - DEBUG - VM is in ACTIVE state now
2025-12-09 18:49:17,149 - INFO - VM name : ctest-TestRoutersBasic-01921503-88158853
2025-12-09 18:49:17,244 - DEBUG - VM ctest-TestRoutersBasic-01921503-88158853 ID is 309a4350-0c6c-463e-937f-5248342eb0fb
2025-12-09 18:49:17,270 - DEBUG - VM ctest-TestRoutersBasic-01921503-88158853 launched on Node cn-jenkins-deploy-platform-ansible-os-4872-1
2025-12-09 18:49:17,361 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/309a4350-0c6c-463e-937f-5248342eb0fb
2025-12-09 18:49:17,656 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/309a4350-0c6c-463e-937f-5248342eb0fb
2025-12-09 18:49:17,687 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/51a8f357-7023-44cd-aaa8-04e6d69bebe7
2025-12-09 18:49:20,929 - 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 1003ms')
2025-12-09 18:49:20,929 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-01921503-88158853 failed!
2025-12-09 18:49:20,988 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-01921503:ctest-vn-80099451 is 184.149.135.1 and allocation pool is NOT set
2025-12-09 18:49:23,047 - 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.71 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.478 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.478/2.095/3.712/1.617 ms')
2025-12-09 18:49:23,048 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-01921503-88158853 passed
2025-12-09 18:49:23,196 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-09 18:49:23,196 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-01921503-88158853, IP 184.149.135.3, Port 22
2025-12-09 18:49:23,352 - DEBUG - VM ctest-TestRoutersBasic-01921503-88158853 is ready for SSH connections
2025-12-09 18:49:23,352 - INFO - Waiting for VM ctest-TestRoutersBasic-01921503-93041933 to be up..
2025-12-09 18:49:23,428 - DEBUG - VM is in ACTIVE state now
2025-12-09 18:49:23,428 - INFO - VM name : ctest-TestRoutersBasic-01921503-93041933
2025-12-09 18:49:23,506 - DEBUG - VM ctest-TestRoutersBasic-01921503-93041933 ID is 0ca2e796-384d-472a-9434-8c35840ecbfd
2025-12-09 18:49:23,507 - DEBUG - VM ctest-TestRoutersBasic-01921503-93041933 launched on Node cn-jenkins-deploy-platform-ansible-os-4872-1
2025-12-09 18:49:23,579 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/0ca2e796-384d-472a-9434-8c35840ecbfd
2025-12-09 18:49:23,587 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/34dd692b-6930-40c9-aeb6-5dbacc6fe706
2025-12-09 18:49:24,816 - 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.26 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.407 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.407/1.834/3.262/1.427 ms')
2025-12-09 18:49:24,816 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-01921503-93041933 passed
2025-12-09 18:49:24,968 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-09 18:49:24,968 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-01921503-93041933, IP 16.132.131.131, Port 22
2025-12-09 18:49:25,124 - DEBUG - VM ctest-TestRoutersBasic-01921503-93041933 is ready for SSH connections
2025-12-09 18:49:25,124 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-09 18:49:25,124 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 16.132.131.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2025-12-09 18:49:25,124 - DEBUG - ping -s 56 -c 3 -W 1 16.132.131.131
2025-12-09 18:49:28,818 - DEBUG - PING 16.132.131.131 (16.132.131.131): 56 data bytes
64 bytes from 16.132.131.131: seq=0 ttl=62 time=7.394 ms
64 bytes from 16.132.131.131: seq=1 ttl=62 time=1.047 ms
64 bytes from 16.132.131.131: seq=2 ttl=62 time=1.036 ms
--- 16.132.131.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.036/3.159/7.394 ms
2025-12-09 18:49:28,818 - INFO - Ping to IP 16.132.131.131 from VM ctest-TestRoutersBasic-01921503-88158853 passed
2025-12-09 18:49:28,818 - INFO - Deleting interface with subnet_id adb0b12d-cc72-43a5-b7f3-cc64691c697e, port_id None from router 2c2a5ebe-7882-4a40-a52b-a88725e845d0
2025-12-09 18:49:28,985 - INFO - Deleting VM ctest-TestRoutersBasic-01921503-93041933
2025-12-09 18:49:29,056 - INFO - Deleting VM ctest-TestRoutersBasic-01921503-88158853
2025-12-09 18:49:29,130 - INFO - Deleting VN ctest-ext_vn-75531825
2025-12-09 18:49:29,199 - DEBUG - VN 96554ffb-b88c-438f-a1be-df36e2ed6f6c still in use: Unable to complete operation on network 96554ffb-b88c-438f-a1be-df36e2ed6f6c. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-5e34b028-8f8b-45fc-a6da-4514bb968a2d']
2025-12-09 18:49:29,199 - WARNING - Deleting VN ctest-ext_vn-75531825 failed..Will retry
2025-12-09 18:49:31,289 - DEBUG - Response for deleting network ()
2025-12-09 18:49:31,289 - INFO - Deleting VN ctest-vn-80099451
2025-12-09 18:49:31,382 - DEBUG - Response for deleting network ()
2025-12-09 18:49:31,638 - DEBUG - No XMPP flaps were noticed during the test
2025-12-09 18:49:31,638 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-12-09 18:49:31,638 - INFO - --------------------------------------------------------------------------------
2025-12-09 18:49:32,346 - INFO - Deleted project: ctest-TestRoutersBasic-01921503, ID : 81c7a79e-6860-48b3-9b5d-8a1d7e31c4ed