2025-11-15 10:34:34,250 - INFO - Domain Default found not creating
2025-11-15 10:34:34,603 - INFO - Project ctest-TestBasicVMVNx-85519877 not found, creating it
2025-11-15 10:34:35,318 - INFO - Created Project:ctest-TestBasicVMVNx-85519877, ID : e41d4719-dc0a-47a7-9861-b57f2f422425
2025-11-15 10:34:37,531 - INFO - ================================================================================
2025-11-15 10:34:37,531 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-11-15 10:34:37,531 - 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-15 10:34:37,848 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2025-11-15 10:34:37,848 - INFO - Initial checks done. Running the testcase now
2025-11-15 10:34:37,848 - INFO -
2025-11-15 10:34:38,710 - DEBUG - Response for create_network : {'network': {'id': '8583d95a-8ad1-4bee-8928-97fb6d6a4720', 'name': 'ctest-vn-08843870', 'tenant_id': 'e41d4719dc0a47a79861b57f2f422425', 'project_id': 'e41d4719dc0a47a79861b57f2f422425', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-85519877', 'ctest-vn-08843870'], 'port_security_enabled': True, 'description': ''}}
2025-11-15 10:34:39,010 - DEBUG - Response for create_subnet : {'subnet': {'id': '4d47bd4f-50aa-4e4e-8251-df371ff38758', 'name': '', 'tenant_id': 'e41d4719dc0a47a79861b57f2f422425', 'network_id': '8583d95a-8ad1-4bee-8928-97fb6d6a4720', 'ip_version': 4, 'cidr': '48.142.171.192/26', 'allocation_pools': [{'start': '48.142.171.194', 'end': '48.142.171.254'}], 'gateway_ip': '48.142.171.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '48.142.171.194', 'tags': [], 'project_id': 'e41d4719dc0a47a79861b57f2f422425'}}
2025-11-15 10:34:39,041 - INFO - Created VN ctest-vn-08843870
2025-11-15 10:34:39,106 - DEBUG - VN ctest-vn-08843870 UUID is 8583d95a-8ad1-4bee-8928-97fb6d6a4720
2025-11-15 10:34:39,385 - DEBUG - Services list from nova: [, , ]
2025-11-15 10:34:40,991 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4734-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4734-1)
2025-11-15 10:34:42,452 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4734-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4734-1)
2025-11-15 10:34:42,452 - INFO - Waiting for VM ctest-TestBasicVMVNx-85519877-61554321 to be up..
2025-11-15 10:34:42,547 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-15 10:34:47,731 - DEBUG - VM is in ACTIVE state now
2025-11-15 10:34:47,731 - INFO - VM name : ctest-TestBasicVMVNx-85519877-61554321
2025-11-15 10:34:47,872 - DEBUG - VM ctest-TestBasicVMVNx-85519877-61554321 ID is 2d4c60b6-cd31-4b8a-b896-c843f1ddb1e5
2025-11-15 10:34:47,914 - DEBUG - VM ctest-TestBasicVMVNx-85519877-61554321 launched on Node cn-jenkins-deploy-platform-ansible-os-4734-1
2025-11-15 10:34:48,076 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/2d4c60b6-cd31-4b8a-b896-c843f1ddb1e5
2025-11-15 10:34:48,414 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/2d4c60b6-cd31-4b8a-b896-c843f1ddb1e5
2025-11-15 10:34:48,459 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/5d38be27-d635-4c72-87e0-464f49c87788
2025-11-15 10:34:51,773 - 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 1005ms')
2025-11-15 10:34:51,773 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-85519877-61554321 failed!
2025-11-15 10:34:51,838 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-85519877:ctest-vn-08843870 is 48.142.171.193 and allocation pool is NOT set
2025-11-15 10:34:53,920 - 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=9.26 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.88 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 = 1.877/5.566/9.256/3.689 ms')
2025-11-15 10:34:53,920 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-85519877-61554321 passed
2025-11-15 10:34:54,102 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-15 10:34:54,103 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-85519877-61554321, IP 48.142.171.195, Port 22
2025-11-15 10:34:54,184 - 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': ''}
2025-11-15 10:34:54,352 - DEBUG - VM ctest-TestBasicVMVNx-85519877-61554321 is NOT ready for SSH connections, VM status: ACTIVE
2025-11-15 10:34:59,354 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-15 10:34:59,354 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-85519877-61554321, IP 48.142.171.195, Port 22
2025-11-15 10:34:59,559 - DEBUG - VM ctest-TestBasicVMVNx-85519877-61554321 is ready for SSH connections
2025-11-15 10:34:59,559 - INFO - Waiting for VM ctest-TestBasicVMVNx-85519877-19997594 to be up..
2025-11-15 10:34:59,723 - DEBUG - VM is in ACTIVE state now
2025-11-15 10:34:59,724 - INFO - VM name : ctest-TestBasicVMVNx-85519877-19997594
2025-11-15 10:34:59,839 - DEBUG - VM ctest-TestBasicVMVNx-85519877-19997594 ID is 725c3d67-a46b-413f-a3c8-6174efea5dbc
2025-11-15 10:34:59,839 - DEBUG - VM ctest-TestBasicVMVNx-85519877-19997594 launched on Node cn-jenkins-deploy-platform-ansible-os-4734-1
2025-11-15 10:34:59,973 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/725c3d67-a46b-413f-a3c8-6174efea5dbc
2025-11-15 10:34:59,991 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/f5404726-a52e-4b8d-baf4-37f199295f74
2025-11-15 10:35:01,279 - 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=10.1 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.661 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.661/5.355/10.050/4.694 ms')
2025-11-15 10:35:01,280 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-85519877-19997594 passed
2025-11-15 10:35:01,434 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-15 10:35:01,434 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-85519877-19997594, IP 48.142.171.196, Port 22
2025-11-15 10:35:01,609 - DEBUG - VM ctest-TestBasicVMVNx-85519877-19997594 is ready for SSH connections
2025-11-15 10:35:01,609 - DEBUG - FILE SIZE = 1303B
2025-11-15 10:35:01,609 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-85519877-61554321 to ctest-TestBasicVMVNx-85519877-19997594 using scp
2025-11-15 10:35:01,613 - 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
2025-11-15 10:35:01,613 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-11-15 10:35:03,905 - DEBUG - 1+0 records in
1+0 records out
2025-11-15 10:35:04,255 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-15 10:35:04,742 - 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
2025-11-15 10:35:04,742 - DEBUG - ls -l testfile
2025-11-15 10:35:06,763 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 15 03:35 [0;0mtestfile[0m
2025-11-15 10:35:06,764 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-85519877-19997594
2025-11-15 10:35:06,764 - INFO - Deleting VM ctest-TestBasicVMVNx-85519877-19997594
2025-11-15 10:35:06,867 - INFO - Deleting VM ctest-TestBasicVMVNx-85519877-61554321
2025-11-15 10:35:06,979 - INFO - Deleting VN ctest-vn-08843870
2025-11-15 10:35:07,053 - DEBUG - VN 8583d95a-8ad1-4bee-8928-97fb6d6a4720 still in use: Unable to complete operation on network 8583d95a-8ad1-4bee-8928-97fb6d6a4720. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-d0418d65-d8ba-475c-b326-b9694cfe3d12']
2025-11-15 10:35:07,054 - WARNING - Deleting VN ctest-vn-08843870 failed..Will retry
2025-11-15 10:35:09,280 - DEBUG - Response for deleting network ()
2025-11-15 10:35:09,609 - DEBUG - No XMPP flaps were noticed during the test
2025-11-15 10:35:09,610 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:32]
2025-11-15 10:35:09,610 - INFO - --------------------------------------------------------------------------------
2025-11-15 10:35:10,496 - INFO - Deleted project: ctest-TestBasicVMVNx-85519877, ID : e41d4719-dc0a-47a7-9861-b57f2f422425