2025-08-12 18:43:37,592 - INFO - Domain Default found not creating
2025-08-12 18:43:37,706 - INFO - Project ctest-TestBasicVMVNx-74053279 not found, creating it
2025-08-12 18:43:38,196 - INFO - Created Project:ctest-TestBasicVMVNx-74053279, ID : c68ceebe-bdc7-4b3c-b02f-dd17cb775be6
2025-08-12 18:43:39,485 - INFO - ================================================================================
2025-08-12 18:43:39,485 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-08-12 18:43:39,485 - 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-08-12 18:43:39,733 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with
2025-08-12 18:43:39,733 - INFO - Initial checks done. Running the testcase now
2025-08-12 18:43:39,733 - INFO -
2025-08-12 18:43:40,234 - DEBUG - Response for create_network : {'network': {'id': 'ec1350e5-2bf4-496a-90c8-cf9f2927e46c', 'name': 'ctest-vn-93770985', 'tenant_id': 'c68ceebebdc74b3cb02fdd17cb775be6', 'project_id': 'c68ceebebdc74b3cb02fdd17cb775be6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-74053279', 'ctest-vn-93770985'], 'port_security_enabled': True, 'description': ''}}
2025-08-12 18:43:40,431 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fe7c8b23-ac10-4028-aea3-44cefbe69889', 'name': '', 'tenant_id': 'c68ceebebdc74b3cb02fdd17cb775be6', 'network_id': 'ec1350e5-2bf4-496a-90c8-cf9f2927e46c', 'ip_version': 4, 'cidr': '199.167.5.0/26', 'allocation_pools': [{'start': '199.167.5.2', 'end': '199.167.5.62'}], 'gateway_ip': '199.167.5.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.167.5.2', 'tags': [], 'project_id': 'c68ceebebdc74b3cb02fdd17cb775be6'}}
2025-08-12 18:43:40,446 - INFO - Created VN ctest-vn-93770985
2025-08-12 18:43:40,496 - DEBUG - VN ctest-vn-93770985 UUID is ec1350e5-2bf4-496a-90c8-cf9f2927e46c
2025-08-12 18:43:40,675 - DEBUG - Services list from nova: [, , ]
2025-08-12 18:43:41,608 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3837-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3837-1)
2025-08-12 18:43:42,648 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3837-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3837-1)
2025-08-12 18:43:42,648 - INFO - Waiting for VM ctest-TestBasicVMVNx-74053279-88880213 to be up..
2025-08-12 18:43:42,705 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-12 18:43:47,771 - DEBUG - VM is in ACTIVE state now
2025-08-12 18:43:47,771 - INFO - VM name : ctest-TestBasicVMVNx-74053279-88880213
2025-08-12 18:43:47,829 - DEBUG - VM ctest-TestBasicVMVNx-74053279-88880213 ID is 2a95e8d4-52c7-41f3-a130-25a0fd33f88e
2025-08-12 18:43:47,845 - DEBUG - VM ctest-TestBasicVMVNx-74053279-88880213 launched on Node cn-jenkins-deploy-platform-ansible-os-3837-1
2025-08-12 18:43:47,902 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/2a95e8d4-52c7-41f3-a130-25a0fd33f88e
2025-08-12 18:43:48,190 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/2a95e8d4-52c7-41f3-a130-25a0fd33f88e
2025-08-12 18:43:48,218 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/ef3285a2-9b14-47a8-8a18-cad5b994ca23
2025-08-12 18:43:51,490 - 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 1032ms')
2025-08-12 18:43:51,490 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-74053279-88880213 failed!
2025-08-12 18:43:51,548 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-74053279:ctest-vn-93770985 is 199.167.5.1 and allocation pool is NOT set
2025-08-12 18:43:53,608 - 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.13 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.482 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.482/1.807/3.133/1.325 ms')
2025-08-12 18:43:53,608 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-74053279-88880213 passed
2025-08-12 18:43:53,760 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-12 18:43:53,760 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-74053279-88880213, IP 199.167.5.3, Port 22
2025-08-12 18:43:53,923 - DEBUG - VM ctest-TestBasicVMVNx-74053279-88880213 is ready for SSH connections
2025-08-12 18:43:53,923 - INFO - Waiting for VM ctest-TestBasicVMVNx-74053279-86473750 to be up..
2025-08-12 18:43:53,991 - DEBUG - VM is in ACTIVE state now
2025-08-12 18:43:53,991 - INFO - VM name : ctest-TestBasicVMVNx-74053279-86473750
2025-08-12 18:43:54,051 - DEBUG - VM ctest-TestBasicVMVNx-74053279-86473750 ID is 1c4707d7-8448-456b-a3d6-b3bc4a975db1
2025-08-12 18:43:54,051 - DEBUG - VM ctest-TestBasicVMVNx-74053279-86473750 launched on Node cn-jenkins-deploy-platform-ansible-os-3837-1
2025-08-12 18:43:54,110 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/1c4707d7-8448-456b-a3d6-b3bc4a975db1
2025-08-12 18:43:54,117 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/ed614e0c-79f0-42e6-ad02-103e420826f0
2025-08-12 18:43:55,346 - 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.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.389 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.389/1.630/2.872/1.241 ms')
2025-08-12 18:43:55,347 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-74053279-86473750 passed
2025-08-12 18:43:55,500 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-12 18:43:55,500 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-74053279-86473750, IP 199.167.5.4, Port 22
2025-08-12 18:43:55,660 - DEBUG - VM ctest-TestBasicVMVNx-74053279-86473750 is ready for SSH connections
2025-08-12 18:43:55,661 - DEBUG - FILE SIZE = 1303B
2025-08-12 18:43:55,661 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-74053279-88880213 to ctest-TestBasicVMVNx-74053279-86473750 using scp
2025-08-12 18:43:55,662 - 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-08-12 18:43:55,662 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-08-12 18:43:57,554 - DEBUG - 1+0 records in
1+0 records out
2025-08-12 18:43:58,138 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-12 18:43:58,453 - 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-08-12 18:43:58,454 - DEBUG - ls -l testfile
2025-08-12 18:43:59,983 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 12 12:43 [0;0mtestfile[0m
2025-08-12 18:43:59,983 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-74053279-86473750
2025-08-12 18:43:59,983 - INFO - Deleting VM ctest-TestBasicVMVNx-74053279-86473750
2025-08-12 18:44:00,046 - INFO - Deleting VM ctest-TestBasicVMVNx-74053279-88880213
2025-08-12 18:44:00,104 - INFO - Deleting VN ctest-vn-93770985
2025-08-12 18:44:00,139 - DEBUG - VN ec1350e5-2bf4-496a-90c8-cf9f2927e46c still in use: Unable to complete operation on network ec1350e5-2bf4-496a-90c8-cf9f2927e46c. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-2d8ed72b-3da8-4cfa-b7ba-9adec38b3040']
2025-08-12 18:44:00,139 - WARNING - Deleting VN ctest-vn-93770985 failed..Will retry
2025-08-12 18:44:02,242 - DEBUG - Response for deleting network ()
2025-08-12 18:44:02,541 - DEBUG - No XMPP flaps were noticed during the test
2025-08-12 18:44:02,541 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-08-12 18:44:02,541 - INFO - --------------------------------------------------------------------------------
2025-08-12 18:44:03,194 - INFO - Deleted project: ctest-TestBasicVMVNx-74053279, ID : c68ceebe-bdc7-4b3c-b02f-dd17cb775be6