2025-10-27 00:07:21,008 - INFO - Domain Default found not creating
2025-10-27 00:07:21,150 - INFO - Project ctest-TestBasicVMVNx-30452707 not found, creating it
2025-10-27 00:07:21,588 - INFO - Created Project:ctest-TestBasicVMVNx-30452707, ID : 967dbe56-4b9d-4b98-ad4d-cbda69ce2476
2025-10-27 00:07:23,187 - INFO - ================================================================================
2025-10-27 00:07:23,188 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-10-27 00:07:23,188 - 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-27 00:07:23,446 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with
2025-10-27 00:07:23,446 - INFO - Initial checks done. Running the testcase now
2025-10-27 00:07:23,446 - INFO -
2025-10-27 00:07:24,026 - DEBUG - Response for create_network : {'network': {'id': 'b18a1626-b8a8-48d1-8be1-feff655d5813', 'name': 'ctest-vn-76813038', 'tenant_id': '967dbe564b9d4b98ad4dcbda69ce2476', 'project_id': '967dbe564b9d4b98ad4dcbda69ce2476', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-30452707', 'ctest-vn-76813038'], 'port_security_enabled': True, 'description': ''}}
2025-10-27 00:07:24,216 - DEBUG - Response for create_subnet : {'subnet': {'id': '781b7ffe-d1a9-4501-a23e-f25c10d05f2a', 'name': '', 'tenant_id': '967dbe564b9d4b98ad4dcbda69ce2476', 'network_id': 'b18a1626-b8a8-48d1-8be1-feff655d5813', 'ip_version': 4, 'cidr': '120.67.89.128/26', 'allocation_pools': [{'start': '120.67.89.130', 'end': '120.67.89.190'}], 'gateway_ip': '120.67.89.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '120.67.89.130', 'tags': [], 'project_id': '967dbe564b9d4b98ad4dcbda69ce2476'}}
2025-10-27 00:07:24,233 - INFO - Created VN ctest-vn-76813038
2025-10-27 00:07:24,284 - DEBUG - VN ctest-vn-76813038 UUID is b18a1626-b8a8-48d1-8be1-feff655d5813
2025-10-27 00:07:24,489 - DEBUG - Services list from nova: [, , ]
2025-10-27 00:07:25,579 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4484-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4484-1)
2025-10-27 00:07:26,778 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4484-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4484-1)
2025-10-27 00:07:26,778 - INFO - Waiting for VM ctest-TestBasicVMVNx-30452707-18067541 to be up..
2025-10-27 00:07:26,860 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-27 00:07:31,943 - DEBUG - VM is in ACTIVE state now
2025-10-27 00:07:31,943 - INFO - VM name : ctest-TestBasicVMVNx-30452707-18067541
2025-10-27 00:07:32,015 - DEBUG - VM ctest-TestBasicVMVNx-30452707-18067541 ID is b6f4690d-1f5d-4ce7-8370-ee257ccf7e85
2025-10-27 00:07:32,034 - DEBUG - VM ctest-TestBasicVMVNx-30452707-18067541 launched on Node cn-jenkins-deploy-platform-ansible-os-4484-1
2025-10-27 00:07:32,105 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/b6f4690d-1f5d-4ce7-8370-ee257ccf7e85
2025-10-27 00:07:32,437 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/b6f4690d-1f5d-4ce7-8370-ee257ccf7e85
2025-10-27 00:07:32,468 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/c72818bc-de20-443f-bc38-2332dedfde2a
2025-10-27 00:07:35,726 - 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')
2025-10-27 00:07:35,727 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-30452707-18067541 failed!
2025-10-27 00:07:35,784 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-30452707:ctest-vn-76813038 is 120.67.89.129 and allocation pool is NOT set
2025-10-27 00:07:37,845 - 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.64 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.05 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 = 2.048/3.342/4.636/1.294 ms')
2025-10-27 00:07:37,845 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-30452707-18067541 passed
2025-10-27 00:07:37,996 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-27 00:07:37,996 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-30452707-18067541, IP 120.67.89.131, Port 22
2025-10-27 00:07:38,052 - 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-27 00:07:38,125 - DEBUG - VM ctest-TestBasicVMVNx-30452707-18067541 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-27 00:07:43,126 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-27 00:07:43,126 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-30452707-18067541, IP 120.67.89.131, Port 22
2025-10-27 00:07:43,287 - DEBUG - VM ctest-TestBasicVMVNx-30452707-18067541 is ready for SSH connections
2025-10-27 00:07:43,288 - INFO - Waiting for VM ctest-TestBasicVMVNx-30452707-21567734 to be up..
2025-10-27 00:07:43,361 - DEBUG - VM is in ACTIVE state now
2025-10-27 00:07:43,361 - INFO - VM name : ctest-TestBasicVMVNx-30452707-21567734
2025-10-27 00:07:43,430 - DEBUG - VM ctest-TestBasicVMVNx-30452707-21567734 ID is 6fb4ba69-6ddb-42f3-ad7f-468e75785514
2025-10-27 00:07:43,431 - DEBUG - VM ctest-TestBasicVMVNx-30452707-21567734 launched on Node cn-jenkins-deploy-platform-ansible-os-4484-1
2025-10-27 00:07:43,500 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/6fb4ba69-6ddb-42f3-ad7f-468e75785514
2025-10-27 00:07:43,509 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/b8e9b53b-559f-4891-8638-5a24034a29b8
2025-10-27 00:07:44,749 - 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.01 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.352 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 = 0.352/1.682/3.012/1.330 ms')
2025-10-27 00:07:44,749 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-30452707-21567734 passed
2025-10-27 00:07:44,896 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-27 00:07:44,896 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-30452707-21567734, IP 120.67.89.132, Port 22
2025-10-27 00:07:45,051 - DEBUG - VM ctest-TestBasicVMVNx-30452707-21567734 is ready for SSH connections
2025-10-27 00:07:45,051 - DEBUG - FILE SIZE = 1303B
2025-10-27 00:07:45,051 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-30452707-18067541 to ctest-TestBasicVMVNx-30452707-21567734 using scp
2025-10-27 00:07:45,053 - 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.249, gateway password: c0ntrail123
2025-10-27 00:07:45,053 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-10-27 00:07:47,108 - DEBUG - 1+0 records in
1+0 records out
2025-10-27 00:07:47,791 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-27 00:07:48,140 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123
2025-10-27 00:07:48,140 - DEBUG - ls -l testfile
2025-10-27 00:07:49,756 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 26 18:07 [0;0mtestfile[0m
2025-10-27 00:07:49,756 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-30452707-21567734
2025-10-27 00:07:49,756 - INFO - Deleting VM ctest-TestBasicVMVNx-30452707-21567734
2025-10-27 00:07:49,822 - INFO - Deleting VM ctest-TestBasicVMVNx-30452707-18067541
2025-10-27 00:07:49,889 - INFO - Deleting VN ctest-vn-76813038
2025-10-27 00:07:49,929 - DEBUG - VN b18a1626-b8a8-48d1-8be1-feff655d5813 still in use: Unable to complete operation on network b18a1626-b8a8-48d1-8be1-feff655d5813. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-32685253-07b0-4bea-aacc-bb9bb716bef6']
2025-10-27 00:07:49,930 - WARNING - Deleting VN ctest-vn-76813038 failed..Will retry
2025-10-27 00:07:52,021 - DEBUG - Response for deleting network ()
2025-10-27 00:07:52,283 - DEBUG - No XMPP flaps were noticed during the test
2025-10-27 00:07:52,283 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29]
2025-10-27 00:07:52,283 - INFO - --------------------------------------------------------------------------------
2025-10-27 00:07:53,007 - INFO - Deleted project: ctest-TestBasicVMVNx-30452707, ID : 967dbe56-4b9d-4b98-ad4d-cbda69ce2476