2025-01-09 09:19:29,575 - INFO - Domain Default found not creating
2025-01-09 09:19:29,751 - INFO - Project ctest-TestBasicVMVNx-66934832 not found, creating it
2025-01-09 09:19:30,235 - INFO - Created Project:ctest-TestBasicVMVNx-66934832, ID : 3d05cc45-efeb-428a-a29d-c5d5c5595842
2025-01-09 09:19:31,755 - INFO - ================================================================================
2025-01-09 09:19:31,755 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-01-09 09:19:31,755 - 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-09 09:19:32,015 - DEBUG - Nothing to compare xmpp stats {'10.0.0.46': {'10.20.0.11': '0'}} with
2025-01-09 09:19:32,015 - INFO - Initial checks done. Running the testcase now
2025-01-09 09:19:32,015 - INFO -
2025-01-09 09:19:32,610 - DEBUG - Response for create_network : {'network': {'id': '36d17eec-ae5d-4ad9-b73c-861d22d4e338', 'name': 'ctest-vn-69683819', 'tenant_id': '3d05cc45efeb428aa29dc5d5c5595842', 'project_id': '3d05cc45efeb428aa29dc5d5c5595842', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-66934832', 'ctest-vn-69683819'], 'port_security_enabled': True, 'description': ''}}
2025-01-09 09:19:32,785 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ab6ee972-62fa-4d90-8f25-e829c4240c29', 'name': '', 'tenant_id': '3d05cc45efeb428aa29dc5d5c5595842', 'network_id': '36d17eec-ae5d-4ad9-b73c-861d22d4e338', 'ip_version': 4, 'cidr': '107.57.14.0/26', 'allocation_pools': [{'start': '107.57.14.2', 'end': '107.57.14.62'}], 'gateway_ip': '107.57.14.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.57.14.2', 'tags': [], 'project_id': '3d05cc45efeb428aa29dc5d5c5595842'}}
2025-01-09 09:19:32,805 - INFO - Created VN ctest-vn-69683819
2025-01-09 09:19:32,860 - DEBUG - VN ctest-vn-69683819 UUID is 36d17eec-ae5d-4ad9-b73c-861d22d4e338
2025-01-09 09:19:33,052 - DEBUG - Services list from nova: [, , ]
2025-01-09 09:19:34,121 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2581-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2581-1)
2025-01-09 09:19:35,408 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2581-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2581-1)
2025-01-09 09:19:35,408 - INFO - Waiting for VM ctest-TestBasicVMVNx-66934832-69938654 to be up..
2025-01-09 09:19:35,498 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-09 09:19:40,590 - DEBUG - VM is in ACTIVE state now
2025-01-09 09:19:40,590 - INFO - VM name : ctest-TestBasicVMVNx-66934832-69938654
2025-01-09 09:19:40,685 - DEBUG - VM ctest-TestBasicVMVNx-66934832-69938654 ID is 9796fe70-2695-4625-b2e0-2e41656a7c65
2025-01-09 09:19:40,717 - DEBUG - VM ctest-TestBasicVMVNx-66934832-69938654 launched on Node cn-jenkins-deploy-platform-ansible-os-2581-1
2025-01-09 09:19:40,824 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine/9796fe70-2695-4625-b2e0-2e41656a7c65
2025-01-09 09:19:41,132 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine/9796fe70-2695-4625-b2e0-2e41656a7c65
2025-01-09 09:19:41,174 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine-interface/783a1895-3687-4d8c-ab6c-0ce8129d11fd
2025-01-09 09:19:44,475 - 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 1031ms')
2025-01-09 09:19:44,475 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-66934832-69938654 failed!
2025-01-09 09:19:44,540 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-66934832:ctest-vn-69683819 is 107.57.14.1 and allocation pool is NOT set
2025-01-09 09:19:46,611 - 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.28 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.74 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.740/3.009/4.279/1.269 ms')
2025-01-09 09:19:46,611 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-66934832-69938654 passed
2025-01-09 09:19:46,768 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-09 09:19:46,768 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-66934832-69938654, IP 107.57.14.3, Port 22
2025-01-09 09:19:46,924 - DEBUG - VM ctest-TestBasicVMVNx-66934832-69938654 is ready for SSH connections
2025-01-09 09:19:46,924 - INFO - Waiting for VM ctest-TestBasicVMVNx-66934832-71296384 to be up..
2025-01-09 09:19:47,006 - DEBUG - VM is in ACTIVE state now
2025-01-09 09:19:47,006 - INFO - VM name : ctest-TestBasicVMVNx-66934832-71296384
2025-01-09 09:19:47,089 - DEBUG - VM ctest-TestBasicVMVNx-66934832-71296384 ID is 02b51344-b008-494a-9c5a-0bb9fea0847b
2025-01-09 09:19:47,089 - DEBUG - VM ctest-TestBasicVMVNx-66934832-71296384 launched on Node cn-jenkins-deploy-platform-ansible-os-2581-1
2025-01-09 09:19:47,169 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine/02b51344-b008-494a-9c5a-0bb9fea0847b
2025-01-09 09:19:47,177 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine-interface/6c1130b3-229e-4c7a-b630-1012ce0ecd57
2025-01-09 09:19:48,421 - 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.30 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.480 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.480/1.890/3.301/1.410 ms')
2025-01-09 09:19:48,421 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-66934832-71296384 passed
2025-01-09 09:19:48,576 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-09 09:19:48,576 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-66934832-71296384, IP 107.57.14.4, Port 22
2025-01-09 09:19:48,732 - DEBUG - VM ctest-TestBasicVMVNx-66934832-71296384 is ready for SSH connections
2025-01-09 09:19:48,732 - DEBUG - FILE SIZE = 1303B
2025-01-09 09:19:48,732 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-66934832-69938654 to ctest-TestBasicVMVNx-66934832-71296384 using scp
2025-01-09 09:19:48,732 - 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.46, gateway password: c0ntrail123
2025-01-09 09:19:48,733 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-01-09 09:19:50,713 - DEBUG - 1+0 records in
1+0 records out
2025-01-09 09:19:51,493 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-09 09:19:51,826 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.46, gateway password: c0ntrail123
2025-01-09 09:19:51,826 - DEBUG - ls -l testfile
2025-01-09 09:19:53,442 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 9 02:19 [0;0mtestfile[0m
2025-01-09 09:19:53,442 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-66934832-71296384
2025-01-09 09:19:53,442 - INFO - Deleting VM ctest-TestBasicVMVNx-66934832-71296384
2025-01-09 09:19:53,517 - INFO - Deleting VM ctest-TestBasicVMVNx-66934832-69938654
2025-01-09 09:19:53,584 - INFO - Deleting VN ctest-vn-69683819
2025-01-09 09:19:53,626 - DEBUG - VN 36d17eec-ae5d-4ad9-b73c-861d22d4e338 still in use: Unable to complete operation on network 36d17eec-ae5d-4ad9-b73c-861d22d4e338. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-2c33af09-12f5-4acf-bca7-f770e55751b7']
2025-01-09 09:19:53,630 - WARNING - Deleting VN ctest-vn-69683819 failed..Will retry
2025-01-09 09:19:55,763 - DEBUG - Response for deleting network ()
2025-01-09 09:19:56,023 - DEBUG - No XMPP flaps were noticed during the test
2025-01-09 09:19:56,024 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25]
2025-01-09 09:19:56,024 - INFO - --------------------------------------------------------------------------------
2025-01-09 09:19:56,693 - INFO - Deleted project: ctest-TestBasicVMVNx-66934832, ID : 3d05cc45-efeb-428a-a29d-c5d5c5595842