2025-04-28 15:38:41,062 - INFO - Domain Default found not creating 2025-04-28 15:38:41,196 - INFO - Project ctest-TestBasicVMVNx-22453589 not found, creating it 2025-04-28 15:38:41,637 - INFO - Created Project:ctest-TestBasicVMVNx-22453589, ID : 938858fd-dd04-4d8d-8a01-1d310f3fa6c9 2025-04-28 15:38:42,994 - INFO - ================================================================================ 2025-04-28 15:38:42,994 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-04-28 15:38:42,994 - 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-04-28 15:38:43,253 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.14': '0'}} with 2025-04-28 15:38:43,253 - INFO - Initial checks done. Running the testcase now 2025-04-28 15:38:43,253 - INFO - 2025-04-28 15:38:43,773 - DEBUG - Response for create_network : {'network': {'id': '4762a12f-26bd-4ca5-aa88-b755137f18bb', 'name': 'ctest-vn-84906524', 'tenant_id': '938858fddd044d8d8a011d310f3fa6c9', 'project_id': '938858fddd044d8d8a011d310f3fa6c9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-22453589', 'ctest-vn-84906524'], 'port_security_enabled': True, 'description': ''}} 2025-04-28 15:38:43,929 - DEBUG - Response for create_subnet : {'subnet': {'id': '11a11319-0cb4-43ee-b789-7e544506f1cc', 'name': '', 'tenant_id': '938858fddd044d8d8a011d310f3fa6c9', 'network_id': '4762a12f-26bd-4ca5-aa88-b755137f18bb', 'ip_version': 4, 'cidr': '19.88.79.64/26', 'allocation_pools': [{'start': '19.88.79.66', 'end': '19.88.79.126'}], 'gateway_ip': '19.88.79.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '19.88.79.66', 'tags': [], 'project_id': '938858fddd044d8d8a011d310f3fa6c9'}} 2025-04-28 15:38:43,945 - INFO - Created VN ctest-vn-84906524 2025-04-28 15:38:43,996 - DEBUG - VN ctest-vn-84906524 UUID is 4762a12f-26bd-4ca5-aa88-b755137f18bb 2025-04-28 15:38:44,191 - DEBUG - Services list from nova: [, , ] 2025-04-28 15:38:45,178 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3240-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3240-1) 2025-04-28 15:38:46,257 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3240-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3240-1) 2025-04-28 15:38:46,257 - INFO - Waiting for VM ctest-TestBasicVMVNx-22453589-87142564 to be up.. 2025-04-28 15:38:46,329 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-28 15:38:51,408 - DEBUG - VM is in ACTIVE state now 2025-04-28 15:38:51,408 - INFO - VM name : ctest-TestBasicVMVNx-22453589-87142564 2025-04-28 15:38:51,476 - DEBUG - VM ctest-TestBasicVMVNx-22453589-87142564 ID is 85e6fe5f-52a3-4aad-aad6-2da21ecfe435 2025-04-28 15:38:51,496 - DEBUG - VM ctest-TestBasicVMVNx-22453589-87142564 launched on Node cn-jenkins-deploy-platform-ansible-os-3240-1 2025-04-28 15:38:51,655 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/85e6fe5f-52a3-4aad-aad6-2da21ecfe435 2025-04-28 15:38:51,952 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/85e6fe5f-52a3-4aad-aad6-2da21ecfe435 2025-04-28 15:38:51,981 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/149e0368-7920-4192-8797-24e8e7aef01c 2025-04-28 15:38:55,229 - 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 1016ms') 2025-04-28 15:38:55,229 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-22453589-87142564 failed! 2025-04-28 15:38:55,288 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-22453589:ctest-vn-84906524 is 19.88.79.65 and allocation pool is NOT set 2025-04-28 15:38:57,349 - 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.42 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.380 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.380/1.898/3.416/1.518 ms') 2025-04-28 15:38:57,349 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-22453589-87142564 passed 2025-04-28 15:38:57,504 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-28 15:38:57,504 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-22453589-87142564, IP 19.88.79.67, Port 22 2025-04-28 15:38:57,656 - DEBUG - VM ctest-TestBasicVMVNx-22453589-87142564 is ready for SSH connections 2025-04-28 15:38:57,656 - INFO - Waiting for VM ctest-TestBasicVMVNx-22453589-77391454 to be up.. 2025-04-28 15:38:57,726 - DEBUG - VM is in ACTIVE state now 2025-04-28 15:38:57,726 - INFO - VM name : ctest-TestBasicVMVNx-22453589-77391454 2025-04-28 15:38:57,801 - DEBUG - VM ctest-TestBasicVMVNx-22453589-77391454 ID is 20512c45-c65e-4840-815b-c3c1e6935c62 2025-04-28 15:38:57,802 - DEBUG - VM ctest-TestBasicVMVNx-22453589-77391454 launched on Node cn-jenkins-deploy-platform-ansible-os-3240-1 2025-04-28 15:38:57,870 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/20512c45-c65e-4840-815b-c3c1e6935c62 2025-04-28 15:38:57,878 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/b21087ca-891c-4486-b326-8a6be5e11ba7 2025-04-28 15:38:59,129 - 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.69 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.365 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.365/1.528/2.692/1.163 ms') 2025-04-28 15:38:59,129 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-22453589-77391454 passed 2025-04-28 15:38:59,280 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-28 15:38:59,280 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-22453589-77391454, IP 19.88.79.68, Port 22 2025-04-28 15:38:59,435 - DEBUG - VM ctest-TestBasicVMVNx-22453589-77391454 is ready for SSH connections 2025-04-28 15:38:59,435 - DEBUG - FILE SIZE = 1303B 2025-04-28 15:38:59,435 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-22453589-87142564 to ctest-TestBasicVMVNx-22453589-77391454 using scp 2025-04-28 15:38:59,436 - 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.41, gateway password: c0ntrail123 2025-04-28 15:38:59,436 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-04-28 15:39:01,285 - DEBUG - 1+0 records in 1+0 records out 2025-04-28 15:39:01,859 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-28 15:39:02,175 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-04-28 15:39:02,175 - DEBUG - ls -l testfile 2025-04-28 15:39:03,777 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 28 09:39 testfile 2025-04-28 15:39:03,777 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-22453589-77391454 2025-04-28 15:39:03,777 - INFO - Deleting VM ctest-TestBasicVMVNx-22453589-77391454 2025-04-28 15:39:03,840 - INFO - Deleting VM ctest-TestBasicVMVNx-22453589-87142564 2025-04-28 15:39:03,915 - INFO - Deleting VN ctest-vn-84906524 2025-04-28 15:39:03,950 - DEBUG - VN 4762a12f-26bd-4ca5-aa88-b755137f18bb still in use: Unable to complete operation on network 4762a12f-26bd-4ca5-aa88-b755137f18bb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-74df8396-10cc-4bd0-8d91-171abac909ce'] 2025-04-28 15:39:03,950 - WARNING - Deleting VN ctest-vn-84906524 failed..Will retry 2025-04-28 15:39:06,060 - DEBUG - Response for deleting network () 2025-04-28 15:39:06,314 - DEBUG - No XMPP flaps were noticed during the test 2025-04-28 15:39:06,314 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2025-04-28 15:39:06,314 - INFO - -------------------------------------------------------------------------------- 2025-04-28 15:39:06,976 - INFO - Deleted project: ctest-TestBasicVMVNx-22453589, ID : 938858fd-dd04-4d8d-8a01-1d310f3fa6c9