2024-10-19 18:02:22,389 - INFO - Domain Default found not creating
2024-10-19 18:02:22,559 - INFO - Project ctest-TestBasicVMVNx-57937859 not found, creating it
2024-10-19 18:02:23,075 - INFO - Created Project:ctest-TestBasicVMVNx-57937859, ID : 80ac929b-49ec-4b1b-b782-881208273ddb
2024-10-19 18:02:24,612 - INFO - ================================================================================
2024-10-19 18:02:24,612 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2024-10-19 18:02:24,613 - 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 18:02:24,870 - DEBUG - Nothing to compare xmpp stats {'10.0.0.40': {'10.20.0.11': '0'}} with
2024-10-19 18:02:24,870 - INFO - Initial checks done. Running the testcase now
2024-10-19 18:02:24,870 - INFO -
2024-10-19 18:02:25,452 - DEBUG - Response for create_network : {'network': {'id': '96cce9d4-4d84-4e6e-88c7-51e2445f6d5e', 'name': 'ctest-vn-92943011', 'tenant_id': '80ac929b49ec4b1bb782881208273ddb', 'project_id': '80ac929b49ec4b1bb782881208273ddb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-57937859', 'ctest-vn-92943011'], 'port_security_enabled': True, 'description': ''}}
2024-10-19 18:02:25,633 - DEBUG - Response for create_subnet : {'subnet': {'id': '424067a0-083c-44c6-9561-ade3d2a0f91c', 'name': '', 'tenant_id': '80ac929b49ec4b1bb782881208273ddb', 'network_id': '96cce9d4-4d84-4e6e-88c7-51e2445f6d5e', 'ip_version': 4, 'cidr': '86.211.108.64/26', 'allocation_pools': [{'start': '86.211.108.66', 'end': '86.211.108.126'}], 'gateway_ip': '86.211.108.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '86.211.108.66', 'tags': [], 'project_id': '80ac929b49ec4b1bb782881208273ddb'}}
2024-10-19 18:02:25,653 - INFO - Created VN ctest-vn-92943011
2024-10-19 18:02:25,712 - DEBUG - VN ctest-vn-92943011 UUID is 96cce9d4-4d84-4e6e-88c7-51e2445f6d5e
2024-10-19 18:02:25,897 - DEBUG - Services list from nova: [, , ]
2024-10-19 18:02:26,938 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2118-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2118-1)
2024-10-19 18:02:28,256 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2118-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2118-1)
2024-10-19 18:02:28,256 - INFO - Waiting for VM ctest-TestBasicVMVNx-57937859-63260437 to be up..
2024-10-19 18:02:28,368 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-10-19 18:02:33,457 - DEBUG - VM is in ACTIVE state now
2024-10-19 18:02:33,457 - INFO - VM name : ctest-TestBasicVMVNx-57937859-63260437
2024-10-19 18:02:33,542 - DEBUG - VM ctest-TestBasicVMVNx-57937859-63260437 ID is c66b4bb9-e4ee-4311-b81f-dc811b407611
2024-10-19 18:02:33,564 - DEBUG - VM ctest-TestBasicVMVNx-57937859-63260437 launched on Node cn-jenkins-deploy-platform-ansible-os-2118-1
2024-10-19 18:02:33,646 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/c66b4bb9-e4ee-4311-b81f-dc811b407611
2024-10-19 18:02:33,949 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/c66b4bb9-e4ee-4311-b81f-dc811b407611
2024-10-19 18:02:33,989 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine-interface/982eca2b-285d-46d4-850e-f5413ce8027a
2024-10-19 18:02:37,271 - 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 1010ms')
2024-10-19 18:02:37,271 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-57937859-63260437 failed!
2024-10-19 18:02:37,336 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-57937859:ctest-vn-92943011 is 86.211.108.65 and allocation pool is NOT set
2024-10-19 18:02:39,397 - 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=3.96 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.25 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 = 2.249/3.102/3.956/0.853 ms')
2024-10-19 18:02:39,397 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-57937859-63260437 passed
2024-10-19 18:02:39,564 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-19 18:02:39,564 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-57937859-63260437, IP 86.211.108.67, Port 22
2024-10-19 18:02:39,720 - DEBUG - VM ctest-TestBasicVMVNx-57937859-63260437 is ready for SSH connections
2024-10-19 18:02:39,720 - INFO - Waiting for VM ctest-TestBasicVMVNx-57937859-70906868 to be up..
2024-10-19 18:02:39,822 - DEBUG - VM is in ACTIVE state now
2024-10-19 18:02:39,822 - INFO - VM name : ctest-TestBasicVMVNx-57937859-70906868
2024-10-19 18:02:39,913 - DEBUG - VM ctest-TestBasicVMVNx-57937859-70906868 ID is 61111a02-30c6-4c8a-b778-6f070791697d
2024-10-19 18:02:39,913 - DEBUG - VM ctest-TestBasicVMVNx-57937859-70906868 launched on Node cn-jenkins-deploy-platform-ansible-os-2118-1
2024-10-19 18:02:40,104 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/61111a02-30c6-4c8a-b778-6f070791697d
2024-10-19 18:02:40,115 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine-interface/a9b72a76-4d8d-41bd-aaba-66fd26ca42b4
2024-10-19 18:02:41,367 - 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.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.419 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.419/1.616/2.813/1.197 ms')
2024-10-19 18:02:41,367 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-57937859-70906868 passed
2024-10-19 18:02:41,532 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-19 18:02:41,532 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-57937859-70906868, IP 86.211.108.68, Port 22
2024-10-19 18:02:41,702 - DEBUG - VM ctest-TestBasicVMVNx-57937859-70906868 is ready for SSH connections
2024-10-19 18:02:41,702 - DEBUG - FILE SIZE = 1303B
2024-10-19 18:02:41,702 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-57937859-63260437 to ctest-TestBasicVMVNx-57937859-70906868 using scp
2024-10-19 18:02:41,703 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-19 18:02:41,709 - 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.40, gateway password: c0ntrail123
2024-10-19 18:02:41,709 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2024-10-19 18:02:43,713 - DEBUG - 1+0 records in
1+0 records out
2024-10-19 18:02:44,479 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-19 18:02:44,814 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.40, gateway password: c0ntrail123
2024-10-19 18:02:44,814 - DEBUG - ls -l testfile
2024-10-19 18:02:46,400 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 19 12:02 [0;0mtestfile[0m
2024-10-19 18:02:46,400 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-57937859-70906868
2024-10-19 18:02:46,401 - INFO - Deleting VM ctest-TestBasicVMVNx-57937859-70906868
2024-10-19 18:02:46,479 - INFO - Deleting VM ctest-TestBasicVMVNx-57937859-63260437
2024-10-19 18:02:46,546 - INFO - Deleting VN ctest-vn-92943011
2024-10-19 18:02:46,585 - DEBUG - VN 96cce9d4-4d84-4e6e-88c7-51e2445f6d5e still in use: Unable to complete operation on network 96cce9d4-4d84-4e6e-88c7-51e2445f6d5e. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-3e80ac48-84d4-40ce-868d-1a96221cd475']
2024-10-19 18:02:46,585 - WARNING - Deleting VN ctest-vn-92943011 failed..Will retry
2024-10-19 18:02:48,696 - DEBUG - Response for deleting network ()
2024-10-19 18:02:48,958 - DEBUG - No XMPP flaps were noticed during the test
2024-10-19 18:02:48,958 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2024-10-19 18:02:48,959 - INFO - --------------------------------------------------------------------------------
2024-10-19 18:02:49,689 - INFO - Deleted project: ctest-TestBasicVMVNx-57937859, ID : 80ac929b-49ec-4b1b-b782-881208273ddb