2024-10-19 09:29:41,208 - INFO - Domain Default found not creating
2024-10-19 09:29:41,431 - INFO - Project ctest-TestBasicVMVNx-36642634 not found, creating it
2024-10-19 09:29:42,029 - INFO - Created Project:ctest-TestBasicVMVNx-36642634, ID : 042c51a6-80a6-41ff-bd27-7ce36bbe2444
2024-10-19 09:29:43,876 - INFO - ================================================================================
2024-10-19 09:29:43,876 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2024-10-19 09:29:43,877 - 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-10-19 09:29:44,153 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.20': '0'}} with
2024-10-19 09:29:44,153 - INFO - Initial checks done. Running the testcase now
2024-10-19 09:29:44,153 - INFO -
2024-10-19 09:29:44,851 - DEBUG - Response for create_network : {'network': {'id': '9410ac80-9af6-4ceb-8c85-c443b01ab20f', 'name': 'ctest-vn-65854202', 'tenant_id': '042c51a680a641ffbd277ce36bbe2444', 'project_id': '042c51a680a641ffbd277ce36bbe2444', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-36642634', 'ctest-vn-65854202'], 'port_security_enabled': True, 'description': ''}}
2024-10-19 09:29:45,177 - DEBUG - Response for create_subnet : {'subnet': {'id': '4400f855-253a-4ed2-8c66-bc1302c3ec40', 'name': '', 'tenant_id': '042c51a680a641ffbd277ce36bbe2444', 'network_id': '9410ac80-9af6-4ceb-8c85-c443b01ab20f', 'ip_version': 4, 'cidr': '222.224.209.128/26', 'allocation_pools': [{'start': '222.224.209.130', 'end': '222.224.209.190'}], 'gateway_ip': '222.224.209.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '222.224.209.130', 'tags': [], 'project_id': '042c51a680a641ffbd277ce36bbe2444'}}
2024-10-19 09:29:45,207 - INFO - Created VN ctest-vn-65854202
2024-10-19 09:29:45,266 - DEBUG - VN ctest-vn-65854202 UUID is 9410ac80-9af6-4ceb-8c85-c443b01ab20f
2024-10-19 09:29:45,480 - DEBUG - Services list from nova: [, , ]
2024-10-19 09:29:46,779 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2116-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2116-1)
2024-10-19 09:29:48,365 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2116-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2116-1)
2024-10-19 09:29:48,365 - INFO - Waiting for VM ctest-TestBasicVMVNx-36642634-33309528 to be up..
2024-10-19 09:29:48,496 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-10-19 09:29:53,624 - DEBUG - VM is in ACTIVE state now
2024-10-19 09:29:53,624 - INFO - VM name : ctest-TestBasicVMVNx-36642634-33309528
2024-10-19 09:29:53,757 - DEBUG - VM ctest-TestBasicVMVNx-36642634-33309528 ID is d1bba648-216f-472a-89b7-612dd07d81a6
2024-10-19 09:29:54,003 - DEBUG - VM ctest-TestBasicVMVNx-36642634-33309528 launched on Node cn-jenkins-deploy-platform-ansible-os-2116-1
2024-10-19 09:29:54,152 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/d1bba648-216f-472a-89b7-612dd07d81a6
2024-10-19 09:29:54,532 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/d1bba648-216f-472a-89b7-612dd07d81a6
2024-10-19 09:29:54,597 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/d70a5a6c-8279-497f-bb65-5982e14a04b8
2024-10-19 09:29:57,897 - 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 1005ms')
2024-10-19 09:29:57,897 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-36642634-33309528 failed!
2024-10-19 09:29:57,962 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-36642634:ctest-vn-65854202 is 222.224.209.129 and allocation pool is NOT set
2024-10-19 09:30:00,024 - 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.94 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.32 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.317/3.129/4.942/1.812 ms')
2024-10-19 09:30:00,025 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-36642634-33309528 passed
2024-10-19 09:30:00,186 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-19 09:30:00,186 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-36642634-33309528, IP 222.224.209.131, Port 22
2024-10-19 09:30:00,253 - 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-10-19 09:30:00,375 - DEBUG - VM ctest-TestBasicVMVNx-36642634-33309528 is NOT ready for SSH connections, VM status: ACTIVE
2024-10-19 09:30:05,376 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-19 09:30:05,376 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-36642634-33309528, IP 222.224.209.131, Port 22
2024-10-19 09:30:05,534 - DEBUG - VM ctest-TestBasicVMVNx-36642634-33309528 is ready for SSH connections
2024-10-19 09:30:05,534 - INFO - Waiting for VM ctest-TestBasicVMVNx-36642634-41299963 to be up..
2024-10-19 09:30:05,631 - DEBUG - VM is in ACTIVE state now
2024-10-19 09:30:05,631 - INFO - VM name : ctest-TestBasicVMVNx-36642634-41299963
2024-10-19 09:30:05,738 - DEBUG - VM ctest-TestBasicVMVNx-36642634-41299963 ID is ac414083-c35d-4e7f-abfa-b30642cd9ea4
2024-10-19 09:30:05,738 - DEBUG - VM ctest-TestBasicVMVNx-36642634-41299963 launched on Node cn-jenkins-deploy-platform-ansible-os-2116-1
2024-10-19 09:30:05,842 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/ac414083-c35d-4e7f-abfa-b30642cd9ea4
2024-10-19 09:30:05,854 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/a15d3774-9106-4e67-a2f8-65d411c9d1aa
2024-10-19 09:30:07,117 - 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.21 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.719 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.719/1.963/3.207/1.244 ms')
2024-10-19 09:30:07,117 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-36642634-41299963 passed
2024-10-19 09:30:07,286 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-19 09:30:07,286 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-36642634-41299963, IP 222.224.209.132, Port 22
2024-10-19 09:30:07,446 - DEBUG - VM ctest-TestBasicVMVNx-36642634-41299963 is ready for SSH connections
2024-10-19 09:30:07,446 - DEBUG - FILE SIZE = 1303B
2024-10-19 09:30:07,446 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-36642634-33309528 to ctest-TestBasicVMVNx-36642634-41299963 using scp
2024-10-19 09:30:07,447 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-19 09:30:07,456 - 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.23, gateway password: c0ntrail123
2024-10-19 09:30:07,456 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2024-10-19 09:30:09,547 - DEBUG - 1+0 records in
1+0 records out
2024-10-19 09:30:10,503 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-19 09:30:10,869 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123
2024-10-19 09:30:10,870 - DEBUG - ls -l testfile
2024-10-19 09:30:12,600 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 19 03:30 [0;0mtestfile[0m
2024-10-19 09:30:12,600 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-36642634-41299963
2024-10-19 09:30:12,600 - INFO - Deleting VM ctest-TestBasicVMVNx-36642634-41299963
2024-10-19 09:30:12,689 - INFO - Deleting VM ctest-TestBasicVMVNx-36642634-33309528
2024-10-19 09:30:12,778 - INFO - Deleting VN ctest-vn-65854202
2024-10-19 09:30:12,839 - DEBUG - VN 9410ac80-9af6-4ceb-8c85-c443b01ab20f still in use: Unable to complete operation on network 9410ac80-9af6-4ceb-8c85-c443b01ab20f. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-ed08b61a-7313-4e26-85d8-27eb62b1655e']
2024-10-19 09:30:12,839 - WARNING - Deleting VN ctest-vn-65854202 failed..Will retry
2024-10-19 09:30:14,979 - DEBUG - Response for deleting network ()
2024-10-19 09:30:15,253 - DEBUG - No XMPP flaps were noticed during the test
2024-10-19 09:30:15,253 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:32]
2024-10-19 09:30:15,253 - INFO - --------------------------------------------------------------------------------
2024-10-19 09:30:17,189 - INFO - Deleted project: ctest-TestBasicVMVNx-36642634, ID : 042c51a6-80a6-41ff-bd27-7ce36bbe2444