2024-12-30 02:13:43,439 - INFO - Domain Default found not creating
2024-12-30 02:13:43,592 - INFO - Project ctest-TestRoutersBasic-37937069 not found, creating it
2024-12-30 02:13:44,040 - INFO - Created Project:ctest-TestRoutersBasic-37937069, ID : 5222520e-3b84-4749-82f8-412a24192451
2024-12-30 02:13:45,496 - INFO - ================================================================================
2024-12-30 02:13:45,496 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2024-12-30 02:13:45,496 - 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
2024-12-30 02:13:45,750 - DEBUG - Nothing to compare xmpp stats {'10.0.0.45': {'10.20.0.24': '0'}} with
2024-12-30 02:13:45,750 - INFO - Initial checks done. Running the testcase now
2024-12-30 02:13:45,750 - INFO -
2024-12-30 02:13:47,011 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-37937069
2024-12-30 02:13:47,113 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-37937069
2024-12-30 02:13:47,432 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-37937069', 'default']}
2024-12-30 02:13:47,707 - DEBUG - Response for create_network : {'network': {'id': 'b015b91b-4e72-4951-ad33-5749e5423cb5', 'name': 'ctest-vn-40127316', 'tenant_id': '5222520e3b84474982f8412a24192451', 'project_id': '5222520e3b84474982f8412a24192451', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-37937069', 'ctest-vn-40127316'], 'port_security_enabled': True, 'description': ''}}
2024-12-30 02:13:47,902 - DEBUG - Response for create_subnet : {'subnet': {'id': '895c0b7c-3a4c-4633-bb47-dbd8962ed695', 'name': '', 'tenant_id': '5222520e3b84474982f8412a24192451', 'network_id': 'b015b91b-4e72-4951-ad33-5749e5423cb5', 'ip_version': 4, 'cidr': '51.6.241.128/26', 'allocation_pools': [{'start': '51.6.241.130', 'end': '51.6.241.190'}], 'gateway_ip': '51.6.241.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '51.6.241.130', 'tags': [], 'project_id': '5222520e3b84474982f8412a24192451'}}
2024-12-30 02:13:47,919 - INFO - Created VN ctest-vn-40127316
2024-12-30 02:13:47,969 - DEBUG - VN ctest-vn-40127316 UUID is b015b91b-4e72-4951-ad33-5749e5423cb5
2024-12-30 02:13:48,316 - DEBUG - Response for create_network : {'network': {'id': 'cebdb825-5181-4420-b57c-9437636f275e', 'name': 'ctest-ext_vn-90860191', 'tenant_id': '5222520e3b84474982f8412a24192451', 'project_id': '5222520e3b84474982f8412a24192451', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-37937069', 'ctest-ext_vn-90860191'], 'port_security_enabled': True, 'description': ''}}
2024-12-30 02:13:48,471 - DEBUG - Response for create_subnet : {'subnet': {'id': '0c6f7f73-6afa-4b60-a275-1f4db110b4ab', 'name': '', 'tenant_id': '5222520e3b84474982f8412a24192451', 'network_id': 'cebdb825-5181-4420-b57c-9437636f275e', 'ip_version': 4, 'cidr': '63.65.95.0/26', 'allocation_pools': [{'start': '63.65.95.2', 'end': '63.65.95.62'}], 'gateway_ip': '63.65.95.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '63.65.95.2', 'tags': [], 'project_id': '5222520e3b84474982f8412a24192451'}}
2024-12-30 02:13:48,489 - INFO - Created VN ctest-ext_vn-90860191
2024-12-30 02:13:48,540 - DEBUG - VN ctest-ext_vn-90860191 UUID is cebdb825-5181-4420-b57c-9437636f275e
2024-12-30 02:13:48,731 - DEBUG - Services list from nova: [, , ]
2024-12-30 02:13:49,675 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2499-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2499-1)
2024-12-30 02:13:50,725 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2499-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2499-1)
2024-12-30 02:13:50,789 - INFO - Setting gateway for router dad9e3a6-bcb4-4c67-8d0d-961ca68ed68d to network cebdb825-5181-4420-b57c-9437636f275e
2024-12-30 02:13:50,861 - INFO - Adding interface with subnet_id 895c0b7c-3a4c-4633-bb47-dbd8962ed695, port_id None to router dad9e3a6-bcb4-4c67-8d0d-961ca68ed68d
2024-12-30 02:13:51,236 - INFO - Waiting for VM ctest-TestRoutersBasic-37937069-63228803 to be up..
2024-12-30 02:13:51,398 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-12-30 02:13:56,474 - DEBUG - VM is in ACTIVE state now
2024-12-30 02:13:56,474 - INFO - VM name : ctest-TestRoutersBasic-37937069-63228803
2024-12-30 02:13:56,554 - DEBUG - VM ctest-TestRoutersBasic-37937069-63228803 ID is 85c96046-9c39-4a83-be08-6649d90d8e24
2024-12-30 02:13:56,581 - DEBUG - VM ctest-TestRoutersBasic-37937069-63228803 launched on Node cn-jenkins-deploy-platform-ansible-os-2499-1
2024-12-30 02:13:56,667 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine/85c96046-9c39-4a83-be08-6649d90d8e24
2024-12-30 02:13:57,002 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine/85c96046-9c39-4a83-be08-6649d90d8e24
2024-12-30 02:13:57,036 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine-interface/01d780b4-566f-4e04-be20-862ce8eb8df9
2024-12-30 02:14:00,303 - 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 1031ms')
2024-12-30 02:14:00,304 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-37937069-63228803 failed!
2024-12-30 02:14:00,357 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-37937069:ctest-vn-40127316 is 51.6.241.129 and allocation pool is NOT set
2024-12-30 02:14:02,422 - 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.06 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.347 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.347/1.703/3.060/1.356 ms')
2024-12-30 02:14:02,422 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-37937069-63228803 passed
2024-12-30 02:14:02,568 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-12-30 02:14:02,568 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-37937069-63228803, IP 51.6.241.131, Port 22
2024-12-30 02:14:02,720 - DEBUG - VM ctest-TestRoutersBasic-37937069-63228803 is ready for SSH connections
2024-12-30 02:14:02,720 - INFO - Waiting for VM ctest-TestRoutersBasic-37937069-12474271 to be up..
2024-12-30 02:14:02,793 - DEBUG - VM is in ACTIVE state now
2024-12-30 02:14:02,794 - INFO - VM name : ctest-TestRoutersBasic-37937069-12474271
2024-12-30 02:14:02,861 - DEBUG - VM ctest-TestRoutersBasic-37937069-12474271 ID is b89dbff1-5291-475c-97a9-ad7a38626e82
2024-12-30 02:14:02,861 - DEBUG - VM ctest-TestRoutersBasic-37937069-12474271 launched on Node cn-jenkins-deploy-platform-ansible-os-2499-1
2024-12-30 02:14:02,931 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine/b89dbff1-5291-475c-97a9-ad7a38626e82
2024-12-30 02:14:02,939 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine-interface/6755cb38-8a64-4f76-9997-9a93d8f0c6e8
2024-12-30 02:14:04,178 - 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=2.94 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.369 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.369/1.656/2.944/1.287 ms')
2024-12-30 02:14:04,178 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-37937069-12474271 passed
2024-12-30 02:14:04,332 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-12-30 02:14:04,332 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-37937069-12474271, IP 63.65.95.3, Port 22
2024-12-30 02:14:04,488 - DEBUG - VM ctest-TestRoutersBasic-37937069-12474271 is ready for SSH connections
2024-12-30 02:14:04,488 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-12-30 02:14:04,488 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 63.65.95.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.45, gateway password: c0ntrail123
2024-12-30 02:14:04,488 - DEBUG - ping -s 56 -c 3 -W 1 63.65.95.3
2024-12-30 02:14:08,448 - DEBUG - PING 63.65.95.3 (63.65.95.3): 56 data bytes
64 bytes from 63.65.95.3: seq=0 ttl=62 time=7.333 ms
64 bytes from 63.65.95.3: seq=1 ttl=62 time=0.821 ms
64 bytes from 63.65.95.3: seq=2 ttl=62 time=0.870 ms
--- 63.65.95.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.821/3.008/7.333 ms
2024-12-30 02:14:08,449 - INFO - Ping to IP 63.65.95.3 from VM ctest-TestRoutersBasic-37937069-63228803 passed
2024-12-30 02:14:08,449 - INFO - Deleting interface with subnet_id 895c0b7c-3a4c-4633-bb47-dbd8962ed695, port_id None from router dad9e3a6-bcb4-4c67-8d0d-961ca68ed68d
2024-12-30 02:14:08,613 - INFO - Deleting VM ctest-TestRoutersBasic-37937069-12474271
2024-12-30 02:14:08,706 - INFO - Deleting VM ctest-TestRoutersBasic-37937069-63228803
2024-12-30 02:14:08,792 - INFO - Deleting VN ctest-ext_vn-90860191
2024-12-30 02:14:08,868 - DEBUG - VN cebdb825-5181-4420-b57c-9437636f275e still in use: Unable to complete operation on network cebdb825-5181-4420-b57c-9437636f275e. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-bdfd6ced-0830-47fe-b1f9-413ad3c13988']
2024-12-30 02:14:08,868 - WARNING - Deleting VN ctest-ext_vn-90860191 failed..Will retry
2024-12-30 02:14:10,965 - DEBUG - Response for deleting network ()
2024-12-30 02:14:10,965 - INFO - Deleting VN ctest-vn-40127316
2024-12-30 02:14:11,063 - DEBUG - Response for deleting network ()
2024-12-30 02:14:11,318 - DEBUG - No XMPP flaps were noticed during the test
2024-12-30 02:14:11,318 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2024-12-30 02:14:11,318 - INFO - --------------------------------------------------------------------------------
2024-12-30 02:14:11,964 - INFO - Deleted project: ctest-TestRoutersBasic-37937069, ID : 5222520e-3b84-4749-82f8-412a24192451