2025-10-20 02:21:12,433 - INFO - Domain Default found not creating 2025-10-20 02:21:12,573 - INFO - Project ctest-TestRoutersBasic-44157638 not found, creating it 2025-10-20 02:21:13,126 - INFO - Created Project:ctest-TestRoutersBasic-44157638, ID : ce8817e3-f7a6-4f6a-92af-d31289909608 2025-10-20 02:21:14,493 - INFO - ================================================================================ 2025-10-20 02:21:14,493 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-20 02:21:14,493 - 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 2025-10-20 02:21:15,769 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.25': '0', '10.20.0.193': '0'}, '10.0.0.19': {'10.20.0.193': '0', '10.20.0.14': '0'}} with 2025-10-20 02:21:15,769 - INFO - Initial checks done. Running the testcase now 2025-10-20 02:21:15,769 - INFO - 2025-10-20 02:21:16,495 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-44157638 2025-10-20 02:21:16,554 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-44157638 2025-10-20 02:21:16,853 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-44157638', 'default']} 2025-10-20 02:21:17,249 - DEBUG - Response for create_network : {'network': {'id': '571cfba9-89c5-483a-9b2b-54ca1ca070b3', 'name': 'ctest-vn-66348399', 'tenant_id': 'ce8817e3f7a64f6a92afd31289909608', 'project_id': 'ce8817e3f7a64f6a92afd31289909608', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-44157638', 'ctest-vn-66348399'], 'port_security_enabled': True, 'description': ''}} 2025-10-20 02:21:17,502 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a4189a07-9005-433f-9eeb-1ca19afdd138', 'name': '', 'tenant_id': 'ce8817e3f7a64f6a92afd31289909608', 'network_id': '571cfba9-89c5-483a-9b2b-54ca1ca070b3', 'ip_version': 4, 'cidr': '155.110.49.192/26', 'allocation_pools': [{'start': '155.110.49.194', 'end': '155.110.49.254'}], 'gateway_ip': '155.110.49.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '155.110.49.194', 'tags': [], 'project_id': 'ce8817e3f7a64f6a92afd31289909608'}} 2025-10-20 02:21:17,527 - INFO - Created VN ctest-vn-66348399 2025-10-20 02:21:17,542 - DEBUG - VN ctest-vn-66348399 UUID is 571cfba9-89c5-483a-9b2b-54ca1ca070b3 2025-10-20 02:21:17,953 - DEBUG - Response for create_network : {'network': {'id': '353f8656-4133-4a48-98f7-070c432a87f8', 'name': 'ctest-ext_vn-43281263', 'tenant_id': 'ce8817e3f7a64f6a92afd31289909608', 'project_id': 'ce8817e3f7a64f6a92afd31289909608', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-44157638', 'ctest-ext_vn-43281263'], 'port_security_enabled': True, 'description': ''}} 2025-10-20 02:21:18,205 - DEBUG - Response for create_subnet : {'subnet': {'id': '6701d768-2571-4ab6-a563-670b4a40fa80', 'name': '', 'tenant_id': 'ce8817e3f7a64f6a92afd31289909608', 'network_id': '353f8656-4133-4a48-98f7-070c432a87f8', 'ip_version': 4, 'cidr': '41.126.86.64/26', 'allocation_pools': [{'start': '41.126.86.66', 'end': '41.126.86.126'}], 'gateway_ip': '41.126.86.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '41.126.86.66', 'tags': [], 'project_id': 'ce8817e3f7a64f6a92afd31289909608'}} 2025-10-20 02:21:18,225 - INFO - Created VN ctest-ext_vn-43281263 2025-10-20 02:21:18,235 - DEBUG - VN ctest-ext_vn-43281263 UUID is 353f8656-4133-4a48-98f7-070c432a87f8 2025-10-20 02:21:18,358 - DEBUG - Services list from nova: [, , , ] 2025-10-20 02:21:19,352 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4370-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4370-2) 2025-10-20 02:21:20,565 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4370-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4370-1) 2025-10-20 02:21:20,683 - INFO - Setting gateway for router bd00e5bd-cd5c-466e-85a4-ac61c822e0d1 to network 353f8656-4133-4a48-98f7-070c432a87f8 2025-10-20 02:21:20,787 - INFO - Adding interface with subnet_id a4189a07-9005-433f-9eeb-1ca19afdd138, port_id None to router bd00e5bd-cd5c-466e-85a4-ac61c822e0d1 2025-10-20 02:21:21,344 - INFO - Waiting for VM ctest-TestRoutersBasic-44157638-19522478 to be up.. 2025-10-20 02:21:21,485 - DEBUG - VM is in ACTIVE state now 2025-10-20 02:21:21,485 - INFO - VM name : ctest-TestRoutersBasic-44157638-19522478 2025-10-20 02:21:21,611 - DEBUG - VM ctest-TestRoutersBasic-44157638-19522478 ID is 7bd4815c-5e46-4744-a817-f353ae2c1678 2025-10-20 02:21:21,676 - DEBUG - VM ctest-TestRoutersBasic-44157638-19522478 launched on Node an-jenkins-deploy-platform-ansible-os-4370-2 2025-10-20 02:21:21,932 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/7bd4815c-5e46-4744-a817-f353ae2c1678 2025-10-20 02:21:22,347 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/7bd4815c-5e46-4744-a817-f353ae2c1678 2025-10-20 02:21:22,393 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/7441fd7f-f1c4-4307-b9f4-83102813cccb 2025-10-20 02:21:25,568 - 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 1007ms') 2025-10-20 02:21:25,568 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-44157638-19522478 failed! 2025-10-20 02:21:25,583 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-44157638:ctest-vn-66348399 is 155.110.49.193 and allocation pool is NOT set 2025-10-20 02:21:29,671 - 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=2 ttl=63 time=9.89 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1024ms\r\nrtt min/avg/max/mdev = 9.890/9.890/9.890/0.000 ms') 2025-10-20 02:21:29,671 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-44157638-19522478 passed 2025-10-20 02:21:29,737 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 02:21:29,737 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-44157638-19522478, IP 155.110.49.195, Port 22 2025-10-20 02:21:29,803 - 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': ''} 2025-10-20 02:21:29,883 - DEBUG - VM ctest-TestRoutersBasic-44157638-19522478 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-20 02:21:34,884 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 02:21:34,884 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-44157638-19522478, IP 155.110.49.195, Port 22 2025-10-20 02:21:35,036 - DEBUG - VM ctest-TestRoutersBasic-44157638-19522478 is ready for SSH connections 2025-10-20 02:21:35,036 - INFO - Waiting for VM ctest-TestRoutersBasic-44157638-33600005 to be up.. 2025-10-20 02:21:35,110 - DEBUG - VM is in ACTIVE state now 2025-10-20 02:21:35,110 - INFO - VM name : ctest-TestRoutersBasic-44157638-33600005 2025-10-20 02:21:35,188 - DEBUG - VM ctest-TestRoutersBasic-44157638-33600005 ID is 0fd79127-0a96-4be9-a3e2-18655eb1bc59 2025-10-20 02:21:35,189 - DEBUG - VM ctest-TestRoutersBasic-44157638-33600005 launched on Node an-jenkins-deploy-platform-ansible-os-4370-1 2025-10-20 02:21:35,265 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/0fd79127-0a96-4be9-a3e2-18655eb1bc59 2025-10-20 02:21:35,274 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/a90261fa-f925-48e6-a9f3-c8ed506dffb4 2025-10-20 02:21:36,426 - 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.07 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.794 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 = 0.794/1.930/3.066/1.136 ms') 2025-10-20 02:21:36,426 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-44157638-33600005 passed 2025-10-20 02:21:36,493 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 02:21:36,493 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-44157638-33600005, IP 41.126.86.67, Port 22 2025-10-20 02:21:36,662 - DEBUG - VM ctest-TestRoutersBasic-44157638-33600005 is ready for SSH connections 2025-10-20 02:21:36,662 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 02:21:36,662 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 41.126.86.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-10-20 02:21:36,662 - DEBUG - ping -s 56 -c 3 -W 1 41.126.86.67 2025-10-20 02:21:40,310 - DEBUG - PING 41.126.86.67 (41.126.86.67): 56 data bytes 64 bytes from 41.126.86.67: seq=0 ttl=62 time=7.593 ms 64 bytes from 41.126.86.67: seq=1 ttl=62 time=1.282 ms 64 bytes from 41.126.86.67: seq=2 ttl=62 time=1.281 ms --- 41.126.86.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.281/3.385/7.593 ms 2025-10-20 02:21:40,310 - INFO - Ping to IP 41.126.86.67 from VM ctest-TestRoutersBasic-44157638-19522478 passed 2025-10-20 02:21:40,310 - INFO - Deleting interface with subnet_id a4189a07-9005-433f-9eeb-1ca19afdd138, port_id None from router bd00e5bd-cd5c-466e-85a4-ac61c822e0d1 2025-10-20 02:21:40,659 - INFO - Deleting VM ctest-TestRoutersBasic-44157638-33600005 2025-10-20 02:21:40,753 - INFO - Deleting VM ctest-TestRoutersBasic-44157638-19522478 2025-10-20 02:21:40,838 - INFO - Deleting VN ctest-ext_vn-43281263 2025-10-20 02:21:40,994 - DEBUG - VN 353f8656-4133-4a48-98f7-070c432a87f8 still in use: Unable to complete operation on network 353f8656-4133-4a48-98f7-070c432a87f8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6c29328a-ed42-4433-970f-fb8a49ab6493'] 2025-10-20 02:21:40,994 - WARNING - Deleting VN ctest-ext_vn-43281263 failed..Will retry 2025-10-20 02:21:43,192 - DEBUG - Response for deleting network () 2025-10-20 02:21:43,192 - INFO - Deleting VN ctest-vn-66348399 2025-10-20 02:21:43,364 - DEBUG - Response for deleting network () 2025-10-20 02:21:44,624 - DEBUG - No XMPP flaps were noticed during the test
2025-10-20 02:21:44,624 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:30]
2025-10-20 02:21:44,624 - INFO - -------------------------------------------------------------------------------- 2025-10-20 02:21:45,421 - INFO - Deleted project: ctest-TestRoutersBasic-44157638, ID : ce8817e3-f7a6-4f6a-92af-d31289909608