2024-08-26 23:52:37,865 - INFO - Domain Default found not creating 2024-08-26 23:52:38,030 - INFO - Project ctest-TestBasicVMVNx-03793484 not found, creating it 2024-08-26 23:52:38,490 - INFO - Created Project:ctest-TestBasicVMVNx-03793484, ID : b2b00c70-77eb-4b1b-a96f-d8d523a389c4 2024-08-26 23:52:41,205 - INFO - ================================================================================ 2024-08-26 23:52:41,205 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-08-26 23:52:41,206 - 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-08-26 23:52:41,465 - DEBUG - Nothing to compare xmpp stats {'10.0.0.24': {'10.20.0.18': '0'}} with 2024-08-26 23:52:41,465 - INFO - Initial checks done. Running the testcase now 2024-08-26 23:52:41,465 - INFO - 2024-08-26 23:52:42,346 - DEBUG - Response for create_network : {'network': {'id': 'e189faf9-482a-479f-8c2b-507e9a1d2f58', 'name': 'ctest-vn-69065831', 'tenant_id': 'b2b00c7077eb4b1ba96fd8d523a389c4', 'project_id': 'b2b00c7077eb4b1ba96fd8d523a389c4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-03793484', 'ctest-vn-69065831'], 'port_security_enabled': True, 'description': ''}} 2024-08-26 23:52:42,574 - DEBUG - Response for create_subnet : {'subnet': {'id': '67f557f4-9091-4f3b-87ec-11fe4944f87e', 'name': '', 'tenant_id': 'b2b00c7077eb4b1ba96fd8d523a389c4', 'network_id': 'e189faf9-482a-479f-8c2b-507e9a1d2f58', 'ip_version': 4, 'cidr': '98.99.221.0/26', 'allocation_pools': [{'start': '98.99.221.2', 'end': '98.99.221.62'}], 'gateway_ip': '98.99.221.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '98.99.221.2', 'tags': [], 'project_id': 'b2b00c7077eb4b1ba96fd8d523a389c4'}} 2024-08-26 23:52:42,595 - INFO - Created VN ctest-vn-69065831 2024-08-26 23:52:42,651 - DEBUG - VN ctest-vn-69065831 UUID is e189faf9-482a-479f-8c2b-507e9a1d2f58 2024-08-26 23:52:42,827 - DEBUG - Services list from nova: [, , ] 2024-08-26 23:52:43,854 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1781-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1781-1) 2024-08-26 23:52:44,965 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1781-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1781-1) 2024-08-26 23:52:44,966 - INFO - Waiting for VM ctest-TestBasicVMVNx-03793484-54940693 to be up.. 2024-08-26 23:52:45,054 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-26 23:52:50,136 - DEBUG - VM is in ACTIVE state now 2024-08-26 23:52:50,136 - INFO - VM name : ctest-TestBasicVMVNx-03793484-54940693 2024-08-26 23:52:50,236 - DEBUG - VM ctest-TestBasicVMVNx-03793484-54940693 ID is 3390ebf8-78c4-4c5f-af14-f9abc702b1a4 2024-08-26 23:52:50,264 - DEBUG - VM ctest-TestBasicVMVNx-03793484-54940693 launched on Node cn-jenkins-deploy-platform-ansible-os-1781-1 2024-08-26 23:52:50,343 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/3390ebf8-78c4-4c5f-af14-f9abc702b1a4 2024-08-26 23:52:50,638 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/3390ebf8-78c4-4c5f-af14-f9abc702b1a4 2024-08-26 23:52:50,672 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/06761e3e-a0a2-4b13-9c3e-fbec05cb5936 2024-08-26 23:52:53,931 - 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 1023ms') 2024-08-26 23:52:53,931 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-03793484-54940693 failed! 2024-08-26 23:52:53,983 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-03793484:ctest-vn-69065831 is 98.99.221.1 and allocation pool is NOT set 2024-08-26 23:52:56,040 - 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.74 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.06 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 = 1.064/2.401/3.739/1.337 ms') 2024-08-26 23:52:56,040 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-03793484-54940693 passed 2024-08-26 23:52:56,191 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 23:52:56,191 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-03793484-54940693, IP 98.99.221.3, Port 22 2024-08-26 23:52:56,350 - DEBUG - VM ctest-TestBasicVMVNx-03793484-54940693 is ready for SSH connections 2024-08-26 23:52:56,350 - INFO - Waiting for VM ctest-TestBasicVMVNx-03793484-69232795 to be up.. 2024-08-26 23:52:56,435 - DEBUG - VM is in ACTIVE state now 2024-08-26 23:52:56,435 - INFO - VM name : ctest-TestBasicVMVNx-03793484-69232795 2024-08-26 23:52:56,524 - DEBUG - VM ctest-TestBasicVMVNx-03793484-69232795 ID is b7cdc36d-eb37-41ad-8d76-df2d2c96434e 2024-08-26 23:52:56,524 - DEBUG - VM ctest-TestBasicVMVNx-03793484-69232795 launched on Node cn-jenkins-deploy-platform-ansible-os-1781-1 2024-08-26 23:52:56,722 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/b7cdc36d-eb37-41ad-8d76-df2d2c96434e 2024-08-26 23:52:56,735 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/6b5383db-4ca6-4f00-8567-5f2a530a7381 2024-08-26 23:53:00,013 - 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=2 ttl=63 time=9.04 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1019ms\r\nrtt min/avg/max/mdev = 9.036/9.036/9.036/0.000 ms') 2024-08-26 23:53:00,013 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-03793484-69232795 passed 2024-08-26 23:53:00,163 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 23:53:00,163 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-03793484-69232795, IP 98.99.221.4, Port 22 2024-08-26 23:53:00,233 - 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': ''} 2024-08-26 23:53:00,350 - DEBUG - VM ctest-TestBasicVMVNx-03793484-69232795 is NOT ready for SSH connections, VM status: ACTIVE 2024-08-26 23:53:05,351 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 23:53:05,351 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-03793484-69232795, IP 98.99.221.4, Port 22 2024-08-26 23:53:05,507 - DEBUG - VM ctest-TestBasicVMVNx-03793484-69232795 is ready for SSH connections 2024-08-26 23:53:05,507 - DEBUG - FILE SIZE = 1303B 2024-08-26 23:53:05,507 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-03793484-54940693 to ctest-TestBasicVMVNx-03793484-69232795 using scp 2024-08-26 23:53:05,508 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 23:53:05,515 - 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 2024-08-26 23:53:05,515 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-08-26 23:53:07,408 - DEBUG - 1+0 records in 1+0 records out 2024-08-26 23:53:07,983 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 23:53:08,306 - 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 2024-08-26 23:53:08,306 - DEBUG - ls -l testfile 2024-08-26 23:53:09,882 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 26 17:53 testfile 2024-08-26 23:53:09,882 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-03793484-69232795 2024-08-26 23:53:09,882 - INFO - Deleting VM ctest-TestBasicVMVNx-03793484-69232795 2024-08-26 23:53:09,956 - INFO - Deleting VM ctest-TestBasicVMVNx-03793484-54940693 2024-08-26 23:53:10,026 - INFO - Deleting VN ctest-vn-69065831 2024-08-26 23:53:10,065 - DEBUG - VN e189faf9-482a-479f-8c2b-507e9a1d2f58 still in use: Unable to complete operation on network e189faf9-482a-479f-8c2b-507e9a1d2f58. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-13ab2d4d-19e0-41b1-a8dd-e4a1408518e5'] 2024-08-26 23:53:10,066 - WARNING - Deleting VN ctest-vn-69065831 failed..Will retry 2024-08-26 23:53:12,580 - DEBUG - Response for deleting network () 2024-08-26 23:53:12,833 - DEBUG - No XMPP flaps were noticed during the test 2024-08-26 23:53:12,833 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:31] 2024-08-26 23:53:12,834 - INFO - -------------------------------------------------------------------------------- 2024-08-26 23:53:13,549 - INFO - Deleted project: ctest-TestBasicVMVNx-03793484, ID : b2b00c70-77eb-4b1b-a96f-d8d523a389c4