2025-03-28 10:25:41,690 - INFO - Domain Default found not creating
2025-03-28 10:25:41,863 - INFO - Project ctest-TestBasicVMVNx-17483704 not found, creating it
2025-03-28 10:25:42,376 - INFO - Created Project:ctest-TestBasicVMVNx-17483704, ID : bce970c7-20e3-49c1-8a70-bf5ab6c9da59
2025-03-28 10:25:43,978 - INFO - ================================================================================
2025-03-28 10:25:43,979 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-03-28 10:25:43,979 - 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-28 10:25:44,248 - DEBUG - Nothing to compare xmpp stats {'10.0.0.42': {'10.20.0.7': '0'}} with
2025-03-28 10:25:44,248 - INFO - Initial checks done. Running the testcase now
2025-03-28 10:25:44,249 - INFO -
2025-03-28 10:25:44,828 - DEBUG - Response for create_network : {'network': {'id': '6ed4ae74-4f76-4c64-b905-1a1ff7d27a5e', 'name': 'ctest-vn-53513154', 'tenant_id': 'bce970c720e349c18a70bf5ab6c9da59', 'project_id': 'bce970c720e349c18a70bf5ab6c9da59', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-17483704', 'ctest-vn-53513154'], 'port_security_enabled': True, 'description': ''}}
2025-03-28 10:25:45,063 - DEBUG - Response for create_subnet : {'subnet': {'id': '894ef7dc-8e38-4ded-9e9f-fbc717cf61eb', 'name': '', 'tenant_id': 'bce970c720e349c18a70bf5ab6c9da59', 'network_id': '6ed4ae74-4f76-4c64-b905-1a1ff7d27a5e', 'ip_version': 4, 'cidr': '163.63.96.64/26', 'allocation_pools': [{'start': '163.63.96.66', 'end': '163.63.96.126'}], 'gateway_ip': '163.63.96.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '163.63.96.66', 'tags': [], 'project_id': 'bce970c720e349c18a70bf5ab6c9da59'}}
2025-03-28 10:25:45,085 - INFO - Created VN ctest-vn-53513154
2025-03-28 10:25:45,140 - DEBUG - VN ctest-vn-53513154 UUID is 6ed4ae74-4f76-4c64-b905-1a1ff7d27a5e
2025-03-28 10:25:45,321 - DEBUG - Services list from nova: [, , ]
2025-03-28 10:25:46,424 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2986-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2986-1)
2025-03-28 10:25:47,617 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2986-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2986-1)
2025-03-28 10:25:47,617 - INFO - Waiting for VM ctest-TestBasicVMVNx-17483704-88619345 to be up..
2025-03-28 10:25:47,704 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-03-28 10:25:52,795 - DEBUG - VM is in ACTIVE state now
2025-03-28 10:25:52,795 - INFO - VM name : ctest-TestBasicVMVNx-17483704-88619345
2025-03-28 10:25:52,887 - DEBUG - VM ctest-TestBasicVMVNx-17483704-88619345 ID is f06c2094-e955-479f-99b2-dae9b29b711d
2025-03-28 10:25:52,908 - DEBUG - VM ctest-TestBasicVMVNx-17483704-88619345 launched on Node cn-jenkins-deploy-platform-ansible-os-2986-1
2025-03-28 10:25:53,004 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/f06c2094-e955-479f-99b2-dae9b29b711d
2025-03-28 10:25:53,311 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/f06c2094-e955-479f-99b2-dae9b29b711d
2025-03-28 10:25:53,348 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/1a77f8ea-032e-4675-b0dd-d723033d297f
2025-03-28 10:25:56,605 - 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 1006ms')
2025-03-28 10:25:56,606 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-17483704-88619345 failed!
2025-03-28 10:25:56,663 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-17483704:ctest-vn-53513154 is 163.63.96.65 and allocation pool is NOT set
2025-03-28 10:25:58,723 - 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=8.56 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.927 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.927/4.743/8.559/3.816 ms')
2025-03-28 10:25:58,723 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-17483704-88619345 passed
2025-03-28 10:25:58,875 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-28 10:25:58,875 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-17483704-88619345, IP 163.63.96.67, Port 22
2025-03-28 10:25:59,049 - DEBUG - VM ctest-TestBasicVMVNx-17483704-88619345 is ready for SSH connections
2025-03-28 10:25:59,049 - INFO - Waiting for VM ctest-TestBasicVMVNx-17483704-45424448 to be up..
2025-03-28 10:25:59,133 - DEBUG - VM is in ACTIVE state now
2025-03-28 10:25:59,133 - INFO - VM name : ctest-TestBasicVMVNx-17483704-45424448
2025-03-28 10:25:59,222 - DEBUG - VM ctest-TestBasicVMVNx-17483704-45424448 ID is 483621b7-4374-4015-977d-d6e831462cc7
2025-03-28 10:25:59,222 - DEBUG - VM ctest-TestBasicVMVNx-17483704-45424448 launched on Node cn-jenkins-deploy-platform-ansible-os-2986-1
2025-03-28 10:25:59,309 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/483621b7-4374-4015-977d-d6e831462cc7
2025-03-28 10:25:59,321 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/b0710c55-e7da-4744-a066-7543bba8ce82
2025-03-28 10:26:00,579 - 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.23 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.530 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.530/1.880/3.231/1.350 ms')
2025-03-28 10:26:00,579 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-17483704-45424448 passed
2025-03-28 10:26:00,735 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-28 10:26:00,735 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-17483704-45424448, IP 163.63.96.68, Port 22
2025-03-28 10:26:00,907 - DEBUG - VM ctest-TestBasicVMVNx-17483704-45424448 is ready for SSH connections
2025-03-28 10:26:00,907 - DEBUG - FILE SIZE = 1303B
2025-03-28 10:26:00,907 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-17483704-88619345 to ctest-TestBasicVMVNx-17483704-45424448 using scp
2025-03-28 10:26:00,908 - 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.42, gateway password: c0ntrail123
2025-03-28 10:26:00,908 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-03-28 10:26:02,919 - DEBUG - 1+0 records in
1+0 records out
2025-03-28 10:26:03,714 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-28 10:26:04,058 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.42, gateway password: c0ntrail123
2025-03-28 10:26:04,058 - DEBUG - ls -l testfile
2025-03-28 10:26:05,690 - DEBUG - -rw------- 1 cirros cirros 1303 Mar 28 04:26 [0;0mtestfile[0m
2025-03-28 10:26:05,690 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-17483704-45424448
2025-03-28 10:26:05,690 - INFO - Deleting VM ctest-TestBasicVMVNx-17483704-45424448
2025-03-28 10:26:05,756 - INFO - Deleting VM ctest-TestBasicVMVNx-17483704-88619345
2025-03-28 10:26:05,831 - INFO - Deleting VN ctest-vn-53513154
2025-03-28 10:26:05,873 - DEBUG - VN 6ed4ae74-4f76-4c64-b905-1a1ff7d27a5e still in use: Unable to complete operation on network 6ed4ae74-4f76-4c64-b905-1a1ff7d27a5e. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-944ffd00-a1b7-41c7-9e03-d3a9713254f3']
2025-03-28 10:26:05,873 - WARNING - Deleting VN ctest-vn-53513154 failed..Will retry
2025-03-28 10:26:07,996 - DEBUG - Response for deleting network ()
2025-03-28 10:26:08,257 - DEBUG - No XMPP flaps were noticed during the test
2025-03-28 10:26:08,257 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25]
2025-03-28 10:26:08,257 - INFO - --------------------------------------------------------------------------------
2025-03-28 10:26:08,969 - INFO - Deleted project: ctest-TestBasicVMVNx-17483704, ID : bce970c7-20e3-49c1-8a70-bf5ab6c9da59