2024-10-26 09:40:26,198 - INFO - Domain Default found not creating
2024-10-26 09:40:26,396 - INFO - Project ctest-TestBasicVMVNx-27447822 not found, creating it
2024-10-26 09:40:26,913 - INFO - Created Project:ctest-TestBasicVMVNx-27447822, ID : 8b8320c9-3f71-4ddd-b7c3-d29c18ccf5a7
2024-10-26 09:40:28,502 - INFO - ================================================================================
2024-10-26 09:40:28,502 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2024-10-26 09:40:28,502 - 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-26 09:40:28,762 - DEBUG - Nothing to compare xmpp stats {'10.0.0.32': {'10.20.0.14': '0'}} with
2024-10-26 09:40:28,762 - INFO - Initial checks done. Running the testcase now
2024-10-26 09:40:28,762 - INFO -
2024-10-26 09:40:29,379 - DEBUG - Response for create_network : {'network': {'id': '9d012ead-86b5-4bcb-b0f3-89d1427fa8b7', 'name': 'ctest-vn-60150946', 'tenant_id': '8b8320c93f714dddb7c3d29c18ccf5a7', 'project_id': '8b8320c93f714dddb7c3d29c18ccf5a7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-27447822', 'ctest-vn-60150946'], 'port_security_enabled': True, 'description': ''}}
2024-10-26 09:40:29,553 - DEBUG - Response for create_subnet : {'subnet': {'id': '6512acc3-5cc5-4191-8761-f99caa69f7fc', 'name': '', 'tenant_id': '8b8320c93f714dddb7c3d29c18ccf5a7', 'network_id': '9d012ead-86b5-4bcb-b0f3-89d1427fa8b7', 'ip_version': 4, 'cidr': '213.238.225.128/26', 'allocation_pools': [{'start': '213.238.225.130', 'end': '213.238.225.190'}], 'gateway_ip': '213.238.225.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '213.238.225.130', 'tags': [], 'project_id': '8b8320c93f714dddb7c3d29c18ccf5a7'}}
2024-10-26 09:40:29,575 - INFO - Created VN ctest-vn-60150946
2024-10-26 09:40:29,635 - DEBUG - VN ctest-vn-60150946 UUID is 9d012ead-86b5-4bcb-b0f3-89d1427fa8b7
2024-10-26 09:40:29,817 - DEBUG - Services list from nova: [, , ]
2024-10-26 09:40:30,895 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2148-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2148-1)
2024-10-26 09:40:32,154 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2148-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2148-1)
2024-10-26 09:40:32,154 - INFO - Waiting for VM ctest-TestBasicVMVNx-27447822-19367352 to be up..
2024-10-26 09:40:32,268 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-10-26 09:40:37,364 - DEBUG - VM is in ACTIVE state now
2024-10-26 09:40:37,364 - INFO - VM name : ctest-TestBasicVMVNx-27447822-19367352
2024-10-26 09:40:37,454 - DEBUG - VM ctest-TestBasicVMVNx-27447822-19367352 ID is 66e25251-597c-4719-8165-734e01de8783
2024-10-26 09:40:37,596 - DEBUG - VM ctest-TestBasicVMVNx-27447822-19367352 launched on Node cn-jenkins-deploy-platform-ansible-os-2148-1
2024-10-26 09:40:37,692 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/66e25251-597c-4719-8165-734e01de8783
2024-10-26 09:40:38,015 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/66e25251-597c-4719-8165-734e01de8783
2024-10-26 09:40:38,055 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/2dd30eef-aeb8-4449-b6a7-10b0ff8f5088
2024-10-26 09:40:41,344 - 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 1021ms')
2024-10-26 09:40:41,345 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-27447822-19367352 failed!
2024-10-26 09:40:41,407 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-27447822:ctest-vn-60150946 is 213.238.225.129 and allocation pool is NOT set
2024-10-26 09:40:43,465 - 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.45 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.458 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.458/2.454/4.450/1.996 ms')
2024-10-26 09:40:43,465 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-27447822-19367352 passed
2024-10-26 09:40:43,631 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-26 09:40:43,631 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-27447822-19367352, IP 213.238.225.131, Port 22
2024-10-26 09:40:43,787 - DEBUG - VM ctest-TestBasicVMVNx-27447822-19367352 is ready for SSH connections
2024-10-26 09:40:43,787 - INFO - Waiting for VM ctest-TestBasicVMVNx-27447822-73651846 to be up..
2024-10-26 09:40:43,879 - DEBUG - VM is in ACTIVE state now
2024-10-26 09:40:43,880 - INFO - VM name : ctest-TestBasicVMVNx-27447822-73651846
2024-10-26 09:40:43,970 - DEBUG - VM ctest-TestBasicVMVNx-27447822-73651846 ID is cc93fb1a-5f8b-4582-966d-876f8c343590
2024-10-26 09:40:43,970 - DEBUG - VM ctest-TestBasicVMVNx-27447822-73651846 launched on Node cn-jenkins-deploy-platform-ansible-os-2148-1
2024-10-26 09:40:44,061 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/cc93fb1a-5f8b-4582-966d-876f8c343590
2024-10-26 09:40:44,075 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/fdc93494-8aaa-49d7-b371-a8065a78c456
2024-10-26 09:40:45,338 - 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.73 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.449 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.449/2.588/4.727/2.139 ms')
2024-10-26 09:40:45,338 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-27447822-73651846 passed
2024-10-26 09:40:45,503 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-26 09:40:45,503 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-27447822-73651846, IP 213.238.225.132, Port 22
2024-10-26 09:40:45,659 - DEBUG - VM ctest-TestBasicVMVNx-27447822-73651846 is ready for SSH connections
2024-10-26 09:40:45,659 - DEBUG - FILE SIZE = 1303B
2024-10-26 09:40:45,659 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-27447822-19367352 to ctest-TestBasicVMVNx-27447822-73651846 using scp
2024-10-26 09:40:45,659 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-26 09:40:45,664 - 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.32, gateway password: c0ntrail123
2024-10-26 09:40:45,664 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2024-10-26 09:40:47,597 - DEBUG - 1+0 records in
1+0 records out
2024-10-26 09:40:48,391 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-26 09:40:48,731 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.32, gateway password: c0ntrail123
2024-10-26 09:40:48,731 - DEBUG - ls -l testfile
2024-10-26 09:40:50,308 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 26 03:40 [0;0mtestfile[0m
2024-10-26 09:40:50,308 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-27447822-73651846
2024-10-26 09:40:50,309 - INFO - Deleting VM ctest-TestBasicVMVNx-27447822-73651846
2024-10-26 09:40:50,389 - INFO - Deleting VM ctest-TestBasicVMVNx-27447822-19367352
2024-10-26 09:40:50,479 - INFO - Deleting VN ctest-vn-60150946
2024-10-26 09:40:50,522 - DEBUG - VN 9d012ead-86b5-4bcb-b0f3-89d1427fa8b7 still in use: Unable to complete operation on network 9d012ead-86b5-4bcb-b0f3-89d1427fa8b7. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-356f0e87-486b-4306-897d-160dc925baef']
2024-10-26 09:40:50,523 - WARNING - Deleting VN ctest-vn-60150946 failed..Will retry
2024-10-26 09:40:52,686 - DEBUG - Response for deleting network ()
2024-10-26 09:40:52,940 - DEBUG - No XMPP flaps were noticed during the test
2024-10-26 09:40:52,940 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2024-10-26 09:40:52,940 - INFO - --------------------------------------------------------------------------------
2024-10-26 09:40:53,695 - INFO - Deleted project: ctest-TestBasicVMVNx-27447822, ID : 8b8320c9-3f71-4ddd-b7c3-d29c18ccf5a7