2025-09-08 12:03:54,404 - INFO - Domain Default found not creating
2025-09-08 12:03:54,546 - INFO - Project ctest-TestBasicVMVNx-99006081 not found, creating it
2025-09-08 12:03:54,974 - INFO - Created Project:ctest-TestBasicVMVNx-99006081, ID : d3ceee81-1618-4d5c-8e66-486265359178
2025-09-08 12:03:56,429 - INFO - ================================================================================
2025-09-08 12:03:56,429 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-09-08 12:03:56,429 - 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-09-08 12:03:56,684 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with
2025-09-08 12:03:56,684 - INFO - Initial checks done. Running the testcase now
2025-09-08 12:03:56,685 - INFO -
2025-09-08 12:03:57,244 - DEBUG - Response for create_network : {'network': {'id': 'ddee5e30-ca3d-42ec-bd3d-4f79799fed42', 'name': 'ctest-vn-49901559', 'tenant_id': 'd3ceee8116184d5c8e66486265359178', 'project_id': 'd3ceee8116184d5c8e66486265359178', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-99006081', 'ctest-vn-49901559'], 'port_security_enabled': True, 'description': ''}}
2025-09-08 12:03:57,441 - DEBUG - Response for create_subnet : {'subnet': {'id': '59b24667-976c-492d-819c-749df02f7293', 'name': '', 'tenant_id': 'd3ceee8116184d5c8e66486265359178', 'network_id': 'ddee5e30-ca3d-42ec-bd3d-4f79799fed42', 'ip_version': 4, 'cidr': '15.245.138.0/26', 'allocation_pools': [{'start': '15.245.138.2', 'end': '15.245.138.62'}], 'gateway_ip': '15.245.138.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '15.245.138.2', 'tags': [], 'project_id': 'd3ceee8116184d5c8e66486265359178'}}
2025-09-08 12:03:57,456 - INFO - Created VN ctest-vn-49901559
2025-09-08 12:03:57,508 - DEBUG - VN ctest-vn-49901559 UUID is ddee5e30-ca3d-42ec-bd3d-4f79799fed42
2025-09-08 12:03:57,702 - DEBUG - Services list from nova: [, , ]
2025-09-08 12:03:58,693 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4045-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4045-1)
2025-09-08 12:03:59,814 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4045-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4045-1)
2025-09-08 12:03:59,814 - INFO - Waiting for VM ctest-TestBasicVMVNx-99006081-64442093 to be up..
2025-09-08 12:03:59,881 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-08 12:04:04,952 - DEBUG - VM is in ACTIVE state now
2025-09-08 12:04:04,952 - INFO - VM name : ctest-TestBasicVMVNx-99006081-64442093
2025-09-08 12:04:05,038 - DEBUG - VM ctest-TestBasicVMVNx-99006081-64442093 ID is dee83fe7-1b7a-4a60-9ef5-e3fa5d15e435
2025-09-08 12:04:05,060 - DEBUG - VM ctest-TestBasicVMVNx-99006081-64442093 launched on Node cn-jenkins-deploy-platform-ansible-os-4045-1
2025-09-08 12:04:05,141 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/dee83fe7-1b7a-4a60-9ef5-e3fa5d15e435
2025-09-08 12:04:05,434 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/dee83fe7-1b7a-4a60-9ef5-e3fa5d15e435
2025-09-08 12:04:05,465 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/72e759ae-5a44-438f-8553-1403e072da56
2025-09-08 12:04:08,722 - 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 1027ms')
2025-09-08 12:04:08,722 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-99006081-64442093 failed!
2025-09-08 12:04:08,776 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-99006081:ctest-vn-49901559 is 15.245.138.1 and allocation pool is NOT set
2025-09-08 12:04:10,835 - 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=2.81 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.522 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 = 0.522/1.668/2.814/1.146 ms')
2025-09-08 12:04:10,835 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-99006081-64442093 passed
2025-09-08 12:04:10,988 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-08 12:04:10,988 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-99006081-64442093, IP 15.245.138.3, Port 22
2025-09-08 12:04:11,151 - DEBUG - VM ctest-TestBasicVMVNx-99006081-64442093 is ready for SSH connections
2025-09-08 12:04:11,151 - INFO - Waiting for VM ctest-TestBasicVMVNx-99006081-49547040 to be up..
2025-09-08 12:04:11,222 - DEBUG - VM is in ACTIVE state now
2025-09-08 12:04:11,222 - INFO - VM name : ctest-TestBasicVMVNx-99006081-49547040
2025-09-08 12:04:11,289 - DEBUG - VM ctest-TestBasicVMVNx-99006081-49547040 ID is 0578d3d3-5d9e-458a-b43e-264fc9836934
2025-09-08 12:04:11,289 - DEBUG - VM ctest-TestBasicVMVNx-99006081-49547040 launched on Node cn-jenkins-deploy-platform-ansible-os-4045-1
2025-09-08 12:04:11,353 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/0578d3d3-5d9e-458a-b43e-264fc9836934
2025-09-08 12:04:11,360 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/0920856b-1047-4f41-b40b-6f192a1b37c8
2025-09-08 12:04:12,589 - 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.79 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.382 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.382/1.585/2.789/1.203 ms')
2025-09-08 12:04:12,589 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-99006081-49547040 passed
2025-09-08 12:04:12,736 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-08 12:04:12,736 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-99006081-49547040, IP 15.245.138.4, Port 22
2025-09-08 12:04:12,904 - DEBUG - VM ctest-TestBasicVMVNx-99006081-49547040 is ready for SSH connections
2025-09-08 12:04:12,904 - DEBUG - FILE SIZE = 1303B
2025-09-08 12:04:12,904 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-99006081-64442093 to ctest-TestBasicVMVNx-99006081-49547040 using scp
2025-09-08 12:04:12,906 - 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.22, gateway password: c0ntrail123
2025-09-08 12:04:12,906 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-09-08 12:04:14,787 - DEBUG - 1+0 records in
1+0 records out
2025-09-08 12:04:15,596 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-08 12:04:15,909 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-09-08 12:04:15,909 - DEBUG - ls -l testfile
2025-09-08 12:04:17,471 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 8 06:04 [0;0mtestfile[0m
2025-09-08 12:04:17,471 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-99006081-49547040
2025-09-08 12:04:17,471 - INFO - Deleting VM ctest-TestBasicVMVNx-99006081-49547040
2025-09-08 12:04:17,538 - INFO - Deleting VM ctest-TestBasicVMVNx-99006081-64442093
2025-09-08 12:04:17,602 - INFO - Deleting VN ctest-vn-49901559
2025-09-08 12:04:17,633 - DEBUG - VN ddee5e30-ca3d-42ec-bd3d-4f79799fed42 still in use: Unable to complete operation on network ddee5e30-ca3d-42ec-bd3d-4f79799fed42. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-2c4ec7b9-06e1-4864-ab6a-104696a5cd7d']
2025-09-08 12:04:17,633 - WARNING - Deleting VN ctest-vn-49901559 failed..Will retry
2025-09-08 12:04:19,720 - DEBUG - Response for deleting network ()
2025-09-08 12:04:19,978 - DEBUG - No XMPP flaps were noticed during the test
2025-09-08 12:04:19,978 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-09-08 12:04:19,978 - INFO - --------------------------------------------------------------------------------
2025-09-08 12:04:20,632 - INFO - Deleted project: ctest-TestBasicVMVNx-99006081, ID : d3ceee81-1618-4d5c-8e66-486265359178