2025-07-23 15:55:42,159 - INFO - Domain Default found not creating
2025-07-23 15:55:42,328 - INFO - Project ctest-TestRoutersBasic-42900455 not found, creating it
2025-07-23 15:55:42,830 - INFO - Created Project:ctest-TestRoutersBasic-42900455, ID : 6648892a-a6b4-40f7-a4df-23972e0b1269
2025-07-23 15:55:44,339 - INFO - ================================================================================
2025-07-23 15:55:44,339 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-07-23 15:55:44,339 - 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-07-23 15:55:44,607 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.192': '0'}} with
2025-07-23 15:55:44,608 - INFO - Initial checks done. Running the testcase now
2025-07-23 15:55:44,608 - INFO -
2025-07-23 15:55:45,334 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-42900455
2025-07-23 15:55:45,435 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-42900455
2025-07-23 15:55:45,767 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-42900455', 'default']}
2025-07-23 15:55:46,092 - DEBUG - Response for create_network : {'network': {'id': '7c0b215a-3fee-400c-8f14-33b8c57f647c', 'name': 'ctest-vn-06768747', 'tenant_id': '6648892aa6b440f7a4df23972e0b1269', 'project_id': '6648892aa6b440f7a4df23972e0b1269', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-42900455', 'ctest-vn-06768747'], 'port_security_enabled': True, 'description': ''}}
2025-07-23 15:55:46,305 - DEBUG - Response for create_subnet : {'subnet': {'id': '6bd683ad-9bfb-4735-9bf3-a0ab2b13e695', 'name': '', 'tenant_id': '6648892aa6b440f7a4df23972e0b1269', 'network_id': '7c0b215a-3fee-400c-8f14-33b8c57f647c', 'ip_version': 4, 'cidr': '150.15.227.0/26', 'allocation_pools': [{'start': '150.15.227.2', 'end': '150.15.227.62'}], 'gateway_ip': '150.15.227.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '150.15.227.2', 'tags': [], 'project_id': '6648892aa6b440f7a4df23972e0b1269'}}
2025-07-23 15:55:46,326 - INFO - Created VN ctest-vn-06768747
2025-07-23 15:55:46,383 - DEBUG - VN ctest-vn-06768747 UUID is 7c0b215a-3fee-400c-8f14-33b8c57f647c
2025-07-23 15:55:46,715 - DEBUG - Response for create_network : {'network': {'id': '62d4453b-1c69-4581-bd9b-211eeab6d519', 'name': 'ctest-ext_vn-83289555', 'tenant_id': '6648892aa6b440f7a4df23972e0b1269', 'project_id': '6648892aa6b440f7a4df23972e0b1269', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-42900455', 'ctest-ext_vn-83289555'], 'port_security_enabled': True, 'description': ''}}
2025-07-23 15:55:46,946 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e623583c-1075-42a6-9bf5-9e44ae08188c', 'name': '', 'tenant_id': '6648892aa6b440f7a4df23972e0b1269', 'network_id': '62d4453b-1c69-4581-bd9b-211eeab6d519', 'ip_version': 4, 'cidr': '22.77.140.192/26', 'allocation_pools': [{'start': '22.77.140.194', 'end': '22.77.140.254'}], 'gateway_ip': '22.77.140.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '22.77.140.194', 'tags': [], 'project_id': '6648892aa6b440f7a4df23972e0b1269'}}
2025-07-23 15:55:46,964 - INFO - Created VN ctest-ext_vn-83289555
2025-07-23 15:55:47,019 - DEBUG - VN ctest-ext_vn-83289555 UUID is 62d4453b-1c69-4581-bd9b-211eeab6d519
2025-07-23 15:55:47,202 - DEBUG - Services list from nova: [, , ]
2025-07-23 15:55:48,220 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3706-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3706-1)
2025-07-23 15:55:49,386 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3706-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3706-1)
2025-07-23 15:55:49,498 - INFO - Setting gateway for router a5473fb9-a8dc-4bc6-96f8-62b054156bac to network 62d4453b-1c69-4581-bd9b-211eeab6d519
2025-07-23 15:55:49,600 - INFO - Adding interface with subnet_id 6bd683ad-9bfb-4735-9bf3-a0ab2b13e695, port_id None to router a5473fb9-a8dc-4bc6-96f8-62b054156bac
2025-07-23 15:55:50,097 - INFO - Waiting for VM ctest-TestRoutersBasic-42900455-58974064 to be up..
2025-07-23 15:55:50,271 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-07-23 15:55:55,340 - DEBUG - VM is in ACTIVE state now
2025-07-23 15:55:55,340 - INFO - VM name : ctest-TestRoutersBasic-42900455-58974064
2025-07-23 15:55:55,407 - DEBUG - VM ctest-TestRoutersBasic-42900455-58974064 ID is 48725dfc-4982-4d54-a3e1-3d2ef1f5256c
2025-07-23 15:55:55,425 - DEBUG - VM ctest-TestRoutersBasic-42900455-58974064 launched on Node cn-jenkins-deploy-platform-ansible-os-3706-1
2025-07-23 15:55:55,492 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/48725dfc-4982-4d54-a3e1-3d2ef1f5256c
2025-07-23 15:55:55,783 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/48725dfc-4982-4d54-a3e1-3d2ef1f5256c
2025-07-23 15:55:55,813 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/121b4446-5e14-42e0-9755-a9ea51bdfcaa
2025-07-23 15:55:59,054 - 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-07-23 15:55:59,054 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-42900455-58974064 failed!
2025-07-23 15:55:59,111 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-42900455:ctest-vn-06768747 is 150.15.227.1 and allocation pool is NOT set
2025-07-23 15:56:01,169 - 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.42 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.432 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.432/1.924/3.417/1.492 ms')
2025-07-23 15:56:01,169 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-42900455-58974064 passed
2025-07-23 15:56:01,327 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-23 15:56:01,327 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-42900455-58974064, IP 150.15.227.3, Port 22
2025-07-23 15:56:01,483 - DEBUG - VM ctest-TestRoutersBasic-42900455-58974064 is ready for SSH connections
2025-07-23 15:56:01,483 - INFO - Waiting for VM ctest-TestRoutersBasic-42900455-35183089 to be up..
2025-07-23 15:56:01,567 - DEBUG - VM is in ACTIVE state now
2025-07-23 15:56:01,567 - INFO - VM name : ctest-TestRoutersBasic-42900455-35183089
2025-07-23 15:56:01,653 - DEBUG - VM ctest-TestRoutersBasic-42900455-35183089 ID is c8a0bcc0-c671-4cd6-932f-e06bd0ef9519
2025-07-23 15:56:01,653 - DEBUG - VM ctest-TestRoutersBasic-42900455-35183089 launched on Node cn-jenkins-deploy-platform-ansible-os-3706-1
2025-07-23 15:56:01,733 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/c8a0bcc0-c671-4cd6-932f-e06bd0ef9519
2025-07-23 15:56:01,744 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/52857cbc-b647-411f-9a53-dd1c97fac94f
2025-07-23 15:56:03,009 - 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=3.69 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.834 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 = 0.834/2.259/3.685/1.425 ms')
2025-07-23 15:56:03,009 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-42900455-35183089 passed
2025-07-23 15:56:03,159 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-23 15:56:03,159 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-42900455-35183089, IP 22.77.140.195, Port 22
2025-07-23 15:56:03,229 - 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-07-23 15:56:03,311 - DEBUG - VM ctest-TestRoutersBasic-42900455-35183089 is NOT ready for SSH connections, VM status: ACTIVE
2025-07-23 15:56:08,311 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-23 15:56:08,311 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-42900455-35183089, IP 22.77.140.195, Port 22
2025-07-23 15:56:08,466 - DEBUG - VM ctest-TestRoutersBasic-42900455-35183089 is ready for SSH connections
2025-07-23 15:56:08,467 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-23 15:56:08,467 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 22.77.140.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2025-07-23 15:56:08,467 - DEBUG - ping -s 56 -c 3 -W 1 22.77.140.195
2025-07-23 15:56:12,162 - DEBUG - PING 22.77.140.195 (22.77.140.195): 56 data bytes
64 bytes from 22.77.140.195: seq=0 ttl=62 time=4.940 ms
64 bytes from 22.77.140.195: seq=1 ttl=62 time=1.005 ms
64 bytes from 22.77.140.195: seq=2 ttl=62 time=1.082 ms
--- 22.77.140.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.005/2.342/4.940 ms
2025-07-23 15:56:12,162 - INFO - Ping to IP 22.77.140.195 from VM ctest-TestRoutersBasic-42900455-58974064 passed
2025-07-23 15:56:12,162 - INFO - Deleting interface with subnet_id 6bd683ad-9bfb-4735-9bf3-a0ab2b13e695, port_id None from router a5473fb9-a8dc-4bc6-96f8-62b054156bac
2025-07-23 15:56:12,367 - INFO - Deleting VM ctest-TestRoutersBasic-42900455-35183089
2025-07-23 15:56:12,452 - INFO - Deleting VM ctest-TestRoutersBasic-42900455-58974064
2025-07-23 15:56:12,543 - INFO - Deleting VN ctest-ext_vn-83289555
2025-07-23 15:56:12,611 - DEBUG - VN 62d4453b-1c69-4581-bd9b-211eeab6d519 still in use: Unable to complete operation on network 62d4453b-1c69-4581-bd9b-211eeab6d519. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-35273595-113e-472a-a664-ea634b040a4c']
2025-07-23 15:56:12,612 - WARNING - Deleting VN ctest-ext_vn-83289555 failed..Will retry
2025-07-23 15:56:14,734 - DEBUG - Response for deleting network ()
2025-07-23 15:56:14,734 - INFO - Deleting VN ctest-vn-06768747
2025-07-23 15:56:14,851 - DEBUG - Response for deleting network ()
2025-07-23 15:56:15,121 - DEBUG - No XMPP flaps were noticed during the test
2025-07-23 15:56:15,121 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31]
2025-07-23 15:56:15,121 - INFO - --------------------------------------------------------------------------------
2025-07-23 15:56:15,815 - INFO - Deleted project: ctest-TestRoutersBasic-42900455, ID : 6648892a-a6b4-40f7-a4df-23972e0b1269