2024-12-26 02:13:28,177 - INFO - Domain Default found not creating
2024-12-26 02:13:28,346 - INFO - Project ctest-TestRoutersBasic-84615523 not found, creating it
2024-12-26 02:13:28,824 - INFO - Created Project:ctest-TestRoutersBasic-84615523, ID : 999bcc3f-9b42-458f-9cd7-6ef9de2f3c85
2024-12-26 02:13:30,393 - INFO - ================================================================================
2024-12-26 02:13:30,393 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2024-12-26 02:13:30,393 - 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-26 02:13:30,653 - DEBUG - Nothing to compare xmpp stats {'10.0.0.32': {'10.20.0.5': '0'}} with
2024-12-26 02:13:30,653 - INFO - Initial checks done. Running the testcase now
2024-12-26 02:13:30,653 - INFO -
2024-12-26 02:13:31,363 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-84615523
2024-12-26 02:13:31,458 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-84615523
2024-12-26 02:13:31,785 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-84615523', 'default']}
2024-12-26 02:13:32,085 - DEBUG - Response for create_network : {'network': {'id': '9c4816eb-7b67-4557-a114-d9e229688d82', 'name': 'ctest-vn-75104026', 'tenant_id': '999bcc3f9b42458f9cd76ef9de2f3c85', 'project_id': '999bcc3f9b42458f9cd76ef9de2f3c85', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-84615523', 'ctest-vn-75104026'], 'port_security_enabled': True, 'description': ''}}
2024-12-26 02:13:32,298 - DEBUG - Response for create_subnet : {'subnet': {'id': '981dcf36-11fd-426d-a2b3-5899a034b769', 'name': '', 'tenant_id': '999bcc3f9b42458f9cd76ef9de2f3c85', 'network_id': '9c4816eb-7b67-4557-a114-d9e229688d82', 'ip_version': 4, 'cidr': '89.49.57.0/26', 'allocation_pools': [{'start': '89.49.57.2', 'end': '89.49.57.62'}], 'gateway_ip': '89.49.57.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.49.57.2', 'tags': [], 'project_id': '999bcc3f9b42458f9cd76ef9de2f3c85'}}
2024-12-26 02:13:32,318 - INFO - Created VN ctest-vn-75104026
2024-12-26 02:13:32,369 - DEBUG - VN ctest-vn-75104026 UUID is 9c4816eb-7b67-4557-a114-d9e229688d82
2024-12-26 02:13:32,674 - DEBUG - Response for create_network : {'network': {'id': 'e47b5b45-3e3c-40a0-a172-c65bd0b87c6e', 'name': 'ctest-ext_vn-14870152', 'tenant_id': '999bcc3f9b42458f9cd76ef9de2f3c85', 'project_id': '999bcc3f9b42458f9cd76ef9de2f3c85', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-84615523', 'ctest-ext_vn-14870152'], 'port_security_enabled': True, 'description': ''}}
2024-12-26 02:13:32,841 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dd47e644-65cb-4106-b1c3-92e4f18ee3e8', 'name': '', 'tenant_id': '999bcc3f9b42458f9cd76ef9de2f3c85', 'network_id': 'e47b5b45-3e3c-40a0-a172-c65bd0b87c6e', 'ip_version': 4, 'cidr': '78.66.234.64/26', 'allocation_pools': [{'start': '78.66.234.66', 'end': '78.66.234.126'}], 'gateway_ip': '78.66.234.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '78.66.234.66', 'tags': [], 'project_id': '999bcc3f9b42458f9cd76ef9de2f3c85'}}
2024-12-26 02:13:32,863 - INFO - Created VN ctest-ext_vn-14870152
2024-12-26 02:13:32,917 - DEBUG - VN ctest-ext_vn-14870152 UUID is e47b5b45-3e3c-40a0-a172-c65bd0b87c6e
2024-12-26 02:13:33,107 - DEBUG - Services list from nova: [, , ]
2024-12-26 02:13:34,542 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2493-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2493-1)
2024-12-26 02:13:35,698 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2493-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2493-1)
2024-12-26 02:13:35,782 - INFO - Setting gateway for router 9fb9e5fd-d5ed-410e-bd2c-f14f480d1df0 to network e47b5b45-3e3c-40a0-a172-c65bd0b87c6e
2024-12-26 02:13:35,838 - INFO - Adding interface with subnet_id 981dcf36-11fd-426d-a2b3-5899a034b769, port_id None to router 9fb9e5fd-d5ed-410e-bd2c-f14f480d1df0
2024-12-26 02:13:36,192 - INFO - Waiting for VM ctest-TestRoutersBasic-84615523-71548364 to be up..
2024-12-26 02:13:36,365 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-12-26 02:13:41,462 - DEBUG - VM is in ACTIVE state now
2024-12-26 02:13:41,462 - INFO - VM name : ctest-TestRoutersBasic-84615523-71548364
2024-12-26 02:13:41,550 - DEBUG - VM ctest-TestRoutersBasic-84615523-71548364 ID is 9301fe6a-e339-4096-9533-d882a5295588
2024-12-26 02:13:41,573 - DEBUG - VM ctest-TestRoutersBasic-84615523-71548364 launched on Node cn-jenkins-deploy-platform-ansible-os-2493-1
2024-12-26 02:13:41,669 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/9301fe6a-e339-4096-9533-d882a5295588
2024-12-26 02:13:41,970 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/9301fe6a-e339-4096-9533-d882a5295588
2024-12-26 02:13:42,003 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/612ebe0d-f4b0-4d49-8d2b-91c8d0212068
2024-12-26 02:13:45,264 - 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 1003ms')
2024-12-26 02:13:45,264 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-84615523-71548364 failed!
2024-12-26 02:13:45,321 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-84615523:ctest-vn-75104026 is 89.49.57.1 and allocation pool is NOT set
2024-12-26 02:13:47,387 - 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.49 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.481 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.481/1.984/3.487/1.503 ms')
2024-12-26 02:13:47,387 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-84615523-71548364 passed
2024-12-26 02:13:47,541 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-12-26 02:13:47,542 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-84615523-71548364, IP 89.49.57.3, Port 22
2024-12-26 02:13:47,708 - DEBUG - VM ctest-TestRoutersBasic-84615523-71548364 is ready for SSH connections
2024-12-26 02:13:47,708 - INFO - Waiting for VM ctest-TestRoutersBasic-84615523-36080357 to be up..
2024-12-26 02:13:47,798 - DEBUG - VM is in ACTIVE state now
2024-12-26 02:13:47,799 - INFO - VM name : ctest-TestRoutersBasic-84615523-36080357
2024-12-26 02:13:47,882 - DEBUG - VM ctest-TestRoutersBasic-84615523-36080357 ID is dca0413e-13fe-4e26-9d0d-ad40c8aee1a0
2024-12-26 02:13:47,882 - DEBUG - VM ctest-TestRoutersBasic-84615523-36080357 launched on Node cn-jenkins-deploy-platform-ansible-os-2493-1
2024-12-26 02:13:47,963 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/dca0413e-13fe-4e26-9d0d-ad40c8aee1a0
2024-12-26 02:13:47,972 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/b920cc28-2d20-45db-af93-27f5c3e03003
2024-12-26 02:13:49,207 - 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.27 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.504 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.504/1.888/3.272/1.384 ms')
2024-12-26 02:13:49,207 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-84615523-36080357 passed
2024-12-26 02:13:49,357 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-12-26 02:13:49,357 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-84615523-36080357, IP 78.66.234.67, Port 22
2024-12-26 02:13:49,528 - DEBUG - VM ctest-TestRoutersBasic-84615523-36080357 is ready for SSH connections
2024-12-26 02:13:49,528 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-12-26 02:13:49,528 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 78.66.234.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.32, gateway password: c0ntrail123
2024-12-26 02:13:49,528 - DEBUG - ping -s 56 -c 3 -W 1 78.66.234.67
2024-12-26 02:13:53,230 - DEBUG - PING 78.66.234.67 (78.66.234.67): 56 data bytes
64 bytes from 78.66.234.67: seq=0 ttl=62 time=5.344 ms
64 bytes from 78.66.234.67: seq=1 ttl=62 time=1.123 ms
64 bytes from 78.66.234.67: seq=2 ttl=62 time=1.000 ms
--- 78.66.234.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.000/2.489/5.344 ms
2024-12-26 02:13:53,230 - INFO - Ping to IP 78.66.234.67 from VM ctest-TestRoutersBasic-84615523-71548364 passed
2024-12-26 02:13:53,231 - INFO - Deleting interface with subnet_id 981dcf36-11fd-426d-a2b3-5899a034b769, port_id None from router 9fb9e5fd-d5ed-410e-bd2c-f14f480d1df0
2024-12-26 02:13:53,435 - INFO - Deleting VM ctest-TestRoutersBasic-84615523-36080357
2024-12-26 02:13:53,518 - INFO - Deleting VM ctest-TestRoutersBasic-84615523-71548364
2024-12-26 02:13:53,609 - INFO - Deleting VN ctest-ext_vn-14870152
2024-12-26 02:13:53,723 - DEBUG - VN e47b5b45-3e3c-40a0-a172-c65bd0b87c6e still in use: Unable to complete operation on network e47b5b45-3e3c-40a0-a172-c65bd0b87c6e. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-4c426235-bbda-49de-a9cc-b5fcacbc7c47']
2024-12-26 02:13:53,723 - WARNING - Deleting VN ctest-ext_vn-14870152 failed..Will retry
2024-12-26 02:13:55,858 - DEBUG - Response for deleting network ()
2024-12-26 02:13:55,858 - INFO - Deleting VN ctest-vn-75104026
2024-12-26 02:13:55,967 - DEBUG - Response for deleting network ()
2024-12-26 02:13:56,230 - DEBUG - No XMPP flaps were noticed during the test
2024-12-26 02:13:56,231 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2024-12-26 02:13:56,231 - INFO - --------------------------------------------------------------------------------
2024-12-26 02:13:57,064 - INFO - Deleted project: ctest-TestRoutersBasic-84615523, ID : 999bcc3f-9b42-458f-9cd7-6ef9de2f3c85