2026-11-06 15:16:43,768 - INFO - Domain Default found not creating 2026-11-06 15:16:43,959 - INFO - Project ctest-TestRoutersBasic-30665831 not found, creating it 2026-11-06 15:16:44,538 - INFO - Created Project:ctest-TestRoutersBasic-30665831, ID : 8a6f2e8c-1e05-470a-b43f-79216e2e4a4f 2026-11-06 15:16:46,352 - INFO - ================================================================================ 2026-11-06 15:16:46,352 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-11-06 15:16:46,352 - 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-11-06 15:16:46,631 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2026-11-06 15:16:46,631 - INFO - Initial checks done. Running the testcase now 2026-11-06 15:16:46,631 - INFO - 2026-11-06 15:16:47,524 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-30665831 2026-11-06 15:16:47,625 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-30665831 2026-11-06 15:16:47,956 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-30665831', 'default']} 2026-11-06 15:16:48,254 - DEBUG - Response for create_network : {'network': {'id': '9fc32075-021d-47f0-a548-698a78858f7b', 'name': 'ctest-vn-62130059', 'tenant_id': '8a6f2e8c1e05470ab43f79216e2e4a4f', 'project_id': '8a6f2e8c1e05470ab43f79216e2e4a4f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-30665831', 'ctest-vn-62130059'], 'port_security_enabled': True, 'description': ''}} 2026-11-06 15:16:48,450 - DEBUG - Response for create_subnet : {'subnet': {'id': '846a3741-38a5-4b7c-bfaf-5ccbcf883ebf', 'name': '', 'tenant_id': '8a6f2e8c1e05470ab43f79216e2e4a4f', 'network_id': '9fc32075-021d-47f0-a548-698a78858f7b', 'ip_version': 4, 'cidr': '144.41.165.0/26', 'allocation_pools': [{'start': '144.41.165.2', 'end': '144.41.165.62'}], 'gateway_ip': '144.41.165.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.41.165.2', 'tags': [], 'project_id': '8a6f2e8c1e05470ab43f79216e2e4a4f'}} 2026-11-06 15:16:48,473 - INFO - Created VN ctest-vn-62130059 2026-11-06 15:16:48,529 - DEBUG - VN ctest-vn-62130059 UUID is 9fc32075-021d-47f0-a548-698a78858f7b 2026-11-06 15:16:48,852 - DEBUG - Response for create_network : {'network': {'id': 'b6a03f32-f4e3-4b19-a535-34da4e2a8164', 'name': 'ctest-ext_vn-69130507', 'tenant_id': '8a6f2e8c1e05470ab43f79216e2e4a4f', 'project_id': '8a6f2e8c1e05470ab43f79216e2e4a4f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-30665831', 'ctest-ext_vn-69130507'], 'port_security_enabled': True, 'description': ''}} 2026-11-06 15:16:49,047 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e37cdbc8-b5c5-4759-9ea2-308aa54d72b9', 'name': '', 'tenant_id': '8a6f2e8c1e05470ab43f79216e2e4a4f', 'network_id': 'b6a03f32-f4e3-4b19-a535-34da4e2a8164', 'ip_version': 4, 'cidr': '178.60.20.64/26', 'allocation_pools': [{'start': '178.60.20.66', 'end': '178.60.20.126'}], 'gateway_ip': '178.60.20.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '178.60.20.66', 'tags': [], 'project_id': '8a6f2e8c1e05470ab43f79216e2e4a4f'}} 2026-11-06 15:16:49,065 - INFO - Created VN ctest-ext_vn-69130507 2026-11-06 15:16:49,117 - DEBUG - VN ctest-ext_vn-69130507 UUID is b6a03f32-f4e3-4b19-a535-34da4e2a8164 2026-11-06 15:16:49,296 - DEBUG - Services list from nova: [, , ] 2026-11-06 15:16:49,820 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6490-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6490-1) 2026-11-06 15:16:50,254 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6490-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6490-1) 2026-11-06 15:16:50,325 - INFO - Setting gateway for router 409a48a0-8d21-4476-96a2-ac0e25b51c9d to network b6a03f32-f4e3-4b19-a535-34da4e2a8164 2026-11-06 15:16:50,408 - INFO - Adding interface with subnet_id 846a3741-38a5-4b7c-bfaf-5ccbcf883ebf, port_id None to router 409a48a0-8d21-4476-96a2-ac0e25b51c9d 2026-11-06 15:16:50,660 - INFO - Waiting for VM ctest-TestRoutersBasic-30665831-42145312 to be up.. 2026-11-06 15:16:50,731 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 15:16:55,819 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 15:17:00,904 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 15:17:05,997 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 15:17:11,100 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 15:17:16,185 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 15:17:21,280 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 15:17:26,380 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 15:17:31,477 - DEBUG - VM is in ACTIVE state now 2026-11-06 15:17:31,477 - INFO - VM name : ctest-TestRoutersBasic-30665831-42145312 2026-11-06 15:17:31,572 - DEBUG - VM ctest-TestRoutersBasic-30665831-42145312 ID is 9f4fbeca-e21d-4e51-a255-ab6c22b5be45 2026-11-06 15:17:31,598 - DEBUG - VM ctest-TestRoutersBasic-30665831-42145312 launched on Node cn-jenkins-deploy-platform-ansible-os-6490-1 2026-11-06 15:17:31,689 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/9f4fbeca-e21d-4e51-a255-ab6c22b5be45 2026-11-06 15:17:32,064 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/9f4fbeca-e21d-4e51-a255-ab6c22b5be45 2026-11-06 15:17:32,103 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/e55ce519-7f1b-46ec-8801-e05f5dcf40f1 2026-11-06 15:17:35,366 - 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 1009ms') 2026-11-06 15:17:35,367 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-30665831-42145312 failed! 2026-11-06 15:17:35,429 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-30665831:ctest-vn-62130059 is 144.41.165.1 and allocation pool is NOT set 2026-11-06 15:17:39,528 - 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=4.64 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1031ms\r\nrtt min/avg/max/mdev = 4.641/4.641/4.641/0.000 ms') 2026-11-06 15:17:39,528 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-30665831-42145312 passed 2026-11-06 15:17:39,693 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-06 15:17:39,693 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-30665831-42145312, IP 144.41.165.3, Port 22 2026-11-06 15:17:39,759 - 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-11-06 15:17:39,862 - DEBUG - VM ctest-TestRoutersBasic-30665831-42145312 is NOT ready for SSH connections, VM status: ACTIVE 2026-11-06 15:17:44,863 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-06 15:17:44,863 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-30665831-42145312, IP 144.41.165.3, Port 22 2026-11-06 15:17:45,021 - DEBUG - VM ctest-TestRoutersBasic-30665831-42145312 is ready for SSH connections 2026-11-06 15:17:45,021 - INFO - Waiting for VM ctest-TestRoutersBasic-30665831-97694925 to be up.. 2026-11-06 15:17:45,123 - DEBUG - VM is in ACTIVE state now 2026-11-06 15:17:45,123 - INFO - VM name : ctest-TestRoutersBasic-30665831-97694925 2026-11-06 15:17:45,218 - DEBUG - VM ctest-TestRoutersBasic-30665831-97694925 ID is ea0aa2cf-8da0-4a59-80ca-f13dbc1827ab 2026-11-06 15:17:45,218 - DEBUG - VM ctest-TestRoutersBasic-30665831-97694925 launched on Node cn-jenkins-deploy-platform-ansible-os-6490-1 2026-11-06 15:17:45,304 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/ea0aa2cf-8da0-4a59-80ca-f13dbc1827ab 2026-11-06 15:17:45,315 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/e8eca54b-2abd-40e2-932e-36936648b0c4 2026-11-06 15:17:46,560 - 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=3.78 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.467 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.467/2.123/3.780/1.656 ms') 2026-11-06 15:17:46,560 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-30665831-97694925 passed 2026-11-06 15:17:46,713 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-06 15:17:46,713 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-30665831-97694925, IP 178.60.20.68, Port 22 2026-11-06 15:17:46,879 - DEBUG - VM ctest-TestRoutersBasic-30665831-97694925 is ready for SSH connections 2026-11-06 15:17:46,879 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-06 15:17:46,879 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 178.60.20.68, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-11-06 15:17:46,879 - DEBUG - ping -s 56 -c 3 -W 1 178.60.20.68 2026-11-06 15:17:49,985 - DEBUG - PING 178.60.20.68 (178.60.20.68): 56 data bytes 64 bytes from 178.60.20.68: seq=0 ttl=62 time=5.251 ms 64 bytes from 178.60.20.68: seq=1 ttl=62 time=1.275 ms 64 bytes from 178.60.20.68: seq=2 ttl=62 time=1.289 ms --- 178.60.20.68 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.275/2.605/5.251 ms 2026-11-06 15:17:49,985 - INFO - Ping to IP 178.60.20.68 from VM ctest-TestRoutersBasic-30665831-42145312 passed 2026-11-06 15:17:49,986 - INFO - Deleting interface with subnet_id 846a3741-38a5-4b7c-bfaf-5ccbcf883ebf, port_id None from router 409a48a0-8d21-4476-96a2-ac0e25b51c9d 2026-11-06 15:17:50,333 - INFO - Deleting VM ctest-TestRoutersBasic-30665831-97694925 2026-11-06 15:17:50,422 - INFO - Deleting VM ctest-TestRoutersBasic-30665831-42145312 2026-11-06 15:17:50,518 - INFO - Deleting VN ctest-ext_vn-69130507 2026-11-06 15:17:50,585 - DEBUG - VN b6a03f32-f4e3-4b19-a535-34da4e2a8164 still in use: Unable to complete operation on network b6a03f32-f4e3-4b19-a535-34da4e2a8164. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f60a762d-4107-470e-8c53-62f7c1bd9b59'] 2026-11-06 15:17:50,585 - WARNING - Deleting VN ctest-ext_vn-69130507 failed..Will retry 2026-11-06 15:17:52,628 - DEBUG - VN b6a03f32-f4e3-4b19-a535-34da4e2a8164 still in use: Unable to complete operation on network b6a03f32-f4e3-4b19-a535-34da4e2a8164. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-85a41937-6e37-4a82-81db-2f992a8a5fe9'] 2026-11-06 15:17:52,628 - WARNING - Deleting VN ctest-ext_vn-69130507 failed..Will retry 2026-11-06 15:17:54,764 - DEBUG - Response for deleting network () 2026-11-06 15:17:54,764 - INFO - Deleting VN ctest-vn-62130059 2026-11-06 15:17:54,903 - DEBUG - Response for deleting network () 2026-11-06 15:17:55,179 - DEBUG - No XMPP flaps were noticed during the test 2026-11-06 15:17:55,180 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:09] 2026-11-06 15:17:55,180 - INFO - -------------------------------------------------------------------------------- 2026-11-06 15:17:56,044 - INFO - Deleted project: ctest-TestRoutersBasic-30665831, ID : 8a6f2e8c-1e05-470a-b43f-79216e2e4a4f