2024-11-09 22:18:19,888 - INFO - Domain Default found not creating
2024-11-09 22:18:20,066 - INFO - Project ctest-TestBasicVMVNx-89705828 not found, creating it
2024-11-09 22:18:20,584 - INFO - Created Project:ctest-TestBasicVMVNx-89705828, ID : 00ea6a95-a05e-407e-9190-01f5ecf0763e
2024-11-09 22:18:22,138 - INFO - ================================================================================
2024-11-09 22:18:22,139 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2024-11-09 22:18:22,139 - 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-09 22:18:22,394 - DEBUG - Nothing to compare xmpp stats {'10.0.0.12': {'10.20.0.6': '0'}} with
2024-11-09 22:18:22,394 - INFO - Initial checks done. Running the testcase now
2024-11-09 22:18:22,394 - INFO -
2024-11-09 22:18:22,992 - DEBUG - Response for create_network : {'network': {'id': 'ebcc51b2-28e8-4f20-bd1c-0cb4b2d5e90b', 'name': 'ctest-vn-86389177', 'tenant_id': '00ea6a95a05e407e919001f5ecf0763e', 'project_id': '00ea6a95a05e407e919001f5ecf0763e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-89705828', 'ctest-vn-86389177'], 'port_security_enabled': True, 'description': ''}}
2024-11-09 22:18:23,227 - DEBUG - Response for create_subnet : {'subnet': {'id': '03857e76-c80c-45e8-9bcf-e777fb7b0181', 'name': '', 'tenant_id': '00ea6a95a05e407e919001f5ecf0763e', 'network_id': 'ebcc51b2-28e8-4f20-bd1c-0cb4b2d5e90b', 'ip_version': 4, 'cidr': '103.103.46.0/26', 'allocation_pools': [{'start': '103.103.46.2', 'end': '103.103.46.62'}], 'gateway_ip': '103.103.46.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '103.103.46.2', 'tags': [], 'project_id': '00ea6a95a05e407e919001f5ecf0763e'}}
2024-11-09 22:18:23,247 - INFO - Created VN ctest-vn-86389177
2024-11-09 22:18:23,308 - DEBUG - VN ctest-vn-86389177 UUID is ebcc51b2-28e8-4f20-bd1c-0cb4b2d5e90b
2024-11-09 22:18:23,512 - DEBUG - Services list from nova: [, , ]
2024-11-09 22:18:24,634 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2246-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2246-1)
2024-11-09 22:18:25,896 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2246-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2246-1)
2024-11-09 22:18:25,897 - INFO - Waiting for VM ctest-TestBasicVMVNx-89705828-31985792 to be up..
2024-11-09 22:18:26,028 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-11-09 22:18:31,118 - DEBUG - VM is in ACTIVE state now
2024-11-09 22:18:31,119 - INFO - VM name : ctest-TestBasicVMVNx-89705828-31985792
2024-11-09 22:18:31,227 - DEBUG - VM ctest-TestBasicVMVNx-89705828-31985792 ID is 11de3c15-d070-439f-a269-5469fa86f276
2024-11-09 22:18:31,245 - DEBUG - VM ctest-TestBasicVMVNx-89705828-31985792 launched on Node cn-jenkins-deploy-platform-ansible-os-2246-1
2024-11-09 22:18:31,334 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/11de3c15-d070-439f-a269-5469fa86f276
2024-11-09 22:18:31,639 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/11de3c15-d070-439f-a269-5469fa86f276
2024-11-09 22:18:31,679 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/e356878b-f9da-45ad-a32e-e1760ace8d6c
2024-11-09 22:18:34,959 - 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 1026ms')
2024-11-09 22:18:34,959 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-89705828-31985792 failed!
2024-11-09 22:18:35,024 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-89705828:ctest-vn-86389177 is 103.103.46.1 and allocation pool is NOT set
2024-11-09 22:18:37,087 - 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=3.18 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.459 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.459/1.817/3.176/1.358 ms')
2024-11-09 22:18:37,087 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-89705828-31985792 passed
2024-11-09 22:18:37,256 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-09 22:18:37,256 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-89705828-31985792, IP 103.103.46.3, Port 22
2024-11-09 22:18:37,412 - DEBUG - VM ctest-TestBasicVMVNx-89705828-31985792 is ready for SSH connections
2024-11-09 22:18:37,412 - INFO - Waiting for VM ctest-TestBasicVMVNx-89705828-23587901 to be up..
2024-11-09 22:18:37,507 - DEBUG - VM is in ACTIVE state now
2024-11-09 22:18:37,507 - INFO - VM name : ctest-TestBasicVMVNx-89705828-23587901
2024-11-09 22:18:37,586 - DEBUG - VM ctest-TestBasicVMVNx-89705828-23587901 ID is 8fb3f400-33ca-4c37-b027-6eea70c0759b
2024-11-09 22:18:37,586 - DEBUG - VM ctest-TestBasicVMVNx-89705828-23587901 launched on Node cn-jenkins-deploy-platform-ansible-os-2246-1
2024-11-09 22:18:37,781 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/8fb3f400-33ca-4c37-b027-6eea70c0759b
2024-11-09 22:18:37,793 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/e6e9ed1a-af8a-4cd1-9b2e-6e4df733af5d
2024-11-09 22:18:39,066 - 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.39 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.505 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.505/1.945/3.386/1.440 ms')
2024-11-09 22:18:39,066 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-89705828-23587901 passed
2024-11-09 22:18:39,228 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-09 22:18:39,228 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-89705828-23587901, IP 103.103.46.4, Port 22
2024-11-09 22:18:39,384 - DEBUG - VM ctest-TestBasicVMVNx-89705828-23587901 is ready for SSH connections
2024-11-09 22:18:39,384 - DEBUG - FILE SIZE = 1303B
2024-11-09 22:18:39,384 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-89705828-31985792 to ctest-TestBasicVMVNx-89705828-23587901 using scp
2024-11-09 22:18:39,385 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-09 22:18:39,391 - 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.12, gateway password: c0ntrail123
2024-11-09 22:18:39,391 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2024-11-09 22:18:41,330 - DEBUG - 1+0 records in
1+0 records out
2024-11-09 22:18:42,134 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-09 22:18:42,454 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.12, gateway password: c0ntrail123
2024-11-09 22:18:42,454 - DEBUG - ls -l testfile
2024-11-09 22:18:44,034 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 9 15:18 [0;0mtestfile[0m
2024-11-09 22:18:44,034 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-89705828-23587901
2024-11-09 22:18:44,034 - INFO - Deleting VM ctest-TestBasicVMVNx-89705828-23587901
2024-11-09 22:18:44,103 - INFO - Deleting VM ctest-TestBasicVMVNx-89705828-31985792
2024-11-09 22:18:44,181 - INFO - Deleting VN ctest-vn-86389177
2024-11-09 22:18:44,227 - DEBUG - VN ebcc51b2-28e8-4f20-bd1c-0cb4b2d5e90b still in use: Unable to complete operation on network ebcc51b2-28e8-4f20-bd1c-0cb4b2d5e90b. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-05cc7e52-ca80-473f-bf02-a620decfab06']
2024-11-09 22:18:44,227 - WARNING - Deleting VN ctest-vn-86389177 failed..Will retry
2024-11-09 22:18:46,352 - DEBUG - Response for deleting network ()
2024-11-09 22:18:46,606 - DEBUG - No XMPP flaps were noticed during the test
2024-11-09 22:18:46,606 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2024-11-09 22:18:46,606 - INFO - --------------------------------------------------------------------------------
2024-11-09 22:18:47,320 - INFO - Deleted project: ctest-TestBasicVMVNx-89705828, ID : 00ea6a95-a05e-407e-9190-01f5ecf0763e