2026-05-18 02:30:20,581 - INFO - Domain Default found not creating 2026-05-18 02:30:20,763 - INFO - Project ctest-TestRoutersBasic-47436449 not found, creating it 2026-05-18 02:30:21,367 - INFO - Created Project:ctest-TestRoutersBasic-47436449, ID : 42bc3c9d-ca06-4eb8-b0fe-375c1efecbda 2026-05-18 02:30:23,010 - INFO - ================================================================================ 2026-05-18 02:30:23,010 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-05-18 02:30:23,010 - 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-05-18 02:30:24,322 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.129': '0', '10.20.0.25': '2'}, '10.0.0.130': {'10.20.0.25': '0', '10.20.0.129': '3'}} with 2026-05-18 02:30:24,322 - INFO - Initial checks done. Running the testcase now 2026-05-18 02:30:24,323 - INFO - 2026-05-18 02:30:25,101 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-47436449 2026-05-18 02:30:25,158 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-47436449 2026-05-18 02:30:25,476 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-47436449', 'default']} 2026-05-18 02:30:25,910 - DEBUG - Response for create_network : {'network': {'id': '1a827111-a01a-488a-a459-f60391f5447f', 'name': 'ctest-vn-72337745', 'tenant_id': '42bc3c9dca064eb8b0fe375c1efecbda', 'project_id': '42bc3c9dca064eb8b0fe375c1efecbda', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-47436449', 'ctest-vn-72337745'], 'port_security_enabled': True, 'description': ''}} 2026-05-18 02:30:26,163 - DEBUG - Response for create_subnet : {'subnet': {'id': '7c374943-f6a8-4388-82f8-20bd7dc936d2', 'name': '', 'tenant_id': '42bc3c9dca064eb8b0fe375c1efecbda', 'network_id': '1a827111-a01a-488a-a459-f60391f5447f', 'ip_version': 4, 'cidr': '201.166.98.64/26', 'allocation_pools': [{'start': '201.166.98.66', 'end': '201.166.98.126'}], 'gateway_ip': '201.166.98.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '201.166.98.66', 'tags': [], 'project_id': '42bc3c9dca064eb8b0fe375c1efecbda'}} 2026-05-18 02:30:26,186 - INFO - Created VN ctest-vn-72337745 2026-05-18 02:30:26,199 - DEBUG - VN ctest-vn-72337745 UUID is 1a827111-a01a-488a-a459-f60391f5447f 2026-05-18 02:30:26,690 - DEBUG - Response for create_network : {'network': {'id': '48037a03-08af-42ff-8e22-aec500dc1545', 'name': 'ctest-ext_vn-06210216', 'tenant_id': '42bc3c9dca064eb8b0fe375c1efecbda', 'project_id': '42bc3c9dca064eb8b0fe375c1efecbda', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-47436449', 'ctest-ext_vn-06210216'], 'port_security_enabled': True, 'description': ''}} 2026-05-18 02:30:26,954 - DEBUG - Response for create_subnet : {'subnet': {'id': '9f9860c6-a030-467e-88ab-cd9d7c3ace3f', 'name': '', 'tenant_id': '42bc3c9dca064eb8b0fe375c1efecbda', 'network_id': '48037a03-08af-42ff-8e22-aec500dc1545', 'ip_version': 4, 'cidr': '89.186.92.64/26', 'allocation_pools': [{'start': '89.186.92.66', 'end': '89.186.92.126'}], 'gateway_ip': '89.186.92.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.186.92.66', 'tags': [], 'project_id': '42bc3c9dca064eb8b0fe375c1efecbda'}} 2026-05-18 02:30:26,976 - INFO - Created VN ctest-ext_vn-06210216 2026-05-18 02:30:26,991 - DEBUG - VN ctest-ext_vn-06210216 UUID is 48037a03-08af-42ff-8e22-aec500dc1545 2026-05-18 02:30:27,142 - DEBUG - Services list from nova: [, , , ] 2026-05-18 02:30:28,348 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5792-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5792-2) 2026-05-18 02:30:29,912 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5792-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5792-1) 2026-05-18 02:30:30,021 - INFO - Setting gateway for router 35c3c03d-4431-460c-adab-3f584335e603 to network 48037a03-08af-42ff-8e22-aec500dc1545 2026-05-18 02:30:30,145 - INFO - Adding interface with subnet_id 7c374943-f6a8-4388-82f8-20bd7dc936d2, port_id None to router 35c3c03d-4431-460c-adab-3f584335e603 2026-05-18 02:30:30,615 - INFO - Waiting for VM ctest-TestRoutersBasic-47436449-31893439 to be up.. 2026-05-18 02:30:30,786 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-18 02:30:35,886 - DEBUG - VM is in ACTIVE state now 2026-05-18 02:30:35,886 - INFO - VM name : ctest-TestRoutersBasic-47436449-31893439 2026-05-18 02:30:35,988 - DEBUG - VM ctest-TestRoutersBasic-47436449-31893439 ID is 64617070-6763-4515-89d0-f09a7efaa521 2026-05-18 02:30:36,014 - DEBUG - VM ctest-TestRoutersBasic-47436449-31893439 launched on Node an-jenkins-deploy-platform-ansible-os-5792-2 2026-05-18 02:30:36,112 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/64617070-6763-4515-89d0-f09a7efaa521 2026-05-18 02:30:36,429 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/64617070-6763-4515-89d0-f09a7efaa521 2026-05-18 02:30:36,470 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine-interface/4ad90bb1-584c-438e-bc67-487057b49528 2026-05-18 02:30:39,639 - 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') 2026-05-18 02:30:39,639 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-47436449-31893439 failed! 2026-05-18 02:30:39,654 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-47436449:ctest-vn-72337745 is 201.166.98.65 and allocation pool is NOT set 2026-05-18 02:30:41,716 - 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.11 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.507 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.507/2.306/4.105/1.799 ms') 2026-05-18 02:30:41,717 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-47436449-31893439 passed 2026-05-18 02:30:41,802 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-18 02:30:41,802 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-47436449-31893439, IP 201.166.98.67, Port 22 2026-05-18 02:30:41,961 - DEBUG - VM ctest-TestRoutersBasic-47436449-31893439 is ready for SSH connections 2026-05-18 02:30:41,961 - INFO - Waiting for VM ctest-TestRoutersBasic-47436449-34703745 to be up.. 2026-05-18 02:30:42,062 - DEBUG - VM is in ACTIVE state now 2026-05-18 02:30:42,062 - INFO - VM name : ctest-TestRoutersBasic-47436449-34703745 2026-05-18 02:30:42,149 - DEBUG - VM ctest-TestRoutersBasic-47436449-34703745 ID is 80d17851-e016-4986-86b4-5b2321873c12 2026-05-18 02:30:42,150 - DEBUG - VM ctest-TestRoutersBasic-47436449-34703745 launched on Node an-jenkins-deploy-platform-ansible-os-5792-1 2026-05-18 02:30:42,236 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/80d17851-e016-4986-86b4-5b2321873c12 2026-05-18 02:30:42,249 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine-interface/c5a86ad4-91c6-4349-b3c1-2e8ce3ab316d 2026-05-18 02:30:43,424 - 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=13.1 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.95 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.954/8.043/13.132/5.089 ms') 2026-05-18 02:30:43,424 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-47436449-34703745 passed 2026-05-18 02:30:43,497 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-18 02:30:43,497 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-47436449-34703745, IP 89.186.92.67, Port 22 2026-05-18 02:30:43,563 - 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-05-18 02:30:43,655 - DEBUG - VM ctest-TestRoutersBasic-47436449-34703745 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-18 02:30:48,657 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-18 02:30:48,657 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-47436449-34703745, IP 89.186.92.67, Port 22 2026-05-18 02:30:48,813 - DEBUG - VM ctest-TestRoutersBasic-47436449-34703745 is ready for SSH connections 2026-05-18 02:30:48,813 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-18 02:30:48,813 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 89.186.92.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2026-05-18 02:30:48,813 - DEBUG - ping -s 56 -c 3 -W 1 89.186.92.67 2026-05-18 02:30:52,536 - DEBUG - PING 89.186.92.67 (89.186.92.67): 56 data bytes 64 bytes from 89.186.92.67: seq=0 ttl=62 time=8.671 ms 64 bytes from 89.186.92.67: seq=1 ttl=62 time=1.452 ms 64 bytes from 89.186.92.67: seq=2 ttl=62 time=2.237 ms --- 89.186.92.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.452/4.120/8.671 ms 2026-05-18 02:30:52,536 - INFO - Ping to IP 89.186.92.67 from VM ctest-TestRoutersBasic-47436449-31893439 passed 2026-05-18 02:30:52,536 - INFO - Deleting interface with subnet_id 7c374943-f6a8-4388-82f8-20bd7dc936d2, port_id None from router 35c3c03d-4431-460c-adab-3f584335e603 2026-05-18 02:30:52,934 - INFO - Deleting VM ctest-TestRoutersBasic-47436449-34703745 2026-05-18 02:30:53,012 - INFO - Deleting VM ctest-TestRoutersBasic-47436449-31893439 2026-05-18 02:30:53,120 - INFO - Deleting VN ctest-ext_vn-06210216 2026-05-18 02:30:53,252 - DEBUG - VN 48037a03-08af-42ff-8e22-aec500dc1545 still in use: Unable to complete operation on network 48037a03-08af-42ff-8e22-aec500dc1545. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3ac03107-32fa-4e76-ab70-0409ac8b8599'] 2026-05-18 02:30:53,252 - WARNING - Deleting VN ctest-ext_vn-06210216 failed..Will retry 2026-05-18 02:30:55,484 - DEBUG - Response for deleting network () 2026-05-18 02:30:55,484 - INFO - Deleting VN ctest-vn-72337745 2026-05-18 02:30:55,663 - DEBUG - Response for deleting network () 2026-05-18 02:30:56,948 - DEBUG - No XMPP flaps were noticed during the test 2026-05-18 02:30:56,948 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:33] 2026-05-18 02:30:56,949 - INFO - -------------------------------------------------------------------------------- 2026-05-18 02:30:57,730 - INFO - Deleted project: ctest-TestRoutersBasic-47436449, ID : 42bc3c9d-ca06-4eb8-b0fe-375c1efecbda