2025-04-28 11:13:16,410 - INFO - Domain Default found not creating 2025-04-28 11:13:16,553 - INFO - Project ctest-TestBasicVMVNx-87415592 not found, creating it 2025-04-28 11:13:17,023 - INFO - Created Project:ctest-TestBasicVMVNx-87415592, ID : f2be4e32-092b-471e-bd6e-f5288c37e746 2025-04-28 11:13:18,540 - INFO - ================================================================================ 2025-04-28 11:13:18,540 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-04-28 11:13:18,540 - 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-28 11:13:18,805 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-04-28 11:13:18,805 - INFO - Initial checks done. Running the testcase now 2025-04-28 11:13:18,805 - INFO - 2025-04-28 11:13:19,378 - DEBUG - Response for create_network : {'network': {'id': 'a4a04845-3963-4436-b705-34ad37a1217a', 'name': 'ctest-vn-09897265', 'tenant_id': 'f2be4e32092b471ebd6ef5288c37e746', 'project_id': 'f2be4e32092b471ebd6ef5288c37e746', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-87415592', 'ctest-vn-09897265'], 'port_security_enabled': True, 'description': ''}} 2025-04-28 11:13:19,577 - DEBUG - Response for create_subnet : {'subnet': {'id': '02f1a300-75cf-4aaf-ad8a-04691c5d63ba', 'name': '', 'tenant_id': 'f2be4e32092b471ebd6ef5288c37e746', 'network_id': 'a4a04845-3963-4436-b705-34ad37a1217a', 'ip_version': 4, 'cidr': '153.143.25.0/26', 'allocation_pools': [{'start': '153.143.25.2', 'end': '153.143.25.62'}], 'gateway_ip': '153.143.25.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '153.143.25.2', 'tags': [], 'project_id': 'f2be4e32092b471ebd6ef5288c37e746'}} 2025-04-28 11:13:19,595 - INFO - Created VN ctest-vn-09897265 2025-04-28 11:13:19,646 - DEBUG - VN ctest-vn-09897265 UUID is a4a04845-3963-4436-b705-34ad37a1217a 2025-04-28 11:13:19,871 - DEBUG - Services list from nova: [, , ] 2025-04-28 11:13:20,962 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3237-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3237-1) 2025-04-28 11:13:22,138 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3237-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3237-1) 2025-04-28 11:13:22,139 - INFO - Waiting for VM ctest-TestBasicVMVNx-87415592-47326038 to be up.. 2025-04-28 11:13:22,226 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-28 11:13:27,324 - DEBUG - VM is in ACTIVE state now 2025-04-28 11:13:27,324 - INFO - VM name : ctest-TestBasicVMVNx-87415592-47326038 2025-04-28 11:13:27,413 - DEBUG - VM ctest-TestBasicVMVNx-87415592-47326038 ID is 39a5e9e6-9de8-4ae9-9005-41f2fef8fbf5 2025-04-28 11:13:27,436 - DEBUG - VM ctest-TestBasicVMVNx-87415592-47326038 launched on Node cn-jenkins-deploy-platform-ansible-os-3237-1 2025-04-28 11:13:27,519 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/39a5e9e6-9de8-4ae9-9005-41f2fef8fbf5 2025-04-28 11:13:27,859 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/39a5e9e6-9de8-4ae9-9005-41f2fef8fbf5 2025-04-28 11:13:27,892 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/cea45ad4-2106-4ae9-9b78-6bc2d906dd28 2025-04-28 11:13:31,168 - 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 1023ms') 2025-04-28 11:13:31,169 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-87415592-47326038 failed! 2025-04-28 11:13:31,222 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-87415592:ctest-vn-09897265 is 153.143.25.1 and allocation pool is NOT set 2025-04-28 11:13:33,287 - 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=2.88 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.388 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 = 0.388/1.633/2.878/1.245 ms') 2025-04-28 11:13:33,287 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-87415592-47326038 passed 2025-04-28 11:13:33,438 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-28 11:13:33,439 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-87415592-47326038, IP 153.143.25.3, Port 22 2025-04-28 11:13:33,594 - DEBUG - VM ctest-TestBasicVMVNx-87415592-47326038 is ready for SSH connections 2025-04-28 11:13:33,594 - INFO - Waiting for VM ctest-TestBasicVMVNx-87415592-97072522 to be up.. 2025-04-28 11:13:33,686 - DEBUG - VM is in ACTIVE state now 2025-04-28 11:13:33,686 - INFO - VM name : ctest-TestBasicVMVNx-87415592-97072522 2025-04-28 11:13:33,763 - DEBUG - VM ctest-TestBasicVMVNx-87415592-97072522 ID is 7b349617-5bb2-4fde-b4aa-3d2c66934899 2025-04-28 11:13:33,763 - DEBUG - VM ctest-TestBasicVMVNx-87415592-97072522 launched on Node cn-jenkins-deploy-platform-ansible-os-3237-1 2025-04-28 11:13:33,837 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/7b349617-5bb2-4fde-b4aa-3d2c66934899 2025-04-28 11:13:33,846 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/b3932744-0ce2-4262-b35f-52b1576583be 2025-04-28 11:13:35,088 - 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.08 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 1000ms\r\nrtt min/avg/max/mdev = 0.410/1.743/3.077/1.333 ms') 2025-04-28 11:13:35,089 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-87415592-97072522 passed 2025-04-28 11:13:35,246 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-28 11:13:35,247 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-87415592-97072522, IP 153.143.25.4, Port 22 2025-04-28 11:13:35,406 - DEBUG - VM ctest-TestBasicVMVNx-87415592-97072522 is ready for SSH connections 2025-04-28 11:13:35,406 - DEBUG - FILE SIZE = 1303B 2025-04-28 11:13:35,406 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-87415592-47326038 to ctest-TestBasicVMVNx-87415592-97072522 using scp 2025-04-28 11:13:35,407 - 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.254, gateway password: c0ntrail123 2025-04-28 11:13:35,407 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-04-28 11:13:37,346 - DEBUG - 1+0 records in 1+0 records out 2025-04-28 11:13:38,012 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-28 11:13:38,358 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-04-28 11:13:38,359 - DEBUG - ls -l testfile 2025-04-28 11:13:39,958 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 28 05:13 testfile 2025-04-28 11:13:39,959 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-87415592-97072522 2025-04-28 11:13:39,959 - INFO - Deleting VM ctest-TestBasicVMVNx-87415592-97072522 2025-04-28 11:13:40,026 - INFO - Deleting VM ctest-TestBasicVMVNx-87415592-47326038 2025-04-28 11:13:40,096 - INFO - Deleting VN ctest-vn-09897265 2025-04-28 11:13:40,133 - DEBUG - VN a4a04845-3963-4436-b705-34ad37a1217a still in use: Unable to complete operation on network a4a04845-3963-4436-b705-34ad37a1217a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-21d7297d-3a01-42f6-89fd-0c2fe761beaf'] 2025-04-28 11:13:40,133 - WARNING - Deleting VN ctest-vn-09897265 failed..Will retry 2025-04-28 11:13:42,239 - DEBUG - Response for deleting network () 2025-04-28 11:13:42,500 - DEBUG - No XMPP flaps were noticed during the test
2025-04-28 11:13:42,500 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-04-28 11:13:42,500 - INFO - -------------------------------------------------------------------------------- 2025-04-28 11:13:43,226 - INFO - Deleted project: ctest-TestBasicVMVNx-87415592, ID : f2be4e32-092b-471e-bd6e-f5288c37e746