2024-11-14 18:04:53,195 - INFO - Domain Default found not creating
2024-11-14 18:04:53,372 - INFO - Project ctest-TestBasicVMVNx-21265365 not found, creating it
2024-11-14 18:04:53,914 - INFO - Created Project:ctest-TestBasicVMVNx-21265365, ID : d8dc115f-ef39-4eea-805e-fb11abca08c6
2024-11-14 18:04:55,492 - INFO - ================================================================================
2024-11-14 18:04:55,492 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2024-11-14 18:04:55,492 - 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
2024-11-14 18:04:55,759 - DEBUG - Nothing to compare xmpp stats {'10.0.0.43': {'10.20.0.14': '0'}} with
2024-11-14 18:04:55,759 - INFO - Initial checks done. Running the testcase now
2024-11-14 18:04:55,759 - INFO -
2024-11-14 18:04:56,374 - DEBUG - Response for create_network : {'network': {'id': 'afa59f12-4b5c-4c36-a6f1-94c3cea2c5a9', 'name': 'ctest-vn-24786854', 'tenant_id': 'd8dc115fef394eea805efb11abca08c6', 'project_id': 'd8dc115fef394eea805efb11abca08c6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-21265365', 'ctest-vn-24786854'], 'port_security_enabled': True, 'description': ''}}
2024-11-14 18:04:56,598 - DEBUG - Response for create_subnet : {'subnet': {'id': '50b1bc68-4df2-47f4-b592-201847c93efd', 'name': '', 'tenant_id': 'd8dc115fef394eea805efb11abca08c6', 'network_id': 'afa59f12-4b5c-4c36-a6f1-94c3cea2c5a9', 'ip_version': 4, 'cidr': '78.33.72.128/26', 'allocation_pools': [{'start': '78.33.72.130', 'end': '78.33.72.190'}], 'gateway_ip': '78.33.72.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '78.33.72.130', 'tags': [], 'project_id': 'd8dc115fef394eea805efb11abca08c6'}}
2024-11-14 18:04:56,619 - INFO - Created VN ctest-vn-24786854
2024-11-14 18:04:56,682 - DEBUG - VN ctest-vn-24786854 UUID is afa59f12-4b5c-4c36-a6f1-94c3cea2c5a9
2024-11-14 18:04:56,873 - DEBUG - Services list from nova: [, , ]
2024-11-14 18:04:57,955 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2302-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2302-1)
2024-11-14 18:04:59,230 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2302-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2302-1)
2024-11-14 18:04:59,231 - INFO - Waiting for VM ctest-TestBasicVMVNx-21265365-29753356 to be up..
2024-11-14 18:04:59,429 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-11-14 18:05:04,522 - DEBUG - VM is in ACTIVE state now
2024-11-14 18:05:04,522 - INFO - VM name : ctest-TestBasicVMVNx-21265365-29753356
2024-11-14 18:05:04,616 - DEBUG - VM ctest-TestBasicVMVNx-21265365-29753356 ID is 48e3a2a2-632e-4839-ab18-50dff58cf076
2024-11-14 18:05:04,638 - DEBUG - VM ctest-TestBasicVMVNx-21265365-29753356 launched on Node cn-jenkins-deploy-platform-ansible-os-2302-1
2024-11-14 18:05:04,735 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-machine/48e3a2a2-632e-4839-ab18-50dff58cf076
2024-11-14 18:05:05,046 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-machine/48e3a2a2-632e-4839-ab18-50dff58cf076
2024-11-14 18:05:05,087 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-machine-interface/83ac1172-6f32-4b2c-922f-e7d52a3a0c4a
2024-11-14 18:05:08,386 - 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 1027ms')
2024-11-14 18:05:08,386 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-21265365-29753356 failed!
2024-11-14 18:05:08,446 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-21265365:ctest-vn-24786854 is 78.33.72.129 and allocation pool is NOT set
2024-11-14 18:05:10,503 - 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=0.537 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.537/2.410/4.283/1.873 ms')
2024-11-14 18:05:10,504 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-21265365-29753356 passed
2024-11-14 18:05:10,662 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-14 18:05:10,663 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-21265365-29753356, IP 78.33.72.131, Port 22
2024-11-14 18:05:10,719 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2024-11-14 18:05:10,803 - DEBUG - VM ctest-TestBasicVMVNx-21265365-29753356 is NOT ready for SSH connections, VM status: ACTIVE
2024-11-14 18:05:15,804 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-14 18:05:15,804 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-21265365-29753356, IP 78.33.72.131, Port 22
2024-11-14 18:05:15,970 - DEBUG - VM ctest-TestBasicVMVNx-21265365-29753356 is ready for SSH connections
2024-11-14 18:05:15,970 - INFO - Waiting for VM ctest-TestBasicVMVNx-21265365-85638693 to be up..
2024-11-14 18:05:16,055 - DEBUG - VM is in ACTIVE state now
2024-11-14 18:05:16,055 - INFO - VM name : ctest-TestBasicVMVNx-21265365-85638693
2024-11-14 18:05:16,154 - DEBUG - VM ctest-TestBasicVMVNx-21265365-85638693 ID is f27d7e88-1cc3-4e95-8e7e-a03045d26b95
2024-11-14 18:05:16,155 - DEBUG - VM ctest-TestBasicVMVNx-21265365-85638693 launched on Node cn-jenkins-deploy-platform-ansible-os-2302-1
2024-11-14 18:05:16,246 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-machine/f27d7e88-1cc3-4e95-8e7e-a03045d26b95
2024-11-14 18:05:16,262 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-machine-interface/7daee55f-5f7d-4f3c-9fe3-54763aaada48
2024-11-14 18:05:17,525 - 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.86 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.350 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.350/1.606/2.863/1.256 ms')
2024-11-14 18:05:17,525 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-21265365-85638693 passed
2024-11-14 18:05:17,683 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-14 18:05:17,683 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-21265365-85638693, IP 78.33.72.132, Port 22
2024-11-14 18:05:17,847 - DEBUG - VM ctest-TestBasicVMVNx-21265365-85638693 is ready for SSH connections
2024-11-14 18:05:17,847 - DEBUG - FILE SIZE = 1303B
2024-11-14 18:05:17,847 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-21265365-29753356 to ctest-TestBasicVMVNx-21265365-85638693 using scp
2024-11-14 18:05:17,848 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-14 18:05:17,856 - 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.43, gateway password: c0ntrail123
2024-11-14 18:05:17,856 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2024-11-14 18:05:19,847 - DEBUG - 1+0 records in
1+0 records out
2024-11-14 18:05:20,660 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-14 18:05:20,990 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.43, gateway password: c0ntrail123
2024-11-14 18:05:20,990 - DEBUG - ls -l testfile
2024-11-14 18:05:22,610 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 14 11:05 [0;0mtestfile[0m
2024-11-14 18:05:22,610 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-21265365-85638693
2024-11-14 18:05:22,610 - INFO - Deleting VM ctest-TestBasicVMVNx-21265365-85638693
2024-11-14 18:05:22,700 - INFO - Deleting VM ctest-TestBasicVMVNx-21265365-29753356
2024-11-14 18:05:22,775 - INFO - Deleting VN ctest-vn-24786854
2024-11-14 18:05:22,836 - DEBUG - VN afa59f12-4b5c-4c36-a6f1-94c3cea2c5a9 still in use: Unable to complete operation on network afa59f12-4b5c-4c36-a6f1-94c3cea2c5a9. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-dc2b1722-45aa-40c2-a87a-94a3a3c587a2']
2024-11-14 18:05:22,836 - WARNING - Deleting VN ctest-vn-24786854 failed..Will retry
2024-11-14 18:05:24,994 - DEBUG - Response for deleting network ()
2024-11-14 18:05:25,253 - DEBUG - No XMPP flaps were noticed during the test
2024-11-14 18:05:25,253 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:30]
2024-11-14 18:05:25,253 - INFO - --------------------------------------------------------------------------------
2024-11-14 18:05:25,958 - INFO - Deleted project: ctest-TestBasicVMVNx-21265365, ID : d8dc115f-ef39-4eea-805e-fb11abca08c6