2025-01-14 19:50:26,334 - INFO - Domain Default found not creating 2025-01-14 19:50:26,494 - INFO - Project ctest-TestBasicVMVNx-11533761 not found, creating it 2025-01-14 19:50:26,971 - INFO - Created Project:ctest-TestBasicVMVNx-11533761, ID : 308dfb45-86b6-4eaa-9c85-013f28c14597 2025-01-14 19:50:28,441 - INFO - ================================================================================ 2025-01-14 19:50:28,441 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-01-14 19:50:28,441 - 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 2025-01-14 19:50:28,696 - DEBUG - Nothing to compare xmpp stats {'10.0.0.45': {'10.20.0.6': '0'}} with 2025-01-14 19:50:28,696 - INFO - Initial checks done. Running the testcase now 2025-01-14 19:50:28,696 - INFO - 2025-01-14 19:50:29,244 - DEBUG - Response for create_network : {'network': {'id': 'a908649d-9ec8-4c63-af14-af48963f01ed', 'name': 'ctest-vn-65982778', 'tenant_id': '308dfb4586b64eaa9c85013f28c14597', 'project_id': '308dfb4586b64eaa9c85013f28c14597', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-11533761', 'ctest-vn-65982778'], 'port_security_enabled': True, 'description': ''}} 2025-01-14 19:50:29,466 - DEBUG - Response for create_subnet : {'subnet': {'id': '8d065e82-f9b9-441a-aa23-deac7b1b72c2', 'name': '', 'tenant_id': '308dfb4586b64eaa9c85013f28c14597', 'network_id': 'a908649d-9ec8-4c63-af14-af48963f01ed', 'ip_version': 4, 'cidr': '174.222.163.0/26', 'allocation_pools': [{'start': '174.222.163.2', 'end': '174.222.163.62'}], 'gateway_ip': '174.222.163.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.222.163.2', 'tags': [], 'project_id': '308dfb4586b64eaa9c85013f28c14597'}} 2025-01-14 19:50:29,485 - INFO - Created VN ctest-vn-65982778 2025-01-14 19:50:29,538 - DEBUG - VN ctest-vn-65982778 UUID is a908649d-9ec8-4c63-af14-af48963f01ed 2025-01-14 19:50:29,705 - DEBUG - Services list from nova: [, , ] 2025-01-14 19:50:30,732 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2629-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2629-1) 2025-01-14 19:50:31,864 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2629-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2629-1) 2025-01-14 19:50:31,865 - INFO - Waiting for VM ctest-TestBasicVMVNx-11533761-56605731 to be up.. 2025-01-14 19:50:31,953 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-14 19:50:37,038 - DEBUG - VM is in ACTIVE state now 2025-01-14 19:50:37,039 - INFO - VM name : ctest-TestBasicVMVNx-11533761-56605731 2025-01-14 19:50:37,114 - DEBUG - VM ctest-TestBasicVMVNx-11533761-56605731 ID is 24dd46ad-098f-4e5f-a290-3e8a12579c80 2025-01-14 19:50:37,133 - DEBUG - VM ctest-TestBasicVMVNx-11533761-56605731 launched on Node cn-jenkins-deploy-platform-ansible-os-2629-1 2025-01-14 19:50:37,212 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine/24dd46ad-098f-4e5f-a290-3e8a12579c80 2025-01-14 19:50:37,521 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine/24dd46ad-098f-4e5f-a290-3e8a12579c80 2025-01-14 19:50:37,555 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine-interface/46bd2324-ece7-4d94-b23a-cd89eb9c013e 2025-01-14 19:50:40,832 - 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 1026ms') 2025-01-14 19:50:40,832 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-11533761-56605731 failed! 2025-01-14 19:50:40,890 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-11533761:ctest-vn-65982778 is 174.222.163.1 and allocation pool is NOT set 2025-01-14 19:50:42,954 - 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.37 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.953 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.953/3.163/5.373/2.210 ms') 2025-01-14 19:50:42,954 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-11533761-56605731 passed 2025-01-14 19:50:43,110 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-14 19:50:43,110 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-11533761-56605731, IP 174.222.163.3, Port 22 2025-01-14 19:50:43,270 - DEBUG - VM ctest-TestBasicVMVNx-11533761-56605731 is ready for SSH connections 2025-01-14 19:50:43,270 - INFO - Waiting for VM ctest-TestBasicVMVNx-11533761-32956652 to be up.. 2025-01-14 19:50:43,351 - DEBUG - VM is in ACTIVE state now 2025-01-14 19:50:43,351 - INFO - VM name : ctest-TestBasicVMVNx-11533761-32956652 2025-01-14 19:50:43,431 - DEBUG - VM ctest-TestBasicVMVNx-11533761-32956652 ID is a67f5a41-6a36-4823-80b4-bbccb42965f3 2025-01-14 19:50:43,432 - DEBUG - VM ctest-TestBasicVMVNx-11533761-32956652 launched on Node cn-jenkins-deploy-platform-ansible-os-2629-1 2025-01-14 19:50:43,507 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine/a67f5a41-6a36-4823-80b4-bbccb42965f3 2025-01-14 19:50:43,516 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine-interface/f5510cf3-258b-480c-b649-d8b765e51e04 2025-01-14 19:50:44,767 - 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.71 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.415 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.415/2.060/3.706/1.645 ms') 2025-01-14 19:50:44,767 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-11533761-32956652 passed 2025-01-14 19:50:44,922 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-14 19:50:44,922 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-11533761-32956652, IP 174.222.163.4, Port 22 2025-01-14 19:50:45,078 - DEBUG - VM ctest-TestBasicVMVNx-11533761-32956652 is ready for SSH connections 2025-01-14 19:50:45,078 - DEBUG - FILE SIZE = 1303B 2025-01-14 19:50:45,078 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-11533761-56605731 to ctest-TestBasicVMVNx-11533761-32956652 using scp 2025-01-14 19:50:45,079 - 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.45, gateway password: c0ntrail123 2025-01-14 19:50:45,079 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-01-14 19:50:47,019 - DEBUG - 1+0 records in 1+0 records out 2025-01-14 19:50:47,817 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-14 19:50:48,142 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.45, gateway password: c0ntrail123 2025-01-14 19:50:48,142 - DEBUG - ls -l testfile 2025-01-14 19:50:49,727 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 14 12:50 testfile 2025-01-14 19:50:49,727 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-11533761-32956652 2025-01-14 19:50:49,727 - INFO - Deleting VM ctest-TestBasicVMVNx-11533761-32956652 2025-01-14 19:50:49,796 - INFO - Deleting VM ctest-TestBasicVMVNx-11533761-56605731 2025-01-14 19:50:49,861 - INFO - Deleting VN ctest-vn-65982778 2025-01-14 19:50:49,899 - DEBUG - VN a908649d-9ec8-4c63-af14-af48963f01ed still in use: Unable to complete operation on network a908649d-9ec8-4c63-af14-af48963f01ed. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8be1f3f9-7e8b-4142-a2c2-d86068bea19e'] 2025-01-14 19:50:49,899 - WARNING - Deleting VN ctest-vn-65982778 failed..Will retry 2025-01-14 19:50:52,013 - DEBUG - Response for deleting network () 2025-01-14 19:50:52,269 - DEBUG - No XMPP flaps were noticed during the test
2025-01-14 19:50:52,269 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-01-14 19:50:52,269 - INFO - -------------------------------------------------------------------------------- 2025-01-14 19:50:52,948 - INFO - Deleted project: ctest-TestBasicVMVNx-11533761, ID : 308dfb45-86b6-4eaa-9c85-013f28c14597