2025-05-26 11:43:06,604 - INFO - Domain Default found not creating
2025-05-26 11:43:06,758 - INFO - Project ctest-TestBasicVMVNx-64253268 not found, creating it
2025-05-26 11:43:07,246 - INFO - Created Project:ctest-TestBasicVMVNx-64253268, ID : 2777ccca-4d1f-4301-b28a-93c1b64e9c83
2025-05-26 11:43:08,826 - INFO - ================================================================================
2025-05-26 11:43:08,826 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-05-26 11:43:08,826 - 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-05-26 11:43:09,088 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-05-26 11:43:09,088 - INFO - Initial checks done. Running the testcase now
2025-05-26 11:43:09,088 - INFO -
2025-05-26 11:43:09,683 - DEBUG - Response for create_network : {'network': {'id': '6bcfe77c-c524-4f24-bcac-643b4e0e6901', 'name': 'ctest-vn-98861440', 'tenant_id': '2777ccca4d1f4301b28a93c1b64e9c83', 'project_id': '2777ccca4d1f4301b28a93c1b64e9c83', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-64253268', 'ctest-vn-98861440'], 'port_security_enabled': True, 'description': ''}}
2025-05-26 11:43:09,903 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd0c14917-b106-4158-8b95-c771185372f8', 'name': '', 'tenant_id': '2777ccca4d1f4301b28a93c1b64e9c83', 'network_id': '6bcfe77c-c524-4f24-bcac-643b4e0e6901', 'ip_version': 4, 'cidr': '11.227.39.0/26', 'allocation_pools': [{'start': '11.227.39.2', 'end': '11.227.39.62'}], 'gateway_ip': '11.227.39.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.227.39.2', 'tags': [], 'project_id': '2777ccca4d1f4301b28a93c1b64e9c83'}}
2025-05-26 11:43:09,926 - INFO - Created VN ctest-vn-98861440
2025-05-26 11:43:09,981 - DEBUG - VN ctest-vn-98861440 UUID is 6bcfe77c-c524-4f24-bcac-643b4e0e6901
2025-05-26 11:43:10,159 - DEBUG - Services list from nova: [, , ]
2025-05-26 11:43:11,284 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3339-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3339-1)
2025-05-26 11:43:12,493 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3339-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3339-1)
2025-05-26 11:43:12,493 - INFO - Waiting for VM ctest-TestBasicVMVNx-64253268-39958015 to be up..
2025-05-26 11:43:12,586 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-05-26 11:43:17,669 - DEBUG - VM is in ACTIVE state now
2025-05-26 11:43:17,669 - INFO - VM name : ctest-TestBasicVMVNx-64253268-39958015
2025-05-26 11:43:17,751 - DEBUG - VM ctest-TestBasicVMVNx-64253268-39958015 ID is 7c82086e-c688-49c7-9323-18ee4e3569c7
2025-05-26 11:43:17,775 - DEBUG - VM ctest-TestBasicVMVNx-64253268-39958015 launched on Node cn-jenkins-deploy-platform-ansible-os-3339-1
2025-05-26 11:43:17,851 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/7c82086e-c688-49c7-9323-18ee4e3569c7
2025-05-26 11:43:18,188 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/7c82086e-c688-49c7-9323-18ee4e3569c7
2025-05-26 11:43:18,223 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/6cea53ec-d543-4c7d-be1d-3c1a369fe46a
2025-05-26 11:43:21,509 - 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 1027ms')
2025-05-26 11:43:21,509 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-64253268-39958015 failed!
2025-05-26 11:43:21,569 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-64253268:ctest-vn-98861440 is 11.227.39.1 and allocation pool is NOT set
2025-05-26 11:43:23,628 - 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.45 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.468 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.468/1.958/3.448/1.490 ms')
2025-05-26 11:43:23,628 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-64253268-39958015 passed
2025-05-26 11:43:23,781 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-26 11:43:23,781 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-64253268-39958015, IP 11.227.39.3, Port 22
2025-05-26 11:43:23,936 - DEBUG - VM ctest-TestBasicVMVNx-64253268-39958015 is ready for SSH connections
2025-05-26 11:43:23,936 - INFO - Waiting for VM ctest-TestBasicVMVNx-64253268-16407413 to be up..
2025-05-26 11:43:24,024 - DEBUG - VM is in ACTIVE state now
2025-05-26 11:43:24,025 - INFO - VM name : ctest-TestBasicVMVNx-64253268-16407413
2025-05-26 11:43:24,119 - DEBUG - VM ctest-TestBasicVMVNx-64253268-16407413 ID is 8a721ab2-72ae-45f8-a3cf-c258974a7fa2
2025-05-26 11:43:24,119 - DEBUG - VM ctest-TestBasicVMVNx-64253268-16407413 launched on Node cn-jenkins-deploy-platform-ansible-os-3339-1
2025-05-26 11:43:24,200 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/8a721ab2-72ae-45f8-a3cf-c258974a7fa2
2025-05-26 11:43:24,210 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/700ac36b-8af2-430f-89da-7af9eeadb913
2025-05-26 11:43:25,453 - 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.917 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.917/2.311/3.706/1.394 ms')
2025-05-26 11:43:25,453 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-64253268-16407413 passed
2025-05-26 11:43:25,605 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-26 11:43:25,605 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-64253268-16407413, IP 11.227.39.4, Port 22
2025-05-26 11:43:25,760 - DEBUG - VM ctest-TestBasicVMVNx-64253268-16407413 is ready for SSH connections
2025-05-26 11:43:25,760 - DEBUG - FILE SIZE = 1303B
2025-05-26 11:43:25,760 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-64253268-39958015 to ctest-TestBasicVMVNx-64253268-16407413 using scp
2025-05-26 11:43:25,761 - 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.254, gateway password: c0ntrail123
2025-05-26 11:43:25,761 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-05-26 11:43:27,732 - DEBUG - 1+0 records in
1+0 records out
2025-05-26 11:43:28,409 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-26 11:43:28,750 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-05-26 11:43:28,750 - DEBUG - ls -l testfile
2025-05-26 11:43:30,393 - DEBUG - -rw------- 1 cirros cirros 1303 May 26 05:43 [0;0mtestfile[0m
2025-05-26 11:43:30,393 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-64253268-16407413
2025-05-26 11:43:30,393 - INFO - Deleting VM ctest-TestBasicVMVNx-64253268-16407413
2025-05-26 11:43:30,467 - INFO - Deleting VM ctest-TestBasicVMVNx-64253268-39958015
2025-05-26 11:43:30,543 - INFO - Deleting VN ctest-vn-98861440
2025-05-26 11:43:30,583 - DEBUG - VN 6bcfe77c-c524-4f24-bcac-643b4e0e6901 still in use: Unable to complete operation on network 6bcfe77c-c524-4f24-bcac-643b4e0e6901. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-b23ccaf0-1eb4-44af-a517-f5bdfeb44c8d']
2025-05-26 11:43:30,583 - WARNING - Deleting VN ctest-vn-98861440 failed..Will retry
2025-05-26 11:43:32,717 - DEBUG - Response for deleting network ()
2025-05-26 11:43:32,972 - DEBUG - No XMPP flaps were noticed during the test
2025-05-26 11:43:32,972 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-05-26 11:43:32,972 - INFO - --------------------------------------------------------------------------------
2025-05-26 11:43:33,734 - INFO - Deleted project: ctest-TestBasicVMVNx-64253268, ID : 2777ccca-4d1f-4301-b28a-93c1b64e9c83