2024-11-09 12:02:23,434 - INFO - Domain Default found not creating 2024-11-09 12:02:23,642 - INFO - Project ctest-TestBasicVMVNx-32092994 not found, creating it 2024-11-09 12:02:24,155 - INFO - Created Project:ctest-TestBasicVMVNx-32092994, ID : 9777e666-8f53-4643-86a1-87e38ea1514a 2024-11-09 12:02:25,770 - INFO - ================================================================================ 2024-11-09 12:02:25,770 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-11-09 12:02:25,770 - 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-11-09 12:02:26,031 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.7': '0'}} with 2024-11-09 12:02:26,031 - INFO - Initial checks done. Running the testcase now 2024-11-09 12:02:26,031 - INFO - 2024-11-09 12:02:26,704 - DEBUG - Response for create_network : {'network': {'id': '615aa19a-885d-4833-a1bd-efc2c2bdde27', 'name': 'ctest-vn-84514411', 'tenant_id': '9777e6668f53464386a187e38ea1514a', 'project_id': '9777e6668f53464386a187e38ea1514a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-32092994', 'ctest-vn-84514411'], 'port_security_enabled': True, 'description': ''}} 2024-11-09 12:02:26,977 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e3592cae-2853-4307-bb42-87c6b2b58cc1', 'name': '', 'tenant_id': '9777e6668f53464386a187e38ea1514a', 'network_id': '615aa19a-885d-4833-a1bd-efc2c2bdde27', 'ip_version': 4, 'cidr': '41.14.128.0/26', 'allocation_pools': [{'start': '41.14.128.2', 'end': '41.14.128.62'}], 'gateway_ip': '41.14.128.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '41.14.128.2', 'tags': [], 'project_id': '9777e6668f53464386a187e38ea1514a'}} 2024-11-09 12:02:27,002 - INFO - Created VN ctest-vn-84514411 2024-11-09 12:02:27,062 - DEBUG - VN ctest-vn-84514411 UUID is 615aa19a-885d-4833-a1bd-efc2c2bdde27 2024-11-09 12:02:27,249 - DEBUG - Services list from nova: [, , ] 2024-11-09 12:02:28,406 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2245-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2245-1) 2024-11-09 12:02:29,717 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2245-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2245-1) 2024-11-09 12:02:29,717 - INFO - Waiting for VM ctest-TestBasicVMVNx-32092994-33433598 to be up.. 2024-11-09 12:02:29,820 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-09 12:02:34,919 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-09 12:02:40,016 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-09 12:02:45,106 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-09 12:02:50,239 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-09 12:02:55,335 - DEBUG - VM is in ACTIVE state now 2024-11-09 12:02:55,335 - INFO - VM name : ctest-TestBasicVMVNx-32092994-33433598 2024-11-09 12:02:55,438 - DEBUG - VM ctest-TestBasicVMVNx-32092994-33433598 ID is 09069c89-157e-4a33-8953-487f41ec2288 2024-11-09 12:02:55,462 - DEBUG - VM ctest-TestBasicVMVNx-32092994-33433598 launched on Node cn-jenkins-deploy-platform-ansible-os-2245-1 2024-11-09 12:02:55,568 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/09069c89-157e-4a33-8953-487f41ec2288 2024-11-09 12:02:55,906 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/09069c89-157e-4a33-8953-487f41ec2288 2024-11-09 12:02:55,949 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/56cdc582-0722-456e-b392-512ee97ced0c 2024-11-09 12:02:59,238 - 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 1015ms') 2024-11-09 12:02:59,238 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-32092994-33433598 failed! 2024-11-09 12:02:59,306 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-32092994:ctest-vn-84514411 is 41.14.128.1 and allocation pool is NOT set 2024-11-09 12:03:01,366 - 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.92 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.505 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.505/2.210/3.915/1.705 ms') 2024-11-09 12:03:01,366 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-32092994-33433598 passed 2024-11-09 12:03:01,534 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-09 12:03:01,534 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-32092994-33433598, IP 41.14.128.3, Port 22 2024-11-09 12:03:01,689 - DEBUG - VM ctest-TestBasicVMVNx-32092994-33433598 is ready for SSH connections 2024-11-09 12:03:01,689 - INFO - Waiting for VM ctest-TestBasicVMVNx-32092994-24901091 to be up.. 2024-11-09 12:03:01,783 - DEBUG - VM is in ACTIVE state now 2024-11-09 12:03:01,784 - INFO - VM name : ctest-TestBasicVMVNx-32092994-24901091 2024-11-09 12:03:01,915 - DEBUG - VM ctest-TestBasicVMVNx-32092994-24901091 ID is e699e91c-7c6f-4c7e-a99a-287de09f8cde 2024-11-09 12:03:01,915 - DEBUG - VM ctest-TestBasicVMVNx-32092994-24901091 launched on Node cn-jenkins-deploy-platform-ansible-os-2245-1 2024-11-09 12:03:02,040 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/e699e91c-7c6f-4c7e-a99a-287de09f8cde 2024-11-09 12:03:02,055 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/73d0208a-30a9-4b92-a3d7-8325d05ecc65 2024-11-09 12:03:03,327 - 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.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.465 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.465/2.109/3.754/1.644 ms') 2024-11-09 12:03:03,327 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-32092994-24901091 passed 2024-11-09 12:03:03,494 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-09 12:03:03,494 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-32092994-24901091, IP 41.14.128.4, Port 22 2024-11-09 12:03:03,671 - DEBUG - VM ctest-TestBasicVMVNx-32092994-24901091 is ready for SSH connections 2024-11-09 12:03:03,672 - DEBUG - FILE SIZE = 1303B 2024-11-09 12:03:03,672 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-32092994-33433598 to ctest-TestBasicVMVNx-32092994-24901091 using scp 2024-11-09 12:03:03,672 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-09 12:03:03,680 - 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.27, gateway password: c0ntrail123 2024-11-09 12:03:03,681 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-11-09 12:03:05,622 - DEBUG - 1+0 records in 1+0 records out 2024-11-09 12:03:06,409 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-09 12:03:06,746 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2024-11-09 12:03:06,747 - DEBUG - ls -l testfile 2024-11-09 12:03:08,376 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 9 05:03 testfile 2024-11-09 12:03:08,376 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-32092994-24901091 2024-11-09 12:03:08,376 - INFO - Deleting VM ctest-TestBasicVMVNx-32092994-24901091 2024-11-09 12:03:08,444 - INFO - Deleting VM ctest-TestBasicVMVNx-32092994-33433598 2024-11-09 12:03:08,534 - INFO - Deleting VN ctest-vn-84514411 2024-11-09 12:03:08,579 - DEBUG - VN 615aa19a-885d-4833-a1bd-efc2c2bdde27 still in use: Unable to complete operation on network 615aa19a-885d-4833-a1bd-efc2c2bdde27. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5024c73e-53c3-4d29-a8ca-5f36cecadfd1'] 2024-11-09 12:03:08,580 - WARNING - Deleting VN ctest-vn-84514411 failed..Will retry 2024-11-09 12:03:10,715 - DEBUG - Response for deleting network () 2024-11-09 12:03:10,980 - DEBUG - No XMPP flaps were noticed during the test
2024-11-09 12:03:10,981 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:45]
2024-11-09 12:03:10,981 - INFO - -------------------------------------------------------------------------------- 2024-11-09 12:03:11,743 - INFO - Deleted project: ctest-TestBasicVMVNx-32092994, ID : 9777e666-8f53-4643-86a1-87e38ea1514a