2025-04-26 20:59:13,376 - INFO - Domain Default found not creating
2025-04-26 20:59:13,490 - INFO - Project ctest-TestBasicVMVNx-74949215 not found, creating it
2025-04-26 20:59:13,966 - INFO - Created Project:ctest-TestBasicVMVNx-74949215, ID : 465462a7-0213-4854-b870-0a64407e727c
2025-04-26 20:59:15,273 - INFO - ================================================================================
2025-04-26 20:59:15,273 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-04-26 20:59:15,273 - 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-04-26 20:59:15,524 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-04-26 20:59:15,524 - INFO - Initial checks done. Running the testcase now
2025-04-26 20:59:15,524 - INFO -
2025-04-26 20:59:16,024 - DEBUG - Response for create_network : {'network': {'id': 'c9f93532-88e4-41b7-bddf-9fd7c0195153', 'name': 'ctest-vn-69735501', 'tenant_id': '465462a702134854b8700a64407e727c', 'project_id': '465462a702134854b8700a64407e727c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-74949215', 'ctest-vn-69735501'], 'port_security_enabled': True, 'description': ''}}
2025-04-26 20:59:16,169 - DEBUG - Response for create_subnet : {'subnet': {'id': '62da61a9-3200-46ae-8b41-79179ca5f89a', 'name': '', 'tenant_id': '465462a702134854b8700a64407e727c', 'network_id': 'c9f93532-88e4-41b7-bddf-9fd7c0195153', 'ip_version': 4, 'cidr': '27.174.81.192/26', 'allocation_pools': [{'start': '27.174.81.194', 'end': '27.174.81.254'}], 'gateway_ip': '27.174.81.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '27.174.81.194', 'tags': [], 'project_id': '465462a702134854b8700a64407e727c'}}
2025-04-26 20:59:16,184 - INFO - Created VN ctest-vn-69735501
2025-04-26 20:59:16,235 - DEBUG - VN ctest-vn-69735501 UUID is c9f93532-88e4-41b7-bddf-9fd7c0195153
2025-04-26 20:59:16,416 - DEBUG - Services list from nova: [, , ]
2025-04-26 20:59:17,361 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3225-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3225-1)
2025-04-26 20:59:18,435 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3225-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3225-1)
2025-04-26 20:59:18,436 - INFO - Waiting for VM ctest-TestBasicVMVNx-74949215-52222182 to be up..
2025-04-26 20:59:18,505 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-04-26 20:59:23,579 - DEBUG - VM is in ACTIVE state now
2025-04-26 20:59:23,579 - INFO - VM name : ctest-TestBasicVMVNx-74949215-52222182
2025-04-26 20:59:23,642 - DEBUG - VM ctest-TestBasicVMVNx-74949215-52222182 ID is 4c93d8e4-91c3-4617-b68d-5f985f8e3d3b
2025-04-26 20:59:23,659 - DEBUG - VM ctest-TestBasicVMVNx-74949215-52222182 launched on Node cn-jenkins-deploy-platform-ansible-os-3225-1
2025-04-26 20:59:23,729 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/4c93d8e4-91c3-4617-b68d-5f985f8e3d3b
2025-04-26 20:59:24,019 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/4c93d8e4-91c3-4617-b68d-5f985f8e3d3b
2025-04-26 20:59:24,046 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/0c0b7ac7-e475-42f4-a484-555ad8a94491
2025-04-26 20:59:27,303 - 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-04-26 20:59:27,303 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-74949215-52222182 failed!
2025-04-26 20:59:27,356 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-74949215:ctest-vn-69735501 is 27.174.81.193 and allocation pool is NOT set
2025-04-26 20:59:29,414 - 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.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.351 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.351/1.548/2.745/1.197 ms')
2025-04-26 20:59:29,414 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-74949215-52222182 passed
2025-04-26 20:59:29,564 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-26 20:59:29,564 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-74949215-52222182, IP 27.174.81.195, Port 22
2025-04-26 20:59:29,719 - DEBUG - VM ctest-TestBasicVMVNx-74949215-52222182 is ready for SSH connections
2025-04-26 20:59:29,719 - INFO - Waiting for VM ctest-TestBasicVMVNx-74949215-94384585 to be up..
2025-04-26 20:59:29,784 - DEBUG - VM is in ACTIVE state now
2025-04-26 20:59:29,785 - INFO - VM name : ctest-TestBasicVMVNx-74949215-94384585
2025-04-26 20:59:29,847 - DEBUG - VM ctest-TestBasicVMVNx-74949215-94384585 ID is e9688bd9-865d-4d52-9e18-e07f45b34f0b
2025-04-26 20:59:29,847 - DEBUG - VM ctest-TestBasicVMVNx-74949215-94384585 launched on Node cn-jenkins-deploy-platform-ansible-os-3225-1
2025-04-26 20:59:29,908 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/e9688bd9-865d-4d52-9e18-e07f45b34f0b
2025-04-26 20:59:29,915 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/b0ad7f97-05e5-4cb3-939f-9ad52d2b43e6
2025-04-26 20:59:31,148 - 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.56 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.462 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.462/1.509/2.557/1.047 ms')
2025-04-26 20:59:31,148 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-74949215-94384585 passed
2025-04-26 20:59:31,292 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-26 20:59:31,292 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-74949215-94384585, IP 27.174.81.196, Port 22
2025-04-26 20:59:31,447 - DEBUG - VM ctest-TestBasicVMVNx-74949215-94384585 is ready for SSH connections
2025-04-26 20:59:31,447 - DEBUG - FILE SIZE = 1303B
2025-04-26 20:59:31,447 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-74949215-52222182 to ctest-TestBasicVMVNx-74949215-94384585 using scp
2025-04-26 20:59:31,448 - 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-04-26 20:59:31,448 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-04-26 20:59:33,272 - DEBUG - 1+0 records in
1+0 records out
2025-04-26 20:59:33,855 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-26 20:59:34,168 - 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-04-26 20:59:34,168 - DEBUG - ls -l testfile
2025-04-26 20:59:35,722 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 26 14:59 [0;0mtestfile[0m
2025-04-26 20:59:35,722 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-74949215-94384585
2025-04-26 20:59:35,722 - INFO - Deleting VM ctest-TestBasicVMVNx-74949215-94384585
2025-04-26 20:59:35,856 - INFO - Deleting VM ctest-TestBasicVMVNx-74949215-52222182
2025-04-26 20:59:35,912 - INFO - Deleting VN ctest-vn-69735501
2025-04-26 20:59:35,944 - DEBUG - VN c9f93532-88e4-41b7-bddf-9fd7c0195153 still in use: Unable to complete operation on network c9f93532-88e4-41b7-bddf-9fd7c0195153. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-c55fa28a-3e8b-4c00-8dfe-d6099a3516bf']
2025-04-26 20:59:35,945 - WARNING - Deleting VN ctest-vn-69735501 failed..Will retry
2025-04-26 20:59:38,055 - DEBUG - Response for deleting network ()
2025-04-26 20:59:38,305 - DEBUG - No XMPP flaps were noticed during the test
2025-04-26 20:59:38,305 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-04-26 20:59:38,305 - INFO - --------------------------------------------------------------------------------
2025-04-26 20:59:38,966 - INFO - Deleted project: ctest-TestBasicVMVNx-74949215, ID : 465462a7-0213-4854-b870-0a64407e727c