2026-04-24 19:31:24,861 - INFO - Domain Default found not creating 2026-04-24 19:31:25,047 - INFO - Project ctest-TestRoutersBasic-23786749 not found, creating it 2026-04-24 19:31:25,531 - INFO - Created Project:ctest-TestRoutersBasic-23786749, ID : 72ccbde8-2eec-45b5-94f5-ef7fc80e5805 2026-04-24 19:31:27,117 - INFO - ================================================================================ 2026-04-24 19:31:27,117 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-04-24 19:31:27,117 - 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 2026-04-24 19:31:27,377 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-04-24 19:31:27,378 - INFO - Initial checks done. Running the testcase now 2026-04-24 19:31:27,378 - INFO - 2026-04-24 19:31:28,114 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-23786749 2026-04-24 19:31:28,208 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-23786749 2026-04-24 19:31:28,531 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-23786749', 'default']} 2026-04-24 19:31:28,823 - DEBUG - Response for create_network : {'network': {'id': 'e1214491-8738-4da3-b134-30aaedbf722e', 'name': 'ctest-vn-69711145', 'tenant_id': '72ccbde82eec45b594f5ef7fc80e5805', 'project_id': '72ccbde82eec45b594f5ef7fc80e5805', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-23786749', 'ctest-vn-69711145'], 'port_security_enabled': True, 'description': ''}} 2026-04-24 19:31:28,994 - DEBUG - Response for create_subnet : {'subnet': {'id': '5922ae74-6680-4276-a529-db16ad7bb37f', 'name': '', 'tenant_id': '72ccbde82eec45b594f5ef7fc80e5805', 'network_id': 'e1214491-8738-4da3-b134-30aaedbf722e', 'ip_version': 4, 'cidr': '219.229.216.0/26', 'allocation_pools': [{'start': '219.229.216.2', 'end': '219.229.216.62'}], 'gateway_ip': '219.229.216.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '219.229.216.2', 'tags': [], 'project_id': '72ccbde82eec45b594f5ef7fc80e5805'}} 2026-04-24 19:31:29,014 - INFO - Created VN ctest-vn-69711145 2026-04-24 19:31:29,068 - DEBUG - VN ctest-vn-69711145 UUID is e1214491-8738-4da3-b134-30aaedbf722e 2026-04-24 19:31:29,411 - DEBUG - Response for create_network : {'network': {'id': '2755704f-8a67-45e4-9c30-e2d89f6161d7', 'name': 'ctest-ext_vn-08703301', 'tenant_id': '72ccbde82eec45b594f5ef7fc80e5805', 'project_id': '72ccbde82eec45b594f5ef7fc80e5805', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-23786749', 'ctest-ext_vn-08703301'], 'port_security_enabled': True, 'description': ''}} 2026-04-24 19:31:29,624 - DEBUG - Response for create_subnet : {'subnet': {'id': '6693129c-1912-4031-94f1-2c15ddb14988', 'name': '', 'tenant_id': '72ccbde82eec45b594f5ef7fc80e5805', 'network_id': '2755704f-8a67-45e4-9c30-e2d89f6161d7', 'ip_version': 4, 'cidr': '1.130.62.0/26', 'allocation_pools': [{'start': '1.130.62.2', 'end': '1.130.62.62'}], 'gateway_ip': '1.130.62.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '1.130.62.2', 'tags': [], 'project_id': '72ccbde82eec45b594f5ef7fc80e5805'}} 2026-04-24 19:31:29,644 - INFO - Created VN ctest-ext_vn-08703301 2026-04-24 19:31:29,696 - DEBUG - VN ctest-ext_vn-08703301 UUID is 2755704f-8a67-45e4-9c30-e2d89f6161d7 2026-04-24 19:31:29,866 - DEBUG - Services list from nova: [, , ] 2026-04-24 19:31:30,995 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5684-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5684-1) 2026-04-24 19:31:32,184 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5684-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5684-1) 2026-04-24 19:31:32,264 - INFO - Setting gateway for router 65b2939f-bddf-4f6e-94f7-9c986dd0c9d1 to network 2755704f-8a67-45e4-9c30-e2d89f6161d7 2026-04-24 19:31:32,345 - INFO - Adding interface with subnet_id 5922ae74-6680-4276-a529-db16ad7bb37f, port_id None to router 65b2939f-bddf-4f6e-94f7-9c986dd0c9d1 2026-04-24 19:31:32,697 - INFO - Waiting for VM ctest-TestRoutersBasic-23786749-11302351 to be up.. 2026-04-24 19:31:32,844 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-24 19:31:37,922 - DEBUG - VM is in ACTIVE state now 2026-04-24 19:31:37,922 - INFO - VM name : ctest-TestRoutersBasic-23786749-11302351 2026-04-24 19:31:38,015 - DEBUG - VM ctest-TestRoutersBasic-23786749-11302351 ID is 3f2cc9e2-841b-4e4b-aad2-2289639bb687 2026-04-24 19:31:38,038 - DEBUG - VM ctest-TestRoutersBasic-23786749-11302351 launched on Node cn-jenkins-deploy-platform-ansible-os-5684-1 2026-04-24 19:31:38,126 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/3f2cc9e2-841b-4e4b-aad2-2289639bb687 2026-04-24 19:31:38,426 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/3f2cc9e2-841b-4e4b-aad2-2289639bb687 2026-04-24 19:31:38,461 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/3a8ede51-f9c7-4a9b-ae2c-d469f273e6d1 2026-04-24 19:31:41,709 - 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 1006ms') 2026-04-24 19:31:41,709 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-23786749-11302351 failed! 2026-04-24 19:31:41,764 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-23786749:ctest-vn-69711145 is 219.229.216.1 and allocation pool is NOT set 2026-04-24 19:31:43,830 - 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=4.99 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.34 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 1.338/3.164/4.991/1.826 ms') 2026-04-24 19:31:43,830 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-23786749-11302351 passed 2026-04-24 19:31:43,980 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-24 19:31:43,980 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-23786749-11302351, IP 219.229.216.3, Port 22 2026-04-24 19:31:44,139 - DEBUG - VM ctest-TestRoutersBasic-23786749-11302351 is ready for SSH connections 2026-04-24 19:31:44,139 - INFO - Waiting for VM ctest-TestRoutersBasic-23786749-55216660 to be up.. 2026-04-24 19:31:44,220 - DEBUG - VM is in ACTIVE state now 2026-04-24 19:31:44,220 - INFO - VM name : ctest-TestRoutersBasic-23786749-55216660 2026-04-24 19:31:44,303 - DEBUG - VM ctest-TestRoutersBasic-23786749-55216660 ID is 3cabb260-1e7b-4ce1-a36d-881dc0633149 2026-04-24 19:31:44,304 - DEBUG - VM ctest-TestRoutersBasic-23786749-55216660 launched on Node cn-jenkins-deploy-platform-ansible-os-5684-1 2026-04-24 19:31:44,384 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/3cabb260-1e7b-4ce1-a36d-881dc0633149 2026-04-24 19:31:44,392 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/7a2d2749-2642-4a4a-bc46-6aadd7d4a52a 2026-04-24 19:31:45,630 - 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.23 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.599 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.599/1.912/3.225/1.313 ms') 2026-04-24 19:31:45,630 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-23786749-55216660 passed 2026-04-24 19:31:45,788 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-24 19:31:45,788 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-23786749-55216660, IP 1.130.62.3, Port 22 2026-04-24 19:31:45,962 - DEBUG - VM ctest-TestRoutersBasic-23786749-55216660 is ready for SSH connections 2026-04-24 19:31:45,963 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-24 19:31:45,963 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 1.130.62.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-04-24 19:31:45,963 - DEBUG - ping -s 56 -c 3 -W 1 1.130.62.3 2026-04-24 19:31:49,678 - DEBUG - PING 1.130.62.3 (1.130.62.3): 56 data bytes 64 bytes from 1.130.62.3: seq=0 ttl=62 time=6.436 ms 64 bytes from 1.130.62.3: seq=1 ttl=62 time=0.980 ms 64 bytes from 1.130.62.3: seq=2 ttl=62 time=1.098 ms --- 1.130.62.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.980/2.838/6.436 ms 2026-04-24 19:31:49,678 - INFO - Ping to IP 1.130.62.3 from VM ctest-TestRoutersBasic-23786749-11302351 passed 2026-04-24 19:31:49,679 - INFO - Deleting interface with subnet_id 5922ae74-6680-4276-a529-db16ad7bb37f, port_id None from router 65b2939f-bddf-4f6e-94f7-9c986dd0c9d1 2026-04-24 19:31:49,965 - INFO - Deleting VM ctest-TestRoutersBasic-23786749-55216660 2026-04-24 19:31:50,047 - INFO - Deleting VM ctest-TestRoutersBasic-23786749-11302351 2026-04-24 19:31:50,151 - INFO - Deleting VN ctest-ext_vn-08703301 2026-04-24 19:31:50,232 - DEBUG - VN 2755704f-8a67-45e4-9c30-e2d89f6161d7 still in use: Unable to complete operation on network 2755704f-8a67-45e4-9c30-e2d89f6161d7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cf0a1188-6c60-4eee-b328-ccdefb1e6ebf'] 2026-04-24 19:31:50,233 - WARNING - Deleting VN ctest-ext_vn-08703301 failed..Will retry 2026-04-24 19:31:52,338 - DEBUG - Response for deleting network () 2026-04-24 19:31:52,339 - INFO - Deleting VN ctest-vn-69711145 2026-04-24 19:31:52,434 - DEBUG - Response for deleting network () 2026-04-24 19:31:52,698 - DEBUG - No XMPP flaps were noticed during the test
2026-04-24 19:31:52,698 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2026-04-24 19:31:52,698 - INFO - -------------------------------------------------------------------------------- 2026-04-24 19:31:53,402 - INFO - Deleted project: ctest-TestRoutersBasic-23786749, ID : 72ccbde8-2eec-45b5-94f5-ef7fc80e5805