2026-01-16 14:05:31,765 - INFO - Domain Default found not creating 2026-01-16 14:05:31,970 - INFO - Project ctest-TestRoutersBasic-68793924 not found, creating it 2026-01-16 14:05:32,475 - INFO - Created Project:ctest-TestRoutersBasic-68793924, ID : d59766ac-db52-4892-976f-bb397eb23ba0 2026-01-16 14:05:34,216 - INFO - ================================================================================ 2026-01-16 14:05:34,216 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-01-16 14:05:34,216 - 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-01-16 14:05:34,481 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-01-16 14:05:34,481 - INFO - Initial checks done. Running the testcase now 2026-01-16 14:05:34,481 - INFO - 2026-01-16 14:05:35,318 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-68793924 2026-01-16 14:05:35,418 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-68793924 2026-01-16 14:05:35,745 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-68793924', 'default']} 2026-01-16 14:05:36,051 - DEBUG - Response for create_network : {'network': {'id': '7b92531f-e554-4137-a61f-8957d863face', 'name': 'ctest-vn-48767622', 'tenant_id': 'd59766acdb524892976fbb397eb23ba0', 'project_id': 'd59766acdb524892976fbb397eb23ba0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-68793924', 'ctest-vn-48767622'], 'port_security_enabled': True, 'description': ''}} 2026-01-16 14:05:36,229 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cc067106-d649-4a7a-ad12-04fbfb4badeb', 'name': '', 'tenant_id': 'd59766acdb524892976fbb397eb23ba0', 'network_id': '7b92531f-e554-4137-a61f-8957d863face', 'ip_version': 4, 'cidr': '115.114.7.192/26', 'allocation_pools': [{'start': '115.114.7.194', 'end': '115.114.7.254'}], 'gateway_ip': '115.114.7.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '115.114.7.194', 'tags': [], 'project_id': 'd59766acdb524892976fbb397eb23ba0'}} 2026-01-16 14:05:36,253 - INFO - Created VN ctest-vn-48767622 2026-01-16 14:05:36,305 - DEBUG - VN ctest-vn-48767622 UUID is 7b92531f-e554-4137-a61f-8957d863face 2026-01-16 14:05:36,647 - DEBUG - Response for create_network : {'network': {'id': 'c30795f0-9588-4b13-acd1-f218a5e65e79', 'name': 'ctest-ext_vn-63308621', 'tenant_id': 'd59766acdb524892976fbb397eb23ba0', 'project_id': 'd59766acdb524892976fbb397eb23ba0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-68793924', 'ctest-ext_vn-63308621'], 'port_security_enabled': True, 'description': ''}} 2026-01-16 14:05:36,826 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a662d749-9dbd-4708-aeb4-25c3bc4cd6af', 'name': '', 'tenant_id': 'd59766acdb524892976fbb397eb23ba0', 'network_id': 'c30795f0-9588-4b13-acd1-f218a5e65e79', 'ip_version': 4, 'cidr': '133.140.155.192/26', 'allocation_pools': [{'start': '133.140.155.194', 'end': '133.140.155.254'}], 'gateway_ip': '133.140.155.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '133.140.155.194', 'tags': [], 'project_id': 'd59766acdb524892976fbb397eb23ba0'}} 2026-01-16 14:05:36,845 - INFO - Created VN ctest-ext_vn-63308621 2026-01-16 14:05:36,901 - DEBUG - VN ctest-ext_vn-63308621 UUID is c30795f0-9588-4b13-acd1-f218a5e65e79 2026-01-16 14:05:37,086 - DEBUG - Services list from nova: [, , ] 2026-01-16 14:05:38,252 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5032-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5032-1) 2026-01-16 14:05:39,548 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5032-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5032-1) 2026-01-16 14:05:39,618 - INFO - Setting gateway for router 6f2a480b-968e-4022-bfe1-8e90ded48efe to network c30795f0-9588-4b13-acd1-f218a5e65e79 2026-01-16 14:05:39,697 - INFO - Adding interface with subnet_id cc067106-d649-4a7a-ad12-04fbfb4badeb, port_id None to router 6f2a480b-968e-4022-bfe1-8e90ded48efe 2026-01-16 14:05:40,082 - INFO - Waiting for VM ctest-TestRoutersBasic-68793924-49757896 to be up.. 2026-01-16 14:05:40,323 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-16 14:05:45,417 - DEBUG - VM is in ACTIVE state now 2026-01-16 14:05:45,417 - INFO - VM name : ctest-TestRoutersBasic-68793924-49757896 2026-01-16 14:05:45,501 - DEBUG - VM ctest-TestRoutersBasic-68793924-49757896 ID is 0109788c-17e5-483c-a816-abcdb8957fc3 2026-01-16 14:05:45,523 - DEBUG - VM ctest-TestRoutersBasic-68793924-49757896 launched on Node cn-jenkins-deploy-platform-ansible-os-5032-1 2026-01-16 14:05:45,617 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/0109788c-17e5-483c-a816-abcdb8957fc3 2026-01-16 14:05:46,001 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/0109788c-17e5-483c-a816-abcdb8957fc3 2026-01-16 14:05:46,073 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f49d879c-af8c-4610-8839-50445681826e 2026-01-16 14:05:49,347 - 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 1026ms') 2026-01-16 14:05:49,347 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-68793924-49757896 failed! 2026-01-16 14:05:49,409 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-68793924:ctest-vn-48767622 is 115.114.7.193 and allocation pool is NOT set 2026-01-16 14:05:51,476 - 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=6.94 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.54 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.535/4.739/6.944/2.204 ms') 2026-01-16 14:05:51,476 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-68793924-49757896 passed 2026-01-16 14:05:51,637 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-16 14:05:51,638 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-68793924-49757896, IP 115.114.7.195, Port 22 2026-01-16 14:05:51,811 - DEBUG - VM ctest-TestRoutersBasic-68793924-49757896 is ready for SSH connections 2026-01-16 14:05:51,811 - INFO - Waiting for VM ctest-TestRoutersBasic-68793924-37493149 to be up.. 2026-01-16 14:05:51,905 - DEBUG - VM is in ACTIVE state now 2026-01-16 14:05:51,905 - INFO - VM name : ctest-TestRoutersBasic-68793924-37493149 2026-01-16 14:05:52,009 - DEBUG - VM ctest-TestRoutersBasic-68793924-37493149 ID is 31a4159c-68d0-4423-9585-8e07a7f77bd0 2026-01-16 14:05:52,009 - DEBUG - VM ctest-TestRoutersBasic-68793924-37493149 launched on Node cn-jenkins-deploy-platform-ansible-os-5032-1 2026-01-16 14:05:52,107 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/31a4159c-68d0-4423-9585-8e07a7f77bd0 2026-01-16 14:05:52,119 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4e7164d9-2492-4679-95c5-3b7eac8a8c1e 2026-01-16 14:05:53,373 - 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=4.19 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.21 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 = 1.206/2.698/4.190/1.492 ms') 2026-01-16 14:05:53,373 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-68793924-37493149 passed 2026-01-16 14:05:53,534 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-16 14:05:53,534 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-68793924-37493149, IP 133.140.155.195, Port 22 2026-01-16 14:05:53,599 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-01-16 14:05:53,690 - DEBUG - VM ctest-TestRoutersBasic-68793924-37493149 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-16 14:05:58,691 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-16 14:05:58,691 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-68793924-37493149, IP 133.140.155.195, Port 22 2026-01-16 14:05:58,849 - DEBUG - VM ctest-TestRoutersBasic-68793924-37493149 is ready for SSH connections 2026-01-16 14:05:58,849 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-16 14:05:58,850 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 133.140.155.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-01-16 14:05:58,850 - DEBUG - ping -s 56 -c 3 -W 1 133.140.155.195 2026-01-16 14:06:02,667 - DEBUG - PING 133.140.155.195 (133.140.155.195): 56 data bytes 64 bytes from 133.140.155.195: seq=0 ttl=62 time=8.187 ms 64 bytes from 133.140.155.195: seq=1 ttl=62 time=1.105 ms 64 bytes from 133.140.155.195: seq=2 ttl=62 time=1.423 ms --- 133.140.155.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.105/3.571/8.187 ms 2026-01-16 14:06:02,667 - INFO - Ping to IP 133.140.155.195 from VM ctest-TestRoutersBasic-68793924-49757896 passed 2026-01-16 14:06:02,668 - INFO - Deleting interface with subnet_id cc067106-d649-4a7a-ad12-04fbfb4badeb, port_id None from router 6f2a480b-968e-4022-bfe1-8e90ded48efe 2026-01-16 14:06:02,863 - INFO - Deleting VM ctest-TestRoutersBasic-68793924-37493149 2026-01-16 14:06:02,944 - INFO - Deleting VM ctest-TestRoutersBasic-68793924-49757896 2026-01-16 14:06:03,038 - INFO - Deleting VN ctest-ext_vn-63308621 2026-01-16 14:06:03,117 - DEBUG - VN c30795f0-9588-4b13-acd1-f218a5e65e79 still in use: Unable to complete operation on network c30795f0-9588-4b13-acd1-f218a5e65e79. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e8e13053-27ad-4f02-9398-56a66980df0e'] 2026-01-16 14:06:03,118 - WARNING - Deleting VN ctest-ext_vn-63308621 failed..Will retry 2026-01-16 14:06:05,227 - DEBUG - Response for deleting network () 2026-01-16 14:06:05,227 - INFO - Deleting VN ctest-vn-48767622 2026-01-16 14:06:05,362 - DEBUG - Response for deleting network () 2026-01-16 14:06:05,640 - DEBUG - No XMPP flaps were noticed during the test 2026-01-16 14:06:05,640 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31] 2026-01-16 14:06:05,640 - INFO - -------------------------------------------------------------------------------- 2026-01-16 14:06:06,422 - INFO - Deleted project: ctest-TestRoutersBasic-68793924, ID : d59766ac-db52-4892-976f-bb397eb23ba0