2025-10-09 18:51:37,272 - INFO - Domain Default found not creating
2025-10-09 18:51:37,412 - INFO - Project ctest-TestBasicVMVNx-75829924 not found, creating it
2025-10-09 18:51:37,849 - INFO - Created Project:ctest-TestBasicVMVNx-75829924, ID : ecdeaed8-703e-40bf-868b-96f565171f81
2025-10-09 18:51:39,330 - INFO - ================================================================================
2025-10-09 18:51:39,330 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-10-09 18:51:39,330 - 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-09 18:51:39,578 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2025-10-09 18:51:39,578 - INFO - Initial checks done. Running the testcase now
2025-10-09 18:51:39,579 - INFO -
2025-10-09 18:51:40,101 - DEBUG - Response for create_network : {'network': {'id': '2b103a40-8f29-47aa-bbd0-894f3a53995b', 'name': 'ctest-vn-85622477', 'tenant_id': 'ecdeaed8703e40bf868b96f565171f81', 'project_id': 'ecdeaed8703e40bf868b96f565171f81', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-75829924', 'ctest-vn-85622477'], 'port_security_enabled': True, 'description': ''}}
2025-10-09 18:51:40,268 - DEBUG - Response for create_subnet : {'subnet': {'id': '2a24dd10-14cf-4594-ab1b-ba4533c29b97', 'name': '', 'tenant_id': 'ecdeaed8703e40bf868b96f565171f81', 'network_id': '2b103a40-8f29-47aa-bbd0-894f3a53995b', 'ip_version': 4, 'cidr': '5.220.52.64/26', 'allocation_pools': [{'start': '5.220.52.66', 'end': '5.220.52.126'}], 'gateway_ip': '5.220.52.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '5.220.52.66', 'tags': [], 'project_id': 'ecdeaed8703e40bf868b96f565171f81'}}
2025-10-09 18:51:40,285 - INFO - Created VN ctest-vn-85622477
2025-10-09 18:51:40,337 - DEBUG - VN ctest-vn-85622477 UUID is 2b103a40-8f29-47aa-bbd0-894f3a53995b
2025-10-09 18:51:40,536 - DEBUG - Services list from nova: [, , ]
2025-10-09 18:51:41,496 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4273-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4273-1)
2025-10-09 18:51:42,607 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4273-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4273-1)
2025-10-09 18:51:42,607 - INFO - Waiting for VM ctest-TestBasicVMVNx-75829924-75071119 to be up..
2025-10-09 18:51:42,679 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-09 18:51:47,751 - DEBUG - VM is in ACTIVE state now
2025-10-09 18:51:47,751 - INFO - VM name : ctest-TestBasicVMVNx-75829924-75071119
2025-10-09 18:51:47,824 - DEBUG - VM ctest-TestBasicVMVNx-75829924-75071119 ID is a45d12fb-6a32-4dae-9875-4f715b202ffb
2025-10-09 18:51:47,844 - DEBUG - VM ctest-TestBasicVMVNx-75829924-75071119 launched on Node cn-jenkins-deploy-platform-ansible-os-4273-1
2025-10-09 18:51:47,915 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a45d12fb-6a32-4dae-9875-4f715b202ffb
2025-10-09 18:51:48,207 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a45d12fb-6a32-4dae-9875-4f715b202ffb
2025-10-09 18:51:48,241 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/11f5887f-b5ba-4b8b-854c-fae2176e023c
2025-10-09 18:51:51,529 - 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 1031ms')
2025-10-09 18:51:51,529 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-75829924-75071119 failed!
2025-10-09 18:51:51,585 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-75829924:ctest-vn-85622477 is 5.220.52.65 and allocation pool is NOT set
2025-10-09 18:51:53,642 - 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=3.69 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.423 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 = 0.423/2.054/3.685/1.631 ms')
2025-10-09 18:51:53,642 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-75829924-75071119 passed
2025-10-09 18:51:53,789 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 18:51:53,789 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-75829924-75071119, IP 5.220.52.67, Port 22
2025-10-09 18:51:53,941 - DEBUG - VM ctest-TestBasicVMVNx-75829924-75071119 is ready for SSH connections
2025-10-09 18:51:53,941 - INFO - Waiting for VM ctest-TestBasicVMVNx-75829924-06414345 to be up..
2025-10-09 18:51:54,016 - DEBUG - VM is in ACTIVE state now
2025-10-09 18:51:54,016 - INFO - VM name : ctest-TestBasicVMVNx-75829924-06414345
2025-10-09 18:51:54,085 - DEBUG - VM ctest-TestBasicVMVNx-75829924-06414345 ID is 1bba087f-21bf-4b9a-8a93-04e9bd34a393
2025-10-09 18:51:54,085 - DEBUG - VM ctest-TestBasicVMVNx-75829924-06414345 launched on Node cn-jenkins-deploy-platform-ansible-os-4273-1
2025-10-09 18:51:54,154 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/1bba087f-21bf-4b9a-8a93-04e9bd34a393
2025-10-09 18:51:54,161 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/027d5bfa-50a3-4e2e-a72d-f4da1bdc08ca
2025-10-09 18:51:55,389 - 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.55 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.403 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.403/1.976/3.549/1.573 ms')
2025-10-09 18:51:55,389 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-75829924-06414345 passed
2025-10-09 18:51:55,537 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 18:51:55,538 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-75829924-06414345, IP 5.220.52.68, Port 22
2025-10-09 18:51:55,693 - DEBUG - VM ctest-TestBasicVMVNx-75829924-06414345 is ready for SSH connections
2025-10-09 18:51:55,693 - DEBUG - FILE SIZE = 1303B
2025-10-09 18:51:55,693 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-75829924-75071119 to ctest-TestBasicVMVNx-75829924-06414345 using scp
2025-10-09 18:51:55,695 - 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-10-09 18:51:55,695 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-10-09 18:51:57,584 - DEBUG - 1+0 records in
1+0 records out
2025-10-09 18:51:58,179 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 18:51:58,509 - 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-10-09 18:51:58,509 - DEBUG - ls -l testfile
2025-10-09 18:52:00,096 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 9 12:51 [0;0mtestfile[0m
2025-10-09 18:52:00,096 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-75829924-06414345
2025-10-09 18:52:00,096 - INFO - Deleting VM ctest-TestBasicVMVNx-75829924-06414345
2025-10-09 18:52:00,162 - INFO - Deleting VM ctest-TestBasicVMVNx-75829924-75071119
2025-10-09 18:52:00,242 - INFO - Deleting VN ctest-vn-85622477
2025-10-09 18:52:00,279 - DEBUG - VN 2b103a40-8f29-47aa-bbd0-894f3a53995b still in use: Unable to complete operation on network 2b103a40-8f29-47aa-bbd0-894f3a53995b. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-f6ba878c-0c97-4ea4-a4d6-41c5f6006014']
2025-10-09 18:52:00,280 - WARNING - Deleting VN ctest-vn-85622477 failed..Will retry
2025-10-09 18:52:02,377 - DEBUG - Response for deleting network ()
2025-10-09 18:52:02,630 - DEBUG - No XMPP flaps were noticed during the test
2025-10-09 18:52:02,630 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-10-09 18:52:02,630 - INFO - --------------------------------------------------------------------------------
2025-10-09 18:52:03,295 - INFO - Deleted project: ctest-TestBasicVMVNx-75829924, ID : ecdeaed8-703e-40bf-868b-96f565171f81