2025-01-09 07:36:50,391 - INFO - Domain Default found not creating
2025-01-09 07:36:50,565 - INFO - Project ctest-TestBasicVMVNx-19027498 not found, creating it
2025-01-09 07:36:50,931 - INFO - Created Project:ctest-TestBasicVMVNx-19027498, ID : 50b389be-60de-4a90-9471-522b3b0b6a87
2025-01-09 07:36:52,469 - INFO - ================================================================================
2025-01-09 07:36:52,469 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-01-09 07:36:52,469 - 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
2025-01-09 07:36:52,725 - DEBUG - Nothing to compare xmpp stats {'10.0.0.42': {'10.20.0.31': '0'}} with
2025-01-09 07:36:52,725 - INFO - Initial checks done. Running the testcase now
2025-01-09 07:36:52,725 - INFO -
2025-01-09 07:36:53,261 - DEBUG - Response for create_network : {'network': {'id': '58644f20-3468-4f26-b527-785a657c6d05', 'name': 'ctest-vn-39550845', 'tenant_id': '50b389be60de4a909471522b3b0b6a87', 'project_id': '50b389be60de4a909471522b3b0b6a87', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-19027498', 'ctest-vn-39550845'], 'port_security_enabled': True, 'description': ''}}
2025-01-09 07:36:53,480 - DEBUG - Response for create_subnet : {'subnet': {'id': '08835042-6c7a-490d-adff-36c64930b0ba', 'name': '', 'tenant_id': '50b389be60de4a909471522b3b0b6a87', 'network_id': '58644f20-3468-4f26-b527-785a657c6d05', 'ip_version': 4, 'cidr': '87.183.152.64/26', 'allocation_pools': [{'start': '87.183.152.66', 'end': '87.183.152.126'}], 'gateway_ip': '87.183.152.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '87.183.152.66', 'tags': [], 'project_id': '50b389be60de4a909471522b3b0b6a87'}}
2025-01-09 07:36:53,499 - INFO - Created VN ctest-vn-39550845
2025-01-09 07:36:53,513 - DEBUG - VN ctest-vn-39550845 UUID is 58644f20-3468-4f26-b527-785a657c6d05
2025-01-09 07:36:53,643 - DEBUG - Services list from nova: [, , ]
2025-01-09 07:36:54,623 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2578-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2578-1)
2025-01-09 07:36:55,754 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2578-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2578-1)
2025-01-09 07:36:55,755 - INFO - Waiting for VM ctest-TestBasicVMVNx-19027498-04212325 to be up..
2025-01-09 07:36:55,860 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-09 07:37:00,943 - DEBUG - VM is in ACTIVE state now
2025-01-09 07:37:00,943 - INFO - VM name : ctest-TestBasicVMVNx-19027498-04212325
2025-01-09 07:37:01,033 - DEBUG - VM ctest-TestBasicVMVNx-19027498-04212325 ID is a5eb6e7a-6e19-44a7-977c-bd5222a2f216
2025-01-09 07:37:01,052 - DEBUG - VM ctest-TestBasicVMVNx-19027498-04212325 launched on Node cn-jenkins-deploy-platform-ansible-os-2578-1
2025-01-09 07:37:01,132 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/a5eb6e7a-6e19-44a7-977c-bd5222a2f216
2025-01-09 07:37:01,430 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/a5eb6e7a-6e19-44a7-977c-bd5222a2f216
2025-01-09 07:37:01,463 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/77d38d88-fac0-45e1-99c2-c7f67752cd3e
2025-01-09 07:37:04,656 - 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 1004ms')
2025-01-09 07:37:04,657 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-19027498-04212325 failed!
2025-01-09 07:37:04,673 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-19027498:ctest-vn-39550845 is 87.183.152.65 and allocation pool is NOT set
2025-01-09 07:37:06,729 - 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.15 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.412 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.412/2.278/4.145/1.866 ms')
2025-01-09 07:37:06,729 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-19027498-04212325 passed
2025-01-09 07:37:06,761 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-09 07:37:06,761 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-19027498-04212325, IP 87.183.152.67, Port 22
2025-01-09 07:37:06,929 - DEBUG - VM ctest-TestBasicVMVNx-19027498-04212325 is ready for SSH connections
2025-01-09 07:37:06,929 - INFO - Waiting for VM ctest-TestBasicVMVNx-19027498-91073178 to be up..
2025-01-09 07:37:07,005 - DEBUG - VM is in ACTIVE state now
2025-01-09 07:37:07,005 - INFO - VM name : ctest-TestBasicVMVNx-19027498-91073178
2025-01-09 07:37:07,087 - DEBUG - VM ctest-TestBasicVMVNx-19027498-91073178 ID is d09b9455-18b8-4b6f-9a77-6dc64dfad514
2025-01-09 07:37:07,087 - DEBUG - VM ctest-TestBasicVMVNx-19027498-91073178 launched on Node cn-jenkins-deploy-platform-ansible-os-2578-1
2025-01-09 07:37:07,163 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/d09b9455-18b8-4b6f-9a77-6dc64dfad514
2025-01-09 07:37:07,172 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/4e2a0dd8-4031-425a-8cc3-7ee6778e3586
2025-01-09 07:37:08,294 - 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=2.96 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.922 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.922/1.942/2.962/1.020 ms')
2025-01-09 07:37:08,294 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-19027498-91073178 passed
2025-01-09 07:37:08,329 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-09 07:37:08,329 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-19027498-91073178, IP 87.183.152.68, Port 22
2025-01-09 07:37:08,486 - DEBUG - VM ctest-TestBasicVMVNx-19027498-91073178 is ready for SSH connections
2025-01-09 07:37:08,486 - DEBUG - FILE SIZE = 1303B
2025-01-09 07:37:08,486 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-19027498-04212325 to ctest-TestBasicVMVNx-19027498-91073178 using scp
2025-01-09 07:37:08,487 - 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
2025-01-09 07:37:08,487 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-01-09 07:37:10,072 - DEBUG - 1+0 records in
1+0 records out
2025-01-09 07:37:10,663 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-09 07:37:11,013 - 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
2025-01-09 07:37:11,013 - DEBUG - ls -l testfile
2025-01-09 07:37:12,631 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 9 00:37 [0;0mtestfile[0m
2025-01-09 07:37:12,631 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-19027498-91073178
2025-01-09 07:37:12,631 - INFO - Deleting VM ctest-TestBasicVMVNx-19027498-91073178
2025-01-09 07:37:12,714 - INFO - Deleting VM ctest-TestBasicVMVNx-19027498-04212325
2025-01-09 07:37:12,791 - INFO - Deleting VN ctest-vn-39550845
2025-01-09 07:37:12,831 - DEBUG - VN 58644f20-3468-4f26-b527-785a657c6d05 still in use: Unable to complete operation on network 58644f20-3468-4f26-b527-785a657c6d05. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-0fb2aebd-2f4a-48aa-bc7e-30d7d210e5b1']
2025-01-09 07:37:12,832 - WARNING - Deleting VN ctest-vn-39550845 failed..Will retry
2025-01-09 07:37:15,195 - DEBUG - Response for deleting network ()
2025-01-09 07:37:15,452 - DEBUG - No XMPP flaps were noticed during the test
2025-01-09 07:37:15,452 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-01-09 07:37:15,452 - INFO - --------------------------------------------------------------------------------
2025-01-09 07:37:15,972 - INFO - Deleted project: ctest-TestBasicVMVNx-19027498, ID : 50b389be-60de-4a90-9471-522b3b0b6a87