2024-09-19 17:01:01,225 - INFO - Domain Default found not creating 2024-09-19 17:01:01,424 - INFO - Project ctest-TestBasicVMVNx-28629871 not found, creating it 2024-09-19 17:01:01,953 - INFO - Created Project:ctest-TestBasicVMVNx-28629871, ID : c55d302a-678b-4c92-acbd-185d405b5d3f 2024-09-19 17:01:03,641 - INFO - ================================================================================ 2024-09-19 17:01:03,641 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-19 17:01:03,641 - 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-09-19 17:01:03,906 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.6': '0'}} with 2024-09-19 17:01:03,906 - INFO - Initial checks done. Running the testcase now 2024-09-19 17:01:03,906 - INFO - 2024-09-19 17:01:04,559 - DEBUG - Response for create_network : {'network': {'id': '2a07fc72-f4ce-4db7-a393-4a39847a9c9b', 'name': 'ctest-vn-99100475', 'tenant_id': 'c55d302a678b4c92acbd185d405b5d3f', 'project_id': 'c55d302a678b4c92acbd185d405b5d3f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-28629871', 'ctest-vn-99100475'], 'port_security_enabled': True, 'description': ''}} 2024-09-19 17:01:04,802 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fb92116b-52ff-4417-9c20-90e83d115f08', 'name': '', 'tenant_id': 'c55d302a678b4c92acbd185d405b5d3f', 'network_id': '2a07fc72-f4ce-4db7-a393-4a39847a9c9b', 'ip_version': 4, 'cidr': '124.38.206.0/26', 'allocation_pools': [{'start': '124.38.206.2', 'end': '124.38.206.62'}], 'gateway_ip': '124.38.206.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '124.38.206.2', 'tags': [], 'project_id': 'c55d302a678b4c92acbd185d405b5d3f'}} 2024-09-19 17:01:04,824 - INFO - Created VN ctest-vn-99100475 2024-09-19 17:01:04,882 - DEBUG - VN ctest-vn-99100475 UUID is 2a07fc72-f4ce-4db7-a393-4a39847a9c9b 2024-09-19 17:01:05,091 - DEBUG - Services list from nova: [, , ] 2024-09-19 17:01:06,432 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2005-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2005-1) 2024-09-19 17:01:07,988 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2005-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2005-1) 2024-09-19 17:01:07,988 - INFO - Waiting for VM ctest-TestBasicVMVNx-28629871-11831647 to be up.. 2024-09-19 17:01:08,083 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-19 17:01:13,173 - DEBUG - VM is in ACTIVE state now 2024-09-19 17:01:13,174 - INFO - VM name : ctest-TestBasicVMVNx-28629871-11831647 2024-09-19 17:01:13,266 - DEBUG - VM ctest-TestBasicVMVNx-28629871-11831647 ID is c010c5eb-bdef-47b0-90d3-b5ef4248ead5 2024-09-19 17:01:13,290 - DEBUG - VM ctest-TestBasicVMVNx-28629871-11831647 launched on Node cn-jenkins-deploy-platform-ansible-os-2005-1 2024-09-19 17:01:13,373 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/c010c5eb-bdef-47b0-90d3-b5ef4248ead5 2024-09-19 17:01:13,713 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/c010c5eb-bdef-47b0-90d3-b5ef4248ead5 2024-09-19 17:01:13,755 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/4f91c121-82fe-4596-8a72-08c01649e33f 2024-09-19 17:01:17,036 - 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 1018ms') 2024-09-19 17:01:17,036 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-28629871-11831647 failed! 2024-09-19 17:01:17,102 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-28629871:ctest-vn-99100475 is 124.38.206.1 and allocation pool is NOT set 2024-09-19 17:01:19,171 - 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=8.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.05 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 = 3.054/5.864/8.675/2.810 ms') 2024-09-19 17:01:19,172 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-28629871-11831647 passed 2024-09-19 17:01:19,334 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-19 17:01:19,334 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-28629871-11831647, IP 124.38.206.3, Port 22 2024-09-19 17:01:19,400 - 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-09-19 17:01:19,494 - DEBUG - VM ctest-TestBasicVMVNx-28629871-11831647 is NOT ready for SSH connections, VM status: ACTIVE 2024-09-19 17:01:24,495 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-19 17:01:24,495 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-28629871-11831647, IP 124.38.206.3, Port 22 2024-09-19 17:01:24,654 - DEBUG - VM ctest-TestBasicVMVNx-28629871-11831647 is ready for SSH connections 2024-09-19 17:01:24,654 - INFO - Waiting for VM ctest-TestBasicVMVNx-28629871-78451506 to be up.. 2024-09-19 17:01:24,746 - DEBUG - VM is in ACTIVE state now 2024-09-19 17:01:24,746 - INFO - VM name : ctest-TestBasicVMVNx-28629871-78451506 2024-09-19 17:01:24,837 - DEBUG - VM ctest-TestBasicVMVNx-28629871-78451506 ID is 1b2e7281-fc73-43d8-bf6d-a2c9920b5304 2024-09-19 17:01:24,837 - DEBUG - VM ctest-TestBasicVMVNx-28629871-78451506 launched on Node cn-jenkins-deploy-platform-ansible-os-2005-1 2024-09-19 17:01:24,938 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/1b2e7281-fc73-43d8-bf6d-a2c9920b5304 2024-09-19 17:01:24,952 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/ea6b4faf-3df2-4d3b-b8cb-e0d8b3ed9ba9 2024-09-19 17:01:26,223 - 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.08 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.440 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.440/1.760/3.080/1.320 ms') 2024-09-19 17:01:26,223 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-28629871-78451506 passed 2024-09-19 17:01:26,382 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-19 17:01:26,382 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-28629871-78451506, IP 124.38.206.4, Port 22 2024-09-19 17:01:26,538 - DEBUG - VM ctest-TestBasicVMVNx-28629871-78451506 is ready for SSH connections 2024-09-19 17:01:26,538 - DEBUG - FILE SIZE = 1303B 2024-09-19 17:01:26,538 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-28629871-11831647 to ctest-TestBasicVMVNx-28629871-78451506 using scp 2024-09-19 17:01:26,539 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-19 17:01:26,546 - 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.23, gateway password: c0ntrail123 2024-09-19 17:01:26,546 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-19 17:01:28,511 - DEBUG - 1+0 records in 1+0 records out 2024-09-19 17:01:29,190 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-19 17:01:29,541 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2024-09-19 17:01:29,541 - DEBUG - ls -l testfile 2024-09-19 17:01:31,159 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 19 11:01 testfile 2024-09-19 17:01:31,159 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-28629871-78451506 2024-09-19 17:01:31,160 - INFO - Deleting VM ctest-TestBasicVMVNx-28629871-78451506 2024-09-19 17:01:31,252 - INFO - Deleting VM ctest-TestBasicVMVNx-28629871-11831647 2024-09-19 17:01:31,329 - INFO - Deleting VN ctest-vn-99100475 2024-09-19 17:01:31,371 - DEBUG - VN 2a07fc72-f4ce-4db7-a393-4a39847a9c9b still in use: Unable to complete operation on network 2a07fc72-f4ce-4db7-a393-4a39847a9c9b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-999a5c5b-2471-4063-aecc-a9f806d4ffc5'] 2024-09-19 17:01:31,372 - WARNING - Deleting VN ctest-vn-99100475 failed..Will retry 2024-09-19 17:01:33,499 - DEBUG - Response for deleting network () 2024-09-19 17:01:33,757 - DEBUG - No XMPP flaps were noticed during the test
2024-09-19 17:01:33,757 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:30]
2024-09-19 17:01:33,757 - INFO - -------------------------------------------------------------------------------- 2024-09-19 17:01:34,503 - INFO - Deleted project: ctest-TestBasicVMVNx-28629871, ID : c55d302a-678b-4c92-acbd-185d405b5d3f