2025-06-19 08:57:26,209 - INFO - Domain Default found not creating
2025-06-19 08:57:26,357 - INFO - Project ctest-TestBasicVMVNx-71694485 not found, creating it
2025-06-19 08:57:26,829 - INFO - Created Project:ctest-TestBasicVMVNx-71694485, ID : be24de74-4e72-41a3-a1e6-f74cd285b6d7
2025-06-19 08:57:28,253 - INFO - ================================================================================
2025-06-19 08:57:28,254 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-06-19 08:57:28,254 - 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-06-19 08:57:28,507 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.17': '0'}} with
2025-06-19 08:57:28,507 - INFO - Initial checks done. Running the testcase now
2025-06-19 08:57:28,507 - INFO -
2025-06-19 08:57:29,054 - DEBUG - Response for create_network : {'network': {'id': 'ff0e8b53-3d47-4aa1-8586-b6346820b1fc', 'name': 'ctest-vn-25693834', 'tenant_id': 'be24de744e7241a3a1e6f74cd285b6d7', 'project_id': 'be24de744e7241a3a1e6f74cd285b6d7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-71694485', 'ctest-vn-25693834'], 'port_security_enabled': True, 'description': ''}}
2025-06-19 08:57:29,197 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c655402a-a9f3-4a11-bbe5-af1fe4584f46', 'name': '', 'tenant_id': 'be24de744e7241a3a1e6f74cd285b6d7', 'network_id': 'ff0e8b53-3d47-4aa1-8586-b6346820b1fc', 'ip_version': 4, 'cidr': '121.37.173.64/26', 'allocation_pools': [{'start': '121.37.173.66', 'end': '121.37.173.126'}], 'gateway_ip': '121.37.173.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '121.37.173.66', 'tags': [], 'project_id': 'be24de744e7241a3a1e6f74cd285b6d7'}}
2025-06-19 08:57:29,216 - INFO - Created VN ctest-vn-25693834
2025-06-19 08:57:29,270 - DEBUG - VN ctest-vn-25693834 UUID is ff0e8b53-3d47-4aa1-8586-b6346820b1fc
2025-06-19 08:57:29,439 - DEBUG - Services list from nova: [, , ]
2025-06-19 08:57:30,433 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3487-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3487-1)
2025-06-19 08:57:31,587 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3487-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3487-1)
2025-06-19 08:57:31,587 - INFO - Waiting for VM ctest-TestBasicVMVNx-71694485-87057309 to be up..
2025-06-19 08:57:31,675 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-06-19 08:57:36,767 - DEBUG - VM is in ACTIVE state now
2025-06-19 08:57:36,767 - INFO - VM name : ctest-TestBasicVMVNx-71694485-87057309
2025-06-19 08:57:36,861 - DEBUG - VM ctest-TestBasicVMVNx-71694485-87057309 ID is 82c81785-66b5-4242-ad30-19c5b296f306
2025-06-19 08:57:36,882 - DEBUG - VM ctest-TestBasicVMVNx-71694485-87057309 launched on Node cn-jenkins-deploy-platform-ansible-os-3487-1
2025-06-19 08:57:36,966 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/82c81785-66b5-4242-ad30-19c5b296f306
2025-06-19 08:57:37,266 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/82c81785-66b5-4242-ad30-19c5b296f306
2025-06-19 08:57:37,306 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/0532bb58-2568-4bc0-96ec-32e7b8f3a246
2025-06-19 08:57:40,589 - 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-06-19 08:57:40,589 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-71694485-87057309 failed!
2025-06-19 08:57:40,646 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-71694485:ctest-vn-25693834 is 121.37.173.65 and allocation pool is NOT set
2025-06-19 08:57:42,707 - 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.84 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.545 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.545/2.191/3.837/1.646 ms')
2025-06-19 08:57:42,707 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-71694485-87057309 passed
2025-06-19 08:57:42,858 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-19 08:57:42,858 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-71694485-87057309, IP 121.37.173.67, Port 22
2025-06-19 08:57:43,014 - DEBUG - VM ctest-TestBasicVMVNx-71694485-87057309 is ready for SSH connections
2025-06-19 08:57:43,015 - INFO - Waiting for VM ctest-TestBasicVMVNx-71694485-07986652 to be up..
2025-06-19 08:57:43,196 - DEBUG - VM is in ACTIVE state now
2025-06-19 08:57:43,196 - INFO - VM name : ctest-TestBasicVMVNx-71694485-07986652
2025-06-19 08:57:43,277 - DEBUG - VM ctest-TestBasicVMVNx-71694485-07986652 ID is 0bd3b16c-abf6-4291-887b-ff0398f6c560
2025-06-19 08:57:43,277 - DEBUG - VM ctest-TestBasicVMVNx-71694485-07986652 launched on Node cn-jenkins-deploy-platform-ansible-os-3487-1
2025-06-19 08:57:43,360 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/0bd3b16c-abf6-4291-887b-ff0398f6c560
2025-06-19 08:57:43,370 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/ccee58c9-e6c5-4a7a-934b-86dddfd9fbc3
2025-06-19 08:57:44,624 - 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=4.49 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.64 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 = 2.644/3.569/4.494/0.925 ms')
2025-06-19 08:57:44,624 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-71694485-07986652 passed
2025-06-19 08:57:44,782 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-19 08:57:44,782 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-71694485-07986652, IP 121.37.173.68, Port 22
2025-06-19 08:57:44,937 - DEBUG - VM ctest-TestBasicVMVNx-71694485-07986652 is ready for SSH connections
2025-06-19 08:57:44,937 - DEBUG - FILE SIZE = 1303B
2025-06-19 08:57:44,937 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-71694485-87057309 to ctest-TestBasicVMVNx-71694485-07986652 using scp
2025-06-19 08:57:44,938 - 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.19, gateway password: c0ntrail123
2025-06-19 08:57:44,938 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-06-19 08:57:46,848 - DEBUG - 1+0 records in
1+0 records out
2025-06-19 08:57:47,647 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-19 08:57:47,981 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2025-06-19 08:57:47,981 - DEBUG - ls -l testfile
2025-06-19 08:57:49,552 - DEBUG - -rw------- 1 cirros cirros 1303 Jun 19 02:57 [0;0mtestfile[0m
2025-06-19 08:57:49,552 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-71694485-07986652
2025-06-19 08:57:49,552 - INFO - Deleting VM ctest-TestBasicVMVNx-71694485-07986652
2025-06-19 08:57:49,629 - INFO - Deleting VM ctest-TestBasicVMVNx-71694485-87057309
2025-06-19 08:57:49,704 - INFO - Deleting VN ctest-vn-25693834
2025-06-19 08:57:49,744 - DEBUG - VN ff0e8b53-3d47-4aa1-8586-b6346820b1fc still in use: Unable to complete operation on network ff0e8b53-3d47-4aa1-8586-b6346820b1fc. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-9df70547-dd94-48f5-9d9e-a886932272b2']
2025-06-19 08:57:49,744 - WARNING - Deleting VN ctest-vn-25693834 failed..Will retry
2025-06-19 08:57:51,856 - DEBUG - Response for deleting network ()
2025-06-19 08:57:52,113 - DEBUG - No XMPP flaps were noticed during the test
2025-06-19 08:57:52,113 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-06-19 08:57:52,113 - INFO - --------------------------------------------------------------------------------
2025-06-19 08:57:52,792 - INFO - Deleted project: ctest-TestBasicVMVNx-71694485, ID : be24de74-4e72-41a3-a1e6-f74cd285b6d7