2024-11-08 18:30:49,281 - INFO - Domain Default found not creating 2024-11-08 18:30:49,479 - INFO - Project ctest-TestBasicVMVNx-25586191 not found, creating it 2024-11-08 18:30:50,008 - INFO - Created Project:ctest-TestBasicVMVNx-25586191, ID : 9510dff2-f766-419e-9478-ed69e476f5b0 2024-11-08 18:30:51,724 - INFO - ================================================================================ 2024-11-08 18:30:51,725 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-11-08 18:30:51,725 - 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-11-08 18:30:51,979 - DEBUG - Nothing to compare xmpp stats {'10.0.0.31': {'10.20.0.18': '0'}} with 2024-11-08 18:30:51,979 - INFO - Initial checks done. Running the testcase now 2024-11-08 18:30:51,979 - INFO - 2024-11-08 18:30:52,658 - DEBUG - Response for create_network : {'network': {'id': '3de13376-19c6-48b3-8074-9b4944b83fed', 'name': 'ctest-vn-27253301', 'tenant_id': '9510dff2f766419e9478ed69e476f5b0', 'project_id': '9510dff2f766419e9478ed69e476f5b0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-25586191', 'ctest-vn-27253301'], 'port_security_enabled': True, 'description': ''}} 2024-11-08 18:30:52,894 - DEBUG - Response for create_subnet : {'subnet': {'id': '44ca267a-4da1-4404-bb7a-69f03304b42c', 'name': '', 'tenant_id': '9510dff2f766419e9478ed69e476f5b0', 'network_id': '3de13376-19c6-48b3-8074-9b4944b83fed', 'ip_version': 4, 'cidr': '41.240.147.64/26', 'allocation_pools': [{'start': '41.240.147.66', 'end': '41.240.147.126'}], 'gateway_ip': '41.240.147.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '41.240.147.66', 'tags': [], 'project_id': '9510dff2f766419e9478ed69e476f5b0'}} 2024-11-08 18:30:52,916 - INFO - Created VN ctest-vn-27253301 2024-11-08 18:30:52,972 - DEBUG - VN ctest-vn-27253301 UUID is 3de13376-19c6-48b3-8074-9b4944b83fed 2024-11-08 18:30:53,145 - DEBUG - Services list from nova: [, , ] 2024-11-08 18:30:54,304 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2239-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2239-1) 2024-11-08 18:30:55,556 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2239-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2239-1) 2024-11-08 18:30:55,557 - INFO - Waiting for VM ctest-TestBasicVMVNx-25586191-25416981 to be up.. 2024-11-08 18:30:55,659 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-08 18:31:00,751 - DEBUG - VM is in ACTIVE state now 2024-11-08 18:31:00,751 - INFO - VM name : ctest-TestBasicVMVNx-25586191-25416981 2024-11-08 18:31:00,836 - DEBUG - VM ctest-TestBasicVMVNx-25586191-25416981 ID is 414f73e7-82a6-4fec-aecc-2c62215a25ea 2024-11-08 18:31:00,856 - DEBUG - VM ctest-TestBasicVMVNx-25586191-25416981 launched on Node cn-jenkins-deploy-platform-ansible-os-2239-1 2024-11-08 18:31:00,935 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/414f73e7-82a6-4fec-aecc-2c62215a25ea 2024-11-08 18:31:01,274 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/414f73e7-82a6-4fec-aecc-2c62215a25ea 2024-11-08 18:31:01,312 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/3bb20b1b-a5b8-473b-8bcc-4b0b58084282 2024-11-08 18:31:04,579 - 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 1014ms') 2024-11-08 18:31:04,580 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-25586191-25416981 failed! 2024-11-08 18:31:04,640 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-25586191:ctest-vn-27253301 is 41.240.147.65 and allocation pool is NOT set 2024-11-08 18:31:06,706 - 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=4.47 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.08 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 = 1.082/2.778/4.474/1.696 ms') 2024-11-08 18:31:06,706 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-25586191-25416981 passed 2024-11-08 18:31:06,864 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-08 18:31:06,864 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-25586191-25416981, IP 41.240.147.67, Port 22 2024-11-08 18:31:06,920 - 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-11-08 18:31:07,009 - DEBUG - VM ctest-TestBasicVMVNx-25586191-25416981 is NOT ready for SSH connections, VM status: ACTIVE 2024-11-08 18:31:12,010 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-08 18:31:12,010 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-25586191-25416981, IP 41.240.147.67, Port 22 2024-11-08 18:31:12,168 - DEBUG - VM ctest-TestBasicVMVNx-25586191-25416981 is ready for SSH connections 2024-11-08 18:31:12,168 - INFO - Waiting for VM ctest-TestBasicVMVNx-25586191-11907971 to be up.. 2024-11-08 18:31:12,280 - DEBUG - VM is in ACTIVE state now 2024-11-08 18:31:12,280 - INFO - VM name : ctest-TestBasicVMVNx-25586191-11907971 2024-11-08 18:31:12,361 - DEBUG - VM ctest-TestBasicVMVNx-25586191-11907971 ID is 51b49eb6-57c2-476e-985a-caf40fd45548 2024-11-08 18:31:12,361 - DEBUG - VM ctest-TestBasicVMVNx-25586191-11907971 launched on Node cn-jenkins-deploy-platform-ansible-os-2239-1 2024-11-08 18:31:12,441 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/51b49eb6-57c2-476e-985a-caf40fd45548 2024-11-08 18:31:12,450 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/b07a6b0d-9c61-4805-bb28-245e022598c8 2024-11-08 18:31:13,705 - 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.401 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.401/1.730/3.059/1.329 ms') 2024-11-08 18:31:13,705 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-25586191-11907971 passed 2024-11-08 18:31:13,865 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-08 18:31:13,865 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-25586191-11907971, IP 41.240.147.68, Port 22 2024-11-08 18:31:14,020 - DEBUG - VM ctest-TestBasicVMVNx-25586191-11907971 is ready for SSH connections 2024-11-08 18:31:14,020 - DEBUG - FILE SIZE = 1303B 2024-11-08 18:31:14,020 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-25586191-25416981 to ctest-TestBasicVMVNx-25586191-11907971 using scp 2024-11-08 18:31:14,021 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-08 18:31:14,028 - 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-11-08 18:31:14,028 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-11-08 18:31:16,059 - DEBUG - 1+0 records in 1+0 records out 2024-11-08 18:31:16,721 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-08 18:31:17,071 - 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-11-08 18:31:17,072 - DEBUG - ls -l testfile 2024-11-08 18:31:18,699 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 8 11:31 testfile 2024-11-08 18:31:18,699 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-25586191-11907971 2024-11-08 18:31:18,699 - INFO - Deleting VM ctest-TestBasicVMVNx-25586191-11907971 2024-11-08 18:31:18,775 - INFO - Deleting VM ctest-TestBasicVMVNx-25586191-25416981 2024-11-08 18:31:18,843 - INFO - Deleting VN ctest-vn-27253301 2024-11-08 18:31:18,886 - DEBUG - VN 3de13376-19c6-48b3-8074-9b4944b83fed still in use: Unable to complete operation on network 3de13376-19c6-48b3-8074-9b4944b83fed. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-10a343c9-753b-4fba-bd01-a7e688d1cf2f'] 2024-11-08 18:31:18,886 - WARNING - Deleting VN ctest-vn-27253301 failed..Will retry 2024-11-08 18:31:21,003 - DEBUG - Response for deleting network () 2024-11-08 18:31:21,267 - DEBUG - No XMPP flaps were noticed during the test 2024-11-08 18:31:21,267 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:30] 2024-11-08 18:31:21,267 - INFO - -------------------------------------------------------------------------------- 2024-11-08 18:31:22,042 - INFO - Deleted project: ctest-TestBasicVMVNx-25586191, ID : 9510dff2-f766-419e-9478-ed69e476f5b0