2025-01-15 19:30:02,042 - INFO - Domain Default found not creating 2025-01-15 19:30:02,200 - INFO - Project ctest-TestBasicVMVNx-86463184 not found, creating it 2025-01-15 19:30:02,690 - INFO - Created Project:ctest-TestBasicVMVNx-86463184, ID : 7cff2508-a7c5-43d9-a825-41e1072e847d 2025-01-15 19:30:04,160 - INFO - ================================================================================ 2025-01-15 19:30:04,160 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-01-15 19:30:04,160 - 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-01-15 19:30:04,422 - DEBUG - Nothing to compare xmpp stats {'10.0.0.24': {'10.20.0.13': '0'}} with 2025-01-15 19:30:04,422 - INFO - Initial checks done. Running the testcase now 2025-01-15 19:30:04,422 - INFO - 2025-01-15 19:30:05,008 - DEBUG - Response for create_network : {'network': {'id': '8bc34d04-e202-42fb-9584-3cb7d8383c76', 'name': 'ctest-vn-21708367', 'tenant_id': '7cff2508a7c543d9a82541e1072e847d', 'project_id': '7cff2508a7c543d9a82541e1072e847d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-86463184', 'ctest-vn-21708367'], 'port_security_enabled': True, 'description': ''}} 2025-01-15 19:30:05,179 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ff4580af-f63f-4f7a-a753-c503c3eacfa5', 'name': '', 'tenant_id': '7cff2508a7c543d9a82541e1072e847d', 'network_id': '8bc34d04-e202-42fb-9584-3cb7d8383c76', 'ip_version': 4, 'cidr': '184.237.47.0/26', 'allocation_pools': [{'start': '184.237.47.2', 'end': '184.237.47.62'}], 'gateway_ip': '184.237.47.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '184.237.47.2', 'tags': [], 'project_id': '7cff2508a7c543d9a82541e1072e847d'}} 2025-01-15 19:30:05,199 - INFO - Created VN ctest-vn-21708367 2025-01-15 19:30:05,256 - DEBUG - VN ctest-vn-21708367 UUID is 8bc34d04-e202-42fb-9584-3cb7d8383c76 2025-01-15 19:30:05,432 - DEBUG - Services list from nova: [, , ] 2025-01-15 19:30:06,520 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2645-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2645-1) 2025-01-15 19:30:07,780 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2645-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2645-1) 2025-01-15 19:30:07,781 - INFO - Waiting for VM ctest-TestBasicVMVNx-86463184-23452412 to be up.. 2025-01-15 19:30:07,882 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-15 19:30:12,962 - DEBUG - VM is in ACTIVE state now 2025-01-15 19:30:12,962 - INFO - VM name : ctest-TestBasicVMVNx-86463184-23452412 2025-01-15 19:30:13,042 - DEBUG - VM ctest-TestBasicVMVNx-86463184-23452412 ID is 6b932854-18e7-4d6c-af96-dd2ad83f67c1 2025-01-15 19:30:13,066 - DEBUG - VM ctest-TestBasicVMVNx-86463184-23452412 launched on Node cn-jenkins-deploy-platform-ansible-os-2645-1 2025-01-15 19:30:13,145 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/6b932854-18e7-4d6c-af96-dd2ad83f67c1 2025-01-15 19:30:13,439 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/6b932854-18e7-4d6c-af96-dd2ad83f67c1 2025-01-15 19:30:13,471 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/d7c6d226-e02e-4b19-98a8-9b9397b0b1db 2025-01-15 19:30:16,725 - 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 1007ms') 2025-01-15 19:30:16,725 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-86463184-23452412 failed! 2025-01-15 19:30:16,780 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-86463184:ctest-vn-21708367 is 184.237.47.1 and allocation pool is NOT set 2025-01-15 19:30:18,838 - 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.35 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.401 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.401/1.876/3.351/1.475 ms') 2025-01-15 19:30:18,838 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-86463184-23452412 passed 2025-01-15 19:30:18,996 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-15 19:30:18,996 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-86463184-23452412, IP 184.237.47.3, Port 22 2025-01-15 19:30:19,163 - DEBUG - VM ctest-TestBasicVMVNx-86463184-23452412 is ready for SSH connections 2025-01-15 19:30:19,163 - INFO - Waiting for VM ctest-TestBasicVMVNx-86463184-56432673 to be up.. 2025-01-15 19:30:19,242 - DEBUG - VM is in ACTIVE state now 2025-01-15 19:30:19,243 - INFO - VM name : ctest-TestBasicVMVNx-86463184-56432673 2025-01-15 19:30:19,420 - DEBUG - VM ctest-TestBasicVMVNx-86463184-56432673 ID is 20931da6-3ce8-4e94-8018-d1f922fe0a93 2025-01-15 19:30:19,420 - DEBUG - VM ctest-TestBasicVMVNx-86463184-56432673 launched on Node cn-jenkins-deploy-platform-ansible-os-2645-1 2025-01-15 19:30:19,506 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/20931da6-3ce8-4e94-8018-d1f922fe0a93 2025-01-15 19:30:19,517 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/d394af12-a76e-41ce-b2db-d6992fe7fbac 2025-01-15 19:30:20,768 - 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=4.54 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.19 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 = 2.191/3.366/4.541/1.175 ms') 2025-01-15 19:30:20,768 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-86463184-56432673 passed 2025-01-15 19:30:20,924 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-15 19:30:20,924 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-86463184-56432673, IP 184.237.47.4, Port 22 2025-01-15 19:30:20,983 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-01-15 19:30:21,059 - DEBUG - VM ctest-TestBasicVMVNx-86463184-56432673 is NOT ready for SSH connections, VM status: ACTIVE 2025-01-15 19:30:26,060 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-15 19:30:26,060 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-86463184-56432673, IP 184.237.47.4, Port 22 2025-01-15 19:30:26,220 - DEBUG - VM ctest-TestBasicVMVNx-86463184-56432673 is ready for SSH connections 2025-01-15 19:30:26,220 - DEBUG - FILE SIZE = 1303B 2025-01-15 19:30:26,220 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-86463184-23452412 to ctest-TestBasicVMVNx-86463184-56432673 using scp 2025-01-15 19:30:26,221 - 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.24, gateway password: c0ntrail123 2025-01-15 19:30:26,221 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-01-15 19:30:28,227 - DEBUG - 1+0 records in 1+0 records out 2025-01-15 19:30:28,835 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-15 19:30:29,173 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.24, gateway password: c0ntrail123 2025-01-15 19:30:29,173 - DEBUG - ls -l testfile 2025-01-15 19:30:30,748 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 15 12:30 testfile 2025-01-15 19:30:30,748 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-86463184-56432673 2025-01-15 19:30:30,748 - INFO - Deleting VM ctest-TestBasicVMVNx-86463184-56432673 2025-01-15 19:30:30,828 - INFO - Deleting VM ctest-TestBasicVMVNx-86463184-23452412 2025-01-15 19:30:30,918 - INFO - Deleting VN ctest-vn-21708367 2025-01-15 19:30:30,965 - DEBUG - VN 8bc34d04-e202-42fb-9584-3cb7d8383c76 still in use: Unable to complete operation on network 8bc34d04-e202-42fb-9584-3cb7d8383c76. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-20d1bcdf-e21a-44e1-853c-06482725c8cf'] 2025-01-15 19:30:30,965 - WARNING - Deleting VN ctest-vn-21708367 failed..Will retry 2025-01-15 19:30:33,074 - DEBUG - Response for deleting network () 2025-01-15 19:30:33,330 - DEBUG - No XMPP flaps were noticed during the test 2025-01-15 19:30:33,330 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29] 2025-01-15 19:30:33,331 - INFO - -------------------------------------------------------------------------------- 2025-01-15 19:30:34,028 - INFO - Deleted project: ctest-TestBasicVMVNx-86463184, ID : 7cff2508-a7c5-43d9-a825-41e1072e847d