2025-04-24 02:08:26,274 - INFO - Domain Default found not creating 2025-04-24 02:08:26,397 - INFO - Project ctest-TestBasicVMVNx-56383701 not found, creating it 2025-04-24 02:08:26,826 - INFO - Created Project:ctest-TestBasicVMVNx-56383701, ID : 1b0c4f18-9a43-4672-9537-da01ef7d4f07 2025-04-24 02:08:28,144 - INFO - ================================================================================ 2025-04-24 02:08:28,144 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-04-24 02:08:28,144 - 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-04-24 02:08:28,398 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0'}} with 2025-04-24 02:08:28,398 - INFO - Initial checks done. Running the testcase now 2025-04-24 02:08:28,398 - INFO - 2025-04-24 02:08:28,905 - DEBUG - Response for create_network : {'network': {'id': '9e53dadf-6092-4cfc-aae2-2f853d7a288e', 'name': 'ctest-vn-28641464', 'tenant_id': '1b0c4f189a4346729537da01ef7d4f07', 'project_id': '1b0c4f189a4346729537da01ef7d4f07', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-56383701', 'ctest-vn-28641464'], 'port_security_enabled': True, 'description': ''}} 2025-04-24 02:08:29,061 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd0d4b8e3-4d5f-4b58-aa81-5130876e6414', 'name': '', 'tenant_id': '1b0c4f189a4346729537da01ef7d4f07', 'network_id': '9e53dadf-6092-4cfc-aae2-2f853d7a288e', 'ip_version': 4, 'cidr': '207.65.189.192/26', 'allocation_pools': [{'start': '207.65.189.194', 'end': '207.65.189.254'}], 'gateway_ip': '207.65.189.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '207.65.189.194', 'tags': [], 'project_id': '1b0c4f189a4346729537da01ef7d4f07'}} 2025-04-24 02:08:29,076 - INFO - Created VN ctest-vn-28641464 2025-04-24 02:08:29,129 - DEBUG - VN ctest-vn-28641464 UUID is 9e53dadf-6092-4cfc-aae2-2f853d7a288e 2025-04-24 02:08:29,313 - DEBUG - Services list from nova: [, , ] 2025-04-24 02:08:30,248 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3196-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3196-1) 2025-04-24 02:08:31,353 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3196-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3196-1) 2025-04-24 02:08:31,353 - INFO - Waiting for VM ctest-TestBasicVMVNx-56383701-47668995 to be up.. 2025-04-24 02:08:31,451 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-24 02:08:36,520 - DEBUG - VM is in ACTIVE state now 2025-04-24 02:08:36,520 - INFO - VM name : ctest-TestBasicVMVNx-56383701-47668995 2025-04-24 02:08:36,582 - DEBUG - VM ctest-TestBasicVMVNx-56383701-47668995 ID is fea65ccc-d6bd-4677-8886-37487d72bd8f 2025-04-24 02:08:36,598 - DEBUG - VM ctest-TestBasicVMVNx-56383701-47668995 launched on Node cn-jenkins-deploy-platform-ansible-os-3196-1 2025-04-24 02:08:36,661 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/fea65ccc-d6bd-4677-8886-37487d72bd8f 2025-04-24 02:08:36,950 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/fea65ccc-d6bd-4677-8886-37487d72bd8f 2025-04-24 02:08:36,977 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/93bc2b3b-5374-4e3b-b4ec-447ca0e228cf 2025-04-24 02:08:40,236 - 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 1032ms') 2025-04-24 02:08:40,236 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-56383701-47668995 failed! 2025-04-24 02:08:40,293 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-56383701:ctest-vn-28641464 is 207.65.189.193 and allocation pool is NOT set 2025-04-24 02:08:42,358 - 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.13 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.943 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.943/2.537/4.132/1.594 ms') 2025-04-24 02:08:42,358 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-56383701-47668995 passed 2025-04-24 02:08:42,505 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-24 02:08:42,505 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-56383701-47668995, IP 207.65.189.195, Port 22 2025-04-24 02:08:42,660 - DEBUG - VM ctest-TestBasicVMVNx-56383701-47668995 is ready for SSH connections 2025-04-24 02:08:42,660 - INFO - Waiting for VM ctest-TestBasicVMVNx-56383701-21433781 to be up.. 2025-04-24 02:08:42,728 - DEBUG - VM is in ACTIVE state now 2025-04-24 02:08:42,728 - INFO - VM name : ctest-TestBasicVMVNx-56383701-21433781 2025-04-24 02:08:42,796 - DEBUG - VM ctest-TestBasicVMVNx-56383701-21433781 ID is 5dd27ed0-2fad-485a-a507-f959cf63c162 2025-04-24 02:08:42,796 - DEBUG - VM ctest-TestBasicVMVNx-56383701-21433781 launched on Node cn-jenkins-deploy-platform-ansible-os-3196-1 2025-04-24 02:08:42,860 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/5dd27ed0-2fad-485a-a507-f959cf63c162 2025-04-24 02:08:42,867 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/073bfe67-ede7-45e2-95b1-0bd6c3fea36f 2025-04-24 02:08:44,094 - 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.52 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.370 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.370/1.447/2.524/1.077 ms') 2025-04-24 02:08:44,094 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-56383701-21433781 passed 2025-04-24 02:08:44,241 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-24 02:08:44,241 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-56383701-21433781, IP 207.65.189.196, Port 22 2025-04-24 02:08:44,400 - DEBUG - VM ctest-TestBasicVMVNx-56383701-21433781 is ready for SSH connections 2025-04-24 02:08:44,400 - DEBUG - FILE SIZE = 1303B 2025-04-24 02:08:44,400 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-56383701-47668995 to ctest-TestBasicVMVNx-56383701-21433781 using scp 2025-04-24 02:08:44,400 - 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.50, gateway password: c0ntrail123 2025-04-24 02:08:44,401 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-04-24 02:08:46,241 - DEBUG - 1+0 records in 1+0 records out 2025-04-24 02:08:46,832 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-24 02:08:47,143 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-04-24 02:08:47,143 - DEBUG - ls -l testfile 2025-04-24 02:08:48,709 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 23 20:08 testfile 2025-04-24 02:08:48,709 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-56383701-21433781 2025-04-24 02:08:48,709 - INFO - Deleting VM ctest-TestBasicVMVNx-56383701-21433781 2025-04-24 02:08:48,770 - INFO - Deleting VM ctest-TestBasicVMVNx-56383701-47668995 2025-04-24 02:08:48,833 - INFO - Deleting VN ctest-vn-28641464 2025-04-24 02:08:48,868 - DEBUG - VN 9e53dadf-6092-4cfc-aae2-2f853d7a288e still in use: Unable to complete operation on network 9e53dadf-6092-4cfc-aae2-2f853d7a288e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-83fdd4e7-3121-4240-9c04-778def61423a'] 2025-04-24 02:08:48,868 - WARNING - Deleting VN ctest-vn-28641464 failed..Will retry 2025-04-24 02:08:50,953 - DEBUG - Response for deleting network () 2025-04-24 02:08:51,210 - DEBUG - No XMPP flaps were noticed during the test 2025-04-24 02:08:51,210 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23] 2025-04-24 02:08:51,210 - INFO - -------------------------------------------------------------------------------- 2025-04-24 02:08:51,854 - INFO - Deleted project: ctest-TestBasicVMVNx-56383701, ID : 1b0c4f18-9a43-4672-9537-da01ef7d4f07