2025-01-09 11:32:58,275 - INFO - Domain Default found not creating
2025-01-09 11:32:58,451 - INFO - Project ctest-TestRoutersBasic-32221257 not found, creating it
2025-01-09 11:32:58,987 - INFO - Created Project:ctest-TestRoutersBasic-32221257, ID : 489bf9a7-e29f-40e0-96e2-b37f5b20f8fd
2025-01-09 11:33:00,490 - INFO - ================================================================================
2025-01-09 11:33:00,491 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-01-09 11:33:00,491 - 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-09 11:33:00,769 - DEBUG - Nothing to compare xmpp stats {'10.0.0.34': {'10.20.0.8': '0'}} with
2025-01-09 11:33:00,769 - INFO - Initial checks done. Running the testcase now
2025-01-09 11:33:00,769 - INFO -
2025-01-09 11:33:01,503 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-32221257
2025-01-09 11:33:01,613 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-32221257
2025-01-09 11:33:01,961 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-32221257', 'default']}
2025-01-09 11:33:02,288 - DEBUG - Response for create_network : {'network': {'id': '96bbec82-c02a-40b0-b31a-e62916ffa1ee', 'name': 'ctest-vn-52392150', 'tenant_id': '489bf9a7e29f40e096e2b37f5b20f8fd', 'project_id': '489bf9a7e29f40e096e2b37f5b20f8fd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-32221257', 'ctest-vn-52392150'], 'port_security_enabled': True, 'description': ''}}
2025-01-09 11:33:02,467 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f616c8ec-74a3-4b7d-8f9a-4f75f395e919', 'name': '', 'tenant_id': '489bf9a7e29f40e096e2b37f5b20f8fd', 'network_id': '96bbec82-c02a-40b0-b31a-e62916ffa1ee', 'ip_version': 4, 'cidr': '158.3.132.128/26', 'allocation_pools': [{'start': '158.3.132.130', 'end': '158.3.132.190'}], 'gateway_ip': '158.3.132.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '158.3.132.130', 'tags': [], 'project_id': '489bf9a7e29f40e096e2b37f5b20f8fd'}}
2025-01-09 11:33:02,492 - INFO - Created VN ctest-vn-52392150
2025-01-09 11:33:02,553 - DEBUG - VN ctest-vn-52392150 UUID is 96bbec82-c02a-40b0-b31a-e62916ffa1ee
2025-01-09 11:33:02,928 - DEBUG - Response for create_network : {'network': {'id': 'f398976e-a7c7-4e45-8f63-5459c226f9a0', 'name': 'ctest-ext_vn-51331222', 'tenant_id': '489bf9a7e29f40e096e2b37f5b20f8fd', 'project_id': '489bf9a7e29f40e096e2b37f5b20f8fd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-32221257', 'ctest-ext_vn-51331222'], 'port_security_enabled': True, 'description': ''}}
2025-01-09 11:33:03,100 - DEBUG - Response for create_subnet : {'subnet': {'id': '7e142de2-7d2c-441b-817c-88ee76bace02', 'name': '', 'tenant_id': '489bf9a7e29f40e096e2b37f5b20f8fd', 'network_id': 'f398976e-a7c7-4e45-8f63-5459c226f9a0', 'ip_version': 4, 'cidr': '221.16.147.64/26', 'allocation_pools': [{'start': '221.16.147.66', 'end': '221.16.147.126'}], 'gateway_ip': '221.16.147.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '221.16.147.66', 'tags': [], 'project_id': '489bf9a7e29f40e096e2b37f5b20f8fd'}}
2025-01-09 11:33:03,120 - INFO - Created VN ctest-ext_vn-51331222
2025-01-09 11:33:03,173 - DEBUG - VN ctest-ext_vn-51331222 UUID is f398976e-a7c7-4e45-8f63-5459c226f9a0
2025-01-09 11:33:03,373 - DEBUG - Services list from nova: [, , ]
2025-01-09 11:33:04,433 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2583-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2583-1)
2025-01-09 11:33:05,689 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2583-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2583-1)
2025-01-09 11:33:05,773 - INFO - Setting gateway for router 139eb812-f01f-44d8-9b24-a87ab9d24e73 to network f398976e-a7c7-4e45-8f63-5459c226f9a0
2025-01-09 11:33:05,854 - INFO - Adding interface with subnet_id f616c8ec-74a3-4b7d-8f9a-4f75f395e919, port_id None to router 139eb812-f01f-44d8-9b24-a87ab9d24e73
2025-01-09 11:33:06,262 - INFO - Waiting for VM ctest-TestRoutersBasic-32221257-74751005 to be up..
2025-01-09 11:33:06,432 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-09 11:33:11,516 - DEBUG - VM is in ACTIVE state now
2025-01-09 11:33:11,516 - INFO - VM name : ctest-TestRoutersBasic-32221257-74751005
2025-01-09 11:33:11,608 - DEBUG - VM ctest-TestRoutersBasic-32221257-74751005 ID is ea3863b3-6713-4c7c-812c-1c0bb11dc268
2025-01-09 11:33:11,636 - DEBUG - VM ctest-TestRoutersBasic-32221257-74751005 launched on Node cn-jenkins-deploy-platform-ansible-os-2583-1
2025-01-09 11:33:11,725 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/ea3863b3-6713-4c7c-812c-1c0bb11dc268
2025-01-09 11:33:12,023 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/ea3863b3-6713-4c7c-812c-1c0bb11dc268
2025-01-09 11:33:12,058 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine-interface/1516f218-c74e-43ac-a27d-ad17fea562f5
2025-01-09 11:33:15,326 - 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-01-09 11:33:15,326 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-32221257-74751005 failed!
2025-01-09 11:33:15,385 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-32221257:ctest-vn-52392150 is 158.3.132.129 and allocation pool is NOT set
2025-01-09 11:33:17,446 - 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.58 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.451 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.451/2.517/4.584/2.066 ms')
2025-01-09 11:33:17,446 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-32221257-74751005 passed
2025-01-09 11:33:17,601 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-09 11:33:17,601 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-32221257-74751005, IP 158.3.132.131, Port 22
2025-01-09 11:33:17,768 - DEBUG - VM ctest-TestRoutersBasic-32221257-74751005 is ready for SSH connections
2025-01-09 11:33:17,768 - INFO - Waiting for VM ctest-TestRoutersBasic-32221257-81119559 to be up..
2025-01-09 11:33:17,859 - DEBUG - VM is in ACTIVE state now
2025-01-09 11:33:17,859 - INFO - VM name : ctest-TestRoutersBasic-32221257-81119559
2025-01-09 11:33:17,952 - DEBUG - VM ctest-TestRoutersBasic-32221257-81119559 ID is 8e3bd6c4-397f-4e7f-8735-6f346ed38302
2025-01-09 11:33:17,953 - DEBUG - VM ctest-TestRoutersBasic-32221257-81119559 launched on Node cn-jenkins-deploy-platform-ansible-os-2583-1
2025-01-09 11:33:18,044 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/8e3bd6c4-397f-4e7f-8735-6f346ed38302
2025-01-09 11:33:18,054 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine-interface/29be37e6-dd02-4509-a580-a5afe83f4a1d
2025-01-09 11:33:19,366 - 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.00 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.806 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.806/1.901/2.996/1.095 ms')
2025-01-09 11:33:19,367 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-32221257-81119559 passed
2025-01-09 11:33:19,529 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-09 11:33:19,530 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-32221257-81119559, IP 221.16.147.67, Port 22
2025-01-09 11:33:19,699 - DEBUG - VM ctest-TestRoutersBasic-32221257-81119559 is ready for SSH connections
2025-01-09 11:33:19,699 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-09 11:33:19,699 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 221.16.147.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.34, gateway password: c0ntrail123
2025-01-09 11:33:19,699 - DEBUG - ping -s 56 -c 3 -W 1 221.16.147.67
2025-01-09 11:33:23,411 - DEBUG - PING 221.16.147.67 (221.16.147.67): 56 data bytes
64 bytes from 221.16.147.67: seq=0 ttl=62 time=6.231 ms
64 bytes from 221.16.147.67: seq=1 ttl=62 time=1.023 ms
64 bytes from 221.16.147.67: seq=2 ttl=62 time=1.532 ms
--- 221.16.147.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.023/2.928/6.231 ms
2025-01-09 11:33:23,411 - INFO - Ping to IP 221.16.147.67 from VM ctest-TestRoutersBasic-32221257-74751005 passed
2025-01-09 11:33:23,411 - INFO - Deleting interface with subnet_id f616c8ec-74a3-4b7d-8f9a-4f75f395e919, port_id None from router 139eb812-f01f-44d8-9b24-a87ab9d24e73
2025-01-09 11:33:23,713 - INFO - Deleting VM ctest-TestRoutersBasic-32221257-81119559
2025-01-09 11:33:23,791 - INFO - Deleting VM ctest-TestRoutersBasic-32221257-74751005
2025-01-09 11:33:23,900 - INFO - Deleting VN ctest-ext_vn-51331222
2025-01-09 11:33:24,015 - DEBUG - VN f398976e-a7c7-4e45-8f63-5459c226f9a0 still in use: Unable to complete operation on network f398976e-a7c7-4e45-8f63-5459c226f9a0. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-7d9ceee4-b379-488f-8159-df21816b62c2']
2025-01-09 11:33:24,015 - WARNING - Deleting VN ctest-ext_vn-51331222 failed..Will retry
2025-01-09 11:33:26,137 - DEBUG - Response for deleting network ()
2025-01-09 11:33:26,137 - INFO - Deleting VN ctest-vn-52392150
2025-01-09 11:33:26,272 - DEBUG - Response for deleting network ()
2025-01-09 11:33:26,527 - DEBUG - No XMPP flaps were noticed during the test
2025-01-09 11:33:26,527 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-01-09 11:33:26,528 - INFO - --------------------------------------------------------------------------------
2025-01-09 11:33:27,251 - INFO - Deleted project: ctest-TestRoutersBasic-32221257, ID : 489bf9a7-e29f-40e0-96e2-b37f5b20f8fd