2025-12-19 17:25:59,220 - INFO - Domain Default found not creating
2025-12-19 17:25:59,421 - INFO - Project ctest-TestRoutersBasic-57094477 not found, creating it
2025-12-19 17:25:59,937 - INFO - Created Project:ctest-TestRoutersBasic-57094477, ID : 0d4e5f55-1772-4b04-93c0-fbc7c62108d2
2025-12-19 17:26:01,630 - INFO - ================================================================================
2025-12-19 17:26:01,630 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-12-19 17:26:01,630 - 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-19 17:26:01,897 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.14': '0'}} with
2025-12-19 17:26:01,897 - INFO - Initial checks done. Running the testcase now
2025-12-19 17:26:01,897 - INFO -
2025-12-19 17:26:02,651 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-57094477
2025-12-19 17:26:02,753 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-57094477
2025-12-19 17:26:03,080 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-57094477', 'default']}
2025-12-19 17:26:03,389 - DEBUG - Response for create_network : {'network': {'id': 'dae1be94-89f6-401f-b75c-982878906919', 'name': 'ctest-vn-90139651', 'tenant_id': '0d4e5f5517724b0493c0fbc7c62108d2', 'project_id': '0d4e5f5517724b0493c0fbc7c62108d2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-57094477', 'ctest-vn-90139651'], 'port_security_enabled': True, 'description': ''}}
2025-12-19 17:26:03,602 - DEBUG - Response for create_subnet : {'subnet': {'id': '6ee371f1-26dd-4664-9cf7-c57e8344632a', 'name': '', 'tenant_id': '0d4e5f5517724b0493c0fbc7c62108d2', 'network_id': 'dae1be94-89f6-401f-b75c-982878906919', 'ip_version': 4, 'cidr': '172.223.155.64/26', 'allocation_pools': [{'start': '172.223.155.66', 'end': '172.223.155.126'}], 'gateway_ip': '172.223.155.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '172.223.155.66', 'tags': [], 'project_id': '0d4e5f5517724b0493c0fbc7c62108d2'}}
2025-12-19 17:26:03,624 - INFO - Created VN ctest-vn-90139651
2025-12-19 17:26:03,681 - DEBUG - VN ctest-vn-90139651 UUID is dae1be94-89f6-401f-b75c-982878906919
2025-12-19 17:26:04,021 - DEBUG - Response for create_network : {'network': {'id': '079ef47d-99f9-40aa-b8f7-58971b34b8a9', 'name': 'ctest-ext_vn-78311688', 'tenant_id': '0d4e5f5517724b0493c0fbc7c62108d2', 'project_id': '0d4e5f5517724b0493c0fbc7c62108d2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-57094477', 'ctest-ext_vn-78311688'], 'port_security_enabled': True, 'description': ''}}
2025-12-19 17:26:04,196 - DEBUG - Response for create_subnet : {'subnet': {'id': '93add16b-a50f-489d-8ab6-f445043d44e3', 'name': '', 'tenant_id': '0d4e5f5517724b0493c0fbc7c62108d2', 'network_id': '079ef47d-99f9-40aa-b8f7-58971b34b8a9', 'ip_version': 4, 'cidr': '85.241.117.128/26', 'allocation_pools': [{'start': '85.241.117.130', 'end': '85.241.117.190'}], 'gateway_ip': '85.241.117.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '85.241.117.130', 'tags': [], 'project_id': '0d4e5f5517724b0493c0fbc7c62108d2'}}
2025-12-19 17:26:04,217 - INFO - Created VN ctest-ext_vn-78311688
2025-12-19 17:26:04,268 - DEBUG - VN ctest-ext_vn-78311688 UUID is 079ef47d-99f9-40aa-b8f7-58971b34b8a9
2025-12-19 17:26:04,453 - DEBUG - Services list from nova: [, , ]
2025-12-19 17:26:05,576 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4912-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4912-1)
2025-12-19 17:26:06,801 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4912-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4912-1)
2025-12-19 17:26:06,896 - INFO - Setting gateway for router 6252fd61-c00b-48a9-8089-ec0e35710cfc to network 079ef47d-99f9-40aa-b8f7-58971b34b8a9
2025-12-19 17:26:06,975 - INFO - Adding interface with subnet_id 6ee371f1-26dd-4664-9cf7-c57e8344632a, port_id None to router 6252fd61-c00b-48a9-8089-ec0e35710cfc
2025-12-19 17:26:07,373 - INFO - Waiting for VM ctest-TestRoutersBasic-57094477-03561477 to be up..
2025-12-19 17:26:07,657 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-12-19 17:26:12,739 - DEBUG - VM is in ACTIVE state now
2025-12-19 17:26:12,739 - INFO - VM name : ctest-TestRoutersBasic-57094477-03561477
2025-12-19 17:26:12,829 - DEBUG - VM ctest-TestRoutersBasic-57094477-03561477 ID is 9b84f8e1-093d-4987-b995-628aec6de8db
2025-12-19 17:26:12,853 - DEBUG - VM ctest-TestRoutersBasic-57094477-03561477 launched on Node cn-jenkins-deploy-platform-ansible-os-4912-1
2025-12-19 17:26:12,943 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/9b84f8e1-093d-4987-b995-628aec6de8db
2025-12-19 17:26:13,253 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/9b84f8e1-093d-4987-b995-628aec6de8db
2025-12-19 17:26:13,299 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/568e6ed4-d8f8-4e55-9842-1b3325eba525
2025-12-19 17:26:16,588 - 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 1030ms')
2025-12-19 17:26:16,588 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-57094477-03561477 failed!
2025-12-19 17:26:16,649 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-57094477:ctest-vn-90139651 is 172.223.155.65 and allocation pool is NOT set
2025-12-19 17:26:18,710 - 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.59 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.670 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 = 0.670/2.128/3.586/1.458 ms')
2025-12-19 17:26:18,710 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-57094477-03561477 passed
2025-12-19 17:26:18,865 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-19 17:26:18,865 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-57094477-03561477, IP 172.223.155.67, Port 22
2025-12-19 17:26:18,938 - 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-12-19 17:26:19,061 - DEBUG - VM ctest-TestRoutersBasic-57094477-03561477 is NOT ready for SSH connections, VM status: ACTIVE
2025-12-19 17:26:24,062 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-19 17:26:24,062 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-57094477-03561477, IP 172.223.155.67, Port 22
2025-12-19 17:26:24,220 - DEBUG - VM ctest-TestRoutersBasic-57094477-03561477 is ready for SSH connections
2025-12-19 17:26:24,220 - INFO - Waiting for VM ctest-TestRoutersBasic-57094477-17143870 to be up..
2025-12-19 17:26:24,314 - DEBUG - VM is in ACTIVE state now
2025-12-19 17:26:24,314 - INFO - VM name : ctest-TestRoutersBasic-57094477-17143870
2025-12-19 17:26:24,403 - DEBUG - VM ctest-TestRoutersBasic-57094477-17143870 ID is f7023031-64fa-4e07-8136-d7565da95331
2025-12-19 17:26:24,403 - DEBUG - VM ctest-TestRoutersBasic-57094477-17143870 launched on Node cn-jenkins-deploy-platform-ansible-os-4912-1
2025-12-19 17:26:24,485 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/f7023031-64fa-4e07-8136-d7565da95331
2025-12-19 17:26:24,495 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/c61ce1dd-8ac3-42d9-9bc0-bf462acf62c1
2025-12-19 17:26:25,743 - 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.482 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.482/1.872/3.262/1.390 ms')
2025-12-19 17:26:25,743 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-57094477-17143870 passed
2025-12-19 17:26:25,905 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-19 17:26:25,905 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-57094477-17143870, IP 85.241.117.131, Port 22
2025-12-19 17:26:26,065 - DEBUG - VM ctest-TestRoutersBasic-57094477-17143870 is ready for SSH connections
2025-12-19 17:26:26,065 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-19 17:26:26,065 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 85.241.117.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-12-19 17:26:26,065 - DEBUG - ping -s 56 -c 3 -W 1 85.241.117.131
2025-12-19 17:26:29,837 - DEBUG - PING 85.241.117.131 (85.241.117.131): 56 data bytes
64 bytes from 85.241.117.131: seq=0 ttl=62 time=9.028 ms
64 bytes from 85.241.117.131: seq=1 ttl=62 time=1.214 ms
64 bytes from 85.241.117.131: seq=2 ttl=62 time=1.144 ms
--- 85.241.117.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.144/3.795/9.028 ms
2025-12-19 17:26:29,837 - INFO - Ping to IP 85.241.117.131 from VM ctest-TestRoutersBasic-57094477-03561477 passed
2025-12-19 17:26:29,837 - INFO - Deleting interface with subnet_id 6ee371f1-26dd-4664-9cf7-c57e8344632a, port_id None from router 6252fd61-c00b-48a9-8089-ec0e35710cfc
2025-12-19 17:26:30,053 - INFO - Deleting VM ctest-TestRoutersBasic-57094477-17143870
2025-12-19 17:26:30,149 - INFO - Deleting VM ctest-TestRoutersBasic-57094477-03561477
2025-12-19 17:26:30,263 - INFO - Deleting VN ctest-ext_vn-78311688
2025-12-19 17:26:30,386 - DEBUG - VN 079ef47d-99f9-40aa-b8f7-58971b34b8a9 still in use: Unable to complete operation on network 079ef47d-99f9-40aa-b8f7-58971b34b8a9. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-104dec15-df8a-40b7-821e-531a14620eb3']
2025-12-19 17:26:30,387 - WARNING - Deleting VN ctest-ext_vn-78311688 failed..Will retry
2025-12-19 17:26:32,515 - DEBUG - Response for deleting network ()
2025-12-19 17:26:32,515 - INFO - Deleting VN ctest-vn-90139651
2025-12-19 17:26:32,636 - DEBUG - Response for deleting network ()
2025-12-19 17:26:32,896 - DEBUG - No XMPP flaps were noticed during the test
2025-12-19 17:26:32,896 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31]
2025-12-19 17:26:32,896 - INFO - --------------------------------------------------------------------------------
2025-12-19 17:26:33,639 - INFO - Deleted project: ctest-TestRoutersBasic-57094477, ID : 0d4e5f55-1772-4b04-93c0-fbc7c62108d2