2025-06-15 17:01:50,555 - INFO - Domain Default found not creating 2025-06-15 17:01:51,044 - INFO - Project ctest-TestBasicVMVNx-63829503 not found, creating it 2025-06-15 17:01:51,855 - INFO - Created Project:ctest-TestBasicVMVNx-63829503, ID : abf3ed67-60fe-4416-805e-c1444e7981d6 2025-06-15 17:01:53,402 - INFO - ================================================================================ 2025-06-15 17:01:53,403 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-06-15 17:01:53,403 - 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-06-15 17:01:53,658 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.17': '0'}} with 2025-06-15 17:01:53,659 - INFO - Initial checks done. Running the testcase now 2025-06-15 17:01:53,659 - INFO - 2025-06-15 17:01:54,239 - DEBUG - Response for create_network : {'network': {'id': 'd1273688-6b82-458f-8c1c-be139aaf6470', 'name': 'ctest-vn-55972560', 'tenant_id': 'abf3ed6760fe4416805ec1444e7981d6', 'project_id': 'abf3ed6760fe4416805ec1444e7981d6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-63829503', 'ctest-vn-55972560'], 'port_security_enabled': True, 'description': ''}} 2025-06-15 17:01:54,457 - DEBUG - Response for create_subnet : {'subnet': {'id': '63e2c0f5-89cc-4325-b764-bf6de40d1e2b', 'name': '', 'tenant_id': 'abf3ed6760fe4416805ec1444e7981d6', 'network_id': 'd1273688-6b82-458f-8c1c-be139aaf6470', 'ip_version': 4, 'cidr': '53.238.219.0/26', 'allocation_pools': [{'start': '53.238.219.2', 'end': '53.238.219.62'}], 'gateway_ip': '53.238.219.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '53.238.219.2', 'tags': [], 'project_id': 'abf3ed6760fe4416805ec1444e7981d6'}} 2025-06-15 17:01:54,478 - INFO - Created VN ctest-vn-55972560 2025-06-15 17:01:54,532 - DEBUG - VN ctest-vn-55972560 UUID is d1273688-6b82-458f-8c1c-be139aaf6470 2025-06-15 17:01:54,704 - DEBUG - Services list from nova: [, , ] 2025-06-15 17:01:55,794 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3453-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3453-1) 2025-06-15 17:01:57,068 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3453-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3453-1) 2025-06-15 17:01:57,069 - INFO - Waiting for VM ctest-TestBasicVMVNx-63829503-77395455 to be up.. 2025-06-15 17:01:57,163 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-15 17:02:02,244 - DEBUG - VM is in ACTIVE state now 2025-06-15 17:02:02,244 - INFO - VM name : ctest-TestBasicVMVNx-63829503-77395455 2025-06-15 17:02:02,414 - DEBUG - VM ctest-TestBasicVMVNx-63829503-77395455 ID is 070d578a-6cc2-48f4-89d7-9ffd607779b8 2025-06-15 17:02:02,432 - DEBUG - VM ctest-TestBasicVMVNx-63829503-77395455 launched on Node cn-jenkins-deploy-platform-ansible-os-3453-1 2025-06-15 17:02:02,509 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/070d578a-6cc2-48f4-89d7-9ffd607779b8 2025-06-15 17:02:02,844 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/070d578a-6cc2-48f4-89d7-9ffd607779b8 2025-06-15 17:02:02,876 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/c301e218-cd27-4eea-97fe-144ae1d13c46 2025-06-15 17:02:06,123 - 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 1007ms') 2025-06-15 17:02:06,123 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-63829503-77395455 failed! 2025-06-15 17:02:06,180 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-63829503:ctest-vn-55972560 is 53.238.219.1 and allocation pool is NOT set 2025-06-15 17:02:08,238 - 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=5.16 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.790 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.790/2.977/5.164/2.187 ms') 2025-06-15 17:02:08,238 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-63829503-77395455 passed 2025-06-15 17:02:08,388 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-15 17:02:08,388 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-63829503-77395455, IP 53.238.219.3, Port 22 2025-06-15 17:02:08,546 - DEBUG - VM ctest-TestBasicVMVNx-63829503-77395455 is ready for SSH connections 2025-06-15 17:02:08,546 - INFO - Waiting for VM ctest-TestBasicVMVNx-63829503-51739000 to be up.. 2025-06-15 17:02:08,649 - DEBUG - VM is in ACTIVE state now 2025-06-15 17:02:08,649 - INFO - VM name : ctest-TestBasicVMVNx-63829503-51739000 2025-06-15 17:02:08,731 - DEBUG - VM ctest-TestBasicVMVNx-63829503-51739000 ID is 4f54a44a-88ea-47cc-a992-6da91d7d09ac 2025-06-15 17:02:08,731 - DEBUG - VM ctest-TestBasicVMVNx-63829503-51739000 launched on Node cn-jenkins-deploy-platform-ansible-os-3453-1 2025-06-15 17:02:08,815 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/4f54a44a-88ea-47cc-a992-6da91d7d09ac 2025-06-15 17:02:08,825 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/56085c26-eea4-4b27-b825-11bed32876a5 2025-06-15 17:02:10,077 - 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.427 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.427/1.751/3.076/1.324 ms') 2025-06-15 17:02:10,077 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-63829503-51739000 passed 2025-06-15 17:02:10,232 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-15 17:02:10,232 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-63829503-51739000, IP 53.238.219.4, Port 22 2025-06-15 17:02:10,387 - DEBUG - VM ctest-TestBasicVMVNx-63829503-51739000 is ready for SSH connections 2025-06-15 17:02:10,387 - DEBUG - FILE SIZE = 1303B 2025-06-15 17:02:10,387 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-63829503-77395455 to ctest-TestBasicVMVNx-63829503-51739000 using scp 2025-06-15 17:02:10,388 - 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.57, gateway password: c0ntrail123 2025-06-15 17:02:10,388 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-06-15 17:02:12,369 - DEBUG - 1+0 records in 1+0 records out 2025-06-15 17:02:13,073 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-15 17:02:13,446 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-06-15 17:02:13,446 - DEBUG - ls -l testfile 2025-06-15 17:02:15,036 - DEBUG - -rw------- 1 cirros cirros 1303 Jun 15 11:02 testfile 2025-06-15 17:02:15,036 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-63829503-51739000 2025-06-15 17:02:15,037 - INFO - Deleting VM ctest-TestBasicVMVNx-63829503-51739000 2025-06-15 17:02:15,100 - INFO - Deleting VM ctest-TestBasicVMVNx-63829503-77395455 2025-06-15 17:02:15,167 - INFO - Deleting VN ctest-vn-55972560 2025-06-15 17:02:15,207 - DEBUG - VN d1273688-6b82-458f-8c1c-be139aaf6470 still in use: Unable to complete operation on network d1273688-6b82-458f-8c1c-be139aaf6470. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-08d4093b-f52e-471f-aaf0-4e283d60766f'] 2025-06-15 17:02:15,207 - WARNING - Deleting VN ctest-vn-55972560 failed..Will retry 2025-06-15 17:02:17,313 - DEBUG - Response for deleting network () 2025-06-15 17:02:17,570 - DEBUG - No XMPP flaps were noticed during the test 2025-06-15 17:02:17,570 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2025-06-15 17:02:17,570 - INFO - -------------------------------------------------------------------------------- 2025-06-15 17:02:18,301 - INFO - Deleted project: ctest-TestBasicVMVNx-63829503, ID : abf3ed67-60fe-4416-805e-c1444e7981d6