2024-08-24 02:28:55,883 - INFO - Domain Default found not creating 2024-08-24 02:28:56,135 - INFO - Project ctest-TestRoutersBasic-88260106 not found, creating it 2024-08-24 02:28:59,839 - INFO - Created Project:ctest-TestRoutersBasic-88260106, ID : 1b2c4251-1ca6-4adf-a382-96a77549bee5 2024-08-24 02:29:08,830 - INFO - ================================================================================ 2024-08-24 02:29:08,830 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2024-08-24 02:29:08,830 - 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-24 02:29:09,091 - DEBUG - Nothing to compare xmpp stats {'10.0.0.52': {'10.20.0.6': '0'}} with 2024-08-24 02:29:09,091 - INFO - Initial checks done. Running the testcase now 2024-08-24 02:29:09,092 - INFO - 2024-08-24 02:29:09,867 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-88260106 2024-08-24 02:29:09,962 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-88260106 2024-08-24 02:29:10,281 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88260106', 'default']} 2024-08-24 02:29:13,282 - DEBUG - Response for create_network : {'network': {'id': 'd17aa198-848a-49ca-8e5f-86b220ce33e9', 'name': 'ctest-vn-34444783', 'tenant_id': '1b2c42511ca64adfa38296a77549bee5', 'project_id': '1b2c42511ca64adfa38296a77549bee5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88260106', 'ctest-vn-34444783'], 'port_security_enabled': True, 'description': ''}} 2024-08-24 02:29:13,472 - DEBUG - Response for create_subnet : {'subnet': {'id': '7ff13bc0-12f0-44b1-ab7c-8d779cff84cf', 'name': '', 'tenant_id': '1b2c42511ca64adfa38296a77549bee5', 'network_id': 'd17aa198-848a-49ca-8e5f-86b220ce33e9', 'ip_version': 4, 'cidr': '32.129.222.64/26', 'allocation_pools': [{'start': '32.129.222.66', 'end': '32.129.222.126'}], 'gateway_ip': '32.129.222.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.129.222.66', 'tags': [], 'project_id': '1b2c42511ca64adfa38296a77549bee5'}} 2024-08-24 02:29:13,493 - INFO - Created VN ctest-vn-34444783 2024-08-24 02:29:13,545 - DEBUG - VN ctest-vn-34444783 UUID is d17aa198-848a-49ca-8e5f-86b220ce33e9 2024-08-24 02:29:13,841 - DEBUG - Response for create_network : {'network': {'id': '117d0529-915e-41f0-8a24-b4cd5697097a', 'name': 'ctest-ext_vn-15613644', 'tenant_id': '1b2c42511ca64adfa38296a77549bee5', 'project_id': '1b2c42511ca64adfa38296a77549bee5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88260106', 'ctest-ext_vn-15613644'], 'port_security_enabled': True, 'description': ''}} 2024-08-24 02:29:14,010 - DEBUG - Response for create_subnet : {'subnet': {'id': '75a24c57-a22c-452f-a16b-3b0f28832a98', 'name': '', 'tenant_id': '1b2c42511ca64adfa38296a77549bee5', 'network_id': '117d0529-915e-41f0-8a24-b4cd5697097a', 'ip_version': 4, 'cidr': '35.179.255.0/26', 'allocation_pools': [{'start': '35.179.255.2', 'end': '35.179.255.62'}], 'gateway_ip': '35.179.255.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.179.255.2', 'tags': [], 'project_id': '1b2c42511ca64adfa38296a77549bee5'}} 2024-08-24 02:29:14,029 - INFO - Created VN ctest-ext_vn-15613644 2024-08-24 02:29:14,081 - DEBUG - VN ctest-ext_vn-15613644 UUID is 117d0529-915e-41f0-8a24-b4cd5697097a 2024-08-24 02:29:14,252 - DEBUG - Services list from nova: [, , ] 2024-08-24 02:29:17,466 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1738-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1738-1) 2024-08-24 02:29:18,564 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1738-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1738-1) 2024-08-24 02:29:21,069 - INFO - Setting gateway for router ea35fa35-553b-4f8c-9eaf-ede65bf1c507 to network 117d0529-915e-41f0-8a24-b4cd5697097a 2024-08-24 02:29:21,163 - INFO - Adding interface with subnet_id 7ff13bc0-12f0-44b1-ab7c-8d779cff84cf, port_id None to router ea35fa35-553b-4f8c-9eaf-ede65bf1c507 2024-08-24 02:29:21,392 - INFO - Waiting for VM ctest-TestRoutersBasic-88260106-59332490 to be up.. 2024-08-24 02:29:21,475 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-24 02:29:26,588 - DEBUG - VM is in ACTIVE state now 2024-08-24 02:29:26,589 - INFO - VM name : ctest-TestRoutersBasic-88260106-59332490 2024-08-24 02:29:26,681 - DEBUG - VM ctest-TestRoutersBasic-88260106-59332490 ID is 610e9035-f3e9-4780-90ca-07bfbc549bb6 2024-08-24 02:29:26,708 - DEBUG - VM ctest-TestRoutersBasic-88260106-59332490 launched on Node cn-jenkins-deploy-platform-ansible-os-1738-1 2024-08-24 02:29:26,797 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine/610e9035-f3e9-4780-90ca-07bfbc549bb6 2024-08-24 02:29:27,146 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine/610e9035-f3e9-4780-90ca-07bfbc549bb6 2024-08-24 02:29:27,194 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine-interface/cf21c823-d4fa-4e7d-bdc2-8027dfd372cd 2024-08-24 02:29:30,463 - 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 1014ms') 2024-08-24 02:29:30,464 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-88260106-59332490 failed! 2024-08-24 02:29:30,521 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-88260106:ctest-vn-34444783 is 32.129.222.65 and allocation pool is NOT set 2024-08-24 02:29:32,580 - 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.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.385 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.385/1.657/2.929/1.272 ms') 2024-08-24 02:29:32,580 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-88260106-59332490 passed 2024-08-24 02:29:32,729 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-24 02:29:32,730 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-88260106-59332490, IP 32.129.222.67, Port 22 2024-08-24 02:29:32,881 - DEBUG - VM ctest-TestRoutersBasic-88260106-59332490 is ready for SSH connections 2024-08-24 02:29:32,881 - INFO - Waiting for VM ctest-TestRoutersBasic-88260106-73136941 to be up.. 2024-08-24 02:29:32,953 - DEBUG - VM is in ACTIVE state now 2024-08-24 02:29:32,954 - INFO - VM name : ctest-TestRoutersBasic-88260106-73136941 2024-08-24 02:29:33,022 - DEBUG - VM ctest-TestRoutersBasic-88260106-73136941 ID is 2428181d-7958-4d81-9b10-b69b2c0811de 2024-08-24 02:29:33,022 - DEBUG - VM ctest-TestRoutersBasic-88260106-73136941 launched on Node cn-jenkins-deploy-platform-ansible-os-1738-1 2024-08-24 02:29:33,094 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine/2428181d-7958-4d81-9b10-b69b2c0811de 2024-08-24 02:29:33,102 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine-interface/5ee15373-6aab-4200-a29c-2e24fa9bd036 2024-08-24 02:29:36,346 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1016ms') 2024-08-24 02:29:36,346 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-88260106-73136941 failed! 2024-08-24 02:29:36,401 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-88260106:ctest-ext_vn-15613644 is 35.179.255.1 and allocation pool is NOT set 2024-08-24 02:29:38,465 - 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=9.02 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.347 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.347/4.685/9.023/4.338 ms') 2024-08-24 02:29:38,466 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-88260106-73136941 passed 2024-08-24 02:29:38,614 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-24 02:29:38,614 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-88260106-73136941, IP 35.179.255.3, Port 22 2024-08-24 02:29:38,765 - DEBUG - VM ctest-TestRoutersBasic-88260106-73136941 is ready for SSH connections 2024-08-24 02:29:38,765 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-24 02:29:38,765 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.179.255.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.52, gateway password: c0ntrail123 2024-08-24 02:29:38,765 - DEBUG - ping -s 56 -c 3 -W 1 35.179.255.3 2024-08-24 02:29:42,712 - DEBUG - PING 35.179.255.3 (35.179.255.3): 56 data bytes 64 bytes from 35.179.255.3: seq=0 ttl=62 time=7.413 ms 64 bytes from 35.179.255.3: seq=1 ttl=62 time=0.772 ms 64 bytes from 35.179.255.3: seq=2 ttl=62 time=0.753 ms --- 35.179.255.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.753/2.979/7.413 ms 2024-08-24 02:29:42,712 - INFO - Ping to IP 35.179.255.3 from VM ctest-TestRoutersBasic-88260106-59332490 passed 2024-08-24 02:29:42,712 - INFO - Deleting interface with subnet_id 7ff13bc0-12f0-44b1-ab7c-8d779cff84cf, port_id None from router ea35fa35-553b-4f8c-9eaf-ede65bf1c507 2024-08-24 02:29:42,882 - INFO - Deleting VM ctest-TestRoutersBasic-88260106-73136941 2024-08-24 02:29:42,944 - INFO - Deleting VM ctest-TestRoutersBasic-88260106-59332490 2024-08-24 02:29:43,004 - INFO - Deleting VN ctest-ext_vn-15613644 2024-08-24 02:29:43,064 - DEBUG - VN 117d0529-915e-41f0-8a24-b4cd5697097a still in use: Unable to complete operation on network 117d0529-915e-41f0-8a24-b4cd5697097a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3cb46999-7813-4d08-9915-f3da92020a14'] 2024-08-24 02:29:43,064 - WARNING - Deleting VN ctest-ext_vn-15613644 failed..Will retry 2024-08-24 02:29:45,099 - DEBUG - VN 117d0529-915e-41f0-8a24-b4cd5697097a still in use: Unable to complete operation on network 117d0529-915e-41f0-8a24-b4cd5697097a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5bf91172-fa82-447e-9799-8c1a7b071e53'] 2024-08-24 02:29:45,099 - WARNING - Deleting VN ctest-ext_vn-15613644 failed..Will retry 2024-08-24 02:29:47,133 - DEBUG - VN 117d0529-915e-41f0-8a24-b4cd5697097a still in use: Unable to complete operation on network 117d0529-915e-41f0-8a24-b4cd5697097a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e5f62332-04b4-4e2f-b37e-555e7d18a5a2'] 2024-08-24 02:29:47,133 - WARNING - Deleting VN ctest-ext_vn-15613644 failed..Will retry 2024-08-24 02:29:49,646 - DEBUG - VN 117d0529-915e-41f0-8a24-b4cd5697097a still in use: Unable to complete operation on network 117d0529-915e-41f0-8a24-b4cd5697097a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-abefe20f-2137-47bb-b9c1-010420c4f54c'] 2024-08-24 02:29:49,646 - WARNING - Deleting VN ctest-ext_vn-15613644 failed..Will retry 2024-08-24 02:29:52,975 - DEBUG - Response for deleting network () 2024-08-24 02:29:52,975 - INFO - Deleting VN ctest-vn-34444783 2024-08-24 02:29:53,096 - DEBUG - Response for deleting network () 2024-08-24 02:29:53,351 - DEBUG - No XMPP flaps were noticed during the test
2024-08-24 02:29:53,351 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:45]
2024-08-24 02:29:53,351 - INFO - -------------------------------------------------------------------------------- 2024-08-24 02:29:53,995 - INFO - Deleted project: ctest-TestRoutersBasic-88260106, ID : 1b2c4251-1ca6-4adf-a382-96a77549bee5