2025-02-03 21:30:21,766 - INFO - Domain Default found not creating 2025-02-03 21:30:21,907 - INFO - Project ctest-TestBasicVMVNx-66943731 not found, creating it 2025-02-03 21:30:22,360 - INFO - Created Project:ctest-TestBasicVMVNx-66943731, ID : 43510aa7-9e0e-4541-82e7-37c045892dcd 2025-02-03 21:30:23,792 - INFO - ================================================================================ 2025-02-03 21:30:23,792 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-02-03 21:30:23,792 - 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-03 21:30:24,056 - DEBUG - Nothing to compare xmpp stats {'10.0.0.54': {'10.20.0.8': '0'}} with 2025-02-03 21:30:24,056 - INFO - Initial checks done. Running the testcase now 2025-02-03 21:30:24,056 - INFO - 2025-02-03 21:30:24,614 - DEBUG - Response for create_network : {'network': {'id': 'f997e7ec-2a57-4a35-98bb-1307cb1e3564', 'name': 'ctest-vn-39114718', 'tenant_id': '43510aa79e0e454182e737c045892dcd', 'project_id': '43510aa79e0e454182e737c045892dcd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-66943731', 'ctest-vn-39114718'], 'port_security_enabled': True, 'description': ''}} 2025-02-03 21:30:24,773 - DEBUG - Response for create_subnet : {'subnet': {'id': '935b8a83-65f4-4849-8c4e-54af97ef2c4a', 'name': '', 'tenant_id': '43510aa79e0e454182e737c045892dcd', 'network_id': 'f997e7ec-2a57-4a35-98bb-1307cb1e3564', 'ip_version': 4, 'cidr': '165.255.210.0/26', 'allocation_pools': [{'start': '165.255.210.2', 'end': '165.255.210.62'}], 'gateway_ip': '165.255.210.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '165.255.210.2', 'tags': [], 'project_id': '43510aa79e0e454182e737c045892dcd'}} 2025-02-03 21:30:24,791 - INFO - Created VN ctest-vn-39114718 2025-02-03 21:30:24,842 - DEBUG - VN ctest-vn-39114718 UUID is f997e7ec-2a57-4a35-98bb-1307cb1e3564 2025-02-03 21:30:25,008 - DEBUG - Services list from nova: [, , ] 2025-02-03 21:30:26,038 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2683-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2683-1) 2025-02-03 21:30:27,188 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2683-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2683-1) 2025-02-03 21:30:27,188 - INFO - Waiting for VM ctest-TestBasicVMVNx-66943731-25435882 to be up.. 2025-02-03 21:30:27,271 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-03 21:30:32,349 - DEBUG - VM is in ACTIVE state now 2025-02-03 21:30:32,349 - INFO - VM name : ctest-TestBasicVMVNx-66943731-25435882 2025-02-03 21:30:32,419 - DEBUG - VM ctest-TestBasicVMVNx-66943731-25435882 ID is dfa596ce-6007-473f-9a7b-2d322ea3c2f7 2025-02-03 21:30:32,438 - DEBUG - VM ctest-TestBasicVMVNx-66943731-25435882 launched on Node cn-jenkins-deploy-platform-ansible-os-2683-1 2025-02-03 21:30:32,513 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-machine/dfa596ce-6007-473f-9a7b-2d322ea3c2f7 2025-02-03 21:30:32,815 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-machine/dfa596ce-6007-473f-9a7b-2d322ea3c2f7 2025-02-03 21:30:32,851 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-machine-interface/ab57c305-179c-410a-82b3-7259ad5f1def 2025-02-03 21:30:36,114 - 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 1019ms') 2025-02-03 21:30:36,114 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-66943731-25435882 failed! 2025-02-03 21:30:36,170 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-66943731:ctest-vn-39114718 is 165.255.210.1 and allocation pool is NOT set 2025-02-03 21:30:38,230 - 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.18 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.36 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 1.355/2.767/4.180/1.412 ms') 2025-02-03 21:30:38,230 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-66943731-25435882 passed 2025-02-03 21:30:38,382 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-03 21:30:38,382 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-66943731-25435882, IP 165.255.210.3, Port 22 2025-02-03 21:30:38,556 - DEBUG - VM ctest-TestBasicVMVNx-66943731-25435882 is ready for SSH connections 2025-02-03 21:30:38,556 - INFO - Waiting for VM ctest-TestBasicVMVNx-66943731-25861121 to be up.. 2025-02-03 21:30:38,639 - DEBUG - VM is in ACTIVE state now 2025-02-03 21:30:38,639 - INFO - VM name : ctest-TestBasicVMVNx-66943731-25861121 2025-02-03 21:30:38,718 - DEBUG - VM ctest-TestBasicVMVNx-66943731-25861121 ID is 6296eefe-4fc3-438f-b326-103c376aac20 2025-02-03 21:30:38,718 - DEBUG - VM ctest-TestBasicVMVNx-66943731-25861121 launched on Node cn-jenkins-deploy-platform-ansible-os-2683-1 2025-02-03 21:30:38,797 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-machine/6296eefe-4fc3-438f-b326-103c376aac20 2025-02-03 21:30:38,811 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-machine-interface/cda39be4-f5a2-4eb4-9196-7b5c9e759d20 2025-02-03 21:30:40,059 - 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.11 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.862 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.862/1.987/3.113/1.125 ms') 2025-02-03 21:30:40,059 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-66943731-25861121 passed 2025-02-03 21:30:40,214 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-03 21:30:40,214 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-66943731-25861121, IP 165.255.210.4, Port 22 2025-02-03 21:30:40,386 - DEBUG - VM ctest-TestBasicVMVNx-66943731-25861121 is ready for SSH connections 2025-02-03 21:30:40,386 - DEBUG - FILE SIZE = 1303B 2025-02-03 21:30:40,386 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-66943731-25435882 to ctest-TestBasicVMVNx-66943731-25861121 using scp 2025-02-03 21:30:40,387 - 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.54, gateway password: c0ntrail123 2025-02-03 21:30:40,387 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-02-03 21:30:42,276 - DEBUG - 1+0 records in 1+0 records out 2025-02-03 21:30:43,048 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-03 21:30:43,414 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.54, gateway password: c0ntrail123 2025-02-03 21:30:43,415 - DEBUG - ls -l testfile 2025-02-03 21:30:45,005 - DEBUG - -rw------- 1 cirros cirros 1303 Feb 3 14:30 testfile 2025-02-03 21:30:45,006 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-66943731-25861121 2025-02-03 21:30:45,006 - INFO - Deleting VM ctest-TestBasicVMVNx-66943731-25861121 2025-02-03 21:30:45,089 - INFO - Deleting VM ctest-TestBasicVMVNx-66943731-25435882 2025-02-03 21:30:45,414 - INFO - Deleting VN ctest-vn-39114718 2025-02-03 21:30:45,455 - DEBUG - VN f997e7ec-2a57-4a35-98bb-1307cb1e3564 still in use: Unable to complete operation on network f997e7ec-2a57-4a35-98bb-1307cb1e3564. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-169705c9-7047-4a52-9c7d-6905972a2e14'] 2025-02-03 21:30:45,455 - WARNING - Deleting VN ctest-vn-39114718 failed..Will retry 2025-02-03 21:30:47,557 - DEBUG - Response for deleting network () 2025-02-03 21:30:47,811 - DEBUG - No XMPP flaps were noticed during the test 2025-02-03 21:30:47,811 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2025-02-03 21:30:47,811 - INFO - -------------------------------------------------------------------------------- 2025-02-03 21:30:48,495 - INFO - Deleted project: ctest-TestBasicVMVNx-66943731, ID : 43510aa7-9e0e-4541-82e7-37c045892dcd