2026-01-22 02:15:07,263 - INFO - Domain Default found not creating 2026-01-22 02:15:07,432 - INFO - Project ctest-TestRoutersBasic-97733017 not found, creating it 2026-01-22 02:15:07,967 - INFO - Created Project:ctest-TestRoutersBasic-97733017, ID : 64358dbd-bca4-4bb3-b4e0-f11b0ae6bb28 2026-01-22 02:15:09,504 - INFO - ================================================================================ 2026-01-22 02:15:09,504 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-01-22 02:15:09,504 - 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-22 02:15:10,792 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.19': '0', '10.20.0.5': '0'}, '10.0.0.141': {'10.20.0.19': '0', '10.20.0.5': '0'}} with 2026-01-22 02:15:10,792 - INFO - Initial checks done. Running the testcase now 2026-01-22 02:15:10,792 - INFO - 2026-01-22 02:15:11,589 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-97733017 2026-01-22 02:15:11,648 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-97733017 2026-01-22 02:15:11,947 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-97733017', 'default']} 2026-01-22 02:15:12,379 - DEBUG - Response for create_network : {'network': {'id': '2ad193d5-d4da-4bb1-9de6-d3fb4329695e', 'name': 'ctest-vn-84764192', 'tenant_id': '64358dbdbca44bb3b4e0f11b0ae6bb28', 'project_id': '64358dbdbca44bb3b4e0f11b0ae6bb28', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-97733017', 'ctest-vn-84764192'], 'port_security_enabled': True, 'description': ''}} 2026-01-22 02:15:12,666 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a09457ad-847a-45b2-8030-ec970b92a585', 'name': '', 'tenant_id': '64358dbdbca44bb3b4e0f11b0ae6bb28', 'network_id': '2ad193d5-d4da-4bb1-9de6-d3fb4329695e', 'ip_version': 4, 'cidr': '211.55.20.0/26', 'allocation_pools': [{'start': '211.55.20.2', 'end': '211.55.20.62'}], 'gateway_ip': '211.55.20.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '211.55.20.2', 'tags': [], 'project_id': '64358dbdbca44bb3b4e0f11b0ae6bb28'}} 2026-01-22 02:15:12,690 - INFO - Created VN ctest-vn-84764192 2026-01-22 02:15:12,702 - DEBUG - VN ctest-vn-84764192 UUID is 2ad193d5-d4da-4bb1-9de6-d3fb4329695e 2026-01-22 02:15:13,109 - DEBUG - Response for create_network : {'network': {'id': 'b77683b2-774a-4d2a-a158-7250072766e3', 'name': 'ctest-ext_vn-29904614', 'tenant_id': '64358dbdbca44bb3b4e0f11b0ae6bb28', 'project_id': '64358dbdbca44bb3b4e0f11b0ae6bb28', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-97733017', 'ctest-ext_vn-29904614'], 'port_security_enabled': True, 'description': ''}} 2026-01-22 02:15:13,361 - DEBUG - Response for create_subnet : {'subnet': {'id': '627c8914-82ac-4f1f-b500-52e286b02477', 'name': '', 'tenant_id': '64358dbdbca44bb3b4e0f11b0ae6bb28', 'network_id': 'b77683b2-774a-4d2a-a158-7250072766e3', 'ip_version': 4, 'cidr': '143.63.196.0/26', 'allocation_pools': [{'start': '143.63.196.2', 'end': '143.63.196.62'}], 'gateway_ip': '143.63.196.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '143.63.196.2', 'tags': [], 'project_id': '64358dbdbca44bb3b4e0f11b0ae6bb28'}} 2026-01-22 02:15:13,383 - INFO - Created VN ctest-ext_vn-29904614 2026-01-22 02:15:13,396 - DEBUG - VN ctest-ext_vn-29904614 UUID is b77683b2-774a-4d2a-a158-7250072766e3 2026-01-22 02:15:13,547 - DEBUG - Services list from nova: [, , , ] 2026-01-22 02:15:14,684 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5055-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5055-1) 2026-01-22 02:15:16,072 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5055-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5055-2) 2026-01-22 02:15:16,189 - INFO - Setting gateway for router 12ac0b8a-1cf9-40e6-b4f2-2b42bf4149c2 to network b77683b2-774a-4d2a-a158-7250072766e3 2026-01-22 02:15:16,279 - INFO - Adding interface with subnet_id a09457ad-847a-45b2-8030-ec970b92a585, port_id None to router 12ac0b8a-1cf9-40e6-b4f2-2b42bf4149c2 2026-01-22 02:15:16,768 - INFO - Waiting for VM ctest-TestRoutersBasic-97733017-03296637 to be up.. 2026-01-22 02:15:16,944 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-22 02:15:22,044 - DEBUG - VM is in ACTIVE state now 2026-01-22 02:15:22,044 - INFO - VM name : ctest-TestRoutersBasic-97733017-03296637 2026-01-22 02:15:22,131 - DEBUG - VM ctest-TestRoutersBasic-97733017-03296637 ID is 10f8c06b-91d3-42b1-8bf7-80aa81620f4c 2026-01-22 02:15:22,154 - DEBUG - VM ctest-TestRoutersBasic-97733017-03296637 launched on Node an-jenkins-deploy-platform-ansible-os-5055-1 2026-01-22 02:15:22,240 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/10f8c06b-91d3-42b1-8bf7-80aa81620f4c 2026-01-22 02:15:22,546 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/10f8c06b-91d3-42b1-8bf7-80aa81620f4c 2026-01-22 02:15:22,590 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/15c3b186-480c-4b48-b9ec-3f75596c7f3d 2026-01-22 02:15:25,781 - 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 1023ms') 2026-01-22 02:15:25,781 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-97733017-03296637 failed! 2026-01-22 02:15:25,795 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-97733017:ctest-vn-84764192 is 211.55.20.1 and allocation pool is NOT set 2026-01-22 02:15:27,863 - 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=4.77 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.442 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.442/2.605/4.768/2.163 ms') 2026-01-22 02:15:27,863 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-97733017-03296637 passed 2026-01-22 02:15:27,931 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 02:15:27,931 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-97733017-03296637, IP 211.55.20.3, Port 22 2026-01-22 02:15:28,104 - DEBUG - VM ctest-TestRoutersBasic-97733017-03296637 is ready for SSH connections 2026-01-22 02:15:28,105 - INFO - Waiting for VM ctest-TestRoutersBasic-97733017-17187359 to be up.. 2026-01-22 02:15:28,196 - DEBUG - VM is in ACTIVE state now 2026-01-22 02:15:28,196 - INFO - VM name : ctest-TestRoutersBasic-97733017-17187359 2026-01-22 02:15:28,283 - DEBUG - VM ctest-TestRoutersBasic-97733017-17187359 ID is 8bf86139-f345-4316-a4a8-6c71b8700d84 2026-01-22 02:15:28,283 - DEBUG - VM ctest-TestRoutersBasic-97733017-17187359 launched on Node an-jenkins-deploy-platform-ansible-os-5055-2 2026-01-22 02:15:28,368 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/8bf86139-f345-4316-a4a8-6c71b8700d84 2026-01-22 02:15:28,380 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/1a2a826a-17fd-4fdc-aa3d-374b3da00fb2 2026-01-22 02:15:29,548 - 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.85 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.27 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.265/2.557/3.850/1.292 ms') 2026-01-22 02:15:29,548 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-97733017-17187359 passed 2026-01-22 02:15:29,615 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 02:15:29,615 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-97733017-17187359, IP 143.63.196.3, Port 22 2026-01-22 02:15:29,682 - 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-01-22 02:15:29,764 - DEBUG - VM ctest-TestRoutersBasic-97733017-17187359 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-22 02:15:34,765 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 02:15:34,765 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-97733017-17187359, IP 143.63.196.3, Port 22 2026-01-22 02:15:34,923 - DEBUG - VM ctest-TestRoutersBasic-97733017-17187359 is ready for SSH connections 2026-01-22 02:15:34,923 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 02:15:34,923 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 143.63.196.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2026-01-22 02:15:34,923 - DEBUG - ping -s 56 -c 3 -W 1 143.63.196.3 2026-01-22 02:15:38,643 - DEBUG - PING 143.63.196.3 (143.63.196.3): 56 data bytes 64 bytes from 143.63.196.3: seq=0 ttl=62 time=8.584 ms 64 bytes from 143.63.196.3: seq=1 ttl=62 time=1.563 ms 64 bytes from 143.63.196.3: seq=2 ttl=62 time=1.150 ms --- 143.63.196.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.150/3.765/8.584 ms 2026-01-22 02:15:38,643 - INFO - Ping to IP 143.63.196.3 from VM ctest-TestRoutersBasic-97733017-03296637 passed 2026-01-22 02:15:38,643 - INFO - Deleting interface with subnet_id a09457ad-847a-45b2-8030-ec970b92a585, port_id None from router 12ac0b8a-1cf9-40e6-b4f2-2b42bf4149c2 2026-01-22 02:15:39,023 - INFO - Deleting VM ctest-TestRoutersBasic-97733017-17187359 2026-01-22 02:15:39,141 - INFO - Deleting VM ctest-TestRoutersBasic-97733017-03296637 2026-01-22 02:15:39,288 - INFO - Deleting VN ctest-ext_vn-29904614 2026-01-22 02:15:39,436 - DEBUG - VN b77683b2-774a-4d2a-a158-7250072766e3 still in use: Unable to complete operation on network b77683b2-774a-4d2a-a158-7250072766e3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-08aa5bbd-d31b-48af-bacb-842e51de77fd'] 2026-01-22 02:15:39,436 - WARNING - Deleting VN ctest-ext_vn-29904614 failed..Will retry 2026-01-22 02:15:41,613 - DEBUG - Response for deleting network () 2026-01-22 02:15:41,613 - INFO - Deleting VN ctest-vn-84764192 2026-01-22 02:15:41,795 - DEBUG - Response for deleting network () 2026-01-22 02:15:43,100 - DEBUG - No XMPP flaps were noticed during the test
2026-01-22 02:15:43,100 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:34]
2026-01-22 02:15:43,100 - INFO - -------------------------------------------------------------------------------- 2026-01-22 02:15:43,834 - INFO - Deleted project: ctest-TestRoutersBasic-97733017, ID : 64358dbd-bca4-4bb3-b4e0-f11b0ae6bb28