2025-01-06 13:06:36,039 - INFO - Domain Default found not creating 2025-01-06 13:06:36,176 - INFO - Project ctest-TestBasicVMVNx-31977020 not found, creating it 2025-01-06 13:06:36,638 - INFO - Created Project:ctest-TestBasicVMVNx-31977020, ID : 56d553ce-fd35-49e0-b195-bbd8ec34d0f8 2025-01-06 13:06:38,153 - INFO - ================================================================================ 2025-01-06 13:06:38,154 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-01-06 13:06:38,154 - 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-06 13:06:38,429 - DEBUG - Nothing to compare xmpp stats {'10.0.0.12': {'10.20.0.19': '0'}} with 2025-01-06 13:06:38,429 - INFO - Initial checks done. Running the testcase now 2025-01-06 13:06:38,429 - INFO - 2025-01-06 13:06:38,998 - DEBUG - Response for create_network : {'network': {'id': '93c89f51-87d9-48f5-b9a1-0aca85c2ac3f', 'name': 'ctest-vn-11526105', 'tenant_id': '56d553cefd3549e0b195bbd8ec34d0f8', 'project_id': '56d553cefd3549e0b195bbd8ec34d0f8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-31977020', 'ctest-vn-11526105'], 'port_security_enabled': True, 'description': ''}} 2025-01-06 13:06:39,230 - DEBUG - Response for create_subnet : {'subnet': {'id': '0358f665-8d9b-40c0-a995-a9f0be0dd15c', 'name': '', 'tenant_id': '56d553cefd3549e0b195bbd8ec34d0f8', 'network_id': '93c89f51-87d9-48f5-b9a1-0aca85c2ac3f', 'ip_version': 4, 'cidr': '35.245.211.192/26', 'allocation_pools': [{'start': '35.245.211.194', 'end': '35.245.211.254'}], 'gateway_ip': '35.245.211.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.245.211.194', 'tags': [], 'project_id': '56d553cefd3549e0b195bbd8ec34d0f8'}} 2025-01-06 13:06:39,247 - INFO - Created VN ctest-vn-11526105 2025-01-06 13:06:39,299 - DEBUG - VN ctest-vn-11526105 UUID is 93c89f51-87d9-48f5-b9a1-0aca85c2ac3f 2025-01-06 13:06:39,487 - DEBUG - Services list from nova: [, , ] 2025-01-06 13:06:40,489 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2541-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2541-1) 2025-01-06 13:06:41,614 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2541-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2541-1) 2025-01-06 13:06:41,614 - INFO - Waiting for VM ctest-TestBasicVMVNx-31977020-53264720 to be up.. 2025-01-06 13:06:41,809 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-06 13:06:46,897 - DEBUG - VM is in ACTIVE state now 2025-01-06 13:06:46,897 - INFO - VM name : ctest-TestBasicVMVNx-31977020-53264720 2025-01-06 13:06:46,984 - DEBUG - VM ctest-TestBasicVMVNx-31977020-53264720 ID is 65c81ce7-3907-4509-b829-c3298d06cef3 2025-01-06 13:06:47,003 - DEBUG - VM ctest-TestBasicVMVNx-31977020-53264720 launched on Node cn-jenkins-deploy-platform-ansible-os-2541-1 2025-01-06 13:06:47,087 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/65c81ce7-3907-4509-b829-c3298d06cef3 2025-01-06 13:06:47,387 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/65c81ce7-3907-4509-b829-c3298d06cef3 2025-01-06 13:06:47,417 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/1f224514-bd3c-4dcc-ab57-95e38dd3fc02 2025-01-06 13:06:50,672 - 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 1018ms') 2025-01-06 13:06:50,672 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-31977020-53264720 failed! 2025-01-06 13:06:50,732 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-31977020:ctest-vn-11526105 is 35.245.211.193 and allocation pool is NOT set 2025-01-06 13:06:52,798 - 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.98 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.71 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 3.706/3.845/3.984/0.139 ms') 2025-01-06 13:06:52,798 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-31977020-53264720 passed 2025-01-06 13:06:52,955 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-06 13:06:52,956 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-31977020-53264720, IP 35.245.211.195, Port 22 2025-01-06 13:06:53,121 - DEBUG - VM ctest-TestBasicVMVNx-31977020-53264720 is ready for SSH connections 2025-01-06 13:06:53,121 - INFO - Waiting for VM ctest-TestBasicVMVNx-31977020-40531736 to be up.. 2025-01-06 13:06:53,211 - DEBUG - VM is in ACTIVE state now 2025-01-06 13:06:53,211 - INFO - VM name : ctest-TestBasicVMVNx-31977020-40531736 2025-01-06 13:06:53,286 - DEBUG - VM ctest-TestBasicVMVNx-31977020-40531736 ID is e8f04b73-c8bd-4bcb-9b2f-d521ad021048 2025-01-06 13:06:53,286 - DEBUG - VM ctest-TestBasicVMVNx-31977020-40531736 launched on Node cn-jenkins-deploy-platform-ansible-os-2541-1 2025-01-06 13:06:53,357 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/e8f04b73-c8bd-4bcb-9b2f-d521ad021048 2025-01-06 13:06:53,365 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/5afd9cc4-f40b-49ae-913b-6fd7a0a0cb65 2025-01-06 13:06:54,599 - 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.16 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.410 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.410/1.786/3.162/1.376 ms') 2025-01-06 13:06:54,599 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-31977020-40531736 passed 2025-01-06 13:06:54,747 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-06 13:06:54,747 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-31977020-40531736, IP 35.245.211.196, Port 22 2025-01-06 13:06:54,911 - DEBUG - VM ctest-TestBasicVMVNx-31977020-40531736 is ready for SSH connections 2025-01-06 13:06:54,911 - DEBUG - FILE SIZE = 1303B 2025-01-06 13:06:54,911 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-31977020-53264720 to ctest-TestBasicVMVNx-31977020-40531736 using scp 2025-01-06 13:06:54,912 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-06 13:06:54,929 - 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.12, gateway password: c0ntrail123 2025-01-06 13:06:54,929 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-01-06 13:06:56,847 - DEBUG - 1+0 records in 1+0 records out 2025-01-06 13:06:57,611 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-06 13:06:57,932 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.12, gateway password: c0ntrail123 2025-01-06 13:06:57,932 - DEBUG - ls -l testfile 2025-01-06 13:06:59,505 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 6 06:06 testfile 2025-01-06 13:06:59,506 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-31977020-40531736 2025-01-06 13:06:59,506 - INFO - Deleting VM ctest-TestBasicVMVNx-31977020-40531736 2025-01-06 13:06:59,573 - INFO - Deleting VM ctest-TestBasicVMVNx-31977020-53264720 2025-01-06 13:06:59,646 - INFO - Deleting VN ctest-vn-11526105 2025-01-06 13:06:59,683 - DEBUG - VN 93c89f51-87d9-48f5-b9a1-0aca85c2ac3f still in use: Unable to complete operation on network 93c89f51-87d9-48f5-b9a1-0aca85c2ac3f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b46e9f9b-a03a-4c77-835a-1c928b13ade7'] 2025-01-06 13:06:59,684 - WARNING - Deleting VN ctest-vn-11526105 failed..Will retry 2025-01-06 13:07:01,795 - DEBUG - Response for deleting network () 2025-01-06 13:07:02,061 - DEBUG - No XMPP flaps were noticed during the test 2025-01-06 13:07:02,061 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2025-01-06 13:07:02,061 - INFO - -------------------------------------------------------------------------------- 2025-01-06 13:07:02,718 - INFO - Deleted project: ctest-TestBasicVMVNx-31977020, ID : 56d553ce-fd35-49e0-b195-bbd8ec34d0f8