2025-11-06 08:53:57,589 - INFO - Domain Default found not creating
2025-11-06 08:53:57,744 - INFO - Project ctest-TestBasicVMVNx-26516469 not found, creating it
2025-11-06 08:53:58,205 - INFO - Created Project:ctest-TestBasicVMVNx-26516469, ID : 6ce75b23-5c43-4a7b-a960-cad43de6a4ff
2025-11-06 08:53:59,953 - INFO - ================================================================================
2025-11-06 08:53:59,953 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-11-06 08:53:59,953 - 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-11-06 08:54:00,220 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.18': '0'}} with
2025-11-06 08:54:00,220 - INFO - Initial checks done. Running the testcase now
2025-11-06 08:54:00,220 - INFO -
2025-11-06 08:54:00,815 - DEBUG - Response for create_network : {'network': {'id': '2328222b-9333-4503-9b1a-1cab0880e7a9', 'name': 'ctest-vn-60088565', 'tenant_id': '6ce75b235c434a7ba960cad43de6a4ff', 'project_id': '6ce75b235c434a7ba960cad43de6a4ff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-26516469', 'ctest-vn-60088565'], 'port_security_enabled': True, 'description': ''}}
2025-11-06 08:54:01,025 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fe02ba31-6695-473d-a945-6119fc77f59d', 'name': '', 'tenant_id': '6ce75b235c434a7ba960cad43de6a4ff', 'network_id': '2328222b-9333-4503-9b1a-1cab0880e7a9', 'ip_version': 4, 'cidr': '124.155.17.64/26', 'allocation_pools': [{'start': '124.155.17.66', 'end': '124.155.17.126'}], 'gateway_ip': '124.155.17.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '124.155.17.66', 'tags': [], 'project_id': '6ce75b235c434a7ba960cad43de6a4ff'}}
2025-11-06 08:54:01,047 - INFO - Created VN ctest-vn-60088565
2025-11-06 08:54:01,101 - DEBUG - VN ctest-vn-60088565 UUID is 2328222b-9333-4503-9b1a-1cab0880e7a9
2025-11-06 08:54:01,287 - DEBUG - Services list from nova: [, , ]
2025-11-06 08:54:02,409 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4666-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4666-1)
2025-11-06 08:54:03,619 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4666-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4666-1)
2025-11-06 08:54:03,619 - INFO - Waiting for VM ctest-TestBasicVMVNx-26516469-97562624 to be up..
2025-11-06 08:54:03,701 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-06 08:54:08,786 - DEBUG - VM is in ACTIVE state now
2025-11-06 08:54:08,787 - INFO - VM name : ctest-TestBasicVMVNx-26516469-97562624
2025-11-06 08:54:08,863 - DEBUG - VM ctest-TestBasicVMVNx-26516469-97562624 ID is 0cc3d02f-e4ea-460c-a369-5e0b738ad0c2
2025-11-06 08:54:08,883 - DEBUG - VM ctest-TestBasicVMVNx-26516469-97562624 launched on Node cn-jenkins-deploy-platform-ansible-os-4666-1
2025-11-06 08:54:08,963 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/0cc3d02f-e4ea-460c-a369-5e0b738ad0c2
2025-11-06 08:54:09,315 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/0cc3d02f-e4ea-460c-a369-5e0b738ad0c2
2025-11-06 08:54:09,352 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/a3fc8e1f-b27c-4358-bd3f-8de815c3999b
2025-11-06 08:54:12,595 - 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 1002ms')
2025-11-06 08:54:12,595 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-26516469-97562624 failed!
2025-11-06 08:54:12,653 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-26516469:ctest-vn-60088565 is 124.155.17.65 and allocation pool is NOT set
2025-11-06 08:54:14,715 - 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=4.44 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.23 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 = 1.234/2.836/4.438/1.602 ms')
2025-11-06 08:54:14,716 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-26516469-97562624 passed
2025-11-06 08:54:14,865 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-06 08:54:14,865 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-26516469-97562624, IP 124.155.17.67, Port 22
2025-11-06 08:54:15,031 - DEBUG - VM ctest-TestBasicVMVNx-26516469-97562624 is ready for SSH connections
2025-11-06 08:54:15,031 - INFO - Waiting for VM ctest-TestBasicVMVNx-26516469-41289560 to be up..
2025-11-06 08:54:15,107 - DEBUG - VM is in ACTIVE state now
2025-11-06 08:54:15,107 - INFO - VM name : ctest-TestBasicVMVNx-26516469-41289560
2025-11-06 08:54:15,181 - DEBUG - VM ctest-TestBasicVMVNx-26516469-41289560 ID is c51222d7-a7e8-4359-999f-7cd66227ad7a
2025-11-06 08:54:15,182 - DEBUG - VM ctest-TestBasicVMVNx-26516469-41289560 launched on Node cn-jenkins-deploy-platform-ansible-os-4666-1
2025-11-06 08:54:15,255 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c51222d7-a7e8-4359-999f-7cd66227ad7a
2025-11-06 08:54:15,265 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/25309214-3972-4e36-a931-41fc433f0e09
2025-11-06 08:54:16,509 - 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=3.21 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.478 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.478/1.844/3.210/1.366 ms')
2025-11-06 08:54:16,509 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-26516469-41289560 passed
2025-11-06 08:54:16,661 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-06 08:54:16,661 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-26516469-41289560, IP 124.155.17.68, Port 22
2025-11-06 08:54:16,716 - 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': ''}
2025-11-06 08:54:16,788 - DEBUG - VM ctest-TestBasicVMVNx-26516469-41289560 is NOT ready for SSH connections, VM status: ACTIVE
2025-11-06 08:54:21,789 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-06 08:54:21,789 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-26516469-41289560, IP 124.155.17.68, Port 22
2025-11-06 08:54:21,954 - DEBUG - VM ctest-TestBasicVMVNx-26516469-41289560 is ready for SSH connections
2025-11-06 08:54:21,955 - DEBUG - FILE SIZE = 1303B
2025-11-06 08:54:21,955 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-26516469-97562624 to ctest-TestBasicVMVNx-26516469-41289560 using scp
2025-11-06 08:54:21,956 - 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.38, gateway password: c0ntrail123
2025-11-06 08:54:21,956 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-11-06 08:54:23,953 - DEBUG - 1+0 records in
1+0 records out
2025-11-06 08:54:24,690 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-06 08:54:25,033 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-11-06 08:54:25,033 - DEBUG - ls -l testfile
2025-11-06 08:54:26,664 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 6 01:54 [0;0mtestfile[0m
2025-11-06 08:54:26,664 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-26516469-41289560
2025-11-06 08:54:26,664 - INFO - Deleting VM ctest-TestBasicVMVNx-26516469-41289560
2025-11-06 08:54:26,745 - INFO - Deleting VM ctest-TestBasicVMVNx-26516469-97562624
2025-11-06 08:54:26,824 - INFO - Deleting VN ctest-vn-60088565
2025-11-06 08:54:26,873 - DEBUG - VN 2328222b-9333-4503-9b1a-1cab0880e7a9 still in use: Unable to complete operation on network 2328222b-9333-4503-9b1a-1cab0880e7a9. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-d4b1e9d8-f859-4fae-8d9d-0e137f9a0d0e']
2025-11-06 08:54:26,874 - WARNING - Deleting VN ctest-vn-60088565 failed..Will retry
2025-11-06 08:54:28,964 - DEBUG - Response for deleting network ()
2025-11-06 08:54:29,221 - DEBUG - No XMPP flaps were noticed during the test
2025-11-06 08:54:29,221 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:30]
2025-11-06 08:54:29,222 - INFO - --------------------------------------------------------------------------------
2025-11-06 08:54:29,913 - INFO - Deleted project: ctest-TestBasicVMVNx-26516469, ID : 6ce75b23-5c43-4a7b-a960-cad43de6a4ff