2024-10-24 02:40:41,991 - INFO - Domain Default found not creating
2024-10-24 02:40:42,156 - INFO - Project ctest-TestRoutersBasic-57575891 not found, creating it
2024-10-24 02:40:42,643 - INFO - Created Project:ctest-TestRoutersBasic-57575891, ID : 015a3d09-50f0-4077-979c-60fedf582a21
2024-10-24 02:40:44,224 - INFO - ================================================================================
2024-10-24 02:40:44,224 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2024-10-24 02:40:44,224 - 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-10-24 02:40:44,483 - DEBUG - Nothing to compare xmpp stats {'10.0.0.40': {'10.20.0.20': '0'}} with
2024-10-24 02:40:44,484 - INFO - Initial checks done. Running the testcase now
2024-10-24 02:40:44,484 - INFO -
2024-10-24 02:40:45,198 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-57575891
2024-10-24 02:40:45,294 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-57575891
2024-10-24 02:40:45,613 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-57575891', 'default']}
2024-10-24 02:40:45,929 - DEBUG - Response for create_network : {'network': {'id': 'c4c52887-a7f0-401e-9ab6-75f0a1f511db', 'name': 'ctest-vn-65161470', 'tenant_id': '015a3d0950f04077979c60fedf582a21', 'project_id': '015a3d0950f04077979c60fedf582a21', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-57575891', 'ctest-vn-65161470'], 'port_security_enabled': True, 'description': ''}}
2024-10-24 02:40:46,119 - DEBUG - Response for create_subnet : {'subnet': {'id': '7881b5af-8ab5-4a41-8617-5d3e5e599c98', 'name': '', 'tenant_id': '015a3d0950f04077979c60fedf582a21', 'network_id': 'c4c52887-a7f0-401e-9ab6-75f0a1f511db', 'ip_version': 4, 'cidr': '185.173.198.128/26', 'allocation_pools': [{'start': '185.173.198.130', 'end': '185.173.198.190'}], 'gateway_ip': '185.173.198.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '185.173.198.130', 'tags': [], 'project_id': '015a3d0950f04077979c60fedf582a21'}}
2024-10-24 02:40:46,143 - INFO - Created VN ctest-vn-65161470
2024-10-24 02:40:46,194 - DEBUG - VN ctest-vn-65161470 UUID is c4c52887-a7f0-401e-9ab6-75f0a1f511db
2024-10-24 02:40:46,519 - DEBUG - Response for create_network : {'network': {'id': '54ba68d7-a2a4-4f9b-be9b-54df5ca1aac6', 'name': 'ctest-ext_vn-57605071', 'tenant_id': '015a3d0950f04077979c60fedf582a21', 'project_id': '015a3d0950f04077979c60fedf582a21', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-57575891', 'ctest-ext_vn-57605071'], 'port_security_enabled': True, 'description': ''}}
2024-10-24 02:40:46,797 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e16e7b00-b09d-4cfd-b953-f7631e2fe578', 'name': '', 'tenant_id': '015a3d0950f04077979c60fedf582a21', 'network_id': '54ba68d7-a2a4-4f9b-be9b-54df5ca1aac6', 'ip_version': 4, 'cidr': '66.129.226.0/26', 'allocation_pools': [{'start': '66.129.226.2', 'end': '66.129.226.62'}], 'gateway_ip': '66.129.226.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '66.129.226.2', 'tags': [], 'project_id': '015a3d0950f04077979c60fedf582a21'}}
2024-10-24 02:40:46,816 - INFO - Created VN ctest-ext_vn-57605071
2024-10-24 02:40:46,866 - DEBUG - VN ctest-ext_vn-57605071 UUID is 54ba68d7-a2a4-4f9b-be9b-54df5ca1aac6
2024-10-24 02:40:47,024 - DEBUG - Services list from nova: [, , ]
2024-10-24 02:40:48,113 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2136-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2136-1)
2024-10-24 02:40:49,264 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2136-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2136-1)
2024-10-24 02:40:49,461 - INFO - Setting gateway for router d9a36f11-0826-4eb2-bc6e-a8d7f33f72e0 to network 54ba68d7-a2a4-4f9b-be9b-54df5ca1aac6
2024-10-24 02:40:49,553 - INFO - Adding interface with subnet_id 7881b5af-8ab5-4a41-8617-5d3e5e599c98, port_id None to router d9a36f11-0826-4eb2-bc6e-a8d7f33f72e0
2024-10-24 02:40:50,010 - INFO - Waiting for VM ctest-TestRoutersBasic-57575891-61341554 to be up..
2024-10-24 02:40:50,192 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-10-24 02:40:55,280 - DEBUG - VM is in ACTIVE state now
2024-10-24 02:40:55,280 - INFO - VM name : ctest-TestRoutersBasic-57575891-61341554
2024-10-24 02:40:55,377 - DEBUG - VM ctest-TestRoutersBasic-57575891-61341554 ID is 027b1384-75e6-458f-9012-0380b99e8635
2024-10-24 02:40:55,399 - DEBUG - VM ctest-TestRoutersBasic-57575891-61341554 launched on Node cn-jenkins-deploy-platform-ansible-os-2136-1
2024-10-24 02:40:55,493 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/027b1384-75e6-458f-9012-0380b99e8635
2024-10-24 02:40:55,788 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/027b1384-75e6-458f-9012-0380b99e8635
2024-10-24 02:40:55,830 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine-interface/deabd9de-ffa1-436f-8004-67a3448ac587
2024-10-24 02:40:59,088 - 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')
2024-10-24 02:40:59,088 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-57575891-61341554 failed!
2024-10-24 02:40:59,142 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-57575891:ctest-vn-65161470 is 185.173.198.129 and allocation pool is NOT set
2024-10-24 02:41:01,202 - 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.57 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.444 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.444/2.007/3.571/1.563 ms')
2024-10-24 02:41:01,202 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-57575891-61341554 passed
2024-10-24 02:41:01,350 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-24 02:41:01,350 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-57575891-61341554, IP 185.173.198.131, Port 22
2024-10-24 02:41:01,505 - DEBUG - VM ctest-TestRoutersBasic-57575891-61341554 is ready for SSH connections
2024-10-24 02:41:01,505 - INFO - Waiting for VM ctest-TestRoutersBasic-57575891-27877345 to be up..
2024-10-24 02:41:01,596 - DEBUG - VM is in ACTIVE state now
2024-10-24 02:41:01,596 - INFO - VM name : ctest-TestRoutersBasic-57575891-27877345
2024-10-24 02:41:01,676 - DEBUG - VM ctest-TestRoutersBasic-57575891-27877345 ID is d499fde1-0a5b-46a0-9fd6-617cef0dcb3f
2024-10-24 02:41:01,676 - DEBUG - VM ctest-TestRoutersBasic-57575891-27877345 launched on Node cn-jenkins-deploy-platform-ansible-os-2136-1
2024-10-24 02:41:01,751 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/d499fde1-0a5b-46a0-9fd6-617cef0dcb3f
2024-10-24 02:41:01,760 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine-interface/7d4aafc4-d66e-445a-b93e-34a3666d60a0
2024-10-24 02:41:02,994 - 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.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.474 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.474/1.685/2.896/1.211 ms')
2024-10-24 02:41:02,994 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-57575891-27877345 passed
2024-10-24 02:41:03,146 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-24 02:41:03,146 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-57575891-27877345, IP 66.129.226.3, Port 22
2024-10-24 02:41:03,301 - DEBUG - VM ctest-TestRoutersBasic-57575891-27877345 is ready for SSH connections
2024-10-24 02:41:03,302 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-24 02:41:03,302 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 66.129.226.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.40, gateway password: c0ntrail123
2024-10-24 02:41:03,302 - DEBUG - ping -s 56 -c 3 -W 1 66.129.226.3
2024-10-24 02:41:06,981 - DEBUG - PING 66.129.226.3 (66.129.226.3): 56 data bytes
64 bytes from 66.129.226.3: seq=0 ttl=62 time=3.941 ms
64 bytes from 66.129.226.3: seq=1 ttl=62 time=1.143 ms
64 bytes from 66.129.226.3: seq=2 ttl=62 time=0.840 ms
--- 66.129.226.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.840/1.974/3.941 ms
2024-10-24 02:41:06,981 - INFO - Ping to IP 66.129.226.3 from VM ctest-TestRoutersBasic-57575891-61341554 passed
2024-10-24 02:41:06,982 - INFO - Deleting interface with subnet_id 7881b5af-8ab5-4a41-8617-5d3e5e599c98, port_id None from router d9a36f11-0826-4eb2-bc6e-a8d7f33f72e0
2024-10-24 02:41:07,172 - INFO - Deleting VM ctest-TestRoutersBasic-57575891-27877345
2024-10-24 02:41:07,235 - INFO - Deleting VM ctest-TestRoutersBasic-57575891-61341554
2024-10-24 02:41:07,313 - INFO - Deleting VN ctest-ext_vn-57605071
2024-10-24 02:41:07,394 - DEBUG - VN 54ba68d7-a2a4-4f9b-be9b-54df5ca1aac6 still in use: Unable to complete operation on network 54ba68d7-a2a4-4f9b-be9b-54df5ca1aac6. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-a581d9ba-f248-4dae-b835-43dad27543eb']
2024-10-24 02:41:07,394 - WARNING - Deleting VN ctest-ext_vn-57605071 failed..Will retry
2024-10-24 02:41:09,501 - DEBUG - Response for deleting network ()
2024-10-24 02:41:09,501 - INFO - Deleting VN ctest-vn-65161470
2024-10-24 02:41:09,612 - DEBUG - Response for deleting network ()
2024-10-24 02:41:09,868 - DEBUG - No XMPP flaps were noticed during the test
2024-10-24 02:41:09,869 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2024-10-24 02:41:09,869 - INFO - --------------------------------------------------------------------------------
2024-10-24 02:41:10,549 - INFO - Deleted project: ctest-TestRoutersBasic-57575891, ID : 015a3d09-50f0-4077-979c-60fedf582a21