2025-01-12 22:13:43,924 - INFO - Domain Default found not creating
2025-01-12 22:13:44,067 - INFO - Project ctest-TestBasicVMVNx-79693240 not found, creating it
2025-01-12 22:13:44,527 - INFO - Created Project:ctest-TestBasicVMVNx-79693240, ID : c7233b01-beb0-4faa-83e6-d75e2814ea6b
2025-01-12 22:13:45,949 - INFO - ================================================================================
2025-01-12 22:13:45,950 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-01-12 22:13:45,950 - 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 22:13:46,212 - DEBUG - Nothing to compare xmpp stats {'10.0.0.29': {'10.20.0.13': '0'}} with
2025-01-12 22:13:46,212 - INFO - Initial checks done. Running the testcase now
2025-01-12 22:13:46,212 - INFO -
2025-01-12 22:13:46,777 - DEBUG - Response for create_network : {'network': {'id': '1f1c923e-897c-4211-a96f-cd93a0d0b8c4', 'name': 'ctest-vn-53076387', 'tenant_id': 'c7233b01beb04faa83e6d75e2814ea6b', 'project_id': 'c7233b01beb04faa83e6d75e2814ea6b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-79693240', 'ctest-vn-53076387'], 'port_security_enabled': True, 'description': ''}}
2025-01-12 22:13:46,973 - DEBUG - Response for create_subnet : {'subnet': {'id': '1d59d855-9579-4b65-a005-2449c04583b3', 'name': '', 'tenant_id': 'c7233b01beb04faa83e6d75e2814ea6b', 'network_id': '1f1c923e-897c-4211-a96f-cd93a0d0b8c4', 'ip_version': 4, 'cidr': '169.73.123.0/26', 'allocation_pools': [{'start': '169.73.123.2', 'end': '169.73.123.62'}], 'gateway_ip': '169.73.123.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '169.73.123.2', 'tags': [], 'project_id': 'c7233b01beb04faa83e6d75e2814ea6b'}}
2025-01-12 22:13:46,991 - INFO - Created VN ctest-vn-53076387
2025-01-12 22:13:47,046 - DEBUG - VN ctest-vn-53076387 UUID is 1f1c923e-897c-4211-a96f-cd93a0d0b8c4
2025-01-12 22:13:47,222 - DEBUG - Services list from nova: [, , ]
2025-01-12 22:13:48,258 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2603-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2603-1)
2025-01-12 22:13:49,488 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2603-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2603-1)
2025-01-12 22:13:49,489 - INFO - Waiting for VM ctest-TestBasicVMVNx-79693240-05845756 to be up..
2025-01-12 22:13:49,588 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-12 22:13:54,680 - DEBUG - VM is in ACTIVE state now
2025-01-12 22:13:54,680 - INFO - VM name : ctest-TestBasicVMVNx-79693240-05845756
2025-01-12 22:13:54,773 - DEBUG - VM ctest-TestBasicVMVNx-79693240-05845756 ID is d59e48e7-a4de-46d0-9d72-62381161e607
2025-01-12 22:13:54,794 - DEBUG - VM ctest-TestBasicVMVNx-79693240-05845756 launched on Node cn-jenkins-deploy-platform-ansible-os-2603-1
2025-01-12 22:13:54,993 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/d59e48e7-a4de-46d0-9d72-62381161e607
2025-01-12 22:13:55,293 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/d59e48e7-a4de-46d0-9d72-62381161e607
2025-01-12 22:13:55,326 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/76fc8b69-4c0f-49fd-8037-c05444052b97
2025-01-12 22:13:58,572 - 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 1003ms')
2025-01-12 22:13:58,572 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-79693240-05845756 failed!
2025-01-12 22:13:58,634 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-79693240:ctest-vn-53076387 is 169.73.123.1 and allocation pool is NOT set
2025-01-12 22:14:00,699 - 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.34 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.584 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.584/2.463/4.342/1.879 ms')
2025-01-12 22:14:00,700 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-79693240-05845756 passed
2025-01-12 22:14:00,858 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-12 22:14:00,858 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-79693240-05845756, IP 169.73.123.3, Port 22
2025-01-12 22:14:01,014 - DEBUG - VM ctest-TestBasicVMVNx-79693240-05845756 is ready for SSH connections
2025-01-12 22:14:01,014 - INFO - Waiting for VM ctest-TestBasicVMVNx-79693240-58637160 to be up..
2025-01-12 22:14:01,092 - DEBUG - VM is in ACTIVE state now
2025-01-12 22:14:01,092 - INFO - VM name : ctest-TestBasicVMVNx-79693240-58637160
2025-01-12 22:14:01,165 - DEBUG - VM ctest-TestBasicVMVNx-79693240-58637160 ID is 4a0d7212-239b-4659-81a3-d6fbaa9acb51
2025-01-12 22:14:01,165 - DEBUG - VM ctest-TestBasicVMVNx-79693240-58637160 launched on Node cn-jenkins-deploy-platform-ansible-os-2603-1
2025-01-12 22:14:01,239 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/4a0d7212-239b-4659-81a3-d6fbaa9acb51
2025-01-12 22:14:01,248 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/769e3f7e-4363-41aa-810b-998e422d452f
2025-01-12 22:14:02,493 - 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.27 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.617 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.617/1.941/3.265/1.324 ms')
2025-01-12 22:14:02,493 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-79693240-58637160 passed
2025-01-12 22:14:02,642 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-12 22:14:02,642 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-79693240-58637160, IP 169.73.123.4, Port 22
2025-01-12 22:14:02,810 - DEBUG - VM ctest-TestBasicVMVNx-79693240-58637160 is ready for SSH connections
2025-01-12 22:14:02,810 - DEBUG - FILE SIZE = 1303B
2025-01-12 22:14:02,810 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-79693240-05845756 to ctest-TestBasicVMVNx-79693240-58637160 using scp
2025-01-12 22:14:02,811 - 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.29, gateway password: c0ntrail123
2025-01-12 22:14:02,811 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-01-12 22:14:04,728 - DEBUG - 1+0 records in
1+0 records out
2025-01-12 22:14:05,519 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-12 22:14:05,860 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123
2025-01-12 22:14:05,860 - DEBUG - ls -l testfile
2025-01-12 22:14:07,428 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 12 15:14 [0;0mtestfile[0m
2025-01-12 22:14:07,428 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-79693240-58637160
2025-01-12 22:14:07,428 - INFO - Deleting VM ctest-TestBasicVMVNx-79693240-58637160
2025-01-12 22:14:07,502 - INFO - Deleting VM ctest-TestBasicVMVNx-79693240-05845756
2025-01-12 22:14:07,576 - INFO - Deleting VN ctest-vn-53076387
2025-01-12 22:14:07,616 - DEBUG - VN 1f1c923e-897c-4211-a96f-cd93a0d0b8c4 still in use: Unable to complete operation on network 1f1c923e-897c-4211-a96f-cd93a0d0b8c4. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-e48b6bf2-ec6b-43f0-af71-107b611cb07b']
2025-01-12 22:14:07,616 - WARNING - Deleting VN ctest-vn-53076387 failed..Will retry
2025-01-12 22:14:09,715 - DEBUG - Response for deleting network ()
2025-01-12 22:14:09,976 - DEBUG - No XMPP flaps were noticed during the test
2025-01-12 22:14:09,976 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-01-12 22:14:09,976 - INFO - --------------------------------------------------------------------------------
2025-01-12 22:14:10,667 - INFO - Deleted project: ctest-TestBasicVMVNx-79693240, ID : c7233b01-beb0-4faa-83e6-d75e2814ea6b