2024-09-12 12:31:44,552 - INFO - Domain Default found not creating 2024-09-12 12:31:44,716 - INFO - Project ctest-TestBasicVMVNx-73725121 not found, creating it 2024-09-12 12:31:45,230 - INFO - Created Project:ctest-TestBasicVMVNx-73725121, ID : da241a31-63b3-4f43-9ce9-a80b763cffb5 2024-09-12 12:31:46,733 - INFO - ================================================================================ 2024-09-12 12:31:46,733 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-12 12:31:46,733 - 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-12 12:31:46,990 - DEBUG - Nothing to compare xmpp stats {'10.0.0.29': {'10.20.0.12': '0'}} with 2024-09-12 12:31:46,990 - INFO - Initial checks done. Running the testcase now 2024-09-12 12:31:46,990 - INFO - 2024-09-12 12:31:47,575 - DEBUG - Response for create_network : {'network': {'id': '7bd7f336-247a-407a-9d01-db74f089dd7c', 'name': 'ctest-vn-58561573', 'tenant_id': 'da241a3163b34f439ce9a80b763cffb5', 'project_id': 'da241a3163b34f439ce9a80b763cffb5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-73725121', 'ctest-vn-58561573'], 'port_security_enabled': True, 'description': ''}} 2024-09-12 12:31:47,729 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f757a0dc-b942-41ae-aeaa-76e2be2fc587', 'name': '', 'tenant_id': 'da241a3163b34f439ce9a80b763cffb5', 'network_id': '7bd7f336-247a-407a-9d01-db74f089dd7c', 'ip_version': 4, 'cidr': '123.160.124.0/26', 'allocation_pools': [{'start': '123.160.124.2', 'end': '123.160.124.62'}], 'gateway_ip': '123.160.124.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.160.124.2', 'tags': [], 'project_id': 'da241a3163b34f439ce9a80b763cffb5'}} 2024-09-12 12:31:47,747 - INFO - Created VN ctest-vn-58561573 2024-09-12 12:31:47,805 - DEBUG - VN ctest-vn-58561573 UUID is 7bd7f336-247a-407a-9d01-db74f089dd7c 2024-09-12 12:31:47,969 - DEBUG - Services list from nova: [, , ] 2024-09-12 12:31:48,969 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1907-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1907-1) 2024-09-12 12:31:50,115 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1907-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1907-1) 2024-09-12 12:31:50,115 - INFO - Waiting for VM ctest-TestBasicVMVNx-73725121-91384296 to be up.. 2024-09-12 12:31:50,213 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-12 12:31:55,300 - DEBUG - VM is in ACTIVE state now 2024-09-12 12:31:55,300 - INFO - VM name : ctest-TestBasicVMVNx-73725121-91384296 2024-09-12 12:31:55,388 - DEBUG - VM ctest-TestBasicVMVNx-73725121-91384296 ID is 4c57e47a-0958-46b5-aaaf-139f8978d2ba 2024-09-12 12:31:55,412 - DEBUG - VM ctest-TestBasicVMVNx-73725121-91384296 launched on Node cn-jenkins-deploy-platform-ansible-os-1907-1 2024-09-12 12:31:55,508 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/4c57e47a-0958-46b5-aaaf-139f8978d2ba 2024-09-12 12:31:55,805 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/4c57e47a-0958-46b5-aaaf-139f8978d2ba 2024-09-12 12:31:55,848 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/36e766dc-37c3-45cc-9d5b-3cc95e60bda8 2024-09-12 12:31:59,115 - 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-12 12:31:59,115 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-73725121-91384296 failed! 2024-09-12 12:31:59,177 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-73725121:ctest-vn-58561573 is 123.160.124.1 and allocation pool is NOT set 2024-09-12 12:32:01,245 - 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.79 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.603 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.603/2.197/3.792/1.594 ms') 2024-09-12 12:32:01,245 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-73725121-91384296 passed 2024-09-12 12:32:01,405 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 12:32:01,405 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-73725121-91384296, IP 123.160.124.3, Port 22 2024-09-12 12:32:01,561 - DEBUG - VM ctest-TestBasicVMVNx-73725121-91384296 is ready for SSH connections 2024-09-12 12:32:01,561 - INFO - Waiting for VM ctest-TestBasicVMVNx-73725121-24943482 to be up.. 2024-09-12 12:32:01,643 - DEBUG - VM is in ACTIVE state now 2024-09-12 12:32:01,643 - INFO - VM name : ctest-TestBasicVMVNx-73725121-24943482 2024-09-12 12:32:01,727 - DEBUG - VM ctest-TestBasicVMVNx-73725121-24943482 ID is 379ad708-21ae-4aa3-8e8e-e6b3636381b1 2024-09-12 12:32:01,727 - DEBUG - VM ctest-TestBasicVMVNx-73725121-24943482 launched on Node cn-jenkins-deploy-platform-ansible-os-1907-1 2024-09-12 12:32:01,811 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/379ad708-21ae-4aa3-8e8e-e6b3636381b1 2024-09-12 12:32:01,821 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/15d4b418-b78b-4584-b283-d99ae5f7f6ba 2024-09-12 12:32:03,075 - 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.20 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.368 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.368/1.782/3.196/1.414 ms') 2024-09-12 12:32:03,075 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-73725121-24943482 passed 2024-09-12 12:32:03,233 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 12:32:03,233 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-73725121-24943482, IP 123.160.124.4, Port 22 2024-09-12 12:32:03,388 - DEBUG - VM ctest-TestBasicVMVNx-73725121-24943482 is ready for SSH connections 2024-09-12 12:32:03,389 - DEBUG - FILE SIZE = 1303B 2024-09-12 12:32:03,389 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-73725121-91384296 to ctest-TestBasicVMVNx-73725121-24943482 using scp 2024-09-12 12:32:03,389 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 12:32:03,395 - 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.29, gateway password: c0ntrail123 2024-09-12 12:32:03,395 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-12 12:32:05,355 - DEBUG - 1+0 records in 1+0 records out 2024-09-12 12:32:05,930 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 12:32:06,259 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123 2024-09-12 12:32:06,259 - DEBUG - ls -l testfile 2024-09-12 12:32:07,828 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 12 06:32 testfile 2024-09-12 12:32:07,828 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-73725121-24943482 2024-09-12 12:32:07,828 - INFO - Deleting VM ctest-TestBasicVMVNx-73725121-24943482 2024-09-12 12:32:07,899 - INFO - Deleting VM ctest-TestBasicVMVNx-73725121-91384296 2024-09-12 12:32:07,966 - INFO - Deleting VN ctest-vn-58561573 2024-09-12 12:32:08,004 - DEBUG - VN 7bd7f336-247a-407a-9d01-db74f089dd7c still in use: Unable to complete operation on network 7bd7f336-247a-407a-9d01-db74f089dd7c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cc2cd7d6-5c54-43ba-8467-141d5e76d62b'] 2024-09-12 12:32:08,004 - WARNING - Deleting VN ctest-vn-58561573 failed..Will retry 2024-09-12 12:32:10,117 - DEBUG - Response for deleting network () 2024-09-12 12:32:10,371 - DEBUG - No XMPP flaps were noticed during the test 2024-09-12 12:32:10,371 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2024-09-12 12:32:10,371 - INFO - -------------------------------------------------------------------------------- 2024-09-12 12:32:11,094 - INFO - Deleted project: ctest-TestBasicVMVNx-73725121, ID : da241a31-63b3-4f43-9ce9-a80b763cffb5