2025-01-12 08:43:05,764 - INFO - Domain Default found not creating
2025-01-12 08:43:05,947 - INFO - Project ctest-TestBasicVMVNx-77748011 not found, creating it
2025-01-12 08:43:06,443 - INFO - Created Project:ctest-TestBasicVMVNx-77748011, ID : 2cf1ec76-e08d-44ed-8045-e0fa9759ff5c
2025-01-12 08:43:07,954 - INFO - ================================================================================
2025-01-12 08:43:07,954 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-01-12 08:43:07,954 - 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-12 08:43:08,214 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.20.0.12': '0'}} with
2025-01-12 08:43:08,214 - INFO - Initial checks done. Running the testcase now
2025-01-12 08:43:08,214 - INFO -
2025-01-12 08:43:08,778 - DEBUG - Response for create_network : {'network': {'id': '5634c497-9cfd-4a09-8da2-525e950fd1f0', 'name': 'ctest-vn-31100301', 'tenant_id': '2cf1ec76e08d44ed8045e0fa9759ff5c', 'project_id': '2cf1ec76e08d44ed8045e0fa9759ff5c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-77748011', 'ctest-vn-31100301'], 'port_security_enabled': True, 'description': ''}}
2025-01-12 08:43:08,973 - DEBUG - Response for create_subnet : {'subnet': {'id': '8ac8920e-b2d4-4e77-9887-573842ed05e7', 'name': '', 'tenant_id': '2cf1ec76e08d44ed8045e0fa9759ff5c', 'network_id': '5634c497-9cfd-4a09-8da2-525e950fd1f0', 'ip_version': 4, 'cidr': '153.13.220.128/26', 'allocation_pools': [{'start': '153.13.220.130', 'end': '153.13.220.190'}], 'gateway_ip': '153.13.220.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '153.13.220.130', 'tags': [], 'project_id': '2cf1ec76e08d44ed8045e0fa9759ff5c'}}
2025-01-12 08:43:08,991 - INFO - Created VN ctest-vn-31100301
2025-01-12 08:43:09,043 - DEBUG - VN ctest-vn-31100301 UUID is 5634c497-9cfd-4a09-8da2-525e950fd1f0
2025-01-12 08:43:09,226 - DEBUG - Services list from nova: [, , ]
2025-01-12 08:43:10,293 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2602-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2602-1)
2025-01-12 08:43:11,575 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2602-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2602-1)
2025-01-12 08:43:11,576 - INFO - Waiting for VM ctest-TestBasicVMVNx-77748011-42360916 to be up..
2025-01-12 08:43:11,717 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-12 08:43:16,815 - DEBUG - VM is in ACTIVE state now
2025-01-12 08:43:16,815 - INFO - VM name : ctest-TestBasicVMVNx-77748011-42360916
2025-01-12 08:43:16,898 - DEBUG - VM ctest-TestBasicVMVNx-77748011-42360916 ID is 7cb24581-cb84-4f52-a598-d821ba7446a3
2025-01-12 08:43:16,924 - DEBUG - VM ctest-TestBasicVMVNx-77748011-42360916 launched on Node cn-jenkins-deploy-platform-ansible-os-2602-1
2025-01-12 08:43:17,010 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/7cb24581-cb84-4f52-a598-d821ba7446a3
2025-01-12 08:43:17,402 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/7cb24581-cb84-4f52-a598-d821ba7446a3
2025-01-12 08:43:17,449 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/7f4a6696-c5a4-4b10-86c4-247a726b1805
2025-01-12 08:43:20,702 - 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 1002ms')
2025-01-12 08:43:20,702 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-77748011-42360916 failed!
2025-01-12 08:43:20,759 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-77748011:ctest-vn-31100301 is 153.13.220.129 and allocation pool is NOT set
2025-01-12 08:43:22,823 - 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.12 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.41 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 = 1.406/3.261/5.116/1.855 ms')
2025-01-12 08:43:22,824 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-77748011-42360916 passed
2025-01-12 08:43:22,979 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-12 08:43:22,979 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-77748011-42360916, IP 153.13.220.131, Port 22
2025-01-12 08:43:23,134 - DEBUG - VM ctest-TestBasicVMVNx-77748011-42360916 is ready for SSH connections
2025-01-12 08:43:23,135 - INFO - Waiting for VM ctest-TestBasicVMVNx-77748011-89068726 to be up..
2025-01-12 08:43:23,232 - DEBUG - VM is in ACTIVE state now
2025-01-12 08:43:23,232 - INFO - VM name : ctest-TestBasicVMVNx-77748011-89068726
2025-01-12 08:43:23,331 - DEBUG - VM ctest-TestBasicVMVNx-77748011-89068726 ID is 21e0693d-8f35-438d-97b0-d413611c6f9a
2025-01-12 08:43:23,331 - DEBUG - VM ctest-TestBasicVMVNx-77748011-89068726 launched on Node cn-jenkins-deploy-platform-ansible-os-2602-1
2025-01-12 08:43:23,430 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/21e0693d-8f35-438d-97b0-d413611c6f9a
2025-01-12 08:43:23,441 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/7c6f6859-1051-4ab6-8c60-ac7c5b8ffc58
2025-01-12 08:43:24,699 - 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.29 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.713 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.713/2.500/4.288/1.787 ms')
2025-01-12 08:43:24,699 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-77748011-89068726 passed
2025-01-12 08:43:24,851 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-12 08:43:24,851 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-77748011-89068726, IP 153.13.220.132, Port 22
2025-01-12 08:43:25,017 - DEBUG - VM ctest-TestBasicVMVNx-77748011-89068726 is ready for SSH connections
2025-01-12 08:43:25,017 - DEBUG - FILE SIZE = 1303B
2025-01-12 08:43:25,017 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-77748011-42360916 to ctest-TestBasicVMVNx-77748011-89068726 using scp
2025-01-12 08:43:25,018 - 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.17, gateway password: c0ntrail123
2025-01-12 08:43:25,018 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-01-12 08:43:26,633 - DEBUG - 1+0 records in
1+0 records out
2025-01-12 08:43:27,415 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-12 08:43:27,738 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123
2025-01-12 08:43:27,739 - DEBUG - ls -l testfile
2025-01-12 08:43:29,339 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 12 01:43 [0;0mtestfile[0m
2025-01-12 08:43:29,340 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-77748011-89068726
2025-01-12 08:43:29,340 - INFO - Deleting VM ctest-TestBasicVMVNx-77748011-89068726
2025-01-12 08:43:29,419 - INFO - Deleting VM ctest-TestBasicVMVNx-77748011-42360916
2025-01-12 08:43:29,491 - INFO - Deleting VN ctest-vn-31100301
2025-01-12 08:43:29,541 - DEBUG - VN 5634c497-9cfd-4a09-8da2-525e950fd1f0 still in use: Unable to complete operation on network 5634c497-9cfd-4a09-8da2-525e950fd1f0. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-552be17c-28ea-4371-a731-c000ac6a3edb']
2025-01-12 08:43:29,541 - WARNING - Deleting VN ctest-vn-31100301 failed..Will retry
2025-01-12 08:43:31,678 - DEBUG - Response for deleting network ()
2025-01-12 08:43:31,945 - DEBUG - No XMPP flaps were noticed during the test
2025-01-12 08:43:31,945 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-01-12 08:43:31,945 - INFO - --------------------------------------------------------------------------------
2025-01-12 08:43:32,655 - INFO - Deleted project: ctest-TestBasicVMVNx-77748011, ID : 2cf1ec76-e08d-44ed-8045-e0fa9759ff5c