2025-01-08 21:50:55,900 - INFO - Domain Default found not creating
2025-01-08 21:50:56,059 - INFO - Project ctest-TestBasicVMVNx-73339855 not found, creating it
2025-01-08 21:50:56,533 - INFO - Created Project:ctest-TestBasicVMVNx-73339855, ID : 2fe4ffba-4464-405e-bd6c-f84127873ed3
2025-01-08 21:50:58,043 - INFO - ================================================================================
2025-01-08 21:50:58,044 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-01-08 21:50:58,044 - 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-01-08 21:50:58,299 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.11': '0'}} with
2025-01-08 21:50:58,299 - INFO - Initial checks done. Running the testcase now
2025-01-08 21:50:58,299 - INFO -
2025-01-08 21:50:58,871 - DEBUG - Response for create_network : {'network': {'id': '7d3a1d0f-2289-4f22-964c-c4450f89d6a9', 'name': 'ctest-vn-45227937', 'tenant_id': '2fe4ffba4464405ebd6cf84127873ed3', 'project_id': '2fe4ffba4464405ebd6cf84127873ed3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-73339855', 'ctest-vn-45227937'], 'port_security_enabled': True, 'description': ''}}
2025-01-08 21:50:59,108 - DEBUG - Response for create_subnet : {'subnet': {'id': '6959fd2b-abfa-4432-8d57-c248c7315472', 'name': '', 'tenant_id': '2fe4ffba4464405ebd6cf84127873ed3', 'network_id': '7d3a1d0f-2289-4f22-964c-c4450f89d6a9', 'ip_version': 4, 'cidr': '174.92.16.128/26', 'allocation_pools': [{'start': '174.92.16.130', 'end': '174.92.16.190'}], 'gateway_ip': '174.92.16.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.92.16.130', 'tags': [], 'project_id': '2fe4ffba4464405ebd6cf84127873ed3'}}
2025-01-08 21:50:59,128 - INFO - Created VN ctest-vn-45227937
2025-01-08 21:50:59,181 - DEBUG - VN ctest-vn-45227937 UUID is 7d3a1d0f-2289-4f22-964c-c4450f89d6a9
2025-01-08 21:50:59,355 - DEBUG - Services list from nova: [, , ]
2025-01-08 21:51:00,406 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2569-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2569-1)
2025-01-08 21:51:01,633 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2569-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2569-1)
2025-01-08 21:51:01,633 - INFO - Waiting for VM ctest-TestBasicVMVNx-73339855-75374884 to be up..
2025-01-08 21:51:01,759 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-08 21:51:06,849 - DEBUG - VM is in ACTIVE state now
2025-01-08 21:51:06,850 - INFO - VM name : ctest-TestBasicVMVNx-73339855-75374884
2025-01-08 21:51:06,930 - DEBUG - VM ctest-TestBasicVMVNx-73339855-75374884 ID is f63e4331-ab45-47f7-bda0-7a4254da49ec
2025-01-08 21:51:06,951 - DEBUG - VM ctest-TestBasicVMVNx-73339855-75374884 launched on Node cn-jenkins-deploy-platform-ansible-os-2569-1
2025-01-08 21:51:07,049 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/f63e4331-ab45-47f7-bda0-7a4254da49ec
2025-01-08 21:51:07,360 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/f63e4331-ab45-47f7-bda0-7a4254da49ec
2025-01-08 21:51:07,400 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/e7f8685c-d297-4b35-b042-c132537fe3c5
2025-01-08 21:51:10,679 - 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-01-08 21:51:10,679 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-73339855-75374884 failed!
2025-01-08 21:51:10,737 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-73339855:ctest-vn-45227937 is 174.92.16.129 and allocation pool is NOT set
2025-01-08 21:51:12,806 - 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.66 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.877 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.877/2.268/3.659/1.391 ms')
2025-01-08 21:51:12,806 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-73339855-75374884 passed
2025-01-08 21:51:12,961 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-08 21:51:12,961 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-73339855-75374884, IP 174.92.16.131, Port 22
2025-01-08 21:51:13,116 - DEBUG - VM ctest-TestBasicVMVNx-73339855-75374884 is ready for SSH connections
2025-01-08 21:51:13,116 - INFO - Waiting for VM ctest-TestBasicVMVNx-73339855-54996365 to be up..
2025-01-08 21:51:13,209 - DEBUG - VM is in ACTIVE state now
2025-01-08 21:51:13,209 - INFO - VM name : ctest-TestBasicVMVNx-73339855-54996365
2025-01-08 21:51:13,300 - DEBUG - VM ctest-TestBasicVMVNx-73339855-54996365 ID is 18873009-1fe2-40e4-a3ca-15ed89d26d02
2025-01-08 21:51:13,300 - DEBUG - VM ctest-TestBasicVMVNx-73339855-54996365 launched on Node cn-jenkins-deploy-platform-ansible-os-2569-1
2025-01-08 21:51:13,391 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/18873009-1fe2-40e4-a3ca-15ed89d26d02
2025-01-08 21:51:13,402 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/db4754d2-dc40-4aff-821e-13ca0c5a05c1
2025-01-08 21:51:14,656 - 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.25 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.529 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.529/1.887/3.246/1.358 ms')
2025-01-08 21:51:14,656 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-73339855-54996365 passed
2025-01-08 21:51:14,813 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-08 21:51:14,813 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-73339855-54996365, IP 174.92.16.132, Port 22
2025-01-08 21:51:14,972 - DEBUG - VM ctest-TestBasicVMVNx-73339855-54996365 is ready for SSH connections
2025-01-08 21:51:14,972 - DEBUG - FILE SIZE = 1303B
2025-01-08 21:51:14,972 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-73339855-75374884 to ctest-TestBasicVMVNx-73339855-54996365 using scp
2025-01-08 21:51:14,973 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-08 21:51:14,995 - 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.27, gateway password: c0ntrail123
2025-01-08 21:51:14,995 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-01-08 21:51:16,915 - DEBUG - 1+0 records in
1+0 records out
2025-01-08 21:51:17,695 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-08 21:51:18,032 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2025-01-08 21:51:18,033 - DEBUG - ls -l testfile
2025-01-08 21:51:19,628 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 8 14:51 [0;0mtestfile[0m
2025-01-08 21:51:19,629 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-73339855-54996365
2025-01-08 21:51:19,629 - INFO - Deleting VM ctest-TestBasicVMVNx-73339855-54996365
2025-01-08 21:51:19,701 - INFO - Deleting VM ctest-TestBasicVMVNx-73339855-75374884
2025-01-08 21:51:19,787 - INFO - Deleting VN ctest-vn-45227937
2025-01-08 21:51:19,833 - DEBUG - VN 7d3a1d0f-2289-4f22-964c-c4450f89d6a9 still in use: Unable to complete operation on network 7d3a1d0f-2289-4f22-964c-c4450f89d6a9. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-a265ff7e-b9ce-41d4-9dc1-6b6341225b73']
2025-01-08 21:51:19,833 - WARNING - Deleting VN ctest-vn-45227937 failed..Will retry
2025-01-08 21:51:21,944 - DEBUG - Response for deleting network ()
2025-01-08 21:51:22,199 - DEBUG - No XMPP flaps were noticed during the test
2025-01-08 21:51:22,199 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-01-08 21:51:22,199 - INFO - --------------------------------------------------------------------------------
2025-01-08 21:51:22,890 - INFO - Deleted project: ctest-TestBasicVMVNx-73339855, ID : 2fe4ffba-4464-405e-bd6c-f84127873ed3