2026-05-20 14:33:55,500 - INFO - Domain Default found not creating 2026-05-20 14:33:55,715 - INFO - Project ctest-TestRoutersBasic-91950320 not found, creating it 2026-05-20 14:33:56,262 - INFO - Created Project:ctest-TestRoutersBasic-91950320, ID : 5bf88c72-67de-4057-ad98-1efd6800aa13 2026-05-20 14:33:57,885 - INFO - ================================================================================ 2026-05-20 14:33:57,885 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-05-20 14:33:57,885 - 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-05-20 14:33:58,153 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2026-05-20 14:33:58,153 - INFO - Initial checks done. Running the testcase now 2026-05-20 14:33:58,153 - INFO - 2026-05-20 14:33:58,940 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-91950320 2026-05-20 14:33:59,038 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-91950320 2026-05-20 14:33:59,362 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-91950320', 'default']} 2026-05-20 14:33:59,688 - DEBUG - Response for create_network : {'network': {'id': 'b7e35d66-f200-493f-91b4-adeb98ea35bf', 'name': 'ctest-vn-22840214', 'tenant_id': '5bf88c7267de4057ad981efd6800aa13', 'project_id': '5bf88c7267de4057ad981efd6800aa13', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-91950320', 'ctest-vn-22840214'], 'port_security_enabled': True, 'description': ''}} 2026-05-20 14:33:59,934 - DEBUG - Response for create_subnet : {'subnet': {'id': '2c3e73d6-1cf0-4f80-961a-26f0944e4a74', 'name': '', 'tenant_id': '5bf88c7267de4057ad981efd6800aa13', 'network_id': 'b7e35d66-f200-493f-91b4-adeb98ea35bf', 'ip_version': 4, 'cidr': '219.221.87.128/26', 'allocation_pools': [{'start': '219.221.87.130', 'end': '219.221.87.190'}], 'gateway_ip': '219.221.87.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '219.221.87.130', 'tags': [], 'project_id': '5bf88c7267de4057ad981efd6800aa13'}} 2026-05-20 14:33:59,959 - INFO - Created VN ctest-vn-22840214 2026-05-20 14:34:00,014 - DEBUG - VN ctest-vn-22840214 UUID is b7e35d66-f200-493f-91b4-adeb98ea35bf 2026-05-20 14:34:00,399 - DEBUG - Response for create_network : {'network': {'id': 'dffb6aa3-c1ef-4f73-b101-15710060f7b6', 'name': 'ctest-ext_vn-42486251', 'tenant_id': '5bf88c7267de4057ad981efd6800aa13', 'project_id': '5bf88c7267de4057ad981efd6800aa13', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-91950320', 'ctest-ext_vn-42486251'], 'port_security_enabled': True, 'description': ''}} 2026-05-20 14:34:00,654 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f6d03fbb-0236-4dc1-915e-55c355b24437', 'name': '', 'tenant_id': '5bf88c7267de4057ad981efd6800aa13', 'network_id': 'dffb6aa3-c1ef-4f73-b101-15710060f7b6', 'ip_version': 4, 'cidr': '189.30.87.192/26', 'allocation_pools': [{'start': '189.30.87.194', 'end': '189.30.87.254'}], 'gateway_ip': '189.30.87.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '189.30.87.194', 'tags': [], 'project_id': '5bf88c7267de4057ad981efd6800aa13'}} 2026-05-20 14:34:00,679 - INFO - Created VN ctest-ext_vn-42486251 2026-05-20 14:34:00,734 - DEBUG - VN ctest-ext_vn-42486251 UUID is dffb6aa3-c1ef-4f73-b101-15710060f7b6 2026-05-20 14:34:00,922 - DEBUG - Services list from nova: [, , ] 2026-05-20 14:34:02,104 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5802-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5802-1) 2026-05-20 14:34:03,390 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5802-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5802-1) 2026-05-20 14:34:03,488 - INFO - Setting gateway for router 0f19bac1-5290-47c1-a1fb-cc281013be15 to network dffb6aa3-c1ef-4f73-b101-15710060f7b6 2026-05-20 14:34:03,585 - INFO - Adding interface with subnet_id 2c3e73d6-1cf0-4f80-961a-26f0944e4a74, port_id None to router 0f19bac1-5290-47c1-a1fb-cc281013be15 2026-05-20 14:34:04,048 - INFO - Waiting for VM ctest-TestRoutersBasic-91950320-86384997 to be up.. 2026-05-20 14:34:04,209 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-20 14:34:09,305 - DEBUG - VM is in ACTIVE state now 2026-05-20 14:34:09,305 - INFO - VM name : ctest-TestRoutersBasic-91950320-86384997 2026-05-20 14:34:09,399 - DEBUG - VM ctest-TestRoutersBasic-91950320-86384997 ID is 9a0d1be3-a77f-41cf-b2cd-ab62e30425cd 2026-05-20 14:34:09,423 - DEBUG - VM ctest-TestRoutersBasic-91950320-86384997 launched on Node cn-jenkins-deploy-platform-ansible-os-5802-1 2026-05-20 14:34:09,516 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/9a0d1be3-a77f-41cf-b2cd-ab62e30425cd 2026-05-20 14:34:09,827 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/9a0d1be3-a77f-41cf-b2cd-ab62e30425cd 2026-05-20 14:34:09,871 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/a8200178-e97d-420d-b241-3ea3c716143d 2026-05-20 14:34:13,149 - 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') 2026-05-20 14:34:13,149 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-91950320-86384997 failed! 2026-05-20 14:34:13,206 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-91950320:ctest-vn-22840214 is 219.221.87.129 and allocation pool is NOT set 2026-05-20 14:34:15,267 - 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.92 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.00 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 = 2.000/3.460/4.920/1.460 ms') 2026-05-20 14:34:15,267 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-91950320-86384997 passed 2026-05-20 14:34:15,426 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-20 14:34:15,426 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-91950320-86384997, IP 219.221.87.131, Port 22 2026-05-20 14:34:15,596 - DEBUG - VM ctest-TestRoutersBasic-91950320-86384997 is ready for SSH connections 2026-05-20 14:34:15,596 - INFO - Waiting for VM ctest-TestRoutersBasic-91950320-67051027 to be up.. 2026-05-20 14:34:15,699 - DEBUG - VM is in ACTIVE state now 2026-05-20 14:34:15,699 - INFO - VM name : ctest-TestRoutersBasic-91950320-67051027 2026-05-20 14:34:15,783 - DEBUG - VM ctest-TestRoutersBasic-91950320-67051027 ID is f1fee8fb-32cf-4da1-bdb2-3e664c5a6bd7 2026-05-20 14:34:15,783 - DEBUG - VM ctest-TestRoutersBasic-91950320-67051027 launched on Node cn-jenkins-deploy-platform-ansible-os-5802-1 2026-05-20 14:34:15,869 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/f1fee8fb-32cf-4da1-bdb2-3e664c5a6bd7 2026-05-20 14:34:15,878 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/addaa975-0679-4f1c-a3eb-4025ef36b0f8 2026-05-20 14:34:17,121 - 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.37 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.17 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.166/3.765/5.365/1.599 ms') 2026-05-20 14:34:17,121 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-91950320-67051027 passed 2026-05-20 14:34:17,278 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-20 14:34:17,278 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-91950320-67051027, IP 189.30.87.195, Port 22 2026-05-20 14:34:17,433 - DEBUG - VM ctest-TestRoutersBasic-91950320-67051027 is ready for SSH connections 2026-05-20 14:34:17,433 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-20 14:34:17,434 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 189.30.87.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-05-20 14:34:17,434 - DEBUG - ping -s 56 -c 3 -W 1 189.30.87.195 2026-05-20 14:34:21,201 - DEBUG - PING 189.30.87.195 (189.30.87.195): 56 data bytes 64 bytes from 189.30.87.195: seq=0 ttl=62 time=9.405 ms 64 bytes from 189.30.87.195: seq=1 ttl=62 time=1.300 ms 64 bytes from 189.30.87.195: seq=2 ttl=62 time=0.955 ms --- 189.30.87.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.955/3.886/9.405 ms 2026-05-20 14:34:21,201 - INFO - Ping to IP 189.30.87.195 from VM ctest-TestRoutersBasic-91950320-86384997 passed 2026-05-20 14:34:21,201 - INFO - Deleting interface with subnet_id 2c3e73d6-1cf0-4f80-961a-26f0944e4a74, port_id None from router 0f19bac1-5290-47c1-a1fb-cc281013be15 2026-05-20 14:34:21,429 - INFO - Deleting VM ctest-TestRoutersBasic-91950320-67051027 2026-05-20 14:34:21,522 - INFO - Deleting VM ctest-TestRoutersBasic-91950320-86384997 2026-05-20 14:34:21,604 - INFO - Deleting VN ctest-ext_vn-42486251 2026-05-20 14:34:21,690 - DEBUG - VN dffb6aa3-c1ef-4f73-b101-15710060f7b6 still in use: Unable to complete operation on network dffb6aa3-c1ef-4f73-b101-15710060f7b6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e0722f87-1e80-4e88-a98b-15c10b9aeedb'] 2026-05-20 14:34:21,690 - WARNING - Deleting VN ctest-ext_vn-42486251 failed..Will retry 2026-05-20 14:34:23,812 - DEBUG - Response for deleting network () 2026-05-20 14:34:23,812 - INFO - Deleting VN ctest-vn-22840214 2026-05-20 14:34:23,933 - DEBUG - Response for deleting network () 2026-05-20 14:34:24,196 - DEBUG - No XMPP flaps were noticed during the test
2026-05-20 14:34:24,196 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2026-05-20 14:34:24,196 - INFO - -------------------------------------------------------------------------------- 2026-05-20 14:34:24,928 - INFO - Deleted project: ctest-TestRoutersBasic-91950320, ID : 5bf88c72-67de-4057-ad98-1efd6800aa13