2025-01-10 09:42:36,748 - INFO - Domain Default found not creating
2025-01-10 09:42:36,906 - INFO - Project ctest-TestRoutersBasic-68900643 not found, creating it
2025-01-10 09:42:37,585 - INFO - Created Project:ctest-TestRoutersBasic-68900643, ID : 1caa92fe-48b4-47de-93ec-5f7c91acc8aa
2025-01-10 09:42:39,118 - INFO - ================================================================================
2025-01-10 09:42:39,118 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-01-10 09:42:39,119 - 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-01-10 09:42:40,437 - DEBUG - Nothing to compare xmpp stats {'10.0.0.37': {'10.20.0.5': '0', '10.20.0.12': '0'}, '10.0.0.33': {'10.20.0.5': '0', '10.20.0.12': '0'}} with
2025-01-10 09:42:40,437 - INFO - Initial checks done. Running the testcase now
2025-01-10 09:42:40,437 - INFO -
2025-01-10 09:42:41,196 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-68900643
2025-01-10 09:42:41,262 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-68900643
2025-01-10 09:42:41,623 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-68900643', 'default']}
2025-01-10 09:42:42,134 - DEBUG - Response for create_network : {'network': {'id': '19dcdf20-5e52-453d-be05-cedd9e4f99c8', 'name': 'ctest-vn-92271231', 'tenant_id': '1caa92fe48b447de93ec5f7c91acc8aa', 'project_id': '1caa92fe48b447de93ec5f7c91acc8aa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-68900643', 'ctest-vn-92271231'], 'port_security_enabled': True, 'description': ''}}
2025-01-10 09:42:42,458 - DEBUG - Response for create_subnet : {'subnet': {'id': '4d305ec3-6fd4-43be-97e7-f7db4dfd5fae', 'name': '', 'tenant_id': '1caa92fe48b447de93ec5f7c91acc8aa', 'network_id': '19dcdf20-5e52-453d-be05-cedd9e4f99c8', 'ip_version': 4, 'cidr': '4.37.37.0/26', 'allocation_pools': [{'start': '4.37.37.2', 'end': '4.37.37.62'}], 'gateway_ip': '4.37.37.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '4.37.37.2', 'tags': [], 'project_id': '1caa92fe48b447de93ec5f7c91acc8aa'}}
2025-01-10 09:42:42,492 - INFO - Created VN ctest-vn-92271231
2025-01-10 09:42:42,507 - DEBUG - VN ctest-vn-92271231 UUID is 19dcdf20-5e52-453d-be05-cedd9e4f99c8
2025-01-10 09:42:43,097 - DEBUG - Response for create_network : {'network': {'id': '849c17bf-cbbe-4d45-8b8b-f64eb29c2802', 'name': 'ctest-ext_vn-05539667', 'tenant_id': '1caa92fe48b447de93ec5f7c91acc8aa', 'project_id': '1caa92fe48b447de93ec5f7c91acc8aa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-68900643', 'ctest-ext_vn-05539667'], 'port_security_enabled': True, 'description': ''}}
2025-01-10 09:42:43,467 - DEBUG - Response for create_subnet : {'subnet': {'id': '77664d51-ebe1-4179-84c9-11ac64c43282', 'name': '', 'tenant_id': '1caa92fe48b447de93ec5f7c91acc8aa', 'network_id': '849c17bf-cbbe-4d45-8b8b-f64eb29c2802', 'ip_version': 4, 'cidr': '76.221.86.192/26', 'allocation_pools': [{'start': '76.221.86.194', 'end': '76.221.86.254'}], 'gateway_ip': '76.221.86.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '76.221.86.194', 'tags': [], 'project_id': '1caa92fe48b447de93ec5f7c91acc8aa'}}
2025-01-10 09:42:43,499 - INFO - Created VN ctest-ext_vn-05539667
2025-01-10 09:42:43,516 - DEBUG - VN ctest-ext_vn-05539667 UUID is 849c17bf-cbbe-4d45-8b8b-f64eb29c2802
2025-01-10 09:42:43,709 - DEBUG - Services list from nova: [, , , ]
2025-01-10 09:42:44,852 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-2598-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-2598-2)
2025-01-10 09:42:46,490 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-2598-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-2598-1)
2025-01-10 09:42:46,656 - INFO - Setting gateway for router c3cb6d1b-bdfd-4d23-b959-f1d7ef74cad1 to network 849c17bf-cbbe-4d45-8b8b-f64eb29c2802
2025-01-10 09:42:46,783 - INFO - Adding interface with subnet_id 4d305ec3-6fd4-43be-97e7-f7db4dfd5fae, port_id None to router c3cb6d1b-bdfd-4d23-b959-f1d7ef74cad1
2025-01-10 09:42:47,484 - INFO - Waiting for VM ctest-TestRoutersBasic-68900643-08559277 to be up..
2025-01-10 09:42:47,729 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-10 09:42:52,824 - DEBUG - VM is in ACTIVE state now
2025-01-10 09:42:52,824 - INFO - VM name : ctest-TestRoutersBasic-68900643-08559277
2025-01-10 09:42:52,942 - DEBUG - VM ctest-TestRoutersBasic-68900643-08559277 ID is 99caa7bc-546b-4463-8914-9b553377cef3
2025-01-10 09:42:52,975 - DEBUG - VM ctest-TestRoutersBasic-68900643-08559277 launched on Node an-jenkins-deploy-platform-ansible-os-2598-2
2025-01-10 09:42:53,086 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/99caa7bc-546b-4463-8914-9b553377cef3
2025-01-10 09:42:53,400 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/99caa7bc-546b-4463-8914-9b553377cef3
2025-01-10 09:42:53,441 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/32bf6300-39b5-428c-9be7-28e572848d9a
2025-01-10 09:42:56,677 - 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 1011ms')
2025-01-10 09:42:56,677 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-68900643-08559277 failed!
2025-01-10 09:42:56,698 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-68900643:ctest-vn-92271231 is 4.37.37.1 and allocation pool is NOT set
2025-01-10 09:42:58,759 - 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.12 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.283 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.283/1.700/3.118/1.417 ms')
2025-01-10 09:42:58,759 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-68900643-08559277 passed
2025-01-10 09:42:58,893 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-10 09:42:58,893 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-68900643-08559277, IP 4.37.37.3, Port 22
2025-01-10 09:42:59,057 - DEBUG - VM ctest-TestRoutersBasic-68900643-08559277 is ready for SSH connections
2025-01-10 09:42:59,057 - INFO - Waiting for VM ctest-TestRoutersBasic-68900643-38309421 to be up..
2025-01-10 09:42:59,191 - DEBUG - VM is in ACTIVE state now
2025-01-10 09:42:59,191 - INFO - VM name : ctest-TestRoutersBasic-68900643-38309421
2025-01-10 09:42:59,321 - DEBUG - VM ctest-TestRoutersBasic-68900643-38309421 ID is a0a281e6-9412-4d19-8c49-050e90111228
2025-01-10 09:42:59,321 - DEBUG - VM ctest-TestRoutersBasic-68900643-38309421 launched on Node an-jenkins-deploy-platform-ansible-os-2598-1
2025-01-10 09:42:59,429 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/a0a281e6-9412-4d19-8c49-050e90111228
2025-01-10 09:42:59,443 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/b63ed514-b6fc-4ffd-8b69-702578e04ada
2025-01-10 09:43:00,673 - 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.28 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.495 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.495/1.887/3.280/1.392 ms')
2025-01-10 09:43:00,673 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-68900643-38309421 passed
2025-01-10 09:43:00,801 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-10 09:43:00,801 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-68900643-38309421, IP 76.221.86.195, Port 22
2025-01-10 09:43:00,977 - DEBUG - VM ctest-TestRoutersBasic-68900643-38309421 is ready for SSH connections
2025-01-10 09:43:00,977 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-10 09:43:00,977 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 76.221.86.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123
2025-01-10 09:43:00,977 - DEBUG - ping -s 56 -c 3 -W 1 76.221.86.195
2025-01-10 09:43:04,625 - DEBUG - PING 76.221.86.195 (76.221.86.195): 56 data bytes
64 bytes from 76.221.86.195: seq=0 ttl=62 time=9.813 ms
64 bytes from 76.221.86.195: seq=1 ttl=62 time=1.313 ms
64 bytes from 76.221.86.195: seq=2 ttl=62 time=1.431 ms
--- 76.221.86.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.313/4.185/9.813 ms
2025-01-10 09:43:04,625 - INFO - Ping to IP 76.221.86.195 from VM ctest-TestRoutersBasic-68900643-08559277 passed
2025-01-10 09:43:04,625 - INFO - Deleting interface with subnet_id 4d305ec3-6fd4-43be-97e7-f7db4dfd5fae, port_id None from router c3cb6d1b-bdfd-4d23-b959-f1d7ef74cad1
2025-01-10 09:43:05,187 - INFO - Deleting VM ctest-TestRoutersBasic-68900643-38309421
2025-01-10 09:43:05,269 - INFO - Deleting VM ctest-TestRoutersBasic-68900643-08559277
2025-01-10 09:43:05,357 - INFO - Deleting VN ctest-ext_vn-05539667
2025-01-10 09:43:05,487 - DEBUG - VN 849c17bf-cbbe-4d45-8b8b-f64eb29c2802 still in use: Unable to complete operation on network 849c17bf-cbbe-4d45-8b8b-f64eb29c2802. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-264ed8cf-247d-4e08-90e7-6c83e06ba6cf']
2025-01-10 09:43:05,487 - WARNING - Deleting VN ctest-ext_vn-05539667 failed..Will retry
2025-01-10 09:43:07,702 - DEBUG - Response for deleting network ()
2025-01-10 09:43:07,702 - INFO - Deleting VN ctest-vn-92271231
2025-01-10 09:43:07,931 - DEBUG - Response for deleting network ()
2025-01-10 09:43:09,206 - DEBUG - No XMPP flaps were noticed during the test
2025-01-10 09:43:09,206 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:30]
2025-01-10 09:43:09,207 - INFO - --------------------------------------------------------------------------------
2025-01-10 09:43:10,048 - INFO - Deleted project: ctest-TestRoutersBasic-68900643, ID : 1caa92fe-48b4-47de-93ec-5f7c91acc8aa