2025-11-13 08:09:27,315 - INFO - Domain Default found not creating
2025-11-13 08:09:27,469 - INFO - Project ctest-TestBasicVMVNx-18595316 not found, creating it
2025-11-13 08:09:27,916 - INFO - Created Project:ctest-TestBasicVMVNx-18595316, ID : 08be6b70-f222-408c-923f-7f572bffddd9
2025-11-13 08:09:29,447 - INFO - ================================================================================
2025-11-13 08:09:29,447 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-11-13 08:09:29,447 - 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-13 08:09:29,704 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with
2025-11-13 08:09:29,704 - INFO - Initial checks done. Running the testcase now
2025-11-13 08:09:29,704 - INFO -
2025-11-13 08:09:30,253 - DEBUG - Response for create_network : {'network': {'id': 'c15261fa-b6ed-4af8-a99c-1c69fea35b38', 'name': 'ctest-vn-98756655', 'tenant_id': '08be6b70f222408c923f7f572bffddd9', 'project_id': '08be6b70f222408c923f7f572bffddd9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-18595316', 'ctest-vn-98756655'], 'port_security_enabled': True, 'description': ''}}
2025-11-13 08:09:30,434 - DEBUG - Response for create_subnet : {'subnet': {'id': '9ac018fc-9cf1-49b6-8970-b8a305928057', 'name': '', 'tenant_id': '08be6b70f222408c923f7f572bffddd9', 'network_id': 'c15261fa-b6ed-4af8-a99c-1c69fea35b38', 'ip_version': 4, 'cidr': '92.72.167.192/26', 'allocation_pools': [{'start': '92.72.167.194', 'end': '92.72.167.254'}], 'gateway_ip': '92.72.167.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '92.72.167.194', 'tags': [], 'project_id': '08be6b70f222408c923f7f572bffddd9'}}
2025-11-13 08:09:30,454 - INFO - Created VN ctest-vn-98756655
2025-11-13 08:09:30,507 - DEBUG - VN ctest-vn-98756655 UUID is c15261fa-b6ed-4af8-a99c-1c69fea35b38
2025-11-13 08:09:30,675 - DEBUG - Services list from nova: [, , ]
2025-11-13 08:09:31,733 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4716-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4716-1)
2025-11-13 08:09:32,827 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4716-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4716-1)
2025-11-13 08:09:32,827 - INFO - Waiting for VM ctest-TestBasicVMVNx-18595316-36584503 to be up..
2025-11-13 08:09:32,897 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-13 08:09:37,975 - DEBUG - VM is in ACTIVE state now
2025-11-13 08:09:37,976 - INFO - VM name : ctest-TestBasicVMVNx-18595316-36584503
2025-11-13 08:09:38,044 - DEBUG - VM ctest-TestBasicVMVNx-18595316-36584503 ID is 98564e25-7c62-44ea-bdbe-a8e7e586c01c
2025-11-13 08:09:38,068 - DEBUG - VM ctest-TestBasicVMVNx-18595316-36584503 launched on Node cn-jenkins-deploy-platform-ansible-os-4716-1
2025-11-13 08:09:38,141 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/98564e25-7c62-44ea-bdbe-a8e7e586c01c
2025-11-13 08:09:38,459 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/98564e25-7c62-44ea-bdbe-a8e7e586c01c
2025-11-13 08:09:38,496 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/c4c31e2b-f1e0-4f08-99e9-da5435729d62
2025-11-13 08:09:41,764 - 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-11-13 08:09:41,764 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-18595316-36584503 failed!
2025-11-13 08:09:41,819 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-18595316:ctest-vn-98756655 is 92.72.167.193 and allocation pool is NOT set
2025-11-13 08:09:43,881 - 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.01 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.413 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.413/1.710/3.008/1.297 ms')
2025-11-13 08:09:43,881 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-18595316-36584503 passed
2025-11-13 08:09:44,035 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-13 08:09:44,035 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-18595316-36584503, IP 92.72.167.195, Port 22
2025-11-13 08:09:44,201 - DEBUG - VM ctest-TestBasicVMVNx-18595316-36584503 is ready for SSH connections
2025-11-13 08:09:44,201 - INFO - Waiting for VM ctest-TestBasicVMVNx-18595316-19485319 to be up..
2025-11-13 08:09:44,271 - DEBUG - VM is in ACTIVE state now
2025-11-13 08:09:44,271 - INFO - VM name : ctest-TestBasicVMVNx-18595316-19485319
2025-11-13 08:09:44,343 - DEBUG - VM ctest-TestBasicVMVNx-18595316-19485319 ID is 1ebf7e36-bbfb-46ff-aef0-8752b2f6a09b
2025-11-13 08:09:44,343 - DEBUG - VM ctest-TestBasicVMVNx-18595316-19485319 launched on Node cn-jenkins-deploy-platform-ansible-os-4716-1
2025-11-13 08:09:44,412 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/1ebf7e36-bbfb-46ff-aef0-8752b2f6a09b
2025-11-13 08:09:44,420 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/966f8ff6-1167-4298-b41e-559b4b82451b
2025-11-13 08:09:45,658 - 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.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.504 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.504/2.157/3.811/1.653 ms')
2025-11-13 08:09:45,658 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-18595316-19485319 passed
2025-11-13 08:09:45,807 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-13 08:09:45,807 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-18595316-19485319, IP 92.72.167.196, Port 22
2025-11-13 08:09:45,963 - DEBUG - VM ctest-TestBasicVMVNx-18595316-19485319 is ready for SSH connections
2025-11-13 08:09:45,963 - DEBUG - FILE SIZE = 1303B
2025-11-13 08:09:45,963 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-18595316-36584503 to ctest-TestBasicVMVNx-18595316-19485319 using scp
2025-11-13 08:09:45,964 - 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-13 08:09:45,964 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-11-13 08:09:47,947 - DEBUG - 1+0 records in
1+0 records out
2025-11-13 08:09:48,237 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-13 08:09:48,562 - 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-13 08:09:48,562 - DEBUG - ls -l testfile
2025-11-13 08:09:50,181 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 13 01:09 [0;0mtestfile[0m
2025-11-13 08:09:50,181 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-18595316-19485319
2025-11-13 08:09:50,181 - INFO - Deleting VM ctest-TestBasicVMVNx-18595316-19485319
2025-11-13 08:09:50,257 - INFO - Deleting VM ctest-TestBasicVMVNx-18595316-36584503
2025-11-13 08:09:50,346 - INFO - Deleting VN ctest-vn-98756655
2025-11-13 08:09:50,380 - DEBUG - VN c15261fa-b6ed-4af8-a99c-1c69fea35b38 still in use: Unable to complete operation on network c15261fa-b6ed-4af8-a99c-1c69fea35b38. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-e271c2c0-065a-4a34-92a8-87135883baed']
2025-11-13 08:09:50,380 - WARNING - Deleting VN ctest-vn-98756655 failed..Will retry
2025-11-13 08:09:52,476 - DEBUG - Response for deleting network ()
2025-11-13 08:09:52,732 - DEBUG - No XMPP flaps were noticed during the test
2025-11-13 08:09:52,732 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-11-13 08:09:52,732 - INFO - --------------------------------------------------------------------------------
2025-11-13 08:09:53,409 - INFO - Deleted project: ctest-TestBasicVMVNx-18595316, ID : 08be6b70-f222-408c-923f-7f572bffddd9