2026-05-25 14:17:12,568 - INFO - Domain Default found not creating
2026-05-25 14:17:12,750 - INFO - Project ctest-TestBasicVMVNx-23248152 not found, creating it
2026-05-25 14:17:13,220 - INFO - Created Project:ctest-TestBasicVMVNx-23248152, ID : ed1e6927-9486-41e2-9079-ca95e5ff1825
2026-05-25 14:17:14,711 - INFO - ================================================================================
2026-05-25 14:17:14,711 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2026-05-25 14:17:14,711 - 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-05-25 14:17:14,971 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with
2026-05-25 14:17:14,971 - INFO - Initial checks done. Running the testcase now
2026-05-25 14:17:14,971 - INFO -
2026-05-25 14:17:15,516 - DEBUG - Response for create_network : {'network': {'id': '9f731856-5226-4c26-87ad-58f3a4f73fd0', 'name': 'ctest-vn-09529783', 'tenant_id': 'ed1e6927948641e29079ca95e5ff1825', 'project_id': 'ed1e6927948641e29079ca95e5ff1825', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-23248152', 'ctest-vn-09529783'], 'port_security_enabled': True, 'description': ''}}
2026-05-25 14:17:15,738 - DEBUG - Response for create_subnet : {'subnet': {'id': '84fe54c2-da1d-4710-9800-d012bdeb4a9d', 'name': '', 'tenant_id': 'ed1e6927948641e29079ca95e5ff1825', 'network_id': '9f731856-5226-4c26-87ad-58f3a4f73fd0', 'ip_version': 4, 'cidr': '71.5.173.0/26', 'allocation_pools': [{'start': '71.5.173.2', 'end': '71.5.173.62'}], 'gateway_ip': '71.5.173.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '71.5.173.2', 'tags': [], 'project_id': 'ed1e6927948641e29079ca95e5ff1825'}}
2026-05-25 14:17:15,757 - INFO - Created VN ctest-vn-09529783
2026-05-25 14:17:15,809 - DEBUG - VN ctest-vn-09529783 UUID is 9f731856-5226-4c26-87ad-58f3a4f73fd0
2026-05-25 14:17:15,973 - DEBUG - Services list from nova: [, , ]
2026-05-25 14:17:17,013 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5825-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5825-1)
2026-05-25 14:17:18,241 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5825-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5825-1)
2026-05-25 14:17:18,242 - INFO - Waiting for VM ctest-TestBasicVMVNx-23248152-10372115 to be up..
2026-05-25 14:17:18,338 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-05-25 14:17:23,420 - DEBUG - VM is in ACTIVE state now
2026-05-25 14:17:23,420 - INFO - VM name : ctest-TestBasicVMVNx-23248152-10372115
2026-05-25 14:17:23,493 - DEBUG - VM ctest-TestBasicVMVNx-23248152-10372115 ID is 4192ecf4-aed9-49c4-b109-84aefd524b79
2026-05-25 14:17:23,512 - DEBUG - VM ctest-TestBasicVMVNx-23248152-10372115 launched on Node cn-jenkins-deploy-platform-ansible-os-5825-1
2026-05-25 14:17:23,593 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/4192ecf4-aed9-49c4-b109-84aefd524b79
2026-05-25 14:17:23,888 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/4192ecf4-aed9-49c4-b109-84aefd524b79
2026-05-25 14:17:23,921 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/f2e0f40a-50f8-4bba-876e-62ac7c10e88f
2026-05-25 14:17:27,174 - 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 1026ms')
2026-05-25 14:17:27,174 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-23248152-10372115 failed!
2026-05-25 14:17:27,233 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-23248152:ctest-vn-09529783 is 71.5.173.1 and allocation pool is NOT set
2026-05-25 14:17:29,299 - 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.90 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.54 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 = 2.537/3.219/3.901/0.682 ms')
2026-05-25 14:17:29,299 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-23248152-10372115 passed
2026-05-25 14:17:29,449 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-25 14:17:29,449 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-23248152-10372115, IP 71.5.173.3, Port 22
2026-05-25 14:17:29,605 - DEBUG - VM ctest-TestBasicVMVNx-23248152-10372115 is ready for SSH connections
2026-05-25 14:17:29,605 - INFO - Waiting for VM ctest-TestBasicVMVNx-23248152-40812168 to be up..
2026-05-25 14:17:29,680 - DEBUG - VM is in ACTIVE state now
2026-05-25 14:17:29,681 - INFO - VM name : ctest-TestBasicVMVNx-23248152-40812168
2026-05-25 14:17:29,761 - DEBUG - VM ctest-TestBasicVMVNx-23248152-40812168 ID is 6b8d07fa-5322-484d-a174-73be98df3a87
2026-05-25 14:17:29,762 - DEBUG - VM ctest-TestBasicVMVNx-23248152-40812168 launched on Node cn-jenkins-deploy-platform-ansible-os-5825-1
2026-05-25 14:17:29,841 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/6b8d07fa-5322-484d-a174-73be98df3a87
2026-05-25 14:17:29,850 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/c4a0b9ea-6280-4d25-9710-2005770990c6
2026-05-25 14:17:31,089 - 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=4.49 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.16 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 = 2.157/3.325/4.494/1.168 ms')
2026-05-25 14:17:31,089 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-23248152-40812168 passed
2026-05-25 14:17:31,241 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-25 14:17:31,241 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-23248152-40812168, IP 71.5.173.4, Port 22
2026-05-25 14:17:31,307 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-05-25 14:17:31,393 - DEBUG - VM ctest-TestBasicVMVNx-23248152-40812168 is NOT ready for SSH connections, VM status: ACTIVE
2026-05-25 14:17:36,393 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-25 14:17:36,394 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-23248152-40812168, IP 71.5.173.4, Port 22
2026-05-25 14:17:36,549 - DEBUG - VM ctest-TestBasicVMVNx-23248152-40812168 is ready for SSH connections
2026-05-25 14:17:36,549 - DEBUG - FILE SIZE = 1303B
2026-05-25 14:17:36,549 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-23248152-10372115 to ctest-TestBasicVMVNx-23248152-40812168 using scp
2026-05-25 14:17:36,551 - 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.50, gateway password: c0ntrail123
2026-05-25 14:17:36,551 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2026-05-25 14:17:38,566 - DEBUG - 1+0 records in
1+0 records out
2026-05-25 14:17:38,842 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-25 14:17:39,175 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2026-05-25 14:17:39,175 - DEBUG - ls -l testfile
2026-05-25 14:17:40,763 - DEBUG - -rw------- 1 cirros cirros 1303 May 25 08:17 [0;0mtestfile[0m
2026-05-25 14:17:40,763 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-23248152-40812168
2026-05-25 14:17:40,763 - INFO - Deleting VM ctest-TestBasicVMVNx-23248152-40812168
2026-05-25 14:17:40,843 - INFO - Deleting VM ctest-TestBasicVMVNx-23248152-10372115
2026-05-25 14:17:40,938 - INFO - Deleting VN ctest-vn-09529783
2026-05-25 14:17:40,980 - DEBUG - VN 9f731856-5226-4c26-87ad-58f3a4f73fd0 still in use: Unable to complete operation on network 9f731856-5226-4c26-87ad-58f3a4f73fd0. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-c9ccb6fd-be22-4d60-88d8-1c540dce8c7e']
2026-05-25 14:17:40,980 - WARNING - Deleting VN ctest-vn-09529783 failed..Will retry
2026-05-25 14:17:43,085 - DEBUG - Response for deleting network ()
2026-05-25 14:17:43,346 - DEBUG - No XMPP flaps were noticed during the test
2026-05-25 14:17:43,346 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29]
2026-05-25 14:17:43,346 - INFO - --------------------------------------------------------------------------------
2026-05-25 14:17:44,026 - INFO - Deleted project: ctest-TestBasicVMVNx-23248152, ID : ed1e6927-9486-41e2-9079-ca95e5ff1825