2025-10-22 15:04:33,349 - INFO - Reading existing Domain with UUID 8c582771-8b31-4700-9720-69718950e5ce
2025-10-22 15:04:33,360 - INFO - Using existing domain ['admin_domain'](8c582771-8b31-4700-9720-69718950e5ce)
2025-10-22 15:04:33,579 - INFO - Project ctest-TestBasicVMVNx-77907778 not found, creating it
2025-10-22 15:04:34,102 - INFO - Created Project:ctest-TestBasicVMVNx-77907778, ID : 551f9189-65dc-4b92-a3c3-26fb636e4ffa
2025-10-22 15:04:35,905 - INFO - ================================================================================
2025-10-22 15:04:35,905 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-10-22 15:04:35,905 - 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-10-22 15:04:36,324 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.0.0.241': '0'}} with
2025-10-22 15:04:36,324 - INFO - Initial checks done. Running the testcase now
2025-10-22 15:04:36,324 - INFO -
2025-10-22 15:04:37,117 - DEBUG - Response for create_network : {'network': {'id': 'edc9041f-cbb4-44e7-b8fc-1f169c83c0e2', 'name': 'ctest-vn-61545137', 'tenant_id': '551f918965dc4b92a3c326fb636e4ffa', 'project_id': '551f918965dc4b92a3c326fb636e4ffa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicVMVNx-77907778', 'ctest-vn-61545137'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2025-10-22 15:04:37,400 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f661089a-1879-4bb7-8fcb-a4a07a3c8d2f', 'name': '', 'tenant_id': '551f918965dc4b92a3c326fb636e4ffa', 'network_id': 'edc9041f-cbb4-44e7-b8fc-1f169c83c0e2', 'ip_version': 4, 'cidr': '116.137.10.64/26', 'allocation_pools': [{'start': '116.137.10.66', 'end': '116.137.10.126'}], 'gateway_ip': '116.137.10.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-22T15:04:37.297517', 'updated_at': '2025-10-22T15:04:37.297517', 'dns_server_address': '116.137.10.66', 'tags': [], 'project_id': '551f918965dc4b92a3c326fb636e4ffa'}}
2025-10-22 15:04:37,465 - INFO - Created VN ctest-vn-61545137
2025-10-22 15:04:37,518 - DEBUG - VN ctest-vn-61545137 UUID is edc9041f-cbb4-44e7-b8fc-1f169c83c0e2
2025-10-22 15:04:37,804 - DEBUG - Services list from nova: [, , ]
2025-10-22 15:04:38,911 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-601-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-601-1)
2025-10-22 15:04:40,194 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-601-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-601-1)
2025-10-22 15:04:40,194 - INFO - Waiting for VM ctest-TestBasicVMVNx-77907778-88582232 to be up..
2025-10-22 15:04:40,342 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-22 15:04:45,479 - DEBUG - VM is in ACTIVE state now
2025-10-22 15:04:45,479 - INFO - VM name : ctest-TestBasicVMVNx-77907778-88582232
2025-10-22 15:04:45,627 - DEBUG - VM ctest-TestBasicVMVNx-77907778-88582232 ID is de5f052e-2e63-4483-bf7b-c79bf18aa782
2025-10-22 15:04:45,654 - DEBUG - VM ctest-TestBasicVMVNx-77907778-88582232 launched on Node cn-jenkins-deploy-platform-juju-os-601-1
2025-10-22 15:04:45,808 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine/de5f052e-2e63-4483-bf7b-c79bf18aa782
2025-10-22 15:04:46,154 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine/de5f052e-2e63-4483-bf7b-c79bf18aa782
2025-10-22 15:04:46,244 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine-interface/fb0fe844-c692-4de2-94d0-47ae7454bc11
2025-10-22 15:04:49,730 - 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 1028ms')
2025-10-22 15:04:49,730 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-77907778-88582232 failed!
2025-10-22 15:04:49,787 - DEBUG - Gateway for vn admin_domain:ctest-TestBasicVMVNx-77907778:ctest-vn-61545137 is 116.137.10.65 and allocation pool is NOT set
2025-10-22 15:04:51,885 - 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=8.79 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.42 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.422/5.105/8.788/3.683 ms')
2025-10-22 15:04:51,885 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-77907778-88582232 passed
2025-10-22 15:04:52,038 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-22 15:04:52,039 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-77907778-88582232, IP 116.137.10.67, Port 22
2025-10-22 15:04:52,126 - 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-10-22 15:04:52,270 - DEBUG - VM ctest-TestBasicVMVNx-77907778-88582232 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-22 15:04:57,270 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-22 15:04:57,270 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-77907778-88582232, IP 116.137.10.67, Port 22
2025-10-22 15:04:57,481 - DEBUG - VM ctest-TestBasicVMVNx-77907778-88582232 is ready for SSH connections
2025-10-22 15:04:57,481 - INFO - Waiting for VM ctest-TestBasicVMVNx-77907778-64260843 to be up..
2025-10-22 15:04:57,617 - DEBUG - VM is in ACTIVE state now
2025-10-22 15:04:57,617 - INFO - VM name : ctest-TestBasicVMVNx-77907778-64260843
2025-10-22 15:04:57,753 - DEBUG - VM ctest-TestBasicVMVNx-77907778-64260843 ID is 834ea6f6-0f07-47bb-9f6c-e9cfe69a0ed2
2025-10-22 15:04:57,753 - DEBUG - VM ctest-TestBasicVMVNx-77907778-64260843 launched on Node cn-jenkins-deploy-platform-juju-os-601-1
2025-10-22 15:04:57,894 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine/834ea6f6-0f07-47bb-9f6c-e9cfe69a0ed2
2025-10-22 15:04:57,947 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine-interface/393a1343-5caf-446f-8d71-f6bc44c02a7b
2025-10-22 15:04:59,405 - 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.89 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.397 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.397/1.643/2.890/1.246 ms')
2025-10-22 15:04:59,405 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-77907778-64260843 passed
2025-10-22 15:04:59,558 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-22 15:04:59,558 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-77907778-64260843, IP 116.137.10.68, Port 22
2025-10-22 15:04:59,784 - DEBUG - VM ctest-TestBasicVMVNx-77907778-64260843 is ready for SSH connections
2025-10-22 15:04:59,784 - DEBUG - FILE SIZE = 1303B
2025-10-22 15:04:59,784 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-77907778-88582232 to ctest-TestBasicVMVNx-77907778-64260843 using scp
2025-10-22 15:04:59,791 - 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.241, gateway password: c0ntrail123
2025-10-22 15:04:59,791 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-10-22 15:05:01,447 - DEBUG - 1+0 records in
1+0 records out
2025-10-22 15:05:02,074 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-22 15:05:02,420 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123
2025-10-22 15:05:02,421 - DEBUG - ls -l testfile
2025-10-22 15:05:04,010 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 22 09:05 [0;0mtestfile[0m
2025-10-22 15:05:04,010 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-77907778-64260843
2025-10-22 15:05:04,011 - INFO - Deleting VM ctest-TestBasicVMVNx-77907778-64260843
2025-10-22 15:05:04,114 - INFO - Deleting VM ctest-TestBasicVMVNx-77907778-88582232
2025-10-22 15:05:04,223 - INFO - Deleting VN ctest-vn-61545137
2025-10-22 15:05:04,362 - DEBUG - VN edc9041f-cbb4-44e7-b8fc-1f169c83c0e2 still in use: Unable to complete operation on network edc9041f-cbb4-44e7-b8fc-1f169c83c0e2. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-abda385a-992d-4cd3-91ba-f0d0fcba656b']
2025-10-22 15:05:04,363 - WARNING - Deleting VN ctest-vn-61545137 failed..Will retry
2025-10-22 15:05:06,522 - DEBUG - Response for deleting network ()
2025-10-22 15:05:06,908 - DEBUG - No XMPP flaps were noticed during the test
2025-10-22 15:05:06,908 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:31]
2025-10-22 15:05:06,908 - INFO - --------------------------------------------------------------------------------
2025-10-22 15:05:07,681 - INFO - Deleted project: ctest-TestBasicVMVNx-77907778, ID : 551f9189-65dc-4b92-a3c3-26fb636e4ffa