2025-04-08 11:46:48,179 - INFO - Domain Default found not creating 2025-04-08 11:46:48,354 - INFO - Project ctest-TestBasicVMVNx-93171025 not found, creating it 2025-04-08 11:46:48,873 - INFO - Created Project:ctest-TestBasicVMVNx-93171025, ID : ce904e4b-456a-4bfc-9fac-2e90bafb4939 2025-04-08 11:46:50,451 - INFO - ================================================================================ 2025-04-08 11:46:50,451 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-04-08 11:46:50,452 - 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-08 11:46:50,710 - DEBUG - Nothing to compare xmpp stats {'10.0.0.31': {'10.20.0.5': '0'}} with 2025-04-08 11:46:50,710 - INFO - Initial checks done. Running the testcase now 2025-04-08 11:46:50,710 - INFO - 2025-04-08 11:46:51,312 - DEBUG - Response for create_network : {'network': {'id': 'd81aaa9a-1b71-4dcf-b033-734ed3d4e284', 'name': 'ctest-vn-20733829', 'tenant_id': 'ce904e4b456a4bfc9fac2e90bafb4939', 'project_id': 'ce904e4b456a4bfc9fac2e90bafb4939', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-93171025', 'ctest-vn-20733829'], 'port_security_enabled': True, 'description': ''}} 2025-04-08 11:46:51,524 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b762091e-67b5-4d4d-bd3b-f64805937826', 'name': '', 'tenant_id': 'ce904e4b456a4bfc9fac2e90bafb4939', 'network_id': 'd81aaa9a-1b71-4dcf-b033-734ed3d4e284', 'ip_version': 4, 'cidr': '86.170.51.64/26', 'allocation_pools': [{'start': '86.170.51.66', 'end': '86.170.51.126'}], 'gateway_ip': '86.170.51.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '86.170.51.66', 'tags': [], 'project_id': 'ce904e4b456a4bfc9fac2e90bafb4939'}} 2025-04-08 11:46:51,545 - INFO - Created VN ctest-vn-20733829 2025-04-08 11:46:51,602 - DEBUG - VN ctest-vn-20733829 UUID is d81aaa9a-1b71-4dcf-b033-734ed3d4e284 2025-04-08 11:46:51,790 - DEBUG - Services list from nova: [, , ] 2025-04-08 11:46:52,867 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3049-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3049-1) 2025-04-08 11:46:54,095 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3049-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3049-1) 2025-04-08 11:46:54,096 - INFO - Waiting for VM ctest-TestBasicVMVNx-93171025-79726112 to be up.. 2025-04-08 11:46:54,198 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-08 11:46:59,295 - DEBUG - VM is in ACTIVE state now 2025-04-08 11:46:59,295 - INFO - VM name : ctest-TestBasicVMVNx-93171025-79726112 2025-04-08 11:46:59,384 - DEBUG - VM ctest-TestBasicVMVNx-93171025-79726112 ID is d964b0c2-1224-43d0-b1ac-e23ed4530652 2025-04-08 11:46:59,407 - DEBUG - VM ctest-TestBasicVMVNx-93171025-79726112 launched on Node cn-jenkins-deploy-platform-ansible-os-3049-1 2025-04-08 11:46:59,493 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/d964b0c2-1224-43d0-b1ac-e23ed4530652 2025-04-08 11:46:59,788 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/d964b0c2-1224-43d0-b1ac-e23ed4530652 2025-04-08 11:46:59,821 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/c3b519c3-fdbc-4cf1-8d53-aefb720a088b 2025-04-08 11:47:03,089 - 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') 2025-04-08 11:47:03,089 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-93171025-79726112 failed! 2025-04-08 11:47:03,146 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-93171025:ctest-vn-20733829 is 86.170.51.65 and allocation pool is NOT set 2025-04-08 11:47:05,213 - 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.70 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.42 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.418/3.057/4.697/1.639 ms') 2025-04-08 11:47:05,213 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-93171025-79726112 passed 2025-04-08 11:47:05,370 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-08 11:47:05,370 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-93171025-79726112, IP 86.170.51.67, Port 22 2025-04-08 11:47:05,530 - DEBUG - VM ctest-TestBasicVMVNx-93171025-79726112 is ready for SSH connections 2025-04-08 11:47:05,530 - INFO - Waiting for VM ctest-TestBasicVMVNx-93171025-78056362 to be up.. 2025-04-08 11:47:05,633 - DEBUG - VM is in ACTIVE state now 2025-04-08 11:47:05,633 - INFO - VM name : ctest-TestBasicVMVNx-93171025-78056362 2025-04-08 11:47:05,749 - DEBUG - VM ctest-TestBasicVMVNx-93171025-78056362 ID is 26e50bbf-e1f0-4708-9c55-b48517cfa220 2025-04-08 11:47:05,749 - DEBUG - VM ctest-TestBasicVMVNx-93171025-78056362 launched on Node cn-jenkins-deploy-platform-ansible-os-3049-1 2025-04-08 11:47:05,854 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/26e50bbf-e1f0-4708-9c55-b48517cfa220 2025-04-08 11:47:05,867 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/ef21f936-e344-4aa5-ad28-c67e1e39e56d 2025-04-08 11:47:07,168 - 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.36 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.625 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.625/2.493/4.361/1.868 ms') 2025-04-08 11:47:07,168 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-93171025-78056362 passed 2025-04-08 11:47:07,330 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-08 11:47:07,330 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-93171025-78056362, IP 86.170.51.68, Port 22 2025-04-08 11:47:07,497 - DEBUG - VM ctest-TestBasicVMVNx-93171025-78056362 is ready for SSH connections 2025-04-08 11:47:07,497 - DEBUG - FILE SIZE = 1303B 2025-04-08 11:47:07,497 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-93171025-79726112 to ctest-TestBasicVMVNx-93171025-78056362 using scp 2025-04-08 11:47:07,498 - 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.31, gateway password: c0ntrail123 2025-04-08 11:47:07,498 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-04-08 11:47:09,476 - DEBUG - 1+0 records in 1+0 records out 2025-04-08 11:47:10,226 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-08 11:47:10,575 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.31, gateway password: c0ntrail123 2025-04-08 11:47:10,576 - DEBUG - ls -l testfile 2025-04-08 11:47:12,174 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 8 05:47 testfile 2025-04-08 11:47:12,174 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-93171025-78056362 2025-04-08 11:47:12,174 - INFO - Deleting VM ctest-TestBasicVMVNx-93171025-78056362 2025-04-08 11:47:12,265 - INFO - Deleting VM ctest-TestBasicVMVNx-93171025-79726112 2025-04-08 11:47:12,362 - INFO - Deleting VN ctest-vn-20733829 2025-04-08 11:47:12,415 - DEBUG - VN d81aaa9a-1b71-4dcf-b033-734ed3d4e284 still in use: Unable to complete operation on network d81aaa9a-1b71-4dcf-b033-734ed3d4e284. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6608f54c-cb69-4591-af50-6663b125ee39'] 2025-04-08 11:47:12,415 - WARNING - Deleting VN ctest-vn-20733829 failed..Will retry 2025-04-08 11:47:14,544 - DEBUG - Response for deleting network () 2025-04-08 11:47:14,812 - DEBUG - No XMPP flaps were noticed during the test 2025-04-08 11:47:14,812 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2025-04-08 11:47:14,812 - INFO - -------------------------------------------------------------------------------- 2025-04-08 11:47:15,578 - INFO - Deleted project: ctest-TestBasicVMVNx-93171025, ID : ce904e4b-456a-4bfc-9fac-2e90bafb4939