2025-10-29 14:41:28,652 - INFO - Domain Default found not creating
2025-10-29 14:41:28,808 - INFO - Project ctest-TestRoutersBasic-25611881 not found, creating it
2025-10-29 14:41:29,297 - INFO - Created Project:ctest-TestRoutersBasic-25611881, ID : 4139d64c-afc6-40da-b77f-5121a6bbf973
2025-10-29 14:41:30,977 - INFO - ================================================================================
2025-10-29 14:41:30,977 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-10-29 14:41:30,977 - 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-29 14:41:31,232 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.129': '0'}} with
2025-10-29 14:41:31,232 - INFO - Initial checks done. Running the testcase now
2025-10-29 14:41:31,233 - INFO -
2025-10-29 14:41:32,043 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-25611881
2025-10-29 14:41:32,139 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-25611881
2025-10-29 14:41:32,462 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-25611881', 'default']}
2025-10-29 14:41:32,775 - DEBUG - Response for create_network : {'network': {'id': 'f8e4557a-f811-42aa-ba49-6c0b7adf8312', 'name': 'ctest-vn-31998795', 'tenant_id': '4139d64cafc640dab77f5121a6bbf973', 'project_id': '4139d64cafc640dab77f5121a6bbf973', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-25611881', 'ctest-vn-31998795'], 'port_security_enabled': True, 'description': ''}}
2025-10-29 14:41:32,946 - DEBUG - Response for create_subnet : {'subnet': {'id': '2931f03a-dc44-4453-88f8-fb373c543f95', 'name': '', 'tenant_id': '4139d64cafc640dab77f5121a6bbf973', 'network_id': 'f8e4557a-f811-42aa-ba49-6c0b7adf8312', 'ip_version': 4, 'cidr': '187.187.104.192/26', 'allocation_pools': [{'start': '187.187.104.194', 'end': '187.187.104.254'}], 'gateway_ip': '187.187.104.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '187.187.104.194', 'tags': [], 'project_id': '4139d64cafc640dab77f5121a6bbf973'}}
2025-10-29 14:41:32,964 - INFO - Created VN ctest-vn-31998795
2025-10-29 14:41:33,022 - DEBUG - VN ctest-vn-31998795 UUID is f8e4557a-f811-42aa-ba49-6c0b7adf8312
2025-10-29 14:41:33,383 - DEBUG - Response for create_network : {'network': {'id': 'b74cc58e-86b5-4354-82b5-6e1190f854b9', 'name': 'ctest-ext_vn-74293551', 'tenant_id': '4139d64cafc640dab77f5121a6bbf973', 'project_id': '4139d64cafc640dab77f5121a6bbf973', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-25611881', 'ctest-ext_vn-74293551'], 'port_security_enabled': True, 'description': ''}}
2025-10-29 14:41:33,550 - DEBUG - Response for create_subnet : {'subnet': {'id': '52442292-a2bb-46c3-889c-6e1eb27e4aa2', 'name': '', 'tenant_id': '4139d64cafc640dab77f5121a6bbf973', 'network_id': 'b74cc58e-86b5-4354-82b5-6e1190f854b9', 'ip_version': 4, 'cidr': '161.200.91.192/26', 'allocation_pools': [{'start': '161.200.91.194', 'end': '161.200.91.254'}], 'gateway_ip': '161.200.91.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '161.200.91.194', 'tags': [], 'project_id': '4139d64cafc640dab77f5121a6bbf973'}}
2025-10-29 14:41:33,569 - INFO - Created VN ctest-ext_vn-74293551
2025-10-29 14:41:33,622 - DEBUG - VN ctest-ext_vn-74293551 UUID is b74cc58e-86b5-4354-82b5-6e1190f854b9
2025-10-29 14:41:33,788 - DEBUG - Services list from nova: [, , ]
2025-10-29 14:41:34,884 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4522-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4522-1)
2025-10-29 14:41:36,192 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4522-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4522-1)
2025-10-29 14:41:36,259 - INFO - Setting gateway for router ebdc15c0-be0c-4669-ac61-4046e7119971 to network b74cc58e-86b5-4354-82b5-6e1190f854b9
2025-10-29 14:41:36,313 - INFO - Adding interface with subnet_id 2931f03a-dc44-4453-88f8-fb373c543f95, port_id None to router ebdc15c0-be0c-4669-ac61-4046e7119971
2025-10-29 14:41:36,713 - INFO - Waiting for VM ctest-TestRoutersBasic-25611881-16190609 to be up..
2025-10-29 14:41:36,902 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-29 14:41:41,985 - DEBUG - VM is in ACTIVE state now
2025-10-29 14:41:41,985 - INFO - VM name : ctest-TestRoutersBasic-25611881-16190609
2025-10-29 14:41:42,068 - DEBUG - VM ctest-TestRoutersBasic-25611881-16190609 ID is fcbf3d57-51c6-4cc4-b277-50026dbda3e6
2025-10-29 14:41:42,088 - DEBUG - VM ctest-TestRoutersBasic-25611881-16190609 launched on Node cn-jenkins-deploy-platform-ansible-os-4522-1
2025-10-29 14:41:42,170 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/fcbf3d57-51c6-4cc4-b277-50026dbda3e6
2025-10-29 14:41:42,521 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/fcbf3d57-51c6-4cc4-b277-50026dbda3e6
2025-10-29 14:41:42,553 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/b005fc53-bc74-43c4-adfd-6db00dcbd2fd
2025-10-29 14:41:45,796 - 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 1010ms')
2025-10-29 14:41:45,797 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-25611881-16190609 failed!
2025-10-29 14:41:45,850 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-25611881:ctest-vn-31998795 is 187.187.104.193 and allocation pool is NOT set
2025-10-29 14:41:47,908 - 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=5.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.81 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.808/3.741/5.675/1.933 ms')
2025-10-29 14:41:47,908 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-25611881-16190609 passed
2025-10-29 14:41:48,062 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-29 14:41:48,063 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-25611881-16190609, IP 187.187.104.195, Port 22
2025-10-29 14:41:48,218 - DEBUG - VM ctest-TestRoutersBasic-25611881-16190609 is ready for SSH connections
2025-10-29 14:41:48,218 - INFO - Waiting for VM ctest-TestRoutersBasic-25611881-07861101 to be up..
2025-10-29 14:41:48,292 - DEBUG - VM is in ACTIVE state now
2025-10-29 14:41:48,292 - INFO - VM name : ctest-TestRoutersBasic-25611881-07861101
2025-10-29 14:41:48,369 - DEBUG - VM ctest-TestRoutersBasic-25611881-07861101 ID is 6d960cd9-259a-455d-9782-ce1518db4ec7
2025-10-29 14:41:48,369 - DEBUG - VM ctest-TestRoutersBasic-25611881-07861101 launched on Node cn-jenkins-deploy-platform-ansible-os-4522-1
2025-10-29 14:41:48,447 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/6d960cd9-259a-455d-9782-ce1518db4ec7
2025-10-29 14:41:48,456 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/0d50b70c-1810-4a22-a46c-5c47397429c6
2025-10-29 14:41:49,709 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=4.32 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.14 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.140/2.730/4.320/1.590 ms')
2025-10-29 14:41:49,709 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-25611881-07861101 passed
2025-10-29 14:41:49,858 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-29 14:41:49,858 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-25611881-07861101, IP 161.200.91.195, Port 22
2025-10-29 14:41:49,924 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-10-29 14:41:50,004 - DEBUG - VM ctest-TestRoutersBasic-25611881-07861101 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-29 14:41:55,005 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-29 14:41:55,005 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-25611881-07861101, IP 161.200.91.195, Port 22
2025-10-29 14:41:55,161 - DEBUG - VM ctest-TestRoutersBasic-25611881-07861101 is ready for SSH connections
2025-10-29 14:41:55,162 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-29 14:41:55,162 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 161.200.91.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123
2025-10-29 14:41:55,162 - DEBUG - ping -s 56 -c 3 -W 1 161.200.91.195
2025-10-29 14:41:58,921 - DEBUG - PING 161.200.91.195 (161.200.91.195): 56 data bytes
64 bytes from 161.200.91.195: seq=0 ttl=62 time=6.177 ms
64 bytes from 161.200.91.195: seq=1 ttl=62 time=1.101 ms
64 bytes from 161.200.91.195: seq=2 ttl=62 time=1.094 ms
--- 161.200.91.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.094/2.790/6.177 ms
2025-10-29 14:41:58,921 - INFO - Ping to IP 161.200.91.195 from VM ctest-TestRoutersBasic-25611881-16190609 passed
2025-10-29 14:41:58,921 - INFO - Deleting interface with subnet_id 2931f03a-dc44-4453-88f8-fb373c543f95, port_id None from router ebdc15c0-be0c-4669-ac61-4046e7119971
2025-10-29 14:41:59,160 - INFO - Deleting VM ctest-TestRoutersBasic-25611881-07861101
2025-10-29 14:41:59,267 - INFO - Deleting VM ctest-TestRoutersBasic-25611881-16190609
2025-10-29 14:41:59,375 - INFO - Deleting VN ctest-ext_vn-74293551
2025-10-29 14:41:59,448 - DEBUG - VN b74cc58e-86b5-4354-82b5-6e1190f854b9 still in use: Unable to complete operation on network b74cc58e-86b5-4354-82b5-6e1190f854b9. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-67fe1ffd-276d-4c4a-923f-b55c6222ab99']
2025-10-29 14:41:59,449 - WARNING - Deleting VN ctest-ext_vn-74293551 failed..Will retry
2025-10-29 14:42:01,565 - DEBUG - Response for deleting network ()
2025-10-29 14:42:01,566 - INFO - Deleting VN ctest-vn-31998795
2025-10-29 14:42:01,682 - DEBUG - Response for deleting network ()
2025-10-29 14:42:01,936 - DEBUG - No XMPP flaps were noticed during the test
2025-10-29 14:42:01,936 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31]
2025-10-29 14:42:01,936 - INFO - --------------------------------------------------------------------------------
2025-10-29 14:42:02,659 - INFO - Deleted project: ctest-TestRoutersBasic-25611881, ID : 4139d64c-afc6-40da-b77f-5121a6bbf973