2024-09-19 18:47:25,932 - INFO - Domain Default found not creating 2024-09-19 18:47:26,378 - INFO - Project ctest-TestBasicVMVNx-88421629 not found, creating it 2024-09-19 18:47:27,199 - INFO - Created Project:ctest-TestBasicVMVNx-88421629, ID : 5f2ad540-47df-4823-81ca-789a93b051d6 2024-09-19 18:47:29,452 - INFO - ================================================================================ 2024-09-19 18:47:29,452 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-19 18:47:29,452 - 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 18:47:29,773 - DEBUG - Nothing to compare xmpp stats {'10.0.0.31': {'10.20.0.20': '0'}} with 2024-09-19 18:47:29,773 - INFO - Initial checks done. Running the testcase now 2024-09-19 18:47:29,773 - INFO - 2024-09-19 18:47:30,665 - DEBUG - Response for create_network : {'network': {'id': 'a93a7619-09af-4e22-9d90-1f858dd50524', 'name': 'ctest-vn-21610975', 'tenant_id': '5f2ad54047df482381ca789a93b051d6', 'project_id': '5f2ad54047df482381ca789a93b051d6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-88421629', 'ctest-vn-21610975'], 'port_security_enabled': True, 'description': ''}} 2024-09-19 18:47:30,988 - DEBUG - Response for create_subnet : {'subnet': {'id': '12ff2e62-d725-4971-97fe-1320748a6455', 'name': '', 'tenant_id': '5f2ad54047df482381ca789a93b051d6', 'network_id': 'a93a7619-09af-4e22-9d90-1f858dd50524', 'ip_version': 4, 'cidr': '36.146.16.0/26', 'allocation_pools': [{'start': '36.146.16.2', 'end': '36.146.16.62'}], 'gateway_ip': '36.146.16.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.146.16.2', 'tags': [], 'project_id': '5f2ad54047df482381ca789a93b051d6'}} 2024-09-19 18:47:31,028 - INFO - Created VN ctest-vn-21610975 2024-09-19 18:47:31,098 - DEBUG - VN ctest-vn-21610975 UUID is a93a7619-09af-4e22-9d90-1f858dd50524 2024-09-19 18:47:31,339 - DEBUG - Services list from nova: [, , ] 2024-09-19 18:47:32,803 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2006-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2006-1) 2024-09-19 18:47:34,084 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2006-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2006-1) 2024-09-19 18:47:34,084 - INFO - Waiting for VM ctest-TestBasicVMVNx-88421629-82085554 to be up.. 2024-09-19 18:47:34,189 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-19 18:47:39,353 - DEBUG - VM is in ACTIVE state now 2024-09-19 18:47:39,353 - INFO - VM name : ctest-TestBasicVMVNx-88421629-82085554 2024-09-19 18:47:39,477 - DEBUG - VM ctest-TestBasicVMVNx-88421629-82085554 ID is eaed68a9-1416-4f51-bd78-1409f1f42872 2024-09-19 18:47:39,504 - DEBUG - VM ctest-TestBasicVMVNx-88421629-82085554 launched on Node cn-jenkins-deploy-platform-ansible-os-2006-1 2024-09-19 18:47:39,618 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/eaed68a9-1416-4f51-bd78-1409f1f42872 2024-09-19 18:47:39,925 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/eaed68a9-1416-4f51-bd78-1409f1f42872 2024-09-19 18:47:39,970 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/8886278a-1615-4a4a-949d-93de0924367d 2024-09-19 18:47:43,296 - 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 1019ms') 2024-09-19 18:47:43,297 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-88421629-82085554 failed! 2024-09-19 18:47:43,373 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-88421629:ctest-vn-21610975 is 36.146.16.1 and allocation pool is NOT set 2024-09-19 18:47:45,439 - 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=12.1 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.78 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.782/7.441/12.101/4.659 ms') 2024-09-19 18:47:45,440 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-88421629-82085554 passed 2024-09-19 18:47:45,621 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-19 18:47:45,621 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-88421629-82085554, IP 36.146.16.3, Port 22 2024-09-19 18:47:45,688 - 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 18:47:45,792 - DEBUG - VM ctest-TestBasicVMVNx-88421629-82085554 is NOT ready for SSH connections, VM status: ACTIVE 2024-09-19 18:47:50,794 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-19 18:47:50,794 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-88421629-82085554, IP 36.146.16.3, Port 22 2024-09-19 18:47:51,009 - DEBUG - VM ctest-TestBasicVMVNx-88421629-82085554 is ready for SSH connections 2024-09-19 18:47:51,010 - INFO - Waiting for VM ctest-TestBasicVMVNx-88421629-93227500 to be up.. 2024-09-19 18:47:51,176 - DEBUG - VM is in ACTIVE state now 2024-09-19 18:47:51,176 - INFO - VM name : ctest-TestBasicVMVNx-88421629-93227500 2024-09-19 18:47:51,312 - DEBUG - VM ctest-TestBasicVMVNx-88421629-93227500 ID is 5147e166-f1b2-4742-b06e-b1a842e9654d 2024-09-19 18:47:51,312 - DEBUG - VM ctest-TestBasicVMVNx-88421629-93227500 launched on Node cn-jenkins-deploy-platform-ansible-os-2006-1 2024-09-19 18:47:51,434 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/5147e166-f1b2-4742-b06e-b1a842e9654d 2024-09-19 18:47:51,450 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/72af0af0-25e4-422d-a40f-170fdcadbe8d 2024-09-19 18:47:52,767 - 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=9.13 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.757 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.757/4.942/9.127/4.185 ms') 2024-09-19 18:47:52,767 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-88421629-93227500 passed 2024-09-19 18:47:52,978 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-19 18:47:52,978 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-88421629-93227500, IP 36.146.16.4, Port 22 2024-09-19 18:47:53,188 - DEBUG - VM ctest-TestBasicVMVNx-88421629-93227500 is ready for SSH connections 2024-09-19 18:47:53,188 - DEBUG - FILE SIZE = 1303B 2024-09-19 18:47:53,188 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-88421629-82085554 to ctest-TestBasicVMVNx-88421629-93227500 using scp 2024-09-19 18:47:53,190 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-19 18:47:53,208 - 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.31, gateway password: c0ntrail123 2024-09-19 18:47:53,208 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-19 18:47:55,414 - DEBUG - 1+0 records in 1+0 records out 2024-09-19 18:47:56,207 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-19 18:47:56,631 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.31, gateway password: c0ntrail123 2024-09-19 18:47:56,632 - DEBUG - ls -l testfile 2024-09-19 18:47:58,553 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 19 12:47 testfile 2024-09-19 18:47:58,553 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-88421629-93227500 2024-09-19 18:47:58,554 - INFO - Deleting VM ctest-TestBasicVMVNx-88421629-93227500 2024-09-19 18:47:58,804 - INFO - Deleting VM ctest-TestBasicVMVNx-88421629-82085554 2024-09-19 18:47:58,905 - INFO - Deleting VN ctest-vn-21610975 2024-09-19 18:47:59,008 - DEBUG - VN a93a7619-09af-4e22-9d90-1f858dd50524 still in use: Unable to complete operation on network a93a7619-09af-4e22-9d90-1f858dd50524. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-61e32c99-9d7d-419d-9159-209b67519b5e'] 2024-09-19 18:47:59,009 - WARNING - Deleting VN ctest-vn-21610975 failed..Will retry 2024-09-19 18:48:01,247 - DEBUG - Response for deleting network () 2024-09-19 18:48:01,549 - DEBUG - No XMPP flaps were noticed during the test 2024-09-19 18:48:01,549 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:32] 2024-09-19 18:48:01,549 - INFO - -------------------------------------------------------------------------------- 2024-09-19 18:48:02,615 - INFO - Deleted project: ctest-TestBasicVMVNx-88421629, ID : 5f2ad540-47df-4823-81ca-789a93b051d6