2025-07-08 11:42:59,916 - INFO - Domain Default found not creating 2025-07-08 11:43:00,059 - INFO - Project ctest-TestBasicVMVNx-18845607 not found, creating it 2025-07-08 11:43:00,517 - INFO - Created Project:ctest-TestBasicVMVNx-18845607, ID : 37b3d15c-1874-4454-af12-cbea06c224da 2025-07-08 11:43:01,945 - INFO - ================================================================================ 2025-07-08 11:43:01,945 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-07-08 11:43:01,945 - 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-08 11:43:02,204 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.14': '0'}} with 2025-07-08 11:43:02,204 - INFO - Initial checks done. Running the testcase now 2025-07-08 11:43:02,204 - INFO - 2025-07-08 11:43:02,779 - DEBUG - Response for create_network : {'network': {'id': 'd3d73d1b-4c2f-4bfa-b498-845061f1ba60', 'name': 'ctest-vn-43695768', 'tenant_id': '37b3d15c18744454af12cbea06c224da', 'project_id': '37b3d15c18744454af12cbea06c224da', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-18845607', 'ctest-vn-43695768'], 'port_security_enabled': True, 'description': ''}} 2025-07-08 11:43:02,939 - DEBUG - Response for create_subnet : {'subnet': {'id': '38c1fd9c-6f9d-409a-80e2-5ede2611f361', 'name': '', 'tenant_id': '37b3d15c18744454af12cbea06c224da', 'network_id': 'd3d73d1b-4c2f-4bfa-b498-845061f1ba60', 'ip_version': 4, 'cidr': '6.239.236.192/26', 'allocation_pools': [{'start': '6.239.236.194', 'end': '6.239.236.254'}], 'gateway_ip': '6.239.236.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '6.239.236.194', 'tags': [], 'project_id': '37b3d15c18744454af12cbea06c224da'}} 2025-07-08 11:43:02,958 - INFO - Created VN ctest-vn-43695768 2025-07-08 11:43:03,011 - DEBUG - VN ctest-vn-43695768 UUID is d3d73d1b-4c2f-4bfa-b498-845061f1ba60 2025-07-08 11:43:03,179 - DEBUG - Services list from nova: [, , ] 2025-07-08 11:43:04,221 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3612-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3612-1) 2025-07-08 11:43:05,487 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3612-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3612-1) 2025-07-08 11:43:05,487 - INFO - Waiting for VM ctest-TestBasicVMVNx-18845607-70260798 to be up.. 2025-07-08 11:43:05,595 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-08 11:43:10,695 - DEBUG - VM is in ACTIVE state now 2025-07-08 11:43:10,695 - INFO - VM name : ctest-TestBasicVMVNx-18845607-70260798 2025-07-08 11:43:10,781 - DEBUG - VM ctest-TestBasicVMVNx-18845607-70260798 ID is b911105f-c695-4d76-add4-b4aea88ec029 2025-07-08 11:43:10,801 - DEBUG - VM ctest-TestBasicVMVNx-18845607-70260798 launched on Node cn-jenkins-deploy-platform-ansible-os-3612-1 2025-07-08 11:43:10,871 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/b911105f-c695-4d76-add4-b4aea88ec029 2025-07-08 11:43:11,172 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/b911105f-c695-4d76-add4-b4aea88ec029 2025-07-08 11:43:11,208 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/705e6e5c-8382-4c3f-bfe3-f3c8009ea899 2025-07-08 11:43:14,465 - 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 1003ms') 2025-07-08 11:43:14,465 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-18845607-70260798 failed! 2025-07-08 11:43:14,523 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-18845607:ctest-vn-43695768 is 6.239.236.193 and allocation pool is NOT set 2025-07-08 11:43:16,587 - 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=3.10 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.458 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.458/1.781/3.104/1.323 ms') 2025-07-08 11:43:16,588 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-18845607-70260798 passed 2025-07-08 11:43:16,743 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-08 11:43:16,743 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-18845607-70260798, IP 6.239.236.195, Port 22 2025-07-08 11:43:16,898 - DEBUG - VM ctest-TestBasicVMVNx-18845607-70260798 is ready for SSH connections 2025-07-08 11:43:16,898 - INFO - Waiting for VM ctest-TestBasicVMVNx-18845607-84887613 to be up.. 2025-07-08 11:43:16,990 - DEBUG - VM is in ACTIVE state now 2025-07-08 11:43:16,990 - INFO - VM name : ctest-TestBasicVMVNx-18845607-84887613 2025-07-08 11:43:17,080 - DEBUG - VM ctest-TestBasicVMVNx-18845607-84887613 ID is 13ae8db4-d590-443c-ba75-1f7a74588c7d 2025-07-08 11:43:17,081 - DEBUG - VM ctest-TestBasicVMVNx-18845607-84887613 launched on Node cn-jenkins-deploy-platform-ansible-os-3612-1 2025-07-08 11:43:17,167 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/13ae8db4-d590-443c-ba75-1f7a74588c7d 2025-07-08 11:43:17,177 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/fbf2ce45-e61e-420e-ba6c-44bee9610f3b 2025-07-08 11:43:18,427 - 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.30 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.889 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.889/2.095/3.302/1.206 ms') 2025-07-08 11:43:18,427 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-18845607-84887613 passed 2025-07-08 11:43:18,579 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-08 11:43:18,579 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-18845607-84887613, IP 6.239.236.196, Port 22 2025-07-08 11:43:18,742 - DEBUG - VM ctest-TestBasicVMVNx-18845607-84887613 is ready for SSH connections 2025-07-08 11:43:18,742 - DEBUG - FILE SIZE = 1303B 2025-07-08 11:43:18,742 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-18845607-70260798 to ctest-TestBasicVMVNx-18845607-84887613 using scp 2025-07-08 11:43:18,743 - 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.49, gateway password: c0ntrail123 2025-07-08 11:43:18,743 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-07-08 11:43:20,660 - DEBUG - 1+0 records in 1+0 records out 2025-07-08 11:43:21,235 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-08 11:43:21,570 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-07-08 11:43:21,570 - DEBUG - ls -l testfile 2025-07-08 11:43:23,164 - DEBUG - -rw------- 1 cirros cirros 1303 Jul 8 05:43 testfile 2025-07-08 11:43:23,165 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-18845607-84887613 2025-07-08 11:43:23,165 - INFO - Deleting VM ctest-TestBasicVMVNx-18845607-84887613 2025-07-08 11:43:23,230 - INFO - Deleting VM ctest-TestBasicVMVNx-18845607-70260798 2025-07-08 11:43:23,299 - INFO - Deleting VN ctest-vn-43695768 2025-07-08 11:43:23,336 - DEBUG - VN d3d73d1b-4c2f-4bfa-b498-845061f1ba60 still in use: Unable to complete operation on network d3d73d1b-4c2f-4bfa-b498-845061f1ba60. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-93b70480-319c-46b6-a910-bd04cb38d3e8'] 2025-07-08 11:43:23,336 - WARNING - Deleting VN ctest-vn-43695768 failed..Will retry 2025-07-08 11:43:25,446 - DEBUG - Response for deleting network () 2025-07-08 11:43:25,709 - DEBUG - No XMPP flaps were noticed during the test
2025-07-08 11:43:25,709 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-07-08 11:43:25,709 - INFO - -------------------------------------------------------------------------------- 2025-07-08 11:43:26,417 - INFO - Deleted project: ctest-TestBasicVMVNx-18845607, ID : 37b3d15c-1874-4454-af12-cbea06c224da