2025-03-27 15:32:02,222 - INFO - Domain Default found not creating
2025-03-27 15:32:02,411 - INFO - Project ctest-TestBasicVMVNx-70860571 not found, creating it
2025-03-27 15:32:02,946 - INFO - Created Project:ctest-TestBasicVMVNx-70860571, ID : 0fe3d963-6b72-468a-bcd6-a5f4e1f155f4
2025-03-27 15:32:04,451 - INFO - ================================================================================
2025-03-27 15:32:04,451 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-03-27 15:32:04,451 - 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-03-27 15:32:04,706 - DEBUG - Nothing to compare xmpp stats {'10.0.0.37': {'10.20.0.11': '0'}} with
2025-03-27 15:32:04,706 - INFO - Initial checks done. Running the testcase now
2025-03-27 15:32:04,706 - INFO -
2025-03-27 15:32:05,320 - DEBUG - Response for create_network : {'network': {'id': '72f407d2-b434-4068-85d6-afec803287a6', 'name': 'ctest-vn-00665818', 'tenant_id': '0fe3d9636b72468abcd6a5f4e1f155f4', 'project_id': '0fe3d9636b72468abcd6a5f4e1f155f4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-70860571', 'ctest-vn-00665818'], 'port_security_enabled': True, 'description': ''}}
2025-03-27 15:32:05,477 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e6623e57-8f65-47d8-a4bd-d41a01684d90', 'name': '', 'tenant_id': '0fe3d9636b72468abcd6a5f4e1f155f4', 'network_id': '72f407d2-b434-4068-85d6-afec803287a6', 'ip_version': 4, 'cidr': '211.108.160.192/26', 'allocation_pools': [{'start': '211.108.160.194', 'end': '211.108.160.254'}], 'gateway_ip': '211.108.160.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '211.108.160.194', 'tags': [], 'project_id': '0fe3d9636b72468abcd6a5f4e1f155f4'}}
2025-03-27 15:32:05,496 - INFO - Created VN ctest-vn-00665818
2025-03-27 15:32:05,548 - DEBUG - VN ctest-vn-00665818 UUID is 72f407d2-b434-4068-85d6-afec803287a6
2025-03-27 15:32:05,720 - DEBUG - Services list from nova: [, , ]
2025-03-27 15:32:06,760 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2975-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2975-1)
2025-03-27 15:32:07,963 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2975-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2975-1)
2025-03-27 15:32:07,964 - INFO - Waiting for VM ctest-TestBasicVMVNx-70860571-66893952 to be up..
2025-03-27 15:32:08,059 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-03-27 15:32:13,240 - DEBUG - VM is in ACTIVE state now
2025-03-27 15:32:13,241 - INFO - VM name : ctest-TestBasicVMVNx-70860571-66893952
2025-03-27 15:32:13,317 - DEBUG - VM ctest-TestBasicVMVNx-70860571-66893952 ID is 6b1d1068-4920-440c-8ce9-73adc1632170
2025-03-27 15:32:13,336 - DEBUG - VM ctest-TestBasicVMVNx-70860571-66893952 launched on Node cn-jenkins-deploy-platform-ansible-os-2975-1
2025-03-27 15:32:13,412 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine/6b1d1068-4920-440c-8ce9-73adc1632170
2025-03-27 15:32:13,710 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine/6b1d1068-4920-440c-8ce9-73adc1632170
2025-03-27 15:32:13,744 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine-interface/888085ec-c96b-413a-87e2-4a0e4b4cd032
2025-03-27 15:32:16,987 - 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 1003ms')
2025-03-27 15:32:16,987 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-70860571-66893952 failed!
2025-03-27 15:32:17,044 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-70860571:ctest-vn-00665818 is 211.108.160.193 and allocation pool is NOT set
2025-03-27 15:32:19,107 - 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=2.88 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.396 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.396/1.640/2.884/1.244 ms')
2025-03-27 15:32:19,107 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-70860571-66893952 passed
2025-03-27 15:32:19,260 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-27 15:32:19,260 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-70860571-66893952, IP 211.108.160.195, Port 22
2025-03-27 15:32:19,419 - DEBUG - VM ctest-TestBasicVMVNx-70860571-66893952 is ready for SSH connections
2025-03-27 15:32:19,419 - INFO - Waiting for VM ctest-TestBasicVMVNx-70860571-98750798 to be up..
2025-03-27 15:32:19,497 - DEBUG - VM is in ACTIVE state now
2025-03-27 15:32:19,497 - INFO - VM name : ctest-TestBasicVMVNx-70860571-98750798
2025-03-27 15:32:19,572 - DEBUG - VM ctest-TestBasicVMVNx-70860571-98750798 ID is b7c67163-3ce3-4953-9fde-be4db525c794
2025-03-27 15:32:19,573 - DEBUG - VM ctest-TestBasicVMVNx-70860571-98750798 launched on Node cn-jenkins-deploy-platform-ansible-os-2975-1
2025-03-27 15:32:19,653 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine/b7c67163-3ce3-4953-9fde-be4db525c794
2025-03-27 15:32:19,662 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine-interface/d1b747a5-afc9-4273-8f08-88332286aee5
2025-03-27 15:32:20,915 - 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.27 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.420 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.420/1.846/3.272/1.426 ms')
2025-03-27 15:32:20,915 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-70860571-98750798 passed
2025-03-27 15:32:21,068 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-27 15:32:21,068 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-70860571-98750798, IP 211.108.160.196, Port 22
2025-03-27 15:32:21,224 - DEBUG - VM ctest-TestBasicVMVNx-70860571-98750798 is ready for SSH connections
2025-03-27 15:32:21,224 - DEBUG - FILE SIZE = 1303B
2025-03-27 15:32:21,224 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-70860571-66893952 to ctest-TestBasicVMVNx-70860571-98750798 using scp
2025-03-27 15:32:21,225 - 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.37, gateway password: c0ntrail123
2025-03-27 15:32:21,225 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-03-27 15:32:23,137 - DEBUG - 1+0 records in
1+0 records out
2025-03-27 15:32:23,892 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-27 15:32:24,226 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.37, gateway password: c0ntrail123
2025-03-27 15:32:24,226 - DEBUG - ls -l testfile
2025-03-27 15:32:25,788 - DEBUG - -rw------- 1 cirros cirros 1303 Mar 27 09:32 [0;0mtestfile[0m
2025-03-27 15:32:25,788 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-70860571-98750798
2025-03-27 15:32:25,788 - INFO - Deleting VM ctest-TestBasicVMVNx-70860571-98750798
2025-03-27 15:32:25,856 - INFO - Deleting VM ctest-TestBasicVMVNx-70860571-66893952
2025-03-27 15:32:25,921 - INFO - Deleting VN ctest-vn-00665818
2025-03-27 15:32:25,962 - DEBUG - VN 72f407d2-b434-4068-85d6-afec803287a6 still in use: Unable to complete operation on network 72f407d2-b434-4068-85d6-afec803287a6. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-f5a701be-3280-4212-8052-aff5c20bf8b3']
2025-03-27 15:32:25,962 - WARNING - Deleting VN ctest-vn-00665818 failed..Will retry
2025-03-27 15:32:28,070 - DEBUG - Response for deleting network ()
2025-03-27 15:32:28,326 - DEBUG - No XMPP flaps were noticed during the test
2025-03-27 15:32:28,326 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-03-27 15:32:28,326 - INFO - --------------------------------------------------------------------------------
2025-03-27 15:32:29,038 - INFO - Deleted project: ctest-TestBasicVMVNx-70860571, ID : 0fe3d963-6b72-468a-bcd6-a5f4e1f155f4