2024-09-17 16:31:07,845 - INFO - Domain Default found not creating 2024-09-17 16:31:08,043 - INFO - Project ctest-TestBasicVMVNx-86192499 not found, creating it 2024-09-17 16:31:08,579 - INFO - Created Project:ctest-TestBasicVMVNx-86192499, ID : 8ecfde70-dc88-4caa-9abc-f94870d54793 2024-09-17 16:31:10,269 - INFO - ================================================================================ 2024-09-17 16:31:10,269 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-17 16:31:10,269 - 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-17 16:31:10,528 - DEBUG - Nothing to compare xmpp stats {'10.0.0.59': {'10.20.0.24': '0'}} with 2024-09-17 16:31:10,528 - INFO - Initial checks done. Running the testcase now 2024-09-17 16:31:10,528 - INFO - 2024-09-17 16:31:11,191 - DEBUG - Response for create_network : {'network': {'id': '50cf87df-b2a3-4601-87af-11b7713f08d2', 'name': 'ctest-vn-69578770', 'tenant_id': '8ecfde70dc884caa9abcf94870d54793', 'project_id': '8ecfde70dc884caa9abcf94870d54793', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-86192499', 'ctest-vn-69578770'], 'port_security_enabled': True, 'description': ''}} 2024-09-17 16:31:11,405 - DEBUG - Response for create_subnet : {'subnet': {'id': '4928c4d8-cbe8-4621-bd28-3831193b4cbe', 'name': '', 'tenant_id': '8ecfde70dc884caa9abcf94870d54793', 'network_id': '50cf87df-b2a3-4601-87af-11b7713f08d2', 'ip_version': 4, 'cidr': '177.54.148.192/26', 'allocation_pools': [{'start': '177.54.148.194', 'end': '177.54.148.254'}], 'gateway_ip': '177.54.148.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '177.54.148.194', 'tags': [], 'project_id': '8ecfde70dc884caa9abcf94870d54793'}} 2024-09-17 16:31:11,425 - INFO - Created VN ctest-vn-69578770 2024-09-17 16:31:11,482 - DEBUG - VN ctest-vn-69578770 UUID is 50cf87df-b2a3-4601-87af-11b7713f08d2 2024-09-17 16:31:11,688 - DEBUG - Services list from nova: [, , ] 2024-09-17 16:31:12,896 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1965-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1965-1) 2024-09-17 16:31:14,284 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1965-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1965-1) 2024-09-17 16:31:14,284 - INFO - Waiting for VM ctest-TestBasicVMVNx-86192499-52314831 to be up.. 2024-09-17 16:31:14,416 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-17 16:31:19,506 - DEBUG - VM is in ACTIVE state now 2024-09-17 16:31:19,506 - INFO - VM name : ctest-TestBasicVMVNx-86192499-52314831 2024-09-17 16:31:19,588 - DEBUG - VM ctest-TestBasicVMVNx-86192499-52314831 ID is dfa09ff8-a53d-4338-a087-8d9b420331f0 2024-09-17 16:31:19,610 - DEBUG - VM ctest-TestBasicVMVNx-86192499-52314831 launched on Node cn-jenkins-deploy-platform-ansible-os-1965-1 2024-09-17 16:31:19,698 - DEBUG - Requesting: http://10.0.0.59:8082/virtual-machine/dfa09ff8-a53d-4338-a087-8d9b420331f0 2024-09-17 16:31:20,045 - DEBUG - Requesting: http://10.0.0.59:8082/virtual-machine/dfa09ff8-a53d-4338-a087-8d9b420331f0 2024-09-17 16:31:20,086 - DEBUG - Requesting: http://10.0.0.59:8082/virtual-machine-interface/889e3b6d-915c-4ef5-a33f-301578cb6a6a 2024-09-17 16:31:23,354 - 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 1005ms') 2024-09-17 16:31:23,354 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-86192499-52314831 failed! 2024-09-17 16:31:23,422 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-86192499:ctest-vn-69578770 is 177.54.148.193 and allocation pool is NOT set 2024-09-17 16:31:25,484 - 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=5.91 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.13 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 = 2.126/4.016/5.906/1.890 ms') 2024-09-17 16:31:25,484 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-86192499-52314831 passed 2024-09-17 16:31:25,646 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 16:31:25,646 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-86192499-52314831, IP 177.54.148.195, Port 22 2024-09-17 16:31:25,812 - DEBUG - VM ctest-TestBasicVMVNx-86192499-52314831 is ready for SSH connections 2024-09-17 16:31:25,812 - INFO - Waiting for VM ctest-TestBasicVMVNx-86192499-87644837 to be up.. 2024-09-17 16:31:25,904 - DEBUG - VM is in ACTIVE state now 2024-09-17 16:31:25,905 - INFO - VM name : ctest-TestBasicVMVNx-86192499-87644837 2024-09-17 16:31:25,995 - DEBUG - VM ctest-TestBasicVMVNx-86192499-87644837 ID is 01683ea3-f89f-4ac9-8eff-801da02c501a 2024-09-17 16:31:25,995 - DEBUG - VM ctest-TestBasicVMVNx-86192499-87644837 launched on Node cn-jenkins-deploy-platform-ansible-os-1965-1 2024-09-17 16:31:26,097 - DEBUG - Requesting: http://10.0.0.59:8082/virtual-machine/01683ea3-f89f-4ac9-8eff-801da02c501a 2024-09-17 16:31:26,111 - DEBUG - Requesting: http://10.0.0.59:8082/virtual-machine-interface/d3dbfbfe-72e5-427d-9111-1f3aefccb4d1 2024-09-17 16:31:27,369 - 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.36 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.394 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.394/2.375/4.357/1.981 ms') 2024-09-17 16:31:27,369 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-86192499-87644837 passed 2024-09-17 16:31:27,530 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 16:31:27,530 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-86192499-87644837, IP 177.54.148.196, Port 22 2024-09-17 16:31:27,696 - DEBUG - VM ctest-TestBasicVMVNx-86192499-87644837 is ready for SSH connections 2024-09-17 16:31:27,697 - DEBUG - FILE SIZE = 1303B 2024-09-17 16:31:27,697 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-86192499-52314831 to ctest-TestBasicVMVNx-86192499-87644837 using scp 2024-09-17 16:31:27,697 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 16:31:27,704 - 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.59, gateway password: c0ntrail123 2024-09-17 16:31:27,704 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-17 16:31:29,707 - DEBUG - 1+0 records in 1+0 records out 2024-09-17 16:31:30,379 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 16:31:30,732 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.59, gateway password: c0ntrail123 2024-09-17 16:31:30,733 - DEBUG - ls -l testfile 2024-09-17 16:31:32,384 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 17 10:31 testfile 2024-09-17 16:31:32,384 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-86192499-87644837 2024-09-17 16:31:32,384 - INFO - Deleting VM ctest-TestBasicVMVNx-86192499-87644837 2024-09-17 16:31:32,568 - INFO - Deleting VM ctest-TestBasicVMVNx-86192499-52314831 2024-09-17 16:31:32,638 - INFO - Deleting VN ctest-vn-69578770 2024-09-17 16:31:32,679 - DEBUG - VN 50cf87df-b2a3-4601-87af-11b7713f08d2 still in use: Unable to complete operation on network 50cf87df-b2a3-4601-87af-11b7713f08d2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c0d1f0f9-4d95-48d8-9846-f9c60b69ece4'] 2024-09-17 16:31:32,679 - WARNING - Deleting VN ctest-vn-69578770 failed..Will retry 2024-09-17 16:31:34,800 - DEBUG - Response for deleting network () 2024-09-17 16:31:35,056 - DEBUG - No XMPP flaps were noticed during the test
2024-09-17 16:31:35,056 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25]
2024-09-17 16:31:35,056 - INFO - -------------------------------------------------------------------------------- 2024-09-17 16:31:35,832 - INFO - Deleted project: ctest-TestBasicVMVNx-86192499, ID : 8ecfde70-dc88-4caa-9abc-f94870d54793