2025-10-08 13:53:10,256 - INFO - Domain Default found not creating 2025-10-08 13:53:10,454 - INFO - Project ctest-TestRoutersBasic-99498036 not found, creating it 2025-10-08 13:53:11,013 - INFO - Created Project:ctest-TestRoutersBasic-99498036, ID : e5418e5e-c2a6-4657-b3fb-7cf4a5f3ae29 2025-10-08 13:53:12,689 - INFO - ================================================================================ 2025-10-08 13:53:12,689 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-08 13:53:12,689 - 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-08 13:53:13,991 - DEBUG - Nothing to compare xmpp stats {'10.0.0.61': {'10.20.0.249': '0', '10.20.0.252': '0'}, '10.0.0.241': {'10.20.0.252': '0', '10.20.0.249': '0'}} with 2025-10-08 13:53:13,991 - INFO - Initial checks done. Running the testcase now 2025-10-08 13:53:13,991 - INFO - 2025-10-08 13:53:14,805 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-99498036 2025-10-08 13:53:14,864 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-99498036 2025-10-08 13:53:15,216 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-99498036', 'default']} 2025-10-08 13:53:15,685 - DEBUG - Response for create_network : {'network': {'id': '7cb6bff8-b506-4a15-a7fb-dabb508010d1', 'name': 'ctest-vn-16202511', 'tenant_id': 'e5418e5ec2a64657b3fb7cf4a5f3ae29', 'project_id': 'e5418e5ec2a64657b3fb7cf4a5f3ae29', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-99498036', 'ctest-vn-16202511'], 'port_security_enabled': True, 'description': ''}} 2025-10-08 13:53:16,051 - DEBUG - Response for create_subnet : {'subnet': {'id': '62ad2729-867f-43e8-b099-24acca77d6a9', 'name': '', 'tenant_id': 'e5418e5ec2a64657b3fb7cf4a5f3ae29', 'network_id': '7cb6bff8-b506-4a15-a7fb-dabb508010d1', 'ip_version': 4, 'cidr': '34.144.114.64/26', 'allocation_pools': [{'start': '34.144.114.66', 'end': '34.144.114.126'}], 'gateway_ip': '34.144.114.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '34.144.114.66', 'tags': [], 'project_id': 'e5418e5ec2a64657b3fb7cf4a5f3ae29'}} 2025-10-08 13:53:16,078 - INFO - Created VN ctest-vn-16202511 2025-10-08 13:53:16,094 - DEBUG - VN ctest-vn-16202511 UUID is 7cb6bff8-b506-4a15-a7fb-dabb508010d1 2025-10-08 13:53:16,666 - DEBUG - Response for create_network : {'network': {'id': '62037a6c-66fb-40b5-88f4-b328a0da3efb', 'name': 'ctest-ext_vn-02414497', 'tenant_id': 'e5418e5ec2a64657b3fb7cf4a5f3ae29', 'project_id': 'e5418e5ec2a64657b3fb7cf4a5f3ae29', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-99498036', 'ctest-ext_vn-02414497'], 'port_security_enabled': True, 'description': ''}} 2025-10-08 13:53:16,921 - DEBUG - Response for create_subnet : {'subnet': {'id': '81381f08-05f4-488e-835d-ca9b950be682', 'name': '', 'tenant_id': 'e5418e5ec2a64657b3fb7cf4a5f3ae29', 'network_id': '62037a6c-66fb-40b5-88f4-b328a0da3efb', 'ip_version': 4, 'cidr': '223.242.129.0/26', 'allocation_pools': [{'start': '223.242.129.2', 'end': '223.242.129.62'}], 'gateway_ip': '223.242.129.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '223.242.129.2', 'tags': [], 'project_id': 'e5418e5ec2a64657b3fb7cf4a5f3ae29'}} 2025-10-08 13:53:16,948 - INFO - Created VN ctest-ext_vn-02414497 2025-10-08 13:53:16,968 - DEBUG - VN ctest-ext_vn-02414497 UUID is 62037a6c-66fb-40b5-88f4-b328a0da3efb 2025-10-08 13:53:17,125 - DEBUG - Services list from nova: [, , , ] 2025-10-08 13:53:18,528 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4236-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4236-2) 2025-10-08 13:53:20,693 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4236-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4236-1) 2025-10-08 13:53:20,844 - INFO - Setting gateway for router 249b955b-6a96-4da7-ac17-7d7f317f45e2 to network 62037a6c-66fb-40b5-88f4-b328a0da3efb 2025-10-08 13:53:21,001 - INFO - Adding interface with subnet_id 62ad2729-867f-43e8-b099-24acca77d6a9, port_id None to router 249b955b-6a96-4da7-ac17-7d7f317f45e2 2025-10-08 13:53:21,547 - INFO - Waiting for VM ctest-TestRoutersBasic-99498036-54154441 to be up.. 2025-10-08 13:53:21,741 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-08 13:53:26,847 - DEBUG - VM is in ACTIVE state now 2025-10-08 13:53:26,848 - INFO - VM name : ctest-TestRoutersBasic-99498036-54154441 2025-10-08 13:53:26,951 - DEBUG - VM ctest-TestRoutersBasic-99498036-54154441 ID is 1fc169fa-08c7-44b0-bb47-fa1909248633 2025-10-08 13:53:26,986 - DEBUG - VM ctest-TestRoutersBasic-99498036-54154441 launched on Node an-jenkins-deploy-platform-ansible-os-4236-2 2025-10-08 13:53:27,085 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/1fc169fa-08c7-44b0-bb47-fa1909248633 2025-10-08 13:53:27,406 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/1fc169fa-08c7-44b0-bb47-fa1909248633 2025-10-08 13:53:27,448 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/37258b45-6dc2-41ef-8e6d-8b448deb7354 2025-10-08 13:53:30,629 - 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=13.9 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1007ms\r\nrtt min/avg/max/mdev = 13.881/13.881/13.881/0.000 ms') 2025-10-08 13:53:30,629 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-99498036-54154441 passed 2025-10-08 13:53:30,712 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 13:53:30,712 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-99498036-54154441, IP 34.144.114.67, Port 22 2025-10-08 13:53:33,837 - 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-08 13:53:33,967 - DEBUG - VM ctest-TestRoutersBasic-99498036-54154441 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-08 13:53:38,967 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 13:53:38,967 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-99498036-54154441, IP 34.144.114.67, Port 22 2025-10-08 13:53:39,135 - DEBUG - VM ctest-TestRoutersBasic-99498036-54154441 is ready for SSH connections 2025-10-08 13:53:39,135 - INFO - Waiting for VM ctest-TestRoutersBasic-99498036-62834218 to be up.. 2025-10-08 13:53:39,245 - DEBUG - VM is in ACTIVE state now 2025-10-08 13:53:39,245 - INFO - VM name : ctest-TestRoutersBasic-99498036-62834218 2025-10-08 13:53:39,360 - DEBUG - VM ctest-TestRoutersBasic-99498036-62834218 ID is fbe34b39-5feb-4421-b526-354945551400 2025-10-08 13:53:39,360 - DEBUG - VM ctest-TestRoutersBasic-99498036-62834218 launched on Node an-jenkins-deploy-platform-ansible-os-4236-1 2025-10-08 13:53:39,472 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/fbe34b39-5feb-4421-b526-354945551400 2025-10-08 13:53:39,484 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/8dd7eab6-e5c0-4e4a-a3ae-e6b58ad5d754 2025-10-08 13:53:40,657 - 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=2.73 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.306 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.306/1.517/2.728/1.211 ms') 2025-10-08 13:53:40,658 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-99498036-62834218 passed 2025-10-08 13:53:40,741 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 13:53:40,741 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-99498036-62834218, IP 223.242.129.4, Port 22 2025-10-08 13:53:40,899 - DEBUG - VM ctest-TestRoutersBasic-99498036-62834218 is ready for SSH connections 2025-10-08 13:53:40,899 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 13:53:40,899 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 223.242.129.4, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-10-08 13:53:40,899 - DEBUG - ping -s 56 -c 3 -W 1 223.242.129.4 2025-10-08 13:53:44,596 - DEBUG - PING 223.242.129.4 (223.242.129.4): 56 data bytes 64 bytes from 223.242.129.4: seq=0 ttl=62 time=10.597 ms 64 bytes from 223.242.129.4: seq=1 ttl=62 time=1.392 ms 64 bytes from 223.242.129.4: seq=2 ttl=62 time=1.290 ms --- 223.242.129.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.290/4.426/10.597 ms 2025-10-08 13:53:44,597 - INFO - Ping to IP 223.242.129.4 from VM ctest-TestRoutersBasic-99498036-54154441 passed 2025-10-08 13:53:44,597 - INFO - Deleting interface with subnet_id 62ad2729-867f-43e8-b099-24acca77d6a9, port_id None from router 249b955b-6a96-4da7-ac17-7d7f317f45e2 2025-10-08 13:53:45,072 - INFO - Deleting VM ctest-TestRoutersBasic-99498036-62834218 2025-10-08 13:53:45,292 - INFO - Deleting VM ctest-TestRoutersBasic-99498036-54154441 2025-10-08 13:53:45,519 - INFO - Deleting VN ctest-ext_vn-02414497 2025-10-08 13:53:45,704 - DEBUG - VN 62037a6c-66fb-40b5-88f4-b328a0da3efb still in use: Unable to complete operation on network 62037a6c-66fb-40b5-88f4-b328a0da3efb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-48045591-56a6-4f53-a35e-93e96b2debc2'] 2025-10-08 13:53:45,705 - WARNING - Deleting VN ctest-ext_vn-02414497 failed..Will retry 2025-10-08 13:53:47,898 - DEBUG - Response for deleting network () 2025-10-08 13:53:47,899 - INFO - Deleting VN ctest-vn-16202511 2025-10-08 13:53:48,105 - DEBUG - Response for deleting network () 2025-10-08 13:53:49,415 - DEBUG - No XMPP flaps were noticed during the test
2025-10-08 13:53:49,415 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:37]
2025-10-08 13:53:49,415 - INFO - -------------------------------------------------------------------------------- 2025-10-08 13:53:50,223 - INFO - Deleted project: ctest-TestRoutersBasic-99498036, ID : e5418e5e-c2a6-4657-b3fb-7cf4a5f3ae29