2025-11-06 02:24:16,563 - INFO - Domain Default found not creating
2025-11-06 02:24:16,722 - INFO - Project ctest-TestRoutersBasic-71669492 not found, creating it
2025-11-06 02:24:17,315 - INFO - Created Project:ctest-TestRoutersBasic-71669492, ID : e1e7c7b5-fc12-405b-8905-92a035ad80d8
2025-11-06 02:24:18,818 - INFO - ================================================================================
2025-11-06 02:24:18,819 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-11-06 02:24:18,819 - 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-11-06 02:24:20,102 - DEBUG - Nothing to compare xmpp stats {'10.0.0.240': {'10.20.0.252': '0', '10.20.0.249': '0'}, '10.0.0.133': {'10.20.0.252': '0', '10.20.0.249': '0'}} with
2025-11-06 02:24:20,102 - INFO - Initial checks done. Running the testcase now
2025-11-06 02:24:20,103 - INFO -
2025-11-06 02:24:20,849 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-71669492
2025-11-06 02:24:20,910 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-71669492
2025-11-06 02:24:21,222 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-71669492', 'default']}
2025-11-06 02:24:21,654 - DEBUG - Response for create_network : {'network': {'id': '1084f3ef-12e0-4578-8cb1-465ad493fdb4', 'name': 'ctest-vn-05037425', 'tenant_id': 'e1e7c7b5fc12405b890592a035ad80d8', 'project_id': 'e1e7c7b5fc12405b890592a035ad80d8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-71669492', 'ctest-vn-05037425'], 'port_security_enabled': True, 'description': ''}}
2025-11-06 02:24:21,938 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd232cacd-6b3d-4666-9e0f-b8bac4d943ed', 'name': '', 'tenant_id': 'e1e7c7b5fc12405b890592a035ad80d8', 'network_id': '1084f3ef-12e0-4578-8cb1-465ad493fdb4', 'ip_version': 4, 'cidr': '166.152.217.192/26', 'allocation_pools': [{'start': '166.152.217.194', 'end': '166.152.217.254'}], 'gateway_ip': '166.152.217.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '166.152.217.194', 'tags': [], 'project_id': 'e1e7c7b5fc12405b890592a035ad80d8'}}
2025-11-06 02:24:21,959 - INFO - Created VN ctest-vn-05037425
2025-11-06 02:24:21,974 - DEBUG - VN ctest-vn-05037425 UUID is 1084f3ef-12e0-4578-8cb1-465ad493fdb4
2025-11-06 02:24:22,404 - DEBUG - Response for create_network : {'network': {'id': '0d1cd93b-904f-4c36-80c3-23ee8c92606d', 'name': 'ctest-ext_vn-48538837', 'tenant_id': 'e1e7c7b5fc12405b890592a035ad80d8', 'project_id': 'e1e7c7b5fc12405b890592a035ad80d8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-71669492', 'ctest-ext_vn-48538837'], 'port_security_enabled': True, 'description': ''}}
2025-11-06 02:24:22,686 - DEBUG - Response for create_subnet : {'subnet': {'id': '014e8dd8-471f-49d8-ad21-fe59c059673f', 'name': '', 'tenant_id': 'e1e7c7b5fc12405b890592a035ad80d8', 'network_id': '0d1cd93b-904f-4c36-80c3-23ee8c92606d', 'ip_version': 4, 'cidr': '94.221.57.0/26', 'allocation_pools': [{'start': '94.221.57.2', 'end': '94.221.57.62'}], 'gateway_ip': '94.221.57.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '94.221.57.2', 'tags': [], 'project_id': 'e1e7c7b5fc12405b890592a035ad80d8'}}
2025-11-06 02:24:22,715 - INFO - Created VN ctest-ext_vn-48538837
2025-11-06 02:24:22,730 - DEBUG - VN ctest-ext_vn-48538837 UUID is 0d1cd93b-904f-4c36-80c3-23ee8c92606d
2025-11-06 02:24:22,880 - DEBUG - Services list from nova: [, , , ]
2025-11-06 02:24:23,961 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4662-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4662-2)
2025-11-06 02:24:25,494 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4662-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4662-1)
2025-11-06 02:24:25,622 - INFO - Setting gateway for router cbfac0c8-c9aa-476f-a0cf-47dbbf4379aa to network 0d1cd93b-904f-4c36-80c3-23ee8c92606d
2025-11-06 02:24:25,729 - INFO - Adding interface with subnet_id d232cacd-6b3d-4666-9e0f-b8bac4d943ed, port_id None to router cbfac0c8-c9aa-476f-a0cf-47dbbf4379aa
2025-11-06 02:24:26,359 - INFO - Waiting for VM ctest-TestRoutersBasic-71669492-64345508 to be up..
2025-11-06 02:24:26,554 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-06 02:24:31,645 - DEBUG - VM is in ACTIVE state now
2025-11-06 02:24:31,645 - INFO - VM name : ctest-TestRoutersBasic-71669492-64345508
2025-11-06 02:24:31,739 - DEBUG - VM ctest-TestRoutersBasic-71669492-64345508 ID is c5acdc85-2957-4aa1-b25f-a9b69e2f60d3
2025-11-06 02:24:31,766 - DEBUG - VM ctest-TestRoutersBasic-71669492-64345508 launched on Node an-jenkins-deploy-platform-ansible-os-4662-2
2025-11-06 02:24:31,853 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/c5acdc85-2957-4aa1-b25f-a9b69e2f60d3
2025-11-06 02:24:32,160 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/c5acdc85-2957-4aa1-b25f-a9b69e2f60d3
2025-11-06 02:24:32,202 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/deb67455-c301-4d54-a905-c98845daf2d5
2025-11-06 02:24:35,381 - 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 1003ms')
2025-11-06 02:24:35,381 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-71669492-64345508 failed!
2025-11-06 02:24:35,396 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-71669492:ctest-vn-05037425 is 166.152.217.193 and allocation pool is NOT set
2025-11-06 02:24:37,455 - 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.38 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.723 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.723/2.551/4.380/1.828 ms')
2025-11-06 02:24:37,456 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-71669492-64345508 passed
2025-11-06 02:24:37,536 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-06 02:24:37,537 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-71669492-64345508, IP 166.152.217.195, Port 22
2025-11-06 02:24:37,694 - DEBUG - VM ctest-TestRoutersBasic-71669492-64345508 is ready for SSH connections
2025-11-06 02:24:37,694 - INFO - Waiting for VM ctest-TestRoutersBasic-71669492-47557812 to be up..
2025-11-06 02:24:37,781 - DEBUG - VM is in ACTIVE state now
2025-11-06 02:24:37,782 - INFO - VM name : ctest-TestRoutersBasic-71669492-47557812
2025-11-06 02:24:37,865 - DEBUG - VM ctest-TestRoutersBasic-71669492-47557812 ID is 0115f793-25a6-4b7d-9911-be551eaa7da0
2025-11-06 02:24:37,865 - DEBUG - VM ctest-TestRoutersBasic-71669492-47557812 launched on Node an-jenkins-deploy-platform-ansible-os-4662-1
2025-11-06 02:24:37,954 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/0115f793-25a6-4b7d-9911-be551eaa7da0
2025-11-06 02:24:37,967 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/27529cab-327b-412e-83fe-35c0ae67bb96
2025-11-06 02:24:39,139 - 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.70 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.75 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 = 1.751/3.227/4.704/1.476 ms')
2025-11-06 02:24:39,139 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-71669492-47557812 passed
2025-11-06 02:24:39,213 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-06 02:24:39,213 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-71669492-47557812, IP 94.221.57.3, Port 22
2025-11-06 02:24:39,278 - 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-11-06 02:24:39,359 - DEBUG - VM ctest-TestRoutersBasic-71669492-47557812 is NOT ready for SSH connections, VM status: ACTIVE
2025-11-06 02:24:44,360 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-06 02:24:44,360 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-71669492-47557812, IP 94.221.57.3, Port 22
2025-11-06 02:24:44,527 - DEBUG - VM ctest-TestRoutersBasic-71669492-47557812 is ready for SSH connections
2025-11-06 02:24:44,527 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-06 02:24:44,527 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 94.221.57.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.133, gateway password: c0ntrail123
2025-11-06 02:24:44,527 - DEBUG - ping -s 56 -c 3 -W 1 94.221.57.3
2025-11-06 02:24:48,253 - DEBUG - PING 94.221.57.3 (94.221.57.3): 56 data bytes
64 bytes from 94.221.57.3: seq=0 ttl=62 time=7.845 ms
64 bytes from 94.221.57.3: seq=1 ttl=62 time=1.561 ms
64 bytes from 94.221.57.3: seq=2 ttl=62 time=1.282 ms
--- 94.221.57.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.282/3.562/7.845 ms
2025-11-06 02:24:48,253 - INFO - Ping to IP 94.221.57.3 from VM ctest-TestRoutersBasic-71669492-64345508 passed
2025-11-06 02:24:48,253 - INFO - Deleting interface with subnet_id d232cacd-6b3d-4666-9e0f-b8bac4d943ed, port_id None from router cbfac0c8-c9aa-476f-a0cf-47dbbf4379aa
2025-11-06 02:24:48,670 - INFO - Deleting VM ctest-TestRoutersBasic-71669492-47557812
2025-11-06 02:24:48,836 - INFO - Deleting VM ctest-TestRoutersBasic-71669492-64345508
2025-11-06 02:24:48,987 - INFO - Deleting VN ctest-ext_vn-48538837
2025-11-06 02:24:49,118 - DEBUG - VN 0d1cd93b-904f-4c36-80c3-23ee8c92606d still in use: Unable to complete operation on network 0d1cd93b-904f-4c36-80c3-23ee8c92606d. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-407f370a-5552-4e42-ba8b-4e7ce67936f2']
2025-11-06 02:24:49,118 - WARNING - Deleting VN ctest-ext_vn-48538837 failed..Will retry
2025-11-06 02:24:51,295 - DEBUG - Response for deleting network ()
2025-11-06 02:24:51,295 - INFO - Deleting VN ctest-vn-05037425
2025-11-06 02:24:51,475 - DEBUG - Response for deleting network ()
2025-11-06 02:24:52,760 - DEBUG - No XMPP flaps were noticed during the test
2025-11-06 02:24:52,760 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:34]
2025-11-06 02:24:52,761 - INFO - --------------------------------------------------------------------------------
2025-11-06 02:24:53,494 - INFO - Deleted project: ctest-TestRoutersBasic-71669492, ID : e1e7c7b5-fc12-405b-8905-92a035ad80d8