2025-01-07 18:44:36,711 - INFO - Domain Default found not creating
2025-01-07 18:44:36,853 - INFO - Project ctest-TestBasicVMVNx-44826528 not found, creating it
2025-01-07 18:44:37,304 - INFO - Created Project:ctest-TestBasicVMVNx-44826528, ID : a7f4f000-a1dd-4adf-a2f1-97897b09331d
2025-01-07 18:44:38,708 - INFO - ================================================================================
2025-01-07 18:44:38,708 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-01-07 18:44:38,708 - 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-07 18:44:38,972 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.20': '0'}} with
2025-01-07 18:44:38,972 - INFO - Initial checks done. Running the testcase now
2025-01-07 18:44:38,972 - INFO -
2025-01-07 18:44:39,518 - DEBUG - Response for create_network : {'network': {'id': '716a959b-2385-4e67-b8b9-b13ce2ff5993', 'name': 'ctest-vn-53344709', 'tenant_id': 'a7f4f000a1dd4adfa2f197897b09331d', 'project_id': 'a7f4f000a1dd4adfa2f197897b09331d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-44826528', 'ctest-vn-53344709'], 'port_security_enabled': True, 'description': ''}}
2025-01-07 18:44:39,736 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ec69229b-844b-4389-863e-5c6bf06e9ebd', 'name': '', 'tenant_id': 'a7f4f000a1dd4adfa2f197897b09331d', 'network_id': '716a959b-2385-4e67-b8b9-b13ce2ff5993', 'ip_version': 4, 'cidr': '211.205.66.0/26', 'allocation_pools': [{'start': '211.205.66.2', 'end': '211.205.66.62'}], 'gateway_ip': '211.205.66.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '211.205.66.2', 'tags': [], 'project_id': 'a7f4f000a1dd4adfa2f197897b09331d'}}
2025-01-07 18:44:39,756 - INFO - Created VN ctest-vn-53344709
2025-01-07 18:44:39,809 - DEBUG - VN ctest-vn-53344709 UUID is 716a959b-2385-4e67-b8b9-b13ce2ff5993
2025-01-07 18:44:39,986 - DEBUG - Services list from nova: [, , ]
2025-01-07 18:44:40,992 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2553-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2553-1)
2025-01-07 18:44:42,199 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2553-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2553-1)
2025-01-07 18:44:42,199 - INFO - Waiting for VM ctest-TestBasicVMVNx-44826528-42176816 to be up..
2025-01-07 18:44:42,294 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-07 18:44:47,375 - DEBUG - VM is in ACTIVE state now
2025-01-07 18:44:47,375 - INFO - VM name : ctest-TestBasicVMVNx-44826528-42176816
2025-01-07 18:44:47,452 - DEBUG - VM ctest-TestBasicVMVNx-44826528-42176816 ID is 652b00c8-4824-4a16-bca7-3fe365dbfb1f
2025-01-07 18:44:47,468 - DEBUG - VM ctest-TestBasicVMVNx-44826528-42176816 launched on Node cn-jenkins-deploy-platform-ansible-os-2553-1
2025-01-07 18:44:47,541 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/652b00c8-4824-4a16-bca7-3fe365dbfb1f
2025-01-07 18:44:47,839 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/652b00c8-4824-4a16-bca7-3fe365dbfb1f
2025-01-07 18:44:47,871 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/66d833cc-7416-4299-a13d-3faf1050ef4d
2025-01-07 18:44:51,110 - 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-01-07 18:44:51,110 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-44826528-42176816 failed!
2025-01-07 18:44:51,165 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-44826528:ctest-vn-53344709 is 211.205.66.1 and allocation pool is NOT set
2025-01-07 18:44:53,227 - 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.04 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.469 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.469/1.753/3.038/1.284 ms')
2025-01-07 18:44:53,227 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-44826528-42176816 passed
2025-01-07 18:44:53,377 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-07 18:44:53,377 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-44826528-42176816, IP 211.205.66.3, Port 22
2025-01-07 18:44:53,529 - DEBUG - VM ctest-TestBasicVMVNx-44826528-42176816 is ready for SSH connections
2025-01-07 18:44:53,529 - INFO - Waiting for VM ctest-TestBasicVMVNx-44826528-48322264 to be up..
2025-01-07 18:44:53,606 - DEBUG - VM is in ACTIVE state now
2025-01-07 18:44:53,606 - INFO - VM name : ctest-TestBasicVMVNx-44826528-48322264
2025-01-07 18:44:53,678 - DEBUG - VM ctest-TestBasicVMVNx-44826528-48322264 ID is 0cfdab76-6b77-4135-975f-e39cf6a76ba1
2025-01-07 18:44:53,678 - DEBUG - VM ctest-TestBasicVMVNx-44826528-48322264 launched on Node cn-jenkins-deploy-platform-ansible-os-2553-1
2025-01-07 18:44:53,752 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/0cfdab76-6b77-4135-975f-e39cf6a76ba1
2025-01-07 18:44:53,760 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/d8929344-55a2-49be-b9fc-62ee56b8849b
2025-01-07 18:44:55,000 - 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.73 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.393 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.393/1.560/2.727/1.167 ms')
2025-01-07 18:44:55,000 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-44826528-48322264 passed
2025-01-07 18:44:55,153 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-07 18:44:55,153 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-44826528-48322264, IP 211.205.66.4, Port 22
2025-01-07 18:44:55,308 - DEBUG - VM ctest-TestBasicVMVNx-44826528-48322264 is ready for SSH connections
2025-01-07 18:44:55,309 - DEBUG - FILE SIZE = 1303B
2025-01-07 18:44:55,309 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-44826528-42176816 to ctest-TestBasicVMVNx-44826528-48322264 using scp
2025-01-07 18:44:55,309 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-07 18:44:55,327 - 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.33, gateway password: c0ntrail123
2025-01-07 18:44:55,328 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-01-07 18:44:57,209 - DEBUG - 1+0 records in
1+0 records out
2025-01-07 18:44:58,035 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-07 18:44:58,352 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123
2025-01-07 18:44:58,353 - DEBUG - ls -l testfile
2025-01-07 18:44:59,919 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 7 11:44 [0;0mtestfile[0m
2025-01-07 18:44:59,919 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-44826528-48322264
2025-01-07 18:44:59,919 - INFO - Deleting VM ctest-TestBasicVMVNx-44826528-48322264
2025-01-07 18:44:59,984 - INFO - Deleting VM ctest-TestBasicVMVNx-44826528-42176816
2025-01-07 18:45:00,064 - INFO - Deleting VN ctest-vn-53344709
2025-01-07 18:45:00,111 - DEBUG - VN 716a959b-2385-4e67-b8b9-b13ce2ff5993 still in use: Unable to complete operation on network 716a959b-2385-4e67-b8b9-b13ce2ff5993. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-402554bd-1a22-48dc-b51b-4e62fd0b6b0c']
2025-01-07 18:45:00,111 - WARNING - Deleting VN ctest-vn-53344709 failed..Will retry
2025-01-07 18:45:02,223 - DEBUG - Response for deleting network ()
2025-01-07 18:45:02,480 - DEBUG - No XMPP flaps were noticed during the test
2025-01-07 18:45:02,481 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-01-07 18:45:02,481 - INFO - --------------------------------------------------------------------------------
2025-01-07 18:45:03,147 - INFO - Deleted project: ctest-TestBasicVMVNx-44826528, ID : a7f4f000-a1dd-4adf-a2f1-97897b09331d