2025-07-15 16:38:59,281 - INFO - Domain Default found not creating 2025-07-15 16:38:59,472 - INFO - Project ctest-TestBasicVMVNx-09384122 not found, creating it 2025-07-15 16:38:59,983 - INFO - Created Project:ctest-TestBasicVMVNx-09384122, ID : bf2e7b85-1f19-4732-b202-52990e287b93 2025-07-15 16:39:01,582 - INFO - ================================================================================ 2025-07-15 16:39:01,582 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-07-15 16:39:01,582 - 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-07-15 16:39:01,854 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0'}} with 2025-07-15 16:39:01,854 - INFO - Initial checks done. Running the testcase now 2025-07-15 16:39:01,854 - INFO - 2025-07-15 16:39:02,470 - DEBUG - Response for create_network : {'network': {'id': 'eec2d613-a300-493a-a0c8-4b11c79a1b8f', 'name': 'ctest-vn-24650155', 'tenant_id': 'bf2e7b851f194732b20252990e287b93', 'project_id': 'bf2e7b851f194732b20252990e287b93', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-09384122', 'ctest-vn-24650155'], 'port_security_enabled': True, 'description': ''}} 2025-07-15 16:39:02,671 - DEBUG - Response for create_subnet : {'subnet': {'id': '36a0ac54-9aa6-4abf-9663-0d981d165fb4', 'name': '', 'tenant_id': 'bf2e7b851f194732b20252990e287b93', 'network_id': 'eec2d613-a300-493a-a0c8-4b11c79a1b8f', 'ip_version': 4, 'cidr': '119.73.227.64/26', 'allocation_pools': [{'start': '119.73.227.66', 'end': '119.73.227.126'}], 'gateway_ip': '119.73.227.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '119.73.227.66', 'tags': [], 'project_id': 'bf2e7b851f194732b20252990e287b93'}} 2025-07-15 16:39:02,695 - INFO - Created VN ctest-vn-24650155 2025-07-15 16:39:02,749 - DEBUG - VN ctest-vn-24650155 UUID is eec2d613-a300-493a-a0c8-4b11c79a1b8f 2025-07-15 16:39:02,955 - DEBUG - Services list from nova: [, , ] 2025-07-15 16:39:04,066 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3639-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3639-1) 2025-07-15 16:39:05,410 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3639-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3639-1) 2025-07-15 16:39:05,410 - INFO - Waiting for VM ctest-TestBasicVMVNx-09384122-11289974 to be up.. 2025-07-15 16:39:05,516 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-15 16:39:10,607 - DEBUG - VM is in ACTIVE state now 2025-07-15 16:39:10,608 - INFO - VM name : ctest-TestBasicVMVNx-09384122-11289974 2025-07-15 16:39:10,698 - DEBUG - VM ctest-TestBasicVMVNx-09384122-11289974 ID is 5c27f1bd-99e6-4ffe-8468-25111a401b5c 2025-07-15 16:39:10,723 - DEBUG - VM ctest-TestBasicVMVNx-09384122-11289974 launched on Node cn-jenkins-deploy-platform-ansible-os-3639-1 2025-07-15 16:39:10,809 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/5c27f1bd-99e6-4ffe-8468-25111a401b5c 2025-07-15 16:39:11,113 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/5c27f1bd-99e6-4ffe-8468-25111a401b5c 2025-07-15 16:39:11,155 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/8b607431-ba48-4ded-89e2-72eaf89518da 2025-07-15 16:39:14,430 - 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 1013ms') 2025-07-15 16:39:14,431 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-09384122-11289974 failed! 2025-07-15 16:39:14,489 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-09384122:ctest-vn-24650155 is 119.73.227.65 and allocation pool is NOT set 2025-07-15 16:39:16,561 - 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.37 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.966 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.966/2.670/4.374/1.704 ms') 2025-07-15 16:39:16,561 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-09384122-11289974 passed 2025-07-15 16:39:16,717 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-15 16:39:16,717 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-09384122-11289974, IP 119.73.227.67, Port 22 2025-07-15 16:39:16,884 - DEBUG - VM ctest-TestBasicVMVNx-09384122-11289974 is ready for SSH connections 2025-07-15 16:39:16,884 - INFO - Waiting for VM ctest-TestBasicVMVNx-09384122-90705532 to be up.. 2025-07-15 16:39:16,966 - DEBUG - VM is in ACTIVE state now 2025-07-15 16:39:16,966 - INFO - VM name : ctest-TestBasicVMVNx-09384122-90705532 2025-07-15 16:39:17,052 - DEBUG - VM ctest-TestBasicVMVNx-09384122-90705532 ID is 04f608e7-0acf-477b-a465-d0671caa6b42 2025-07-15 16:39:17,052 - DEBUG - VM ctest-TestBasicVMVNx-09384122-90705532 launched on Node cn-jenkins-deploy-platform-ansible-os-3639-1 2025-07-15 16:39:17,140 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/04f608e7-0acf-477b-a465-d0671caa6b42 2025-07-15 16:39:17,152 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d2b60206-f145-4ae3-8bbd-9bc62e194c86 2025-07-15 16:39:18,407 - 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.99 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.578 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.578/1.785/2.993/1.207 ms') 2025-07-15 16:39:18,407 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-09384122-90705532 passed 2025-07-15 16:39:18,561 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-15 16:39:18,561 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-09384122-90705532, IP 119.73.227.68, Port 22 2025-07-15 16:39:18,717 - DEBUG - VM ctest-TestBasicVMVNx-09384122-90705532 is ready for SSH connections 2025-07-15 16:39:18,717 - DEBUG - FILE SIZE = 1303B 2025-07-15 16:39:18,717 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-09384122-11289974 to ctest-TestBasicVMVNx-09384122-90705532 using scp 2025-07-15 16:39:18,718 - 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-07-15 16:39:18,718 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-07-15 16:39:20,735 - DEBUG - 1+0 records in 1+0 records out 2025-07-15 16:39:21,572 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-15 16:39:21,917 - 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-07-15 16:39:21,917 - DEBUG - ls -l testfile 2025-07-15 16:39:23,493 - DEBUG - -rw------- 1 cirros cirros 1303 Jul 15 10:39 testfile 2025-07-15 16:39:23,494 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-09384122-90705532 2025-07-15 16:39:23,494 - INFO - Deleting VM ctest-TestBasicVMVNx-09384122-90705532 2025-07-15 16:39:23,566 - INFO - Deleting VM ctest-TestBasicVMVNx-09384122-11289974 2025-07-15 16:39:23,641 - INFO - Deleting VN ctest-vn-24650155 2025-07-15 16:39:23,686 - DEBUG - VN eec2d613-a300-493a-a0c8-4b11c79a1b8f still in use: Unable to complete operation on network eec2d613-a300-493a-a0c8-4b11c79a1b8f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-55d82015-c5e1-4dbc-a294-7442566f8bc9'] 2025-07-15 16:39:23,686 - WARNING - Deleting VN ctest-vn-24650155 failed..Will retry 2025-07-15 16:39:25,805 - DEBUG - Response for deleting network () 2025-07-15 16:39:26,064 - DEBUG - No XMPP flaps were noticed during the test
2025-07-15 16:39:26,064 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25]
2025-07-15 16:39:26,065 - INFO - -------------------------------------------------------------------------------- 2025-07-15 16:39:26,762 - INFO - Deleted project: ctest-TestBasicVMVNx-09384122, ID : bf2e7b85-1f19-4732-b202-52990e287b93