2025-04-11 15:01:48,971 - INFO - Domain Default found not creating 2025-04-11 15:01:49,161 - INFO - Project ctest-TestBasicVMVNx-07274068 not found, creating it 2025-04-11 15:01:49,663 - INFO - Created Project:ctest-TestBasicVMVNx-07274068, ID : edb50444-66f1-47c0-8b4b-1b94412bc2bb 2025-04-11 15:01:51,279 - INFO - ================================================================================ 2025-04-11 15:01:51,279 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-04-11 15:01:51,279 - 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 2025-04-11 15:01:51,558 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.14': '0'}} with 2025-04-11 15:01:51,558 - INFO - Initial checks done. Running the testcase now 2025-04-11 15:01:51,558 - INFO - 2025-04-11 15:01:52,208 - DEBUG - Response for create_network : {'network': {'id': 'aa3bc1b4-2e2f-49f1-8dc4-c8511d7d169e', 'name': 'ctest-vn-10924939', 'tenant_id': 'edb5044466f147c08b4b1b94412bc2bb', 'project_id': 'edb5044466f147c08b4b1b94412bc2bb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-07274068', 'ctest-vn-10924939'], 'port_security_enabled': True, 'description': ''}} 2025-04-11 15:01:52,434 - DEBUG - Response for create_subnet : {'subnet': {'id': '3d701d77-3049-4294-9b2a-375dc97745ef', 'name': '', 'tenant_id': 'edb5044466f147c08b4b1b94412bc2bb', 'network_id': 'aa3bc1b4-2e2f-49f1-8dc4-c8511d7d169e', 'ip_version': 4, 'cidr': '167.186.139.64/26', 'allocation_pools': [{'start': '167.186.139.66', 'end': '167.186.139.126'}], 'gateway_ip': '167.186.139.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '167.186.139.66', 'tags': [], 'project_id': 'edb5044466f147c08b4b1b94412bc2bb'}} 2025-04-11 15:01:52,459 - INFO - Created VN ctest-vn-10924939 2025-04-11 15:01:52,514 - DEBUG - VN ctest-vn-10924939 UUID is aa3bc1b4-2e2f-49f1-8dc4-c8511d7d169e 2025-04-11 15:01:52,716 - DEBUG - Services list from nova: [, , ] 2025-04-11 15:01:53,863 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3081-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3081-1) 2025-04-11 15:01:55,326 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3081-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3081-1) 2025-04-11 15:01:55,326 - INFO - Waiting for VM ctest-TestBasicVMVNx-07274068-92791325 to be up.. 2025-04-11 15:01:55,420 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-11 15:02:00,524 - DEBUG - VM is in ACTIVE state now 2025-04-11 15:02:00,525 - INFO - VM name : ctest-TestBasicVMVNx-07274068-92791325 2025-04-11 15:02:00,619 - DEBUG - VM ctest-TestBasicVMVNx-07274068-92791325 ID is dc97e7cb-f050-435f-8b33-6826ce37a41e 2025-04-11 15:02:00,645 - DEBUG - VM ctest-TestBasicVMVNx-07274068-92791325 launched on Node cn-jenkins-deploy-platform-ansible-os-3081-1 2025-04-11 15:02:00,736 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/dc97e7cb-f050-435f-8b33-6826ce37a41e 2025-04-11 15:02:01,042 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/dc97e7cb-f050-435f-8b33-6826ce37a41e 2025-04-11 15:02:01,079 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/447da37c-d4c5-4bfa-a5e2-8f285f75a0a4 2025-04-11 15:02:04,346 - 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') 2025-04-11 15:02:04,346 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-07274068-92791325 failed! 2025-04-11 15:02:04,406 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-07274068:ctest-vn-10924939 is 167.186.139.65 and allocation pool is NOT set 2025-04-11 15:02:06,475 - 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.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.28 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.280/4.017/5.754/1.737 ms') 2025-04-11 15:02:06,475 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-07274068-92791325 passed 2025-04-11 15:02:06,646 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-11 15:02:06,646 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-07274068-92791325, IP 167.186.139.67, Port 22 2025-04-11 15:02:06,712 - 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': ''} 2025-04-11 15:02:06,829 - DEBUG - VM ctest-TestBasicVMVNx-07274068-92791325 is NOT ready for SSH connections, VM status: ACTIVE 2025-04-11 15:02:11,830 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-11 15:02:11,830 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-07274068-92791325, IP 167.186.139.67, Port 22 2025-04-11 15:02:11,985 - DEBUG - VM ctest-TestBasicVMVNx-07274068-92791325 is ready for SSH connections 2025-04-11 15:02:11,986 - INFO - Waiting for VM ctest-TestBasicVMVNx-07274068-24635791 to be up.. 2025-04-11 15:02:12,084 - DEBUG - VM is in ACTIVE state now 2025-04-11 15:02:12,084 - INFO - VM name : ctest-TestBasicVMVNx-07274068-24635791 2025-04-11 15:02:12,168 - DEBUG - VM ctest-TestBasicVMVNx-07274068-24635791 ID is 9ef15059-5e95-4644-abad-c6c88c1ac9e9 2025-04-11 15:02:12,168 - DEBUG - VM ctest-TestBasicVMVNx-07274068-24635791 launched on Node cn-jenkins-deploy-platform-ansible-os-3081-1 2025-04-11 15:02:12,263 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/9ef15059-5e95-4644-abad-c6c88c1ac9e9 2025-04-11 15:02:12,273 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/87edc64d-e6eb-4ba3-b66f-8dcbbb4293d1 2025-04-11 15:02:13,526 - 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.06 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.452 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.452/1.757/3.063/1.305 ms') 2025-04-11 15:02:13,527 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-07274068-24635791 passed 2025-04-11 15:02:13,682 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-11 15:02:13,682 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-07274068-24635791, IP 167.186.139.68, Port 22 2025-04-11 15:02:13,856 - DEBUG - VM ctest-TestBasicVMVNx-07274068-24635791 is ready for SSH connections 2025-04-11 15:02:13,856 - DEBUG - FILE SIZE = 1303B 2025-04-11 15:02:13,856 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-07274068-92791325 to ctest-TestBasicVMVNx-07274068-24635791 using scp 2025-04-11 15:02:13,857 - 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.22, gateway password: c0ntrail123 2025-04-11 15:02:13,857 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-04-11 15:02:15,831 - DEBUG - 1+0 records in 1+0 records out 2025-04-11 15:02:16,477 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-11 15:02:16,823 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-04-11 15:02:16,823 - DEBUG - ls -l testfile 2025-04-11 15:02:18,409 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 11 09:02 testfile 2025-04-11 15:02:18,409 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-07274068-24635791 2025-04-11 15:02:18,409 - INFO - Deleting VM ctest-TestBasicVMVNx-07274068-24635791 2025-04-11 15:02:18,516 - INFO - Deleting VM ctest-TestBasicVMVNx-07274068-92791325 2025-04-11 15:02:18,607 - INFO - Deleting VN ctest-vn-10924939 2025-04-11 15:02:18,654 - DEBUG - VN aa3bc1b4-2e2f-49f1-8dc4-c8511d7d169e still in use: Unable to complete operation on network aa3bc1b4-2e2f-49f1-8dc4-c8511d7d169e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7c8a2ea8-35d0-47b6-93f9-aa30809046b0'] 2025-04-11 15:02:18,654 - WARNING - Deleting VN ctest-vn-10924939 failed..Will retry 2025-04-11 15:02:20,777 - DEBUG - Response for deleting network () 2025-04-11 15:02:21,038 - DEBUG - No XMPP flaps were noticed during the test 2025-04-11 15:02:21,038 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:30] 2025-04-11 15:02:21,038 - INFO - -------------------------------------------------------------------------------- 2025-04-11 15:02:21,813 - INFO - Deleted project: ctest-TestBasicVMVNx-07274068, ID : edb50444-66f1-47c0-8b4b-1b94412bc2bb