2025-05-15 02:13:08,812 - INFO - Domain Default found not creating
2025-05-15 02:13:08,968 - INFO - Project ctest-TestBasicVMVNx-30528206 not found, creating it
2025-05-15 02:13:09,440 - INFO - Created Project:ctest-TestBasicVMVNx-30528206, ID : 1b4d469b-80d0-47d3-a782-5ccc43ad6020
2025-05-15 02:13:10,952 - INFO - ================================================================================
2025-05-15 02:13:10,952 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-05-15 02:13:10,952 - 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-05-15 02:13:11,206 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.254': '0'}} with
2025-05-15 02:13:11,206 - INFO - Initial checks done. Running the testcase now
2025-05-15 02:13:11,206 - INFO -
2025-05-15 02:13:11,758 - DEBUG - Response for create_network : {'network': {'id': 'a03cfba6-6197-410e-9813-8c29a5bd26bf', 'name': 'ctest-vn-05615625', 'tenant_id': '1b4d469b80d047d3a7825ccc43ad6020', 'project_id': '1b4d469b80d047d3a7825ccc43ad6020', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-30528206', 'ctest-vn-05615625'], 'port_security_enabled': True, 'description': ''}}
2025-05-15 02:13:11,905 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bce90c88-0f6b-4461-8ef4-3f21e28b7002', 'name': '', 'tenant_id': '1b4d469b80d047d3a7825ccc43ad6020', 'network_id': 'a03cfba6-6197-410e-9813-8c29a5bd26bf', 'ip_version': 4, 'cidr': '190.88.149.128/26', 'allocation_pools': [{'start': '190.88.149.130', 'end': '190.88.149.190'}], 'gateway_ip': '190.88.149.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '190.88.149.130', 'tags': [], 'project_id': '1b4d469b80d047d3a7825ccc43ad6020'}}
2025-05-15 02:13:11,924 - INFO - Created VN ctest-vn-05615625
2025-05-15 02:13:11,976 - DEBUG - VN ctest-vn-05615625 UUID is a03cfba6-6197-410e-9813-8c29a5bd26bf
2025-05-15 02:13:12,139 - DEBUG - Services list from nova: [, , ]
2025-05-15 02:13:13,137 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3314-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3314-1)
2025-05-15 02:13:14,255 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3314-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3314-1)
2025-05-15 02:13:14,255 - INFO - Waiting for VM ctest-TestBasicVMVNx-30528206-66611578 to be up..
2025-05-15 02:13:14,339 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-05-15 02:13:19,420 - DEBUG - VM is in ACTIVE state now
2025-05-15 02:13:19,420 - INFO - VM name : ctest-TestBasicVMVNx-30528206-66611578
2025-05-15 02:13:19,496 - DEBUG - VM ctest-TestBasicVMVNx-30528206-66611578 ID is c270bc6a-6fb2-48c8-8571-c80f22eab84f
2025-05-15 02:13:19,514 - DEBUG - VM ctest-TestBasicVMVNx-30528206-66611578 launched on Node cn-jenkins-deploy-platform-ansible-os-3314-1
2025-05-15 02:13:19,589 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/c270bc6a-6fb2-48c8-8571-c80f22eab84f
2025-05-15 02:13:19,882 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/c270bc6a-6fb2-48c8-8571-c80f22eab84f
2025-05-15 02:13:19,915 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/c4bcc5f8-a607-4a5f-938f-85bf5cf5a84e
2025-05-15 02:13:23,190 - 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-05-15 02:13:23,190 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-30528206-66611578 failed!
2025-05-15 02:13:23,248 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-30528206:ctest-vn-05615625 is 190.88.149.129 and allocation pool is NOT set
2025-05-15 02:13:25,311 - 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.73 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.88 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.884/3.306/4.729/1.422 ms')
2025-05-15 02:13:25,311 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-30528206-66611578 passed
2025-05-15 02:13:25,460 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-15 02:13:25,460 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-30528206-66611578, IP 190.88.149.131, Port 22
2025-05-15 02:13:25,615 - DEBUG - VM ctest-TestBasicVMVNx-30528206-66611578 is ready for SSH connections
2025-05-15 02:13:25,615 - INFO - Waiting for VM ctest-TestBasicVMVNx-30528206-96441278 to be up..
2025-05-15 02:13:25,692 - DEBUG - VM is in ACTIVE state now
2025-05-15 02:13:25,693 - INFO - VM name : ctest-TestBasicVMVNx-30528206-96441278
2025-05-15 02:13:25,767 - DEBUG - VM ctest-TestBasicVMVNx-30528206-96441278 ID is 44a7987f-2343-4d5a-b474-977a2ebc324e
2025-05-15 02:13:25,768 - DEBUG - VM ctest-TestBasicVMVNx-30528206-96441278 launched on Node cn-jenkins-deploy-platform-ansible-os-3314-1
2025-05-15 02:13:25,845 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/44a7987f-2343-4d5a-b474-977a2ebc324e
2025-05-15 02:13:25,854 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/76018ae1-103e-4314-bf0b-4bfd0eccc9e4
2025-05-15 02:13:27,092 - 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.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.456 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.456/1.606/2.757/1.150 ms')
2025-05-15 02:13:27,092 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-30528206-96441278 passed
2025-05-15 02:13:27,244 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-15 02:13:27,244 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-30528206-96441278, IP 190.88.149.132, Port 22
2025-05-15 02:13:27,403 - DEBUG - VM ctest-TestBasicVMVNx-30528206-96441278 is ready for SSH connections
2025-05-15 02:13:27,403 - DEBUG - FILE SIZE = 1303B
2025-05-15 02:13:27,403 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-30528206-66611578 to ctest-TestBasicVMVNx-30528206-96441278 using scp
2025-05-15 02:13:27,404 - 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.130, gateway password: c0ntrail123
2025-05-15 02:13:27,404 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-05-15 02:13:29,307 - DEBUG - 1+0 records in
1+0 records out
2025-05-15 02:13:29,932 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-15 02:13:30,259 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123
2025-05-15 02:13:30,259 - DEBUG - ls -l testfile
2025-05-15 02:13:31,835 - DEBUG - -rw------- 1 cirros cirros 1303 May 14 20:13 [0;0mtestfile[0m
2025-05-15 02:13:31,836 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-30528206-96441278
2025-05-15 02:13:31,836 - INFO - Deleting VM ctest-TestBasicVMVNx-30528206-96441278
2025-05-15 02:13:31,917 - INFO - Deleting VM ctest-TestBasicVMVNx-30528206-66611578
2025-05-15 02:13:31,986 - INFO - Deleting VN ctest-vn-05615625
2025-05-15 02:13:32,022 - DEBUG - VN a03cfba6-6197-410e-9813-8c29a5bd26bf still in use: Unable to complete operation on network a03cfba6-6197-410e-9813-8c29a5bd26bf. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-100089e6-1f47-480c-9179-d4aa62c31103']
2025-05-15 02:13:32,023 - WARNING - Deleting VN ctest-vn-05615625 failed..Will retry
2025-05-15 02:13:34,137 - DEBUG - Response for deleting network ()
2025-05-15 02:13:34,390 - DEBUG - No XMPP flaps were noticed during the test
2025-05-15 02:13:34,390 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-05-15 02:13:34,390 - INFO - --------------------------------------------------------------------------------
2025-05-15 02:13:35,068 - INFO - Deleted project: ctest-TestBasicVMVNx-30528206, ID : 1b4d469b-80d0-47d3-a782-5ccc43ad6020