2025-03-27 15:03:41,662 - INFO - Domain Default found not creating 2025-03-27 15:03:41,837 - INFO - Project ctest-TestBasicVMVNx-00457421 not found, creating it 2025-03-27 15:03:42,335 - INFO - Created Project:ctest-TestBasicVMVNx-00457421, ID : 92e34f0e-4257-441d-9171-7ad814d3efc4 2025-03-27 15:03:43,858 - INFO - ================================================================================ 2025-03-27 15:03:43,859 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-03-27 15:03:43,859 - 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-03-27 15:03:44,115 - DEBUG - Nothing to compare xmpp stats {'10.0.0.42': {'10.20.0.23': '0'}} with 2025-03-27 15:03:44,115 - INFO - Initial checks done. Running the testcase now 2025-03-27 15:03:44,115 - INFO - 2025-03-27 15:03:44,776 - DEBUG - Response for create_network : {'network': {'id': '35c54b0b-a9ee-43ab-9c56-e28814405d07', 'name': 'ctest-vn-49381078', 'tenant_id': '92e34f0e4257441d91717ad814d3efc4', 'project_id': '92e34f0e4257441d91717ad814d3efc4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-00457421', 'ctest-vn-49381078'], 'port_security_enabled': True, 'description': ''}} 2025-03-27 15:03:44,961 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f7f1fd33-0900-4caa-a7b1-68c31f4cfb0a', 'name': '', 'tenant_id': '92e34f0e4257441d91717ad814d3efc4', 'network_id': '35c54b0b-a9ee-43ab-9c56-e28814405d07', 'ip_version': 4, 'cidr': '52.4.137.0/26', 'allocation_pools': [{'start': '52.4.137.2', 'end': '52.4.137.62'}], 'gateway_ip': '52.4.137.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.4.137.2', 'tags': [], 'project_id': '92e34f0e4257441d91717ad814d3efc4'}} 2025-03-27 15:03:44,980 - INFO - Created VN ctest-vn-49381078 2025-03-27 15:03:45,034 - DEBUG - VN ctest-vn-49381078 UUID is 35c54b0b-a9ee-43ab-9c56-e28814405d07 2025-03-27 15:03:45,208 - DEBUG - Services list from nova: [, , ] 2025-03-27 15:03:46,249 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2974-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2974-1) 2025-03-27 15:03:47,497 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2974-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2974-1) 2025-03-27 15:03:47,497 - INFO - Waiting for VM ctest-TestBasicVMVNx-00457421-45467617 to be up.. 2025-03-27 15:03:47,586 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-27 15:03:52,681 - DEBUG - VM is in ACTIVE state now 2025-03-27 15:03:52,681 - INFO - VM name : ctest-TestBasicVMVNx-00457421-45467617 2025-03-27 15:03:52,771 - DEBUG - VM ctest-TestBasicVMVNx-00457421-45467617 ID is ad15988d-6d9e-4ef4-a92e-61e2894466bf 2025-03-27 15:03:52,795 - DEBUG - VM ctest-TestBasicVMVNx-00457421-45467617 launched on Node cn-jenkins-deploy-platform-ansible-os-2974-1 2025-03-27 15:03:52,881 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/ad15988d-6d9e-4ef4-a92e-61e2894466bf 2025-03-27 15:03:53,180 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/ad15988d-6d9e-4ef4-a92e-61e2894466bf 2025-03-27 15:03:53,218 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/5b17864b-5d7a-434d-92f0-2f478233c801 2025-03-27 15:03:56,505 - 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 1022ms') 2025-03-27 15:03:56,505 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-00457421-45467617 failed! 2025-03-27 15:03:56,562 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-00457421:ctest-vn-49381078 is 52.4.137.1 and allocation pool is NOT set 2025-03-27 15:03:58,628 - 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=8.70 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.665 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.665/4.682/8.699/4.017 ms') 2025-03-27 15:03:58,628 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-00457421-45467617 passed 2025-03-27 15:03:58,790 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 15:03:58,790 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-00457421-45467617, IP 52.4.137.3, Port 22 2025-03-27 15:03:58,963 - DEBUG - VM ctest-TestBasicVMVNx-00457421-45467617 is ready for SSH connections 2025-03-27 15:03:58,963 - INFO - Waiting for VM ctest-TestBasicVMVNx-00457421-14694472 to be up.. 2025-03-27 15:03:59,173 - DEBUG - VM is in ACTIVE state now 2025-03-27 15:03:59,173 - INFO - VM name : ctest-TestBasicVMVNx-00457421-14694472 2025-03-27 15:03:59,282 - DEBUG - VM ctest-TestBasicVMVNx-00457421-14694472 ID is 743e21e8-4d2f-4423-9818-ad2ba000f195 2025-03-27 15:03:59,282 - DEBUG - VM ctest-TestBasicVMVNx-00457421-14694472 launched on Node cn-jenkins-deploy-platform-ansible-os-2974-1 2025-03-27 15:03:59,367 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/743e21e8-4d2f-4423-9818-ad2ba000f195 2025-03-27 15:03:59,377 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/3a22a47c-c19b-4922-a1e6-ed89ce76dd55 2025-03-27 15:04:00,629 - 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.96 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.482 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.482/1.721/2.960/1.239 ms') 2025-03-27 15:04:00,629 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-00457421-14694472 passed 2025-03-27 15:04:00,786 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 15:04:00,786 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-00457421-14694472, IP 52.4.137.4, Port 22 2025-03-27 15:04:00,954 - DEBUG - VM ctest-TestBasicVMVNx-00457421-14694472 is ready for SSH connections 2025-03-27 15:04:00,954 - DEBUG - FILE SIZE = 1303B 2025-03-27 15:04:00,954 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-00457421-45467617 to ctest-TestBasicVMVNx-00457421-14694472 using scp 2025-03-27 15:04:00,955 - 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.42, gateway password: c0ntrail123 2025-03-27 15:04:00,955 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-03-27 15:04:02,942 - DEBUG - 1+0 records in 1+0 records out 2025-03-27 15:04:03,848 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 15:04:04,195 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.42, gateway password: c0ntrail123 2025-03-27 15:04:04,195 - DEBUG - ls -l testfile 2025-03-27 15:04:05,818 - DEBUG - -rw------- 1 cirros cirros 1303 Mar 27 09:04 testfile 2025-03-27 15:04:05,819 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-00457421-14694472 2025-03-27 15:04:05,819 - INFO - Deleting VM ctest-TestBasicVMVNx-00457421-14694472 2025-03-27 15:04:05,900 - INFO - Deleting VM ctest-TestBasicVMVNx-00457421-45467617 2025-03-27 15:04:05,985 - INFO - Deleting VN ctest-vn-49381078 2025-03-27 15:04:06,029 - DEBUG - VN 35c54b0b-a9ee-43ab-9c56-e28814405d07 still in use: Unable to complete operation on network 35c54b0b-a9ee-43ab-9c56-e28814405d07. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0cb851c5-0584-4187-a195-226fac6fc93f'] 2025-03-27 15:04:06,029 - WARNING - Deleting VN ctest-vn-49381078 failed..Will retry 2025-03-27 15:04:08,178 - DEBUG - Response for deleting network () 2025-03-27 15:04:08,437 - DEBUG - No XMPP flaps were noticed during the test
2025-03-27 15:04:08,437 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25]
2025-03-27 15:04:08,437 - INFO - -------------------------------------------------------------------------------- 2025-03-27 15:04:09,170 - INFO - Deleted project: ctest-TestBasicVMVNx-00457421, ID : 92e34f0e-4257-441d-9171-7ad814d3efc4