2026-08-21 10:34:02,736 - INFO - Domain Default found not creating 2026-08-21 10:34:02,920 - INFO - Project ctest-TestRoutersBasic-15253784 not found, creating it 2026-08-21 10:34:03,429 - INFO - Created Project:ctest-TestRoutersBasic-15253784, ID : 9e57f7ac-c7c1-44e6-a3d4-8918287bd6f6 2026-08-21 10:34:05,313 - INFO - ================================================================================ 2026-08-21 10:34:05,313 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-08-21 10:34:05,313 - 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-08-21 10:34:05,590 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.25': '0'}} with 2026-08-21 10:34:05,590 - INFO - Initial checks done. Running the testcase now 2026-08-21 10:34:05,590 - INFO - 2026-08-21 10:34:06,482 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-15253784 2026-08-21 10:34:06,583 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-15253784 2026-08-21 10:34:06,914 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-15253784', 'default']} 2026-08-21 10:34:07,233 - DEBUG - Response for create_network : {'network': {'id': '65b8b36a-010f-4533-a98d-044260dc4a77', 'name': 'ctest-vn-40098948', 'tenant_id': '9e57f7acc7c144e6a3d48918287bd6f6', 'project_id': '9e57f7acc7c144e6a3d48918287bd6f6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-15253784', 'ctest-vn-40098948'], 'port_security_enabled': True, 'description': ''}} 2026-08-21 10:34:07,466 - DEBUG - Response for create_subnet : {'subnet': {'id': '7d9dbee1-af87-4660-9390-24557e296327', 'name': '', 'tenant_id': '9e57f7acc7c144e6a3d48918287bd6f6', 'network_id': '65b8b36a-010f-4533-a98d-044260dc4a77', 'ip_version': 4, 'cidr': '28.23.227.192/26', 'allocation_pools': [{'start': '28.23.227.194', 'end': '28.23.227.254'}], 'gateway_ip': '28.23.227.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '28.23.227.194', 'tags': [], 'project_id': '9e57f7acc7c144e6a3d48918287bd6f6'}} 2026-08-21 10:34:07,487 - INFO - Created VN ctest-vn-40098948 2026-08-21 10:34:07,543 - DEBUG - VN ctest-vn-40098948 UUID is 65b8b36a-010f-4533-a98d-044260dc4a77 2026-08-21 10:34:07,928 - DEBUG - Response for create_network : {'network': {'id': 'bf715cf6-8a87-4ff9-988b-5b56dfc0884a', 'name': 'ctest-ext_vn-83702036', 'tenant_id': '9e57f7acc7c144e6a3d48918287bd6f6', 'project_id': '9e57f7acc7c144e6a3d48918287bd6f6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-15253784', 'ctest-ext_vn-83702036'], 'port_security_enabled': True, 'description': ''}} 2026-08-21 10:34:08,201 - DEBUG - Response for create_subnet : {'subnet': {'id': '7705628e-9148-4e42-ae09-088a670e6240', 'name': '', 'tenant_id': '9e57f7acc7c144e6a3d48918287bd6f6', 'network_id': 'bf715cf6-8a87-4ff9-988b-5b56dfc0884a', 'ip_version': 4, 'cidr': '42.159.54.64/26', 'allocation_pools': [{'start': '42.159.54.66', 'end': '42.159.54.126'}], 'gateway_ip': '42.159.54.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '42.159.54.66', 'tags': [], 'project_id': '9e57f7acc7c144e6a3d48918287bd6f6'}} 2026-08-21 10:34:08,222 - INFO - Created VN ctest-ext_vn-83702036 2026-08-21 10:34:08,275 - DEBUG - VN ctest-ext_vn-83702036 UUID is bf715cf6-8a87-4ff9-988b-5b56dfc0884a 2026-08-21 10:34:08,457 - DEBUG - Services list from nova: [, , ] 2026-08-21 10:34:08,842 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6201-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6201-1) 2026-08-21 10:34:09,280 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6201-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6201-1) 2026-08-21 10:34:09,369 - INFO - Setting gateway for router a27909ee-44a9-4ce4-964d-518999e45443 to network bf715cf6-8a87-4ff9-988b-5b56dfc0884a 2026-08-21 10:34:09,436 - INFO - Adding interface with subnet_id 7d9dbee1-af87-4660-9390-24557e296327, port_id None to router a27909ee-44a9-4ce4-964d-518999e45443 2026-08-21 10:34:09,819 - INFO - Waiting for VM ctest-TestRoutersBasic-15253784-52526952 to be up.. 2026-08-21 10:34:09,944 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 10:34:15,027 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 10:34:20,184 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 10:34:25,267 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 10:34:30,362 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 10:34:35,461 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 10:34:40,557 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 10:34:45,670 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 10:34:50,760 - DEBUG - VM is in ACTIVE state now 2026-08-21 10:34:50,760 - INFO - VM name : ctest-TestRoutersBasic-15253784-52526952 2026-08-21 10:34:50,854 - DEBUG - VM ctest-TestRoutersBasic-15253784-52526952 ID is 8ac2a52c-0388-49d6-bb13-d4d0006344f1 2026-08-21 10:34:50,885 - DEBUG - VM ctest-TestRoutersBasic-15253784-52526952 launched on Node cn-jenkins-deploy-platform-ansible-os-6201-1 2026-08-21 10:34:50,970 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/8ac2a52c-0388-49d6-bb13-d4d0006344f1 2026-08-21 10:34:51,343 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/8ac2a52c-0388-49d6-bb13-d4d0006344f1 2026-08-21 10:34:51,377 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d134db63-9348-4d11-8c49-8aa9bb0bb2d3 2026-08-21 10:34:54,642 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1007ms') 2026-08-21 10:34:54,642 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-15253784-52526952 failed! 2026-08-21 10:34:54,699 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-15253784:ctest-vn-40098948 is 28.23.227.193 and allocation pool is NOT set 2026-08-21 10:34:56,763 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n64 bytes from 169.254.0.5: icmp_seq=1 ttl=63 time=3.74 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.478 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.478/2.110/3.743/1.632 ms') 2026-08-21 10:34:56,763 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-15253784-52526952 passed 2026-08-21 10:34:56,923 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-21 10:34:56,923 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-15253784-52526952, IP 28.23.227.195, Port 22 2026-08-21 10:34:57,090 - DEBUG - VM ctest-TestRoutersBasic-15253784-52526952 is ready for SSH connections 2026-08-21 10:34:57,090 - INFO - Waiting for VM ctest-TestRoutersBasic-15253784-73239559 to be up.. 2026-08-21 10:34:57,204 - DEBUG - VM is in ACTIVE state now 2026-08-21 10:34:57,204 - INFO - VM name : ctest-TestRoutersBasic-15253784-73239559 2026-08-21 10:34:57,311 - DEBUG - VM ctest-TestRoutersBasic-15253784-73239559 ID is 371fef3d-4ee0-4683-aaa4-d3e74355e73f 2026-08-21 10:34:57,311 - DEBUG - VM ctest-TestRoutersBasic-15253784-73239559 launched on Node cn-jenkins-deploy-platform-ansible-os-6201-1 2026-08-21 10:34:57,452 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/371fef3d-4ee0-4683-aaa4-d3e74355e73f 2026-08-21 10:34:57,463 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/95e669c2-c103-4a74-95d2-e470883279a1 2026-08-21 10:34:58,748 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n64 bytes from 169.254.0.6: icmp_seq=1 ttl=63 time=12.8 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=1.26 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.264/7.048/12.833/5.784 ms') 2026-08-21 10:34:58,748 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-15253784-73239559 passed 2026-08-21 10:34:58,903 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-21 10:34:58,903 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-15253784-73239559, IP 42.159.54.68, Port 22 2026-08-21 10:34:59,073 - DEBUG - VM ctest-TestRoutersBasic-15253784-73239559 is ready for SSH connections 2026-08-21 10:34:59,073 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-21 10:34:59,073 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 42.159.54.68, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-08-21 10:34:59,073 - DEBUG - ping -s 56 -c 3 -W 1 42.159.54.68 2026-08-21 10:35:02,175 - DEBUG - PING 42.159.54.68 (42.159.54.68): 56 data bytes 64 bytes from 42.159.54.68: seq=0 ttl=62 time=6.441 ms 64 bytes from 42.159.54.68: seq=1 ttl=62 time=0.878 ms 64 bytes from 42.159.54.68: seq=2 ttl=62 time=1.675 ms --- 42.159.54.68 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.878/2.998/6.441 ms 2026-08-21 10:35:02,175 - INFO - Ping to IP 42.159.54.68 from VM ctest-TestRoutersBasic-15253784-52526952 passed 2026-08-21 10:35:02,175 - INFO - Deleting interface with subnet_id 7d9dbee1-af87-4660-9390-24557e296327, port_id None from router a27909ee-44a9-4ce4-964d-518999e45443 2026-08-21 10:35:02,484 - INFO - Deleting VM ctest-TestRoutersBasic-15253784-73239559 2026-08-21 10:35:02,591 - INFO - Deleting VM ctest-TestRoutersBasic-15253784-52526952 2026-08-21 10:35:02,686 - INFO - Deleting VN ctest-ext_vn-83702036 2026-08-21 10:35:02,781 - DEBUG - VN bf715cf6-8a87-4ff9-988b-5b56dfc0884a still in use: Unable to complete operation on network bf715cf6-8a87-4ff9-988b-5b56dfc0884a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7ac2e488-2ead-4126-a298-36e0f49bdc4f'] 2026-08-21 10:35:02,781 - WARNING - Deleting VN ctest-ext_vn-83702036 failed..Will retry 2026-08-21 10:35:04,969 - DEBUG - Response for deleting network () 2026-08-21 10:35:04,969 - INFO - Deleting VN ctest-vn-40098948 2026-08-21 10:35:05,115 - DEBUG - Response for deleting network () 2026-08-21 10:35:05,386 - DEBUG - No XMPP flaps were noticed during the test
2026-08-21 10:35:05,386 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:00]
2026-08-21 10:35:05,386 - INFO - -------------------------------------------------------------------------------- 2026-08-21 10:35:06,192 - INFO - Deleted project: ctest-TestRoutersBasic-15253784, ID : 9e57f7ac-c7c1-44e6-a3d4-8918287bd6f6