2026-04-17 19:31:42,825 - INFO - Domain Default found not creating 2026-04-17 19:31:43,028 - INFO - Project ctest-TestRoutersBasic-21981418 not found, creating it 2026-04-17 19:31:43,525 - INFO - Created Project:ctest-TestRoutersBasic-21981418, ID : 2a98719a-3eb6-4826-b1ac-3d3cc6a230e6 2026-04-17 19:31:45,224 - INFO - ================================================================================ 2026-04-17 19:31:45,224 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-04-17 19:31:45,224 - 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-17 19:31:45,482 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2026-04-17 19:31:45,482 - INFO - Initial checks done. Running the testcase now 2026-04-17 19:31:45,482 - INFO - 2026-04-17 19:31:46,319 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-21981418 2026-04-17 19:31:46,414 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-21981418 2026-04-17 19:31:46,750 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-21981418', 'default']} 2026-04-17 19:31:47,070 - DEBUG - Response for create_network : {'network': {'id': 'a305b616-5961-4154-9836-b23236981db0', 'name': 'ctest-vn-03012977', 'tenant_id': '2a98719a3eb64826b1ac3d3cc6a230e6', 'project_id': '2a98719a3eb64826b1ac3d3cc6a230e6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-21981418', 'ctest-vn-03012977'], 'port_security_enabled': True, 'description': ''}} 2026-04-17 19:31:47,265 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a1ac5b4e-bec6-48f3-8755-ce86a7da6ae6', 'name': '', 'tenant_id': '2a98719a3eb64826b1ac3d3cc6a230e6', 'network_id': 'a305b616-5961-4154-9836-b23236981db0', 'ip_version': 4, 'cidr': '121.175.97.192/26', 'allocation_pools': [{'start': '121.175.97.194', 'end': '121.175.97.254'}], 'gateway_ip': '121.175.97.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '121.175.97.194', 'tags': [], 'project_id': '2a98719a3eb64826b1ac3d3cc6a230e6'}} 2026-04-17 19:31:47,288 - INFO - Created VN ctest-vn-03012977 2026-04-17 19:31:47,342 - DEBUG - VN ctest-vn-03012977 UUID is a305b616-5961-4154-9836-b23236981db0 2026-04-17 19:31:47,664 - DEBUG - Response for create_network : {'network': {'id': 'f567b264-cdd3-41c2-94c9-3b4d4825bdd6', 'name': 'ctest-ext_vn-29768256', 'tenant_id': '2a98719a3eb64826b1ac3d3cc6a230e6', 'project_id': '2a98719a3eb64826b1ac3d3cc6a230e6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-21981418', 'ctest-ext_vn-29768256'], 'port_security_enabled': True, 'description': ''}} 2026-04-17 19:31:47,822 - DEBUG - Response for create_subnet : {'subnet': {'id': '7c693ac4-b886-4707-8b0f-9241632ea248', 'name': '', 'tenant_id': '2a98719a3eb64826b1ac3d3cc6a230e6', 'network_id': 'f567b264-cdd3-41c2-94c9-3b4d4825bdd6', 'ip_version': 4, 'cidr': '68.173.176.0/26', 'allocation_pools': [{'start': '68.173.176.2', 'end': '68.173.176.62'}], 'gateway_ip': '68.173.176.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '68.173.176.2', 'tags': [], 'project_id': '2a98719a3eb64826b1ac3d3cc6a230e6'}} 2026-04-17 19:31:47,841 - INFO - Created VN ctest-ext_vn-29768256 2026-04-17 19:31:47,894 - DEBUG - VN ctest-ext_vn-29768256 UUID is f567b264-cdd3-41c2-94c9-3b4d4825bdd6 2026-04-17 19:31:48,068 - DEBUG - Services list from nova: [, , ] 2026-04-17 19:31:49,218 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5638-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5638-1) 2026-04-17 19:31:50,526 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5638-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5638-1) 2026-04-17 19:31:50,613 - INFO - Setting gateway for router e46a381f-59f3-4d1e-ab7b-96c65c5d99c5 to network f567b264-cdd3-41c2-94c9-3b4d4825bdd6 2026-04-17 19:31:50,701 - INFO - Adding interface with subnet_id a1ac5b4e-bec6-48f3-8755-ce86a7da6ae6, port_id None to router e46a381f-59f3-4d1e-ab7b-96c65c5d99c5 2026-04-17 19:31:51,149 - INFO - Waiting for VM ctest-TestRoutersBasic-21981418-94646217 to be up.. 2026-04-17 19:31:51,313 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-17 19:31:56,403 - DEBUG - VM is in ACTIVE state now 2026-04-17 19:31:56,403 - INFO - VM name : ctest-TestRoutersBasic-21981418-94646217 2026-04-17 19:31:56,496 - DEBUG - VM ctest-TestRoutersBasic-21981418-94646217 ID is d14ad47c-2601-4572-86e1-c2e2bc55950a 2026-04-17 19:31:56,517 - DEBUG - VM ctest-TestRoutersBasic-21981418-94646217 launched on Node cn-jenkins-deploy-platform-ansible-os-5638-1 2026-04-17 19:31:56,601 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/d14ad47c-2601-4572-86e1-c2e2bc55950a 2026-04-17 19:31:56,938 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/d14ad47c-2601-4572-86e1-c2e2bc55950a 2026-04-17 19:31:56,974 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/b1b7fb05-a6d4-4fd3-843d-e1df62fecd7a 2026-04-17 19:32:00,218 - 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 1009ms') 2026-04-17 19:32:00,218 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-21981418-94646217 failed! 2026-04-17 19:32:00,274 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-21981418:ctest-vn-03012977 is 121.175.97.193 and allocation pool is NOT set 2026-04-17 19:32:02,338 - 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.32 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.75 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 = 3.315/3.532/3.749/0.217 ms') 2026-04-17 19:32:02,338 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-21981418-94646217 passed 2026-04-17 19:32:02,490 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-17 19:32:02,490 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-21981418-94646217, IP 121.175.97.195, Port 22 2026-04-17 19:32:02,556 - 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': ''} 2026-04-17 19:32:02,641 - DEBUG - VM ctest-TestRoutersBasic-21981418-94646217 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-17 19:32:07,642 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-17 19:32:07,642 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-21981418-94646217, IP 121.175.97.195, Port 22 2026-04-17 19:32:07,808 - DEBUG - VM ctest-TestRoutersBasic-21981418-94646217 is ready for SSH connections 2026-04-17 19:32:07,808 - INFO - Waiting for VM ctest-TestRoutersBasic-21981418-49003256 to be up.. 2026-04-17 19:32:07,900 - DEBUG - VM is in ACTIVE state now 2026-04-17 19:32:07,901 - INFO - VM name : ctest-TestRoutersBasic-21981418-49003256 2026-04-17 19:32:07,983 - DEBUG - VM ctest-TestRoutersBasic-21981418-49003256 ID is b35e5177-9551-4efc-87d7-ed994a3c3996 2026-04-17 19:32:07,984 - DEBUG - VM ctest-TestRoutersBasic-21981418-49003256 launched on Node cn-jenkins-deploy-platform-ansible-os-5638-1 2026-04-17 19:32:08,066 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/b35e5177-9551-4efc-87d7-ed994a3c3996 2026-04-17 19:32:08,075 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/2bb1fffb-bc2e-4f41-80cc-42f765651f66 2026-04-17 19:32:09,319 - 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.33 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.516 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.516/1.923/3.330/1.407 ms') 2026-04-17 19:32:09,319 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-21981418-49003256 passed 2026-04-17 19:32:09,474 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-17 19:32:09,474 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-21981418-49003256, IP 68.173.176.3, Port 22 2026-04-17 19:32:09,634 - DEBUG - VM ctest-TestRoutersBasic-21981418-49003256 is ready for SSH connections 2026-04-17 19:32:09,634 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-17 19:32:09,634 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 68.173.176.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-04-17 19:32:09,634 - DEBUG - ping -s 56 -c 3 -W 1 68.173.176.3 2026-04-17 19:32:13,394 - DEBUG - PING 68.173.176.3 (68.173.176.3): 56 data bytes 64 bytes from 68.173.176.3: seq=0 ttl=62 time=8.154 ms 64 bytes from 68.173.176.3: seq=1 ttl=62 time=1.215 ms 64 bytes from 68.173.176.3: seq=2 ttl=62 time=1.026 ms --- 68.173.176.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.026/3.465/8.154 ms 2026-04-17 19:32:13,394 - INFO - Ping to IP 68.173.176.3 from VM ctest-TestRoutersBasic-21981418-94646217 passed 2026-04-17 19:32:13,394 - INFO - Deleting interface with subnet_id a1ac5b4e-bec6-48f3-8755-ce86a7da6ae6, port_id None from router e46a381f-59f3-4d1e-ab7b-96c65c5d99c5 2026-04-17 19:32:13,582 - INFO - Deleting VM ctest-TestRoutersBasic-21981418-49003256 2026-04-17 19:32:13,670 - INFO - Deleting VM ctest-TestRoutersBasic-21981418-94646217 2026-04-17 19:32:13,771 - INFO - Deleting VN ctest-ext_vn-29768256 2026-04-17 19:32:13,842 - DEBUG - VN f567b264-cdd3-41c2-94c9-3b4d4825bdd6 still in use: Unable to complete operation on network f567b264-cdd3-41c2-94c9-3b4d4825bdd6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9045af38-3ed9-4b6b-b003-2265070174e3'] 2026-04-17 19:32:13,842 - WARNING - Deleting VN ctest-ext_vn-29768256 failed..Will retry 2026-04-17 19:32:15,950 - DEBUG - Response for deleting network () 2026-04-17 19:32:15,950 - INFO - Deleting VN ctest-vn-03012977 2026-04-17 19:32:16,060 - DEBUG - Response for deleting network () 2026-04-17 19:32:16,328 - DEBUG - No XMPP flaps were noticed during the test
2026-04-17 19:32:16,328 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31]
2026-04-17 19:32:16,328 - INFO - -------------------------------------------------------------------------------- 2026-04-17 19:32:17,088 - INFO - Deleted project: ctest-TestRoutersBasic-21981418, ID : 2a98719a-3eb6-4826-b1ac-3d3cc6a230e6