2025-05-15 16:31:09,553 - INFO - Domain Default found not creating
2025-05-15 16:31:09,680 - INFO - Project ctest-TestBasicVMVNx-51453240 not found, creating it
2025-05-15 16:31:10,127 - INFO - Created Project:ctest-TestBasicVMVNx-51453240, ID : 6aa71e83-1b2d-488d-8c1d-eb1fa8dc0280
2025-05-15 16:31:11,471 - INFO - ================================================================================
2025-05-15 16:31:11,471 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-05-15 16:31:11,471 - 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-05-15 16:31:11,723 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-05-15 16:31:11,723 - INFO - Initial checks done. Running the testcase now
2025-05-15 16:31:11,723 - INFO -
2025-05-15 16:31:12,252 - DEBUG - Response for create_network : {'network': {'id': '4ce773f0-95e1-4499-af32-b41577ae518b', 'name': 'ctest-vn-93077185', 'tenant_id': '6aa71e831b2d488d8c1deb1fa8dc0280', 'project_id': '6aa71e831b2d488d8c1deb1fa8dc0280', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-51453240', 'ctest-vn-93077185'], 'port_security_enabled': True, 'description': ''}}
2025-05-15 16:31:12,476 - DEBUG - Response for create_subnet : {'subnet': {'id': '68bc7e8b-b583-427f-8c40-2f8aafe36940', 'name': '', 'tenant_id': '6aa71e831b2d488d8c1deb1fa8dc0280', 'network_id': '4ce773f0-95e1-4499-af32-b41577ae518b', 'ip_version': 4, 'cidr': '112.156.212.192/26', 'allocation_pools': [{'start': '112.156.212.194', 'end': '112.156.212.254'}], 'gateway_ip': '112.156.212.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '112.156.212.194', 'tags': [], 'project_id': '6aa71e831b2d488d8c1deb1fa8dc0280'}}
2025-05-15 16:31:12,492 - INFO - Created VN ctest-vn-93077185
2025-05-15 16:31:12,546 - DEBUG - VN ctest-vn-93077185 UUID is 4ce773f0-95e1-4499-af32-b41577ae518b
2025-05-15 16:31:12,749 - DEBUG - Services list from nova: [, , ]
2025-05-15 16:31:13,737 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3320-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3320-1)
2025-05-15 16:31:14,896 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3320-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3320-1)
2025-05-15 16:31:14,897 - INFO - Waiting for VM ctest-TestBasicVMVNx-51453240-57970937 to be up..
2025-05-15 16:31:14,971 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-05-15 16:31:20,043 - DEBUG - VM is in ACTIVE state now
2025-05-15 16:31:20,043 - INFO - VM name : ctest-TestBasicVMVNx-51453240-57970937
2025-05-15 16:31:20,111 - DEBUG - VM ctest-TestBasicVMVNx-51453240-57970937 ID is 3225305a-5abd-4d6f-a5bf-cae5aeb3f56c
2025-05-15 16:31:20,128 - DEBUG - VM ctest-TestBasicVMVNx-51453240-57970937 launched on Node cn-jenkins-deploy-platform-ansible-os-3320-1
2025-05-15 16:31:20,195 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/3225305a-5abd-4d6f-a5bf-cae5aeb3f56c
2025-05-15 16:31:20,498 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/3225305a-5abd-4d6f-a5bf-cae5aeb3f56c
2025-05-15 16:31:20,525 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/3976cc04-cab2-40c4-b484-891ddcf464eb
2025-05-15 16:31:23,778 - 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 1016ms')
2025-05-15 16:31:23,778 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-51453240-57970937 failed!
2025-05-15 16:31:23,830 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-51453240:ctest-vn-93077185 is 112.156.212.193 and allocation pool is NOT set
2025-05-15 16:31:25,890 - 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.62 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.357 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.357/1.487/2.618/1.130 ms')
2025-05-15 16:31:25,890 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-51453240-57970937 passed
2025-05-15 16:31:26,038 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-15 16:31:26,038 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-51453240-57970937, IP 112.156.212.195, Port 22
2025-05-15 16:31:26,194 - DEBUG - VM ctest-TestBasicVMVNx-51453240-57970937 is ready for SSH connections
2025-05-15 16:31:26,194 - INFO - Waiting for VM ctest-TestBasicVMVNx-51453240-85087792 to be up..
2025-05-15 16:31:26,261 - DEBUG - VM is in ACTIVE state now
2025-05-15 16:31:26,261 - INFO - VM name : ctest-TestBasicVMVNx-51453240-85087792
2025-05-15 16:31:26,328 - DEBUG - VM ctest-TestBasicVMVNx-51453240-85087792 ID is 03464c77-6150-4333-a196-22024550feee
2025-05-15 16:31:26,328 - DEBUG - VM ctest-TestBasicVMVNx-51453240-85087792 launched on Node cn-jenkins-deploy-platform-ansible-os-3320-1
2025-05-15 16:31:26,396 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/03464c77-6150-4333-a196-22024550feee
2025-05-15 16:31:26,403 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/048a2b9d-89c3-44f9-84b3-1893bd9fa0b8
2025-05-15 16:31:27,633 - 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.64 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.369 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.369/1.506/2.644/1.137 ms')
2025-05-15 16:31:27,633 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-51453240-85087792 passed
2025-05-15 16:31:27,782 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-15 16:31:27,782 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-51453240-85087792, IP 112.156.212.196, Port 22
2025-05-15 16:31:27,938 - DEBUG - VM ctest-TestBasicVMVNx-51453240-85087792 is ready for SSH connections
2025-05-15 16:31:27,938 - DEBUG - FILE SIZE = 1303B
2025-05-15 16:31:27,938 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-51453240-57970937 to ctest-TestBasicVMVNx-51453240-85087792 using scp
2025-05-15 16:31:27,938 - 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.254, gateway password: c0ntrail123
2025-05-15 16:31:27,938 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-05-15 16:31:29,791 - DEBUG - 1+0 records in
1+0 records out
2025-05-15 16:31:30,386 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-15 16:31:30,701 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-05-15 16:31:30,701 - DEBUG - ls -l testfile
2025-05-15 16:31:32,321 - DEBUG - -rw------- 1 cirros cirros 1303 May 15 10:31 [0;0mtestfile[0m
2025-05-15 16:31:32,321 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-51453240-85087792
2025-05-15 16:31:32,321 - INFO - Deleting VM ctest-TestBasicVMVNx-51453240-85087792
2025-05-15 16:31:32,380 - INFO - Deleting VM ctest-TestBasicVMVNx-51453240-57970937
2025-05-15 16:31:32,437 - INFO - Deleting VN ctest-vn-93077185
2025-05-15 16:31:32,476 - DEBUG - VN 4ce773f0-95e1-4499-af32-b41577ae518b still in use: Unable to complete operation on network 4ce773f0-95e1-4499-af32-b41577ae518b. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-99811ec1-5d9d-423b-bad6-f92cc193b754']
2025-05-15 16:31:32,476 - WARNING - Deleting VN ctest-vn-93077185 failed..Will retry
2025-05-15 16:31:34,571 - DEBUG - Response for deleting network ()
2025-05-15 16:31:34,828 - DEBUG - No XMPP flaps were noticed during the test
2025-05-15 16:31:34,828 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-05-15 16:31:34,828 - INFO - --------------------------------------------------------------------------------
2025-05-15 16:31:35,472 - INFO - Deleted project: ctest-TestBasicVMVNx-51453240, ID : 6aa71e83-1b2d-488d-8c1d-eb1fa8dc0280