2024-08-26 23:49:10,873 - INFO - Domain Default found not creating
2024-08-26 23:49:11,034 - INFO - Project ctest-TestRoutersBasic-58187495 not found, creating it
2024-08-26 23:49:11,512 - INFO - Created Project:ctest-TestRoutersBasic-58187495, ID : cb8a3f7b-8f33-4096-8bba-2622467ea431
2024-08-26 23:49:13,078 - INFO - ================================================================================
2024-08-26 23:49:13,078 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2024-08-26 23:49:13,078 - 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-08-26 23:49:13,333 - DEBUG - Nothing to compare xmpp stats {'10.0.0.24': {'10.20.0.18': '0'}} with
2024-08-26 23:49:13,333 - INFO - Initial checks done. Running the testcase now
2024-08-26 23:49:13,333 - INFO -
2024-08-26 23:49:14,042 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-58187495
2024-08-26 23:49:14,135 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-58187495
2024-08-26 23:49:14,455 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-58187495', 'default']}
2024-08-26 23:49:14,749 - DEBUG - Response for create_network : {'network': {'id': 'fca3f813-5109-4241-bcd8-00dbc57165f9', 'name': 'ctest-vn-02720236', 'tenant_id': 'cb8a3f7b8f3340968bba2622467ea431', 'project_id': 'cb8a3f7b8f3340968bba2622467ea431', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-58187495', 'ctest-vn-02720236'], 'port_security_enabled': True, 'description': ''}}
2024-08-26 23:49:14,928 - DEBUG - Response for create_subnet : {'subnet': {'id': '182b2b46-7187-4773-a660-f06b780e1b6a', 'name': '', 'tenant_id': 'cb8a3f7b8f3340968bba2622467ea431', 'network_id': 'fca3f813-5109-4241-bcd8-00dbc57165f9', 'ip_version': 4, 'cidr': '120.40.134.128/26', 'allocation_pools': [{'start': '120.40.134.130', 'end': '120.40.134.190'}], 'gateway_ip': '120.40.134.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '120.40.134.130', 'tags': [], 'project_id': 'cb8a3f7b8f3340968bba2622467ea431'}}
2024-08-26 23:49:14,948 - INFO - Created VN ctest-vn-02720236
2024-08-26 23:49:14,999 - DEBUG - VN ctest-vn-02720236 UUID is fca3f813-5109-4241-bcd8-00dbc57165f9
2024-08-26 23:49:15,314 - DEBUG - Response for create_network : {'network': {'id': 'e9668fb6-aa6c-4ee7-969d-6b711441e003', 'name': 'ctest-ext_vn-05942576', 'tenant_id': 'cb8a3f7b8f3340968bba2622467ea431', 'project_id': 'cb8a3f7b8f3340968bba2622467ea431', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-58187495', 'ctest-ext_vn-05942576'], 'port_security_enabled': True, 'description': ''}}
2024-08-26 23:49:16,997 - DEBUG - Response for create_subnet : {'subnet': {'id': '32ebbb98-5538-4c32-a2e1-5add72d609f5', 'name': '', 'tenant_id': 'cb8a3f7b8f3340968bba2622467ea431', 'network_id': 'e9668fb6-aa6c-4ee7-969d-6b711441e003', 'ip_version': 4, 'cidr': '69.255.107.0/26', 'allocation_pools': [{'start': '69.255.107.2', 'end': '69.255.107.62'}], 'gateway_ip': '69.255.107.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '69.255.107.2', 'tags': [], 'project_id': 'cb8a3f7b8f3340968bba2622467ea431'}}
2024-08-26 23:49:17,019 - INFO - Created VN ctest-ext_vn-05942576
2024-08-26 23:49:17,071 - DEBUG - VN ctest-ext_vn-05942576 UUID is e9668fb6-aa6c-4ee7-969d-6b711441e003
2024-08-26 23:49:17,245 - DEBUG - Services list from nova: [, , ]
2024-08-26 23:49:18,280 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1781-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1781-1)
2024-08-26 23:49:19,426 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1781-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1781-1)
2024-08-26 23:49:19,496 - INFO - Setting gateway for router 4304b367-b9a2-45e7-b7d5-98dc8cced61b to network e9668fb6-aa6c-4ee7-969d-6b711441e003
2024-08-26 23:49:19,572 - INFO - Adding interface with subnet_id 182b2b46-7187-4773-a660-f06b780e1b6a, port_id None to router 4304b367-b9a2-45e7-b7d5-98dc8cced61b
2024-08-26 23:49:19,962 - INFO - Waiting for VM ctest-TestRoutersBasic-58187495-22624032 to be up..
2024-08-26 23:49:20,169 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-08-26 23:49:25,280 - DEBUG - VM is in ACTIVE state now
2024-08-26 23:49:25,280 - INFO - VM name : ctest-TestRoutersBasic-58187495-22624032
2024-08-26 23:49:25,387 - DEBUG - VM ctest-TestRoutersBasic-58187495-22624032 ID is 97849dd1-27de-45e4-b8c4-a92fa964a3e2
2024-08-26 23:49:25,411 - DEBUG - VM ctest-TestRoutersBasic-58187495-22624032 launched on Node cn-jenkins-deploy-platform-ansible-os-1781-1
2024-08-26 23:49:25,504 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/97849dd1-27de-45e4-b8c4-a92fa964a3e2
2024-08-26 23:49:25,812 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/97849dd1-27de-45e4-b8c4-a92fa964a3e2
2024-08-26 23:49:25,850 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/abac5475-e109-4839-8124-41869ef2541c
2024-08-26 23:49:29,100 - 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 1006ms')
2024-08-26 23:49:29,101 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-58187495-22624032 failed!
2024-08-26 23:49:29,155 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-58187495:ctest-vn-02720236 is 120.40.134.129 and allocation pool is NOT set
2024-08-26 23:49:31,223 - 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=2.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.419 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.419/1.591/2.764/1.172 ms')
2024-08-26 23:49:31,223 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-58187495-22624032 passed
2024-08-26 23:49:31,371 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-08-26 23:49:31,371 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-58187495-22624032, IP 120.40.134.131, Port 22
2024-08-26 23:49:31,534 - DEBUG - VM ctest-TestRoutersBasic-58187495-22624032 is ready for SSH connections
2024-08-26 23:49:31,534 - INFO - Waiting for VM ctest-TestRoutersBasic-58187495-72316059 to be up..
2024-08-26 23:49:31,617 - DEBUG - VM is in ACTIVE state now
2024-08-26 23:49:31,617 - INFO - VM name : ctest-TestRoutersBasic-58187495-72316059
2024-08-26 23:49:31,697 - DEBUG - VM ctest-TestRoutersBasic-58187495-72316059 ID is ab773e55-43df-42a6-a235-aea6a90872ab
2024-08-26 23:49:31,697 - DEBUG - VM ctest-TestRoutersBasic-58187495-72316059 launched on Node cn-jenkins-deploy-platform-ansible-os-1781-1
2024-08-26 23:49:31,794 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/ab773e55-43df-42a6-a235-aea6a90872ab
2024-08-26 23:49:31,803 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/bbc5db06-9c7c-462f-bca4-f0ba83c00718
2024-08-26 23:49:33,046 - 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=4.25 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.666 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.666/2.458/4.251/1.792 ms')
2024-08-26 23:49:33,047 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-58187495-72316059 passed
2024-08-26 23:49:33,199 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-08-26 23:49:33,199 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-58187495-72316059, IP 69.255.107.3, Port 22
2024-08-26 23:49:33,371 - DEBUG - VM ctest-TestRoutersBasic-58187495-72316059 is ready for SSH connections
2024-08-26 23:49:33,371 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-08-26 23:49:33,371 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 69.255.107.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.24, gateway password: c0ntrail123
2024-08-26 23:49:33,371 - DEBUG - ping -s 56 -c 3 -W 1 69.255.107.3
2024-08-26 23:49:37,053 - DEBUG - PING 69.255.107.3 (69.255.107.3): 56 data bytes
64 bytes from 69.255.107.3: seq=0 ttl=62 time=5.932 ms
64 bytes from 69.255.107.3: seq=1 ttl=62 time=0.937 ms
64 bytes from 69.255.107.3: seq=2 ttl=62 time=0.935 ms
--- 69.255.107.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.935/2.601/5.932 ms
2024-08-26 23:49:37,053 - INFO - Ping to IP 69.255.107.3 from VM ctest-TestRoutersBasic-58187495-22624032 passed
2024-08-26 23:49:37,054 - INFO - Deleting interface with subnet_id 182b2b46-7187-4773-a660-f06b780e1b6a, port_id None from router 4304b367-b9a2-45e7-b7d5-98dc8cced61b
2024-08-26 23:49:37,288 - INFO - Deleting VM ctest-TestRoutersBasic-58187495-72316059
2024-08-26 23:49:37,355 - INFO - Deleting VM ctest-TestRoutersBasic-58187495-22624032
2024-08-26 23:49:38,837 - INFO - Deleting VN ctest-ext_vn-05942576
2024-08-26 23:49:38,913 - DEBUG - VN e9668fb6-aa6c-4ee7-969d-6b711441e003 still in use: Unable to complete operation on network e9668fb6-aa6c-4ee7-969d-6b711441e003. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-3c450ffd-0bd8-41ba-883e-d2761ab17d63']
2024-08-26 23:49:38,913 - WARNING - Deleting VN ctest-ext_vn-05942576 failed..Will retry
2024-08-26 23:49:41,018 - DEBUG - Response for deleting network ()
2024-08-26 23:49:41,018 - INFO - Deleting VN ctest-vn-02720236
2024-08-26 23:49:41,121 - DEBUG - Response for deleting network ()
2024-08-26 23:49:41,377 - DEBUG - No XMPP flaps were noticed during the test
2024-08-26 23:49:41,377 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:28]
2024-08-26 23:49:41,377 - INFO - --------------------------------------------------------------------------------
2024-08-26 23:49:42,042 - INFO - Deleted project: ctest-TestRoutersBasic-58187495, ID : cb8a3f7b-8f33-4096-8bba-2622467ea431