2024-11-07 17:52:14,932 - INFO - Domain Default found not creating
2024-11-07 17:52:15,113 - INFO - Project ctest-TestBasicVMVNx-29162573 not found, creating it
2024-11-07 17:52:15,627 - INFO - Created Project:ctest-TestBasicVMVNx-29162573, ID : 9cbfb730-06f2-4a0a-a548-6826f3541492
2024-11-07 17:52:17,359 - INFO - ================================================================================
2024-11-07 17:52:17,359 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2024-11-07 17:52:17,359 - 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-07 17:52:17,623 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.24': '0'}} with
2024-11-07 17:52:17,623 - INFO - Initial checks done. Running the testcase now
2024-11-07 17:52:17,624 - INFO -
2024-11-07 17:52:18,323 - DEBUG - Response for create_network : {'network': {'id': 'df9cb98f-e771-4ab8-b942-559420c8c48d', 'name': 'ctest-vn-16422333', 'tenant_id': '9cbfb73006f24a0aa5486826f3541492', 'project_id': '9cbfb73006f24a0aa5486826f3541492', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-29162573', 'ctest-vn-16422333'], 'port_security_enabled': True, 'description': ''}}
2024-11-07 17:52:18,563 - DEBUG - Response for create_subnet : {'subnet': {'id': '62ed4b96-6a9b-4e43-a2dc-bb51231dd83e', 'name': '', 'tenant_id': '9cbfb73006f24a0aa5486826f3541492', 'network_id': 'df9cb98f-e771-4ab8-b942-559420c8c48d', 'ip_version': 4, 'cidr': '180.16.210.0/26', 'allocation_pools': [{'start': '180.16.210.2', 'end': '180.16.210.62'}], 'gateway_ip': '180.16.210.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '180.16.210.2', 'tags': [], 'project_id': '9cbfb73006f24a0aa5486826f3541492'}}
2024-11-07 17:52:18,589 - INFO - Created VN ctest-vn-16422333
2024-11-07 17:52:18,656 - DEBUG - VN ctest-vn-16422333 UUID is df9cb98f-e771-4ab8-b942-559420c8c48d
2024-11-07 17:52:18,838 - DEBUG - Services list from nova: [, , ]
2024-11-07 17:52:20,045 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2221-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2221-1)
2024-11-07 17:52:21,364 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2221-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2221-1)
2024-11-07 17:52:21,365 - INFO - Waiting for VM ctest-TestBasicVMVNx-29162573-87618548 to be up..
2024-11-07 17:52:21,482 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-11-07 17:52:26,576 - DEBUG - VM is in ACTIVE state now
2024-11-07 17:52:26,576 - INFO - VM name : ctest-TestBasicVMVNx-29162573-87618548
2024-11-07 17:52:26,671 - DEBUG - VM ctest-TestBasicVMVNx-29162573-87618548 ID is 892cbb4b-9e17-4b79-85e9-970d1eef8f3d
2024-11-07 17:52:26,693 - DEBUG - VM ctest-TestBasicVMVNx-29162573-87618548 launched on Node cn-jenkins-deploy-platform-ansible-os-2221-1
2024-11-07 17:52:26,782 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/892cbb4b-9e17-4b79-85e9-970d1eef8f3d
2024-11-07 17:52:27,117 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/892cbb4b-9e17-4b79-85e9-970d1eef8f3d
2024-11-07 17:52:27,159 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/18c25cd1-c725-4529-a421-434e9a8e3be3
2024-11-07 17:52:30,445 - 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')
2024-11-07 17:52:30,445 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-29162573-87618548 failed!
2024-11-07 17:52:30,508 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-29162573:ctest-vn-16422333 is 180.16.210.1 and allocation pool is NOT set
2024-11-07 17:52:32,569 - 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=5.24 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.13 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 = 2.134/3.688/5.242/1.554 ms')
2024-11-07 17:52:32,569 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-29162573-87618548 passed
2024-11-07 17:52:32,732 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-07 17:52:32,732 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-29162573-87618548, IP 180.16.210.3, Port 22
2024-11-07 17:52:32,891 - DEBUG - VM ctest-TestBasicVMVNx-29162573-87618548 is ready for SSH connections
2024-11-07 17:52:32,892 - INFO - Waiting for VM ctest-TestBasicVMVNx-29162573-54596074 to be up..
2024-11-07 17:52:33,013 - DEBUG - VM is in ACTIVE state now
2024-11-07 17:52:33,014 - INFO - VM name : ctest-TestBasicVMVNx-29162573-54596074
2024-11-07 17:52:33,104 - DEBUG - VM ctest-TestBasicVMVNx-29162573-54596074 ID is c02d729c-6a35-4667-ad1f-6aa81dd3d3cb
2024-11-07 17:52:33,104 - DEBUG - VM ctest-TestBasicVMVNx-29162573-54596074 launched on Node cn-jenkins-deploy-platform-ansible-os-2221-1
2024-11-07 17:52:33,190 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/c02d729c-6a35-4667-ad1f-6aa81dd3d3cb
2024-11-07 17:52:33,201 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/bfb3c8df-70cd-4f2a-b5ce-80b9d7e0594c
2024-11-07 17:52:34,468 - 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.67 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.14 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 = 1.141/2.406/3.671/1.265 ms')
2024-11-07 17:52:34,468 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-29162573-54596074 passed
2024-11-07 17:52:34,636 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-07 17:52:34,636 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-29162573-54596074, IP 180.16.210.4, Port 22
2024-11-07 17:52:34,796 - DEBUG - VM ctest-TestBasicVMVNx-29162573-54596074 is ready for SSH connections
2024-11-07 17:52:34,796 - DEBUG - FILE SIZE = 1303B
2024-11-07 17:52:34,796 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-29162573-87618548 to ctest-TestBasicVMVNx-29162573-54596074 using scp
2024-11-07 17:52:34,797 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-07 17:52:34,803 - 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.49, gateway password: c0ntrail123
2024-11-07 17:52:34,803 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2024-11-07 17:52:36,822 - DEBUG - 1+0 records in
1+0 records out
2024-11-07 17:52:37,477 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-07 17:52:37,816 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123
2024-11-07 17:52:37,816 - DEBUG - ls -l testfile
2024-11-07 17:52:39,444 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 7 10:52 [0;0mtestfile[0m
2024-11-07 17:52:39,444 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-29162573-54596074
2024-11-07 17:52:39,444 - INFO - Deleting VM ctest-TestBasicVMVNx-29162573-54596074
2024-11-07 17:52:39,523 - INFO - Deleting VM ctest-TestBasicVMVNx-29162573-87618548
2024-11-07 17:52:39,594 - INFO - Deleting VN ctest-vn-16422333
2024-11-07 17:52:39,638 - DEBUG - VN df9cb98f-e771-4ab8-b942-559420c8c48d still in use: Unable to complete operation on network df9cb98f-e771-4ab8-b942-559420c8c48d. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-80e110df-1c27-4182-baff-e768f4901eb8']
2024-11-07 17:52:39,638 - WARNING - Deleting VN ctest-vn-16422333 failed..Will retry
2024-11-07 17:52:41,755 - DEBUG - Response for deleting network ()
2024-11-07 17:52:42,011 - DEBUG - No XMPP flaps were noticed during the test
2024-11-07 17:52:42,011 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25]
2024-11-07 17:52:42,011 - INFO - --------------------------------------------------------------------------------
2024-11-07 17:52:42,813 - INFO - Deleted project: ctest-TestBasicVMVNx-29162573, ID : 9cbfb730-06f2-4a0a-a548-6826f3541492