2026-02-24 20:53:42,349 - INFO - Domain Default found not creating
2026-02-24 20:53:42,738 - INFO - Project ctest-TestBasicVMVNx-78390837 not found, creating it
2026-02-24 20:53:43,379 - INFO - Created Project:ctest-TestBasicVMVNx-78390837, ID : 43661c55-fcaf-4eec-8132-a214a91d03dc
2026-02-24 20:53:45,557 - INFO - ================================================================================
2026-02-24 20:53:45,557 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2026-02-24 20:53:45,558 - 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
2026-02-24 20:53:45,883 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with
2026-02-24 20:53:45,883 - INFO - Initial checks done. Running the testcase now
2026-02-24 20:53:45,883 - INFO -
2026-02-24 20:53:46,690 - DEBUG - Response for create_network : {'network': {'id': '62123ffe-f263-413b-8dd6-b5c1ac4c94f6', 'name': 'ctest-vn-80916045', 'tenant_id': '43661c55fcaf4eec8132a214a91d03dc', 'project_id': '43661c55fcaf4eec8132a214a91d03dc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-78390837', 'ctest-vn-80916045'], 'port_security_enabled': True, 'description': ''}}
2026-02-24 20:53:46,986 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a722b02c-a60a-4233-9dc9-64c5bb1971a1', 'name': '', 'tenant_id': '43661c55fcaf4eec8132a214a91d03dc', 'network_id': '62123ffe-f263-413b-8dd6-b5c1ac4c94f6', 'ip_version': 4, 'cidr': '188.72.20.0/26', 'allocation_pools': [{'start': '188.72.20.2', 'end': '188.72.20.62'}], 'gateway_ip': '188.72.20.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '188.72.20.2', 'tags': [], 'project_id': '43661c55fcaf4eec8132a214a91d03dc'}}
2026-02-24 20:53:47,025 - INFO - Created VN ctest-vn-80916045
2026-02-24 20:53:47,087 - DEBUG - VN ctest-vn-80916045 UUID is 62123ffe-f263-413b-8dd6-b5c1ac4c94f6
2026-02-24 20:53:47,399 - DEBUG - Services list from nova: [, , ]
2026-02-24 20:53:49,070 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5395-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5395-1)
2026-02-24 20:53:50,526 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5395-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5395-1)
2026-02-24 20:53:50,526 - INFO - Waiting for VM ctest-TestBasicVMVNx-78390837-24085130 to be up..
2026-02-24 20:53:50,602 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-02-24 20:53:55,790 - DEBUG - VM is in ACTIVE state now
2026-02-24 20:53:55,790 - INFO - VM name : ctest-TestBasicVMVNx-78390837-24085130
2026-02-24 20:53:55,968 - DEBUG - VM ctest-TestBasicVMVNx-78390837-24085130 ID is 0f9ecf53-aefc-48c0-9ffd-c59caaa104b0
2026-02-24 20:53:56,027 - DEBUG - VM ctest-TestBasicVMVNx-78390837-24085130 launched on Node cn-jenkins-deploy-platform-ansible-os-5395-1
2026-02-24 20:53:56,201 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/0f9ecf53-aefc-48c0-9ffd-c59caaa104b0
2026-02-24 20:53:56,577 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/0f9ecf53-aefc-48c0-9ffd-c59caaa104b0
2026-02-24 20:53:56,643 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/8fa8abf0-ee02-4100-b4e5-8cda1175fcb0
2026-02-24 20:54:00,000 - 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 1021ms')
2026-02-24 20:54:00,000 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-78390837-24085130 failed!
2026-02-24 20:54:00,080 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-78390837:ctest-vn-80916045 is 188.72.20.1 and allocation pool is NOT set
2026-02-24 20:54:02,171 - 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.14 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.47 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 = 3.139/3.303/3.468/0.164 ms')
2026-02-24 20:54:02,171 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-78390837-24085130 passed
2026-02-24 20:54:02,338 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-24 20:54:02,339 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-78390837-24085130, IP 188.72.20.3, Port 22
2026-02-24 20:54:02,409 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-02-24 20:54:02,563 - DEBUG - VM ctest-TestBasicVMVNx-78390837-24085130 is NOT ready for SSH connections, VM status: ACTIVE
2026-02-24 20:54:07,564 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-24 20:54:07,564 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-78390837-24085130, IP 188.72.20.3, Port 22
2026-02-24 20:54:07,764 - DEBUG - VM ctest-TestBasicVMVNx-78390837-24085130 is ready for SSH connections
2026-02-24 20:54:07,765 - INFO - Waiting for VM ctest-TestBasicVMVNx-78390837-21968654 to be up..
2026-02-24 20:54:07,977 - DEBUG - VM is in ACTIVE state now
2026-02-24 20:54:07,977 - INFO - VM name : ctest-TestBasicVMVNx-78390837-21968654
2026-02-24 20:54:08,136 - DEBUG - VM ctest-TestBasicVMVNx-78390837-21968654 ID is d3ac313a-85a2-4599-82d6-5f383641619d
2026-02-24 20:54:08,137 - DEBUG - VM ctest-TestBasicVMVNx-78390837-21968654 launched on Node cn-jenkins-deploy-platform-ansible-os-5395-1
2026-02-24 20:54:08,306 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/d3ac313a-85a2-4599-82d6-5f383641619d
2026-02-24 20:54:08,331 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/ec59a516-e767-4fe3-9c45-4611f3eb14ca
2026-02-24 20:54:09,672 - 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=8.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.729 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.729/4.743/8.757/4.014 ms')
2026-02-24 20:54:09,672 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-78390837-21968654 passed
2026-02-24 20:54:09,855 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-24 20:54:09,855 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-78390837-21968654, IP 188.72.20.4, Port 22
2026-02-24 20:54:10,065 - DEBUG - VM ctest-TestBasicVMVNx-78390837-21968654 is ready for SSH connections
2026-02-24 20:54:10,065 - DEBUG - FILE SIZE = 1303B
2026-02-24 20:54:10,065 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-78390837-24085130 to ctest-TestBasicVMVNx-78390837-21968654 using scp
2026-02-24 20:54:10,070 - 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
2026-02-24 20:54:10,071 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2026-02-24 20:54:12,477 - DEBUG - 1+0 records in
1+0 records out
2026-02-24 20:54:12,949 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-24 20:54:13,488 - 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
2026-02-24 20:54:13,489 - DEBUG - ls -l testfile
2026-02-24 20:54:15,368 - DEBUG - -rw------- 1 cirros cirros 1303 Feb 24 13:54 [0;0mtestfile[0m
2026-02-24 20:54:15,368 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-78390837-21968654
2026-02-24 20:54:15,369 - INFO - Deleting VM ctest-TestBasicVMVNx-78390837-21968654
2026-02-24 20:54:15,455 - INFO - Deleting VM ctest-TestBasicVMVNx-78390837-24085130
2026-02-24 20:54:15,589 - INFO - Deleting VN ctest-vn-80916045
2026-02-24 20:54:15,688 - DEBUG - VN 62123ffe-f263-413b-8dd6-b5c1ac4c94f6 still in use: Unable to complete operation on network 62123ffe-f263-413b-8dd6-b5c1ac4c94f6. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-04709efc-2cd7-424f-83bf-09b0096d6dea']
2026-02-24 20:54:15,688 - WARNING - Deleting VN ctest-vn-80916045 failed..Will retry
2026-02-24 20:54:17,908 - DEBUG - Response for deleting network ()
2026-02-24 20:54:18,219 - DEBUG - No XMPP flaps were noticed during the test
2026-02-24 20:54:18,219 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:33]
2026-02-24 20:54:18,219 - INFO - --------------------------------------------------------------------------------
2026-02-24 20:54:19,272 - INFO - Deleted project: ctest-TestBasicVMVNx-78390837, ID : 43661c55-fcaf-4eec-8132-a214a91d03dc