2025-01-08 12:16:30,997 - INFO - Domain Default found not creating
2025-01-08 12:16:31,140 - INFO - Project ctest-TestBasicVMVNx-13742617 not found, creating it
2025-01-08 12:16:31,592 - INFO - Created Project:ctest-TestBasicVMVNx-13742617, ID : c91ce499-2158-448b-8769-32456a99c42b
2025-01-08 12:16:32,982 - INFO - ================================================================================
2025-01-08 12:16:32,982 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-01-08 12:16:32,982 - 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 12:16:33,237 - DEBUG - Nothing to compare xmpp stats {'10.0.0.45': {'10.20.0.10': '0'}} with
2025-01-08 12:16:33,237 - INFO - Initial checks done. Running the testcase now
2025-01-08 12:16:33,237 - INFO -
2025-01-08 12:16:33,794 - DEBUG - Response for create_network : {'network': {'id': '66a2b340-c5e3-4edb-bda6-8d9a650bed70', 'name': 'ctest-vn-66622207', 'tenant_id': 'c91ce4992158448b876932456a99c42b', 'project_id': 'c91ce4992158448b876932456a99c42b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-13742617', 'ctest-vn-66622207'], 'port_security_enabled': True, 'description': ''}}
2025-01-08 12:16:34,009 - DEBUG - Response for create_subnet : {'subnet': {'id': '551f0803-a852-429f-96be-21cdef121fb6', 'name': '', 'tenant_id': 'c91ce4992158448b876932456a99c42b', 'network_id': '66a2b340-c5e3-4edb-bda6-8d9a650bed70', 'ip_version': 4, 'cidr': '203.85.214.64/26', 'allocation_pools': [{'start': '203.85.214.66', 'end': '203.85.214.126'}], 'gateway_ip': '203.85.214.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.85.214.66', 'tags': [], 'project_id': 'c91ce4992158448b876932456a99c42b'}}
2025-01-08 12:16:34,027 - INFO - Created VN ctest-vn-66622207
2025-01-08 12:16:34,080 - DEBUG - VN ctest-vn-66622207 UUID is 66a2b340-c5e3-4edb-bda6-8d9a650bed70
2025-01-08 12:16:34,282 - DEBUG - Services list from nova: [, , ]
2025-01-08 12:16:35,269 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2561-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2561-1)
2025-01-08 12:16:36,385 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2561-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2561-1)
2025-01-08 12:16:36,385 - INFO - Waiting for VM ctest-TestBasicVMVNx-13742617-34939551 to be up..
2025-01-08 12:16:36,457 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-08 12:16:41,531 - DEBUG - VM is in ACTIVE state now
2025-01-08 12:16:41,531 - INFO - VM name : ctest-TestBasicVMVNx-13742617-34939551
2025-01-08 12:16:41,600 - DEBUG - VM ctest-TestBasicVMVNx-13742617-34939551 ID is fd599455-c050-4f6b-9776-dc491589cf3d
2025-01-08 12:16:41,617 - DEBUG - VM ctest-TestBasicVMVNx-13742617-34939551 launched on Node cn-jenkins-deploy-platform-ansible-os-2561-1
2025-01-08 12:16:41,686 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine/fd599455-c050-4f6b-9776-dc491589cf3d
2025-01-08 12:16:41,980 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine/fd599455-c050-4f6b-9776-dc491589cf3d
2025-01-08 12:16:42,011 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine-interface/31826638-44c0-4740-8c56-eef5c90b9ceb
2025-01-08 12:16:45,288 - 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 1028ms')
2025-01-08 12:16:45,288 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-13742617-34939551 failed!
2025-01-08 12:16:45,344 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-13742617:ctest-vn-66622207 is 203.85.214.65 and allocation pool is NOT set
2025-01-08 12:16:47,406 - 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.33 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.52 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.523/2.928/4.333/1.405 ms')
2025-01-08 12:16:47,406 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-13742617-34939551 passed
2025-01-08 12:16:47,560 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-08 12:16:47,560 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-13742617-34939551, IP 203.85.214.67, Port 22
2025-01-08 12:16:47,711 - DEBUG - VM ctest-TestBasicVMVNx-13742617-34939551 is ready for SSH connections
2025-01-08 12:16:47,711 - INFO - Waiting for VM ctest-TestBasicVMVNx-13742617-28634025 to be up..
2025-01-08 12:16:47,784 - DEBUG - VM is in ACTIVE state now
2025-01-08 12:16:47,784 - INFO - VM name : ctest-TestBasicVMVNx-13742617-28634025
2025-01-08 12:16:47,943 - DEBUG - VM ctest-TestBasicVMVNx-13742617-28634025 ID is 0aed411e-d076-4bc1-941d-4409a4bd5ff3
2025-01-08 12:16:47,944 - DEBUG - VM ctest-TestBasicVMVNx-13742617-28634025 launched on Node cn-jenkins-deploy-platform-ansible-os-2561-1
2025-01-08 12:16:48,024 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine/0aed411e-d076-4bc1-941d-4409a4bd5ff3
2025-01-08 12:16:48,034 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine-interface/85e25042-79be-4b3f-b970-e929c3b03b7e
2025-01-08 12:16:49,271 - 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.67 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.414 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.414/1.540/2.666/1.126 ms')
2025-01-08 12:16:49,271 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-13742617-28634025 passed
2025-01-08 12:16:49,424 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-08 12:16:49,424 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-13742617-28634025, IP 203.85.214.68, Port 22
2025-01-08 12:16:49,579 - DEBUG - VM ctest-TestBasicVMVNx-13742617-28634025 is ready for SSH connections
2025-01-08 12:16:49,579 - DEBUG - FILE SIZE = 1303B
2025-01-08 12:16:49,579 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-13742617-34939551 to ctest-TestBasicVMVNx-13742617-28634025 using scp
2025-01-08 12:16:49,580 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-08 12:16:49,596 - 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.45, gateway password: c0ntrail123
2025-01-08 12:16:49,596 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-01-08 12:16:51,510 - DEBUG - 1+0 records in
1+0 records out
2025-01-08 12:16:52,110 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-08 12:16:52,428 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.45, gateway password: c0ntrail123
2025-01-08 12:16:52,429 - DEBUG - ls -l testfile
2025-01-08 12:16:54,009 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 8 05:16 [0;0mtestfile[0m
2025-01-08 12:16:54,009 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-13742617-28634025
2025-01-08 12:16:54,009 - INFO - Deleting VM ctest-TestBasicVMVNx-13742617-28634025
2025-01-08 12:16:54,090 - INFO - Deleting VM ctest-TestBasicVMVNx-13742617-34939551
2025-01-08 12:16:54,161 - INFO - Deleting VN ctest-vn-66622207
2025-01-08 12:16:54,198 - DEBUG - VN 66a2b340-c5e3-4edb-bda6-8d9a650bed70 still in use: Unable to complete operation on network 66a2b340-c5e3-4edb-bda6-8d9a650bed70. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-47e000db-4afb-4c0b-8621-63ce0116abe0']
2025-01-08 12:16:54,198 - WARNING - Deleting VN ctest-vn-66622207 failed..Will retry
2025-01-08 12:16:56,297 - DEBUG - Response for deleting network ()
2025-01-08 12:16:56,554 - DEBUG - No XMPP flaps were noticed during the test
2025-01-08 12:16:56,554 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-01-08 12:16:56,554 - INFO - --------------------------------------------------------------------------------
2025-01-08 12:16:57,228 - INFO - Deleted project: ctest-TestBasicVMVNx-13742617, ID : c91ce499-2158-448b-8769-32456a99c42b