2026-09-01 21:27:13,459 - INFO - Domain Default found not creating 2026-09-01 21:27:13,641 - INFO - Project ctest-TestRoutersBasic-77530441 not found, creating it 2026-09-01 21:27:14,167 - INFO - Created Project:ctest-TestRoutersBasic-77530441, ID : 6d646b1c-885a-45ab-aa55-4622afdc9ff4 2026-09-01 21:27:16,087 - INFO - ================================================================================ 2026-09-01 21:27:16,087 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-09-01 21:27:16,087 - 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-09-01 21:27:16,353 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.25': '0'}} with 2026-09-01 21:27:16,353 - INFO - Initial checks done. Running the testcase now 2026-09-01 21:27:16,353 - INFO - 2026-09-01 21:27:17,266 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-77530441 2026-09-01 21:27:17,370 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-77530441 2026-09-01 21:27:17,710 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-77530441', 'default']} 2026-09-01 21:27:18,024 - DEBUG - Response for create_network : {'network': {'id': '462a2a48-a45d-4792-a626-49a0f893b52b', 'name': 'ctest-vn-61560888', 'tenant_id': '6d646b1c885a45abaa554622afdc9ff4', 'project_id': '6d646b1c885a45abaa554622afdc9ff4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-77530441', 'ctest-vn-61560888'], 'port_security_enabled': True, 'description': ''}} 2026-09-01 21:27:18,238 - DEBUG - Response for create_subnet : {'subnet': {'id': 'afee8d70-ac7e-4e6b-ad65-553eea47e877', 'name': '', 'tenant_id': '6d646b1c885a45abaa554622afdc9ff4', 'network_id': '462a2a48-a45d-4792-a626-49a0f893b52b', 'ip_version': 4, 'cidr': '40.160.236.64/26', 'allocation_pools': [{'start': '40.160.236.66', 'end': '40.160.236.126'}], 'gateway_ip': '40.160.236.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '40.160.236.66', 'tags': [], 'project_id': '6d646b1c885a45abaa554622afdc9ff4'}} 2026-09-01 21:27:18,257 - INFO - Created VN ctest-vn-61560888 2026-09-01 21:27:18,315 - DEBUG - VN ctest-vn-61560888 UUID is 462a2a48-a45d-4792-a626-49a0f893b52b 2026-09-01 21:27:18,692 - DEBUG - Response for create_network : {'network': {'id': '85d43578-7359-4d43-91ef-1de2700164a0', 'name': 'ctest-ext_vn-06581476', 'tenant_id': '6d646b1c885a45abaa554622afdc9ff4', 'project_id': '6d646b1c885a45abaa554622afdc9ff4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-77530441', 'ctest-ext_vn-06581476'], 'port_security_enabled': True, 'description': ''}} 2026-09-01 21:27:18,861 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c7276874-1b0b-497f-9b15-30f3d6e529f9', 'name': '', 'tenant_id': '6d646b1c885a45abaa554622afdc9ff4', 'network_id': '85d43578-7359-4d43-91ef-1de2700164a0', 'ip_version': 4, 'cidr': '94.70.236.64/26', 'allocation_pools': [{'start': '94.70.236.66', 'end': '94.70.236.126'}], 'gateway_ip': '94.70.236.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '94.70.236.66', 'tags': [], 'project_id': '6d646b1c885a45abaa554622afdc9ff4'}} 2026-09-01 21:27:18,881 - INFO - Created VN ctest-ext_vn-06581476 2026-09-01 21:27:18,934 - DEBUG - VN ctest-ext_vn-06581476 UUID is 85d43578-7359-4d43-91ef-1de2700164a0 2026-09-01 21:27:19,118 - DEBUG - Services list from nova: [, , ] 2026-09-01 21:27:19,504 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6241-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6241-1) 2026-09-01 21:27:19,945 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6241-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6241-1) 2026-09-01 21:27:20,029 - INFO - Setting gateway for router fc50a701-4a68-405d-ade9-1841bce712e2 to network 85d43578-7359-4d43-91ef-1de2700164a0 2026-09-01 21:27:20,114 - INFO - Adding interface with subnet_id afee8d70-ac7e-4e6b-ad65-553eea47e877, port_id None to router fc50a701-4a68-405d-ade9-1841bce712e2 2026-09-01 21:27:20,463 - INFO - Waiting for VM ctest-TestRoutersBasic-77530441-37307958 to be up.. 2026-09-01 21:27:20,536 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-01 21:27:25,626 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-01 21:27:30,780 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-01 21:27:35,859 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-01 21:27:40,944 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-01 21:27:46,025 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-01 21:27:51,124 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-01 21:27:56,219 - DEBUG - VM is in ACTIVE state now 2026-09-01 21:27:56,219 - INFO - VM name : ctest-TestRoutersBasic-77530441-37307958 2026-09-01 21:27:56,312 - DEBUG - VM ctest-TestRoutersBasic-77530441-37307958 ID is 32f45ffc-0762-4112-a2e6-1ad9bec3d0f3 2026-09-01 21:27:56,335 - DEBUG - VM ctest-TestRoutersBasic-77530441-37307958 launched on Node cn-jenkins-deploy-platform-ansible-os-6241-1 2026-09-01 21:27:56,423 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/32f45ffc-0762-4112-a2e6-1ad9bec3d0f3 2026-09-01 21:27:56,796 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/32f45ffc-0762-4112-a2e6-1ad9bec3d0f3 2026-09-01 21:27:56,833 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/2542a977-95a2-49a7-ac33-48c3201cd9fc 2026-09-01 21:28:00,084 - 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 1005ms') 2026-09-01 21:28:00,084 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-77530441-37307958 failed! 2026-09-01 21:28:00,146 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-77530441:ctest-vn-61560888 is 40.160.236.65 and allocation pool is NOT set 2026-09-01 21:28:04,213 - 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=2 ttl=63 time=11.0 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1007ms\r\nrtt min/avg/max/mdev = 11.042/11.042/11.042/0.000 ms') 2026-09-01 21:28:04,214 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-77530441-37307958 passed 2026-09-01 21:28:04,370 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-01 21:28:04,371 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-77530441-37307958, IP 40.160.236.67, Port 22 2026-09-01 21:28:04,440 - DEBUG - Error on ssh to cirros@169.254.0.5:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-09-01 21:28:04,541 - DEBUG - VM ctest-TestRoutersBasic-77530441-37307958 is NOT ready for SSH connections, VM status: ACTIVE 2026-09-01 21:28:09,542 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-01 21:28:09,542 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-77530441-37307958, IP 40.160.236.67, Port 22 2026-09-01 21:28:09,717 - DEBUG - VM ctest-TestRoutersBasic-77530441-37307958 is ready for SSH connections 2026-09-01 21:28:09,717 - INFO - Waiting for VM ctest-TestRoutersBasic-77530441-92528631 to be up.. 2026-09-01 21:28:09,808 - DEBUG - VM is in ACTIVE state now 2026-09-01 21:28:09,808 - INFO - VM name : ctest-TestRoutersBasic-77530441-92528631 2026-09-01 21:28:09,895 - DEBUG - VM ctest-TestRoutersBasic-77530441-92528631 ID is 66c65eae-2c8e-40fb-87a7-cb58c7a5b796 2026-09-01 21:28:09,895 - DEBUG - VM ctest-TestRoutersBasic-77530441-92528631 launched on Node cn-jenkins-deploy-platform-ansible-os-6241-1 2026-09-01 21:28:09,994 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/66c65eae-2c8e-40fb-87a7-cb58c7a5b796 2026-09-01 21:28:10,004 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/77193aa7-380c-4e5b-8bd1-d036cdc8a654 2026-09-01 21:28:11,265 - 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=4.01 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.690 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.690/2.347/4.005/1.657 ms') 2026-09-01 21:28:11,265 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-77530441-92528631 passed 2026-09-01 21:28:11,418 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-01 21:28:11,418 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-77530441-92528631, IP 94.70.236.68, Port 22 2026-09-01 21:28:11,589 - DEBUG - VM ctest-TestRoutersBasic-77530441-92528631 is ready for SSH connections 2026-09-01 21:28:11,589 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-01 21:28:11,589 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 94.70.236.68, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-09-01 21:28:11,590 - DEBUG - ping -s 56 -c 3 -W 1 94.70.236.68 2026-09-01 21:28:14,623 - DEBUG - PING 94.70.236.68 (94.70.236.68): 56 data bytes 64 bytes from 94.70.236.68: seq=0 ttl=62 time=7.921 ms 64 bytes from 94.70.236.68: seq=1 ttl=62 time=1.403 ms 64 bytes from 94.70.236.68: seq=2 ttl=62 time=1.206 ms --- 94.70.236.68 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.206/3.510/7.921 ms 2026-09-01 21:28:14,623 - INFO - Ping to IP 94.70.236.68 from VM ctest-TestRoutersBasic-77530441-37307958 passed 2026-09-01 21:28:14,623 - INFO - Deleting interface with subnet_id afee8d70-ac7e-4e6b-ad65-553eea47e877, port_id None from router fc50a701-4a68-405d-ade9-1841bce712e2 2026-09-01 21:28:14,836 - INFO - Deleting VM ctest-TestRoutersBasic-77530441-92528631 2026-09-01 21:28:14,959 - INFO - Deleting VM ctest-TestRoutersBasic-77530441-37307958 2026-09-01 21:28:15,030 - INFO - Deleting VN ctest-ext_vn-06581476 2026-09-01 21:28:15,115 - DEBUG - VN 85d43578-7359-4d43-91ef-1de2700164a0 still in use: Unable to complete operation on network 85d43578-7359-4d43-91ef-1de2700164a0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7bc5bf53-f97a-455b-9282-cee389c4fa01'] 2026-09-01 21:28:15,116 - WARNING - Deleting VN ctest-ext_vn-06581476 failed..Will retry 2026-09-01 21:28:17,332 - DEBUG - Response for deleting network () 2026-09-01 21:28:17,333 - INFO - Deleting VN ctest-vn-61560888 2026-09-01 21:28:17,495 - DEBUG - Response for deleting network () 2026-09-01 21:28:17,777 - DEBUG - No XMPP flaps were noticed during the test 2026-09-01 21:28:17,777 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:01] 2026-09-01 21:28:17,777 - INFO - -------------------------------------------------------------------------------- 2026-09-01 21:28:18,595 - INFO - Deleted project: ctest-TestRoutersBasic-77530441, ID : 6d646b1c-885a-45ab-aa55-4622afdc9ff4