2025-02-06 02:24:22,633 - INFO - Domain Default found not creating
2025-02-06 02:24:22,785 - INFO - Project ctest-TestBasicVMVNx-51777856 not found, creating it
2025-02-06 02:24:23,230 - INFO - Created Project:ctest-TestBasicVMVNx-51777856, ID : 5b9ab005-3d51-489f-9551-26bc5d0475a6
2025-02-06 02:24:24,775 - INFO - ================================================================================
2025-02-06 02:24:24,775 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-02-06 02:24:24,776 - 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-02-06 02:24:25,034 - DEBUG - Nothing to compare xmpp stats {'10.0.0.46': {'10.20.0.28': '0'}} with
2025-02-06 02:24:25,034 - INFO - Initial checks done. Running the testcase now
2025-02-06 02:24:25,034 - INFO -
2025-02-06 02:24:25,623 - DEBUG - Response for create_network : {'network': {'id': '5f9a0855-5f4b-4b42-829d-90915e56dc34', 'name': 'ctest-vn-42062136', 'tenant_id': '5b9ab0053d51489f955126bc5d0475a6', 'project_id': '5b9ab0053d51489f955126bc5d0475a6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-51777856', 'ctest-vn-42062136'], 'port_security_enabled': True, 'description': ''}}
2025-02-06 02:24:25,798 - DEBUG - Response for create_subnet : {'subnet': {'id': '30a68183-60ec-45be-960b-c8abb707b74e', 'name': '', 'tenant_id': '5b9ab0053d51489f955126bc5d0475a6', 'network_id': '5f9a0855-5f4b-4b42-829d-90915e56dc34', 'ip_version': 4, 'cidr': '153.127.232.64/26', 'allocation_pools': [{'start': '153.127.232.66', 'end': '153.127.232.126'}], 'gateway_ip': '153.127.232.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '153.127.232.66', 'tags': [], 'project_id': '5b9ab0053d51489f955126bc5d0475a6'}}
2025-02-06 02:24:25,815 - INFO - Created VN ctest-vn-42062136
2025-02-06 02:24:25,868 - DEBUG - VN ctest-vn-42062136 UUID is 5f9a0855-5f4b-4b42-829d-90915e56dc34
2025-02-06 02:24:26,043 - DEBUG - Services list from nova: [, , ]
2025-02-06 02:24:27,118 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2697-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2697-1)
2025-02-06 02:24:28,305 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2697-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2697-1)
2025-02-06 02:24:28,305 - INFO - Waiting for VM ctest-TestBasicVMVNx-51777856-49747098 to be up..
2025-02-06 02:24:28,397 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-02-06 02:24:33,477 - DEBUG - VM is in ACTIVE state now
2025-02-06 02:24:33,477 - INFO - VM name : ctest-TestBasicVMVNx-51777856-49747098
2025-02-06 02:24:33,559 - DEBUG - VM ctest-TestBasicVMVNx-51777856-49747098 ID is 9d851631-f143-4e20-8d4f-21ff6edacb18
2025-02-06 02:24:33,581 - DEBUG - VM ctest-TestBasicVMVNx-51777856-49747098 launched on Node cn-jenkins-deploy-platform-ansible-os-2697-1
2025-02-06 02:24:33,656 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine/9d851631-f143-4e20-8d4f-21ff6edacb18
2025-02-06 02:24:33,990 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine/9d851631-f143-4e20-8d4f-21ff6edacb18
2025-02-06 02:24:34,021 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine-interface/6b692a9c-b8df-425d-b167-a3e1a5e5bcee
2025-02-06 02:24:37,278 - 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 1011ms')
2025-02-06 02:24:37,278 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-51777856-49747098 failed!
2025-02-06 02:24:37,332 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-51777856:ctest-vn-42062136 is 153.127.232.65 and allocation pool is NOT set
2025-02-06 02:24:39,399 - 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=5.44 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.896 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.896/3.166/5.437/2.270 ms')
2025-02-06 02:24:39,399 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-51777856-49747098 passed
2025-02-06 02:24:39,552 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-06 02:24:39,552 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-51777856-49747098, IP 153.127.232.67, Port 22
2025-02-06 02:24:39,707 - DEBUG - VM ctest-TestBasicVMVNx-51777856-49747098 is ready for SSH connections
2025-02-06 02:24:39,707 - INFO - Waiting for VM ctest-TestBasicVMVNx-51777856-33505931 to be up..
2025-02-06 02:24:39,781 - DEBUG - VM is in ACTIVE state now
2025-02-06 02:24:39,781 - INFO - VM name : ctest-TestBasicVMVNx-51777856-33505931
2025-02-06 02:24:39,855 - DEBUG - VM ctest-TestBasicVMVNx-51777856-33505931 ID is 3ca10bab-4507-41c8-b0ce-6a5559ef6c60
2025-02-06 02:24:39,856 - DEBUG - VM ctest-TestBasicVMVNx-51777856-33505931 launched on Node cn-jenkins-deploy-platform-ansible-os-2697-1
2025-02-06 02:24:39,926 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine/3ca10bab-4507-41c8-b0ce-6a5559ef6c60
2025-02-06 02:24:39,933 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine-interface/6c12dfba-2015-4d98-885e-eda9ae0804bc
2025-02-06 02:24:41,168 - 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.05 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.396 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.396/1.724/3.053/1.328 ms')
2025-02-06 02:24:41,168 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-51777856-33505931 passed
2025-02-06 02:24:41,316 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-06 02:24:41,316 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-51777856-33505931, IP 153.127.232.68, Port 22
2025-02-06 02:24:41,475 - DEBUG - VM ctest-TestBasicVMVNx-51777856-33505931 is ready for SSH connections
2025-02-06 02:24:41,475 - DEBUG - FILE SIZE = 1303B
2025-02-06 02:24:41,475 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-51777856-49747098 to ctest-TestBasicVMVNx-51777856-33505931 using scp
2025-02-06 02:24:41,476 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-06 02:24:41,481 - 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.46, gateway password: c0ntrail123
2025-02-06 02:24:41,481 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-02-06 02:24:43,405 - DEBUG - 1+0 records in
1+0 records out
2025-02-06 02:24:44,081 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-06 02:24:44,409 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.46, gateway password: c0ntrail123
2025-02-06 02:24:44,410 - DEBUG - ls -l testfile
2025-02-06 02:24:46,261 - DEBUG - -rw------- 1 cirros cirros 1303 Feb 5 19:24 [0;0mtestfile[0m
2025-02-06 02:24:46,261 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-51777856-33505931
2025-02-06 02:24:46,261 - INFO - Deleting VM ctest-TestBasicVMVNx-51777856-33505931
2025-02-06 02:24:46,326 - INFO - Deleting VM ctest-TestBasicVMVNx-51777856-49747098
2025-02-06 02:24:46,393 - INFO - Deleting VN ctest-vn-42062136
2025-02-06 02:24:46,437 - DEBUG - VN 5f9a0855-5f4b-4b42-829d-90915e56dc34 still in use: Unable to complete operation on network 5f9a0855-5f4b-4b42-829d-90915e56dc34. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-9bc815df-f263-4c20-b0b2-fe2ddc698f3b']
2025-02-06 02:24:46,437 - WARNING - Deleting VN ctest-vn-42062136 failed..Will retry
2025-02-06 02:24:48,530 - DEBUG - Response for deleting network ()
2025-02-06 02:24:48,794 - DEBUG - No XMPP flaps were noticed during the test
2025-02-06 02:24:48,794 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-02-06 02:24:48,794 - INFO - --------------------------------------------------------------------------------
2025-02-06 02:24:49,468 - INFO - Deleted project: ctest-TestBasicVMVNx-51777856, ID : 5b9ab005-3d51-489f-9551-26bc5d0475a6