2024-09-19 16:44:02,671 - INFO - Domain Default found not creating 2024-09-19 16:44:02,851 - INFO - Project ctest-TestBasicVMVNx-89146332 not found, creating it 2024-09-19 16:44:03,341 - INFO - Created Project:ctest-TestBasicVMVNx-89146332, ID : 375b3bcf-1a1d-42a3-927f-7506abc82272 2024-09-19 16:44:04,876 - INFO - ================================================================================ 2024-09-19 16:44:04,876 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-19 16:44:04,876 - INFO - TEST DESCRIPTION : Description: Test to validate File Transfer using scp between VMs. Files of different sizes. Test steps: 1. Creating vm's - vm1 and vm2 and a Vn - vn222 2. Transfer file from vm1 to vm2 with diferrent file sizes using scp 3. file sizes - 64,1202,2210,10000 4. verify files present in vm2 match with the size of the file sent. Pass criteria: File in vm2 should match with the transferred file size from vm1 Maintainer : ganeshahv@juniper.net 2024-09-19 16:44:05,136 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.8': '0'}} with 2024-09-19 16:44:05,136 - INFO - Initial checks done. Running the testcase now 2024-09-19 16:44:05,136 - INFO - 2024-09-19 16:44:05,695 - DEBUG - Response for create_network : {'network': {'id': '3c109b6b-8ddc-4749-ac6b-e96fe40b1dae', 'name': 'ctest-vn-92223995', 'tenant_id': '375b3bcf1a1d42a3927f7506abc82272', 'project_id': '375b3bcf1a1d42a3927f7506abc82272', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-89146332', 'ctest-vn-92223995'], 'port_security_enabled': True, 'description': ''}} 2024-09-19 16:44:05,881 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd401b474-966a-4c99-91d3-e46e317d1a9e', 'name': '', 'tenant_id': '375b3bcf1a1d42a3927f7506abc82272', 'network_id': '3c109b6b-8ddc-4749-ac6b-e96fe40b1dae', 'ip_version': 4, 'cidr': '89.42.245.128/26', 'allocation_pools': [{'start': '89.42.245.130', 'end': '89.42.245.190'}], 'gateway_ip': '89.42.245.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.42.245.130', 'tags': [], 'project_id': '375b3bcf1a1d42a3927f7506abc82272'}} 2024-09-19 16:44:05,902 - INFO - Created VN ctest-vn-92223995 2024-09-19 16:44:05,960 - DEBUG - VN ctest-vn-92223995 UUID is 3c109b6b-8ddc-4749-ac6b-e96fe40b1dae 2024-09-19 16:44:06,137 - DEBUG - Services list from nova: [, , ] 2024-09-19 16:44:07,160 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2004-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2004-1) 2024-09-19 16:44:08,295 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2004-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2004-1) 2024-09-19 16:44:08,295 - INFO - Waiting for VM ctest-TestBasicVMVNx-89146332-93570852 to be up.. 2024-09-19 16:44:08,391 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-19 16:44:13,486 - DEBUG - VM is in ACTIVE state now 2024-09-19 16:44:13,486 - INFO - VM name : ctest-TestBasicVMVNx-89146332-93570852 2024-09-19 16:44:13,571 - DEBUG - VM ctest-TestBasicVMVNx-89146332-93570852 ID is 2ed1cb19-eabb-4da5-85d9-f4f0fbef6910 2024-09-19 16:44:13,591 - DEBUG - VM ctest-TestBasicVMVNx-89146332-93570852 launched on Node cn-jenkins-deploy-platform-ansible-os-2004-1 2024-09-19 16:44:13,669 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/2ed1cb19-eabb-4da5-85d9-f4f0fbef6910 2024-09-19 16:44:13,968 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/2ed1cb19-eabb-4da5-85d9-f4f0fbef6910 2024-09-19 16:44:14,005 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/0d44c4cb-4053-4512-8cb7-09a0f8cd18cc 2024-09-19 16:44:17,265 - 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-09-19 16:44:17,265 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-89146332-93570852 failed! 2024-09-19 16:44:17,328 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-89146332:ctest-vn-92223995 is 89.42.245.129 and allocation pool is NOT set 2024-09-19 16:44:19,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=4.14 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.422 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.422/2.281/4.140/1.859 ms') 2024-09-19 16:44:19,387 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-89146332-93570852 passed 2024-09-19 16:44:19,544 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-19 16:44:19,545 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-89146332-93570852, IP 89.42.245.131, Port 22 2024-09-19 16:44:19,712 - DEBUG - VM ctest-TestBasicVMVNx-89146332-93570852 is ready for SSH connections 2024-09-19 16:44:19,712 - INFO - Waiting for VM ctest-TestBasicVMVNx-89146332-44287321 to be up.. 2024-09-19 16:44:19,786 - DEBUG - VM is in ACTIVE state now 2024-09-19 16:44:19,786 - INFO - VM name : ctest-TestBasicVMVNx-89146332-44287321 2024-09-19 16:44:19,859 - DEBUG - VM ctest-TestBasicVMVNx-89146332-44287321 ID is f482d608-0d2e-4aed-8363-6b5b5b625bd2 2024-09-19 16:44:19,859 - DEBUG - VM ctest-TestBasicVMVNx-89146332-44287321 launched on Node cn-jenkins-deploy-platform-ansible-os-2004-1 2024-09-19 16:44:19,934 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/f482d608-0d2e-4aed-8363-6b5b5b625bd2 2024-09-19 16:44:19,943 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/48d3ce63-e467-48d4-b5a1-39a36cdb2535 2024-09-19 16:44:21,196 - 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.61 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.385 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.385/1.497/2.610/1.112 ms') 2024-09-19 16:44:21,196 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-89146332-44287321 passed 2024-09-19 16:44:21,348 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-19 16:44:21,349 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-89146332-44287321, IP 89.42.245.132, Port 22 2024-09-19 16:44:21,504 - DEBUG - VM ctest-TestBasicVMVNx-89146332-44287321 is ready for SSH connections 2024-09-19 16:44:21,504 - DEBUG - FILE SIZE = 1303B 2024-09-19 16:44:21,504 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-89146332-93570852 to ctest-TestBasicVMVNx-89146332-44287321 using scp 2024-09-19 16:44:21,504 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-19 16:44:21,510 - DEBUG - Running remote_cmd, Cmd : dd bs=1303 count=1 if=/dev/zero of=testfile, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2024-09-19 16:44:21,510 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-19 16:44:23,391 - DEBUG - 1+0 records in 1+0 records out 2024-09-19 16:44:24,173 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-19 16:44:24,502 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2024-09-19 16:44:24,503 - DEBUG - ls -l testfile 2024-09-19 16:44:26,067 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 19 10:44 testfile 2024-09-19 16:44:26,067 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-89146332-44287321 2024-09-19 16:44:26,067 - INFO - Deleting VM ctest-TestBasicVMVNx-89146332-44287321 2024-09-19 16:44:26,143 - INFO - Deleting VM ctest-TestBasicVMVNx-89146332-93570852 2024-09-19 16:44:26,208 - INFO - Deleting VN ctest-vn-92223995 2024-09-19 16:44:26,246 - DEBUG - VN 3c109b6b-8ddc-4749-ac6b-e96fe40b1dae still in use: Unable to complete operation on network 3c109b6b-8ddc-4749-ac6b-e96fe40b1dae. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1c4d9311-17aa-4c1e-839e-e288bd2cb5d6'] 2024-09-19 16:44:26,246 - WARNING - Deleting VN ctest-vn-92223995 failed..Will retry 2024-09-19 16:44:28,366 - DEBUG - Response for deleting network () 2024-09-19 16:44:28,623 - DEBUG - No XMPP flaps were noticed during the test 2024-09-19 16:44:28,623 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2024-09-19 16:44:28,623 - INFO - -------------------------------------------------------------------------------- 2024-09-19 16:44:29,305 - INFO - Deleted project: ctest-TestBasicVMVNx-89146332, ID : 375b3bcf-1a1d-42a3-927f-7506abc82272