2025-11-24 02:04:43,161 - INFO - Domain Default found not creating 2025-11-24 02:04:43,332 - INFO - Project ctest-TestBasicVMVNx-69600512 not found, creating it 2025-11-24 02:04:43,811 - INFO - Created Project:ctest-TestBasicVMVNx-69600512, ID : 12ef0a21-3216-4394-a132-22090d0f0491 2025-11-24 02:04:45,518 - INFO - ================================================================================ 2025-11-24 02:04:45,518 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-11-24 02:04:45,518 - 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-11-24 02:04:45,781 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-11-24 02:04:45,781 - INFO - Initial checks done. Running the testcase now 2025-11-24 02:04:45,781 - INFO - 2025-11-24 02:04:46,372 - DEBUG - Response for create_network : {'network': {'id': 'df430d24-933b-4384-be41-66065223537a', 'name': 'ctest-vn-18204718', 'tenant_id': '12ef0a2132164394a13222090d0f0491', 'project_id': '12ef0a2132164394a13222090d0f0491', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-69600512', 'ctest-vn-18204718'], 'port_security_enabled': True, 'description': ''}} 2025-11-24 02:04:46,559 - DEBUG - Response for create_subnet : {'subnet': {'id': 'abc61102-1423-404d-b1bc-57946d313933', 'name': '', 'tenant_id': '12ef0a2132164394a13222090d0f0491', 'network_id': 'df430d24-933b-4384-be41-66065223537a', 'ip_version': 4, 'cidr': '195.38.116.192/26', 'allocation_pools': [{'start': '195.38.116.194', 'end': '195.38.116.254'}], 'gateway_ip': '195.38.116.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '195.38.116.194', 'tags': [], 'project_id': '12ef0a2132164394a13222090d0f0491'}} 2025-11-24 02:04:46,578 - INFO - Created VN ctest-vn-18204718 2025-11-24 02:04:46,631 - DEBUG - VN ctest-vn-18204718 UUID is df430d24-933b-4384-be41-66065223537a 2025-11-24 02:04:46,802 - DEBUG - Services list from nova: [, , ] 2025-11-24 02:04:47,909 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4802-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4802-1) 2025-11-24 02:04:49,126 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4802-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4802-1) 2025-11-24 02:04:49,127 - INFO - Waiting for VM ctest-TestBasicVMVNx-69600512-98292031 to be up.. 2025-11-24 02:04:49,204 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-24 02:04:54,279 - DEBUG - VM is in ACTIVE state now 2025-11-24 02:04:54,279 - INFO - VM name : ctest-TestBasicVMVNx-69600512-98292031 2025-11-24 02:04:54,357 - DEBUG - VM ctest-TestBasicVMVNx-69600512-98292031 ID is 5c422651-ae0b-4427-88d6-ee70806e0398 2025-11-24 02:04:54,379 - DEBUG - VM ctest-TestBasicVMVNx-69600512-98292031 launched on Node cn-jenkins-deploy-platform-ansible-os-4802-1 2025-11-24 02:04:54,453 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/5c422651-ae0b-4427-88d6-ee70806e0398 2025-11-24 02:04:54,789 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/5c422651-ae0b-4427-88d6-ee70806e0398 2025-11-24 02:04:54,833 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/cf3e4148-ca62-4f9a-a0d7-1e70058917c3 2025-11-24 02:04:58,078 - 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 1002ms') 2025-11-24 02:04:58,079 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-69600512-98292031 failed! 2025-11-24 02:04:58,136 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-69600512:ctest-vn-18204718 is 195.38.116.193 and allocation pool is NOT set 2025-11-24 02:05:00,202 - 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.09 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.515 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.515/1.801/3.087/1.286 ms') 2025-11-24 02:05:00,202 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-69600512-98292031 passed 2025-11-24 02:05:00,355 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 02:05:00,356 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-69600512-98292031, IP 195.38.116.195, Port 22 2025-11-24 02:05:00,511 - DEBUG - VM ctest-TestBasicVMVNx-69600512-98292031 is ready for SSH connections 2025-11-24 02:05:00,511 - INFO - Waiting for VM ctest-TestBasicVMVNx-69600512-01720191 to be up.. 2025-11-24 02:05:00,587 - DEBUG - VM is in ACTIVE state now 2025-11-24 02:05:00,587 - INFO - VM name : ctest-TestBasicVMVNx-69600512-01720191 2025-11-24 02:05:00,677 - DEBUG - VM ctest-TestBasicVMVNx-69600512-01720191 ID is 2592d948-eb0a-494e-87cf-ffef6ed97369 2025-11-24 02:05:00,677 - DEBUG - VM ctest-TestBasicVMVNx-69600512-01720191 launched on Node cn-jenkins-deploy-platform-ansible-os-4802-1 2025-11-24 02:05:00,752 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/2592d948-eb0a-494e-87cf-ffef6ed97369 2025-11-24 02:05:00,760 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/46e4047a-0196-4f37-bdbd-01b454d7c2d1 2025-11-24 02:05:02,001 - 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=4.13 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.494 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.494/2.309/4.125/1.815 ms') 2025-11-24 02:05:02,001 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-69600512-01720191 passed 2025-11-24 02:05:02,156 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 02:05:02,156 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-69600512-01720191, IP 195.38.116.196, Port 22 2025-11-24 02:05:02,311 - DEBUG - VM ctest-TestBasicVMVNx-69600512-01720191 is ready for SSH connections 2025-11-24 02:05:02,311 - DEBUG - FILE SIZE = 1303B 2025-11-24 02:05:02,311 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-69600512-98292031 to ctest-TestBasicVMVNx-69600512-01720191 using scp 2025-11-24 02:05:02,312 - 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.22, gateway password: c0ntrail123 2025-11-24 02:05:02,313 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-11-24 02:05:04,308 - DEBUG - 1+0 records in 1+0 records out 2025-11-24 02:05:04,621 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 02:05:04,976 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-24 02:05:04,977 - DEBUG - ls -l testfile 2025-11-24 02:05:06,600 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 23 19:05 testfile 2025-11-24 02:05:06,600 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-69600512-01720191 2025-11-24 02:05:06,600 - INFO - Deleting VM ctest-TestBasicVMVNx-69600512-01720191 2025-11-24 02:05:06,671 - INFO - Deleting VM ctest-TestBasicVMVNx-69600512-98292031 2025-11-24 02:05:06,743 - INFO - Deleting VN ctest-vn-18204718 2025-11-24 02:05:06,784 - DEBUG - VN df430d24-933b-4384-be41-66065223537a still in use: Unable to complete operation on network df430d24-933b-4384-be41-66065223537a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-33beece9-6508-44e9-96b7-42a16a780a52'] 2025-11-24 02:05:06,784 - WARNING - Deleting VN ctest-vn-18204718 failed..Will retry 2025-11-24 02:05:08,888 - DEBUG - Response for deleting network () 2025-11-24 02:05:09,149 - DEBUG - No XMPP flaps were noticed during the test
2025-11-24 02:05:09,149 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-11-24 02:05:09,149 - INFO - -------------------------------------------------------------------------------- 2025-11-24 02:05:09,875 - INFO - Deleted project: ctest-TestBasicVMVNx-69600512, ID : 12ef0a21-3216-4394-a132-22090d0f0491