2024-09-06 14:09:49,497 - INFO - Domain Default found not creating
2024-09-06 14:09:50,020 - INFO - Project ctest-TestBasicVMVNx-36911771 not found, creating it
2024-09-06 14:09:50,545 - INFO - Created Project:ctest-TestBasicVMVNx-36911771, ID : ffd15067-403b-46e5-82f7-ecb5d5ee51ef
2024-09-06 14:09:52,167 - INFO - ================================================================================
2024-09-06 14:09:52,167 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2024-09-06 14:09:52,167 - 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-09-06 14:09:52,433 - DEBUG - Nothing to compare xmpp stats {'10.0.0.42': {'10.20.0.5': '0'}} with
2024-09-06 14:09:52,433 - INFO - Initial checks done. Running the testcase now
2024-09-06 14:09:52,433 - INFO -
2024-09-06 14:09:53,020 - DEBUG - Response for create_network : {'network': {'id': '2c5dc5cd-0fed-49e7-a21b-83046edbe0ea', 'name': 'ctest-vn-84160638', 'tenant_id': 'ffd15067403b46e582f7ecb5d5ee51ef', 'project_id': 'ffd15067403b46e582f7ecb5d5ee51ef', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-36911771', 'ctest-vn-84160638'], 'port_security_enabled': True, 'description': ''}}
2024-09-06 14:09:53,306 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fbf7c1cb-d20a-42f5-a5ce-cec31816d8a0', 'name': '', 'tenant_id': 'ffd15067403b46e582f7ecb5d5ee51ef', 'network_id': '2c5dc5cd-0fed-49e7-a21b-83046edbe0ea', 'ip_version': 4, 'cidr': '47.77.72.192/26', 'allocation_pools': [{'start': '47.77.72.194', 'end': '47.77.72.254'}], 'gateway_ip': '47.77.72.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '47.77.72.194', 'tags': [], 'project_id': 'ffd15067403b46e582f7ecb5d5ee51ef'}}
2024-09-06 14:09:53,327 - INFO - Created VN ctest-vn-84160638
2024-09-06 14:09:53,378 - DEBUG - VN ctest-vn-84160638 UUID is 2c5dc5cd-0fed-49e7-a21b-83046edbe0ea
2024-09-06 14:09:53,562 - DEBUG - Services list from nova: [, , ]
2024-09-06 14:09:54,657 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1861-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1861-1)
2024-09-06 14:09:55,906 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1861-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1861-1)
2024-09-06 14:09:55,906 - INFO - Waiting for VM ctest-TestBasicVMVNx-36911771-47303743 to be up..
2024-09-06 14:09:56,007 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-09-06 14:10:01,121 - DEBUG - VM is in ACTIVE state now
2024-09-06 14:10:01,121 - INFO - VM name : ctest-TestBasicVMVNx-36911771-47303743
2024-09-06 14:10:01,211 - DEBUG - VM ctest-TestBasicVMVNx-36911771-47303743 ID is f7fd001f-eb26-4c9e-bb98-61c227e116c7
2024-09-06 14:10:01,236 - DEBUG - VM ctest-TestBasicVMVNx-36911771-47303743 launched on Node cn-jenkins-deploy-platform-ansible-os-1861-1
2024-09-06 14:10:01,332 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/f7fd001f-eb26-4c9e-bb98-61c227e116c7
2024-09-06 14:10:01,634 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/f7fd001f-eb26-4c9e-bb98-61c227e116c7
2024-09-06 14:10:01,671 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/41582991-e9f1-408a-9bb1-81fb547ad36e
2024-09-06 14:10:04,921 - 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 1006ms')
2024-09-06 14:10:04,922 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-36911771-47303743 failed!
2024-09-06 14:10:04,986 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-36911771:ctest-vn-84160638 is 47.77.72.193 and allocation pool is NOT set
2024-09-06 14:10:07,045 - 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.79 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.41 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.414/3.099/4.785/1.685 ms')
2024-09-06 14:10:07,046 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-36911771-47303743 passed
2024-09-06 14:10:07,206 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-09-06 14:10:07,206 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-36911771-47303743, IP 47.77.72.195, Port 22
2024-09-06 14:10:07,372 - DEBUG - VM ctest-TestBasicVMVNx-36911771-47303743 is ready for SSH connections
2024-09-06 14:10:07,373 - INFO - Waiting for VM ctest-TestBasicVMVNx-36911771-17081028 to be up..
2024-09-06 14:10:07,491 - DEBUG - VM is in ACTIVE state now
2024-09-06 14:10:07,491 - INFO - VM name : ctest-TestBasicVMVNx-36911771-17081028
2024-09-06 14:10:07,594 - DEBUG - VM ctest-TestBasicVMVNx-36911771-17081028 ID is c89878ed-877e-4c0d-a9cb-b637990aa90b
2024-09-06 14:10:07,594 - DEBUG - VM ctest-TestBasicVMVNx-36911771-17081028 launched on Node cn-jenkins-deploy-platform-ansible-os-1861-1
2024-09-06 14:10:07,701 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/c89878ed-877e-4c0d-a9cb-b637990aa90b
2024-09-06 14:10:07,711 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/65b67a0d-3da9-4a36-829c-f2d6d62d4fcd
2024-09-06 14:10:10,968 - 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=20.9 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1008ms\r\nrtt min/avg/max/mdev = 20.862/20.862/20.862/0.000 ms')
2024-09-06 14:10:10,968 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-36911771-17081028 passed
2024-09-06 14:10:11,122 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-09-06 14:10:11,122 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-36911771-17081028, IP 47.77.72.196, Port 22
2024-09-06 14:10:11,277 - DEBUG - VM ctest-TestBasicVMVNx-36911771-17081028 is ready for SSH connections
2024-09-06 14:10:11,277 - DEBUG - FILE SIZE = 1303B
2024-09-06 14:10:11,277 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-36911771-47303743 to ctest-TestBasicVMVNx-36911771-17081028 using scp
2024-09-06 14:10:11,278 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-09-06 14:10:11,285 - 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.42, gateway password: c0ntrail123
2024-09-06 14:10:11,285 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2024-09-06 14:10:13,319 - DEBUG - 1+0 records in
1+0 records out
2024-09-06 14:10:14,123 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-09-06 14:10:14,450 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.42, gateway password: c0ntrail123
2024-09-06 14:10:14,450 - DEBUG - ls -l testfile
2024-09-06 14:10:16,047 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 6 08:10 [0;0mtestfile[0m
2024-09-06 14:10:16,048 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-36911771-17081028
2024-09-06 14:10:16,048 - INFO - Deleting VM ctest-TestBasicVMVNx-36911771-17081028
2024-09-06 14:10:16,339 - INFO - Deleting VM ctest-TestBasicVMVNx-36911771-47303743
2024-09-06 14:10:16,417 - INFO - Deleting VN ctest-vn-84160638
2024-09-06 14:10:16,462 - DEBUG - VN 2c5dc5cd-0fed-49e7-a21b-83046edbe0ea still in use: Unable to complete operation on network 2c5dc5cd-0fed-49e7-a21b-83046edbe0ea. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-90af9b65-10e5-49e8-b5e1-eaa8644ec661']
2024-09-06 14:10:16,462 - WARNING - Deleting VN ctest-vn-84160638 failed..Will retry
2024-09-06 14:10:18,591 - DEBUG - Response for deleting network ()
2024-09-06 14:10:18,849 - DEBUG - No XMPP flaps were noticed during the test
2024-09-06 14:10:18,849 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:26]
2024-09-06 14:10:18,849 - INFO - --------------------------------------------------------------------------------
2024-09-06 14:10:19,613 - INFO - Deleted project: ctest-TestBasicVMVNx-36911771, ID : ffd15067-403b-46e5-82f7-ecb5d5ee51ef