2025-04-25 10:47:39,781 - INFO - Domain Default found not creating 2025-04-25 10:47:39,902 - INFO - Project ctest-TestBasicVMVNx-61238485 not found, creating it 2025-04-25 10:47:40,330 - INFO - Created Project:ctest-TestBasicVMVNx-61238485, ID : 0b65bb36-0b45-4a92-8c58-c8d58ff5d4fd 2025-04-25 10:47:41,651 - INFO - ================================================================================ 2025-04-25 10:47:41,651 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-04-25 10:47:41,651 - 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-25 10:47:41,902 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-04-25 10:47:41,902 - INFO - Initial checks done. Running the testcase now 2025-04-25 10:47:41,902 - INFO - 2025-04-25 10:47:42,407 - DEBUG - Response for create_network : {'network': {'id': '2b32b4f2-a7c3-4e56-b0b9-c4fd22958a25', 'name': 'ctest-vn-52368362', 'tenant_id': '0b65bb360b454a928c58c8d58ff5d4fd', 'project_id': '0b65bb360b454a928c58c8d58ff5d4fd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-61238485', 'ctest-vn-52368362'], 'port_security_enabled': True, 'description': ''}} 2025-04-25 10:47:42,621 - DEBUG - Response for create_subnet : {'subnet': {'id': '70c088eb-e483-42c0-a9c1-88341cacfb72', 'name': '', 'tenant_id': '0b65bb360b454a928c58c8d58ff5d4fd', 'network_id': '2b32b4f2-a7c3-4e56-b0b9-c4fd22958a25', 'ip_version': 4, 'cidr': '2.242.66.192/26', 'allocation_pools': [{'start': '2.242.66.194', 'end': '2.242.66.254'}], 'gateway_ip': '2.242.66.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '2.242.66.194', 'tags': [], 'project_id': '0b65bb360b454a928c58c8d58ff5d4fd'}} 2025-04-25 10:47:42,636 - INFO - Created VN ctest-vn-52368362 2025-04-25 10:47:42,688 - DEBUG - VN ctest-vn-52368362 UUID is 2b32b4f2-a7c3-4e56-b0b9-c4fd22958a25 2025-04-25 10:47:42,884 - DEBUG - Services list from nova: [, , ] 2025-04-25 10:47:43,836 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3216-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3216-1) 2025-04-25 10:47:44,874 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3216-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3216-1) 2025-04-25 10:47:44,874 - INFO - Waiting for VM ctest-TestBasicVMVNx-61238485-36218547 to be up.. 2025-04-25 10:47:44,956 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-25 10:47:50,035 - DEBUG - VM is in ACTIVE state now 2025-04-25 10:47:50,035 - INFO - VM name : ctest-TestBasicVMVNx-61238485-36218547 2025-04-25 10:47:50,104 - DEBUG - VM ctest-TestBasicVMVNx-61238485-36218547 ID is 7b31a975-5ffb-4de3-b1ab-2f44cd93c70e 2025-04-25 10:47:50,121 - DEBUG - VM ctest-TestBasicVMVNx-61238485-36218547 launched on Node cn-jenkins-deploy-platform-ansible-os-3216-1 2025-04-25 10:47:50,191 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/7b31a975-5ffb-4de3-b1ab-2f44cd93c70e 2025-04-25 10:47:50,487 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/7b31a975-5ffb-4de3-b1ab-2f44cd93c70e 2025-04-25 10:47:50,525 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/a3683f18-7871-44d4-9eda-50392a70ca8f 2025-04-25 10:47:53,787 - 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 1024ms') 2025-04-25 10:47:53,787 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-61238485-36218547 failed! 2025-04-25 10:47:53,840 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-61238485:ctest-vn-52368362 is 2.242.66.193 and allocation pool is NOT set 2025-04-25 10:47:55,898 - 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.87 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.404 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.404/1.638/2.872/1.234 ms') 2025-04-25 10:47:55,898 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-61238485-36218547 passed 2025-04-25 10:47:56,048 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-25 10:47:56,048 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-61238485-36218547, IP 2.242.66.195, Port 22 2025-04-25 10:47:56,212 - DEBUG - VM ctest-TestBasicVMVNx-61238485-36218547 is ready for SSH connections 2025-04-25 10:47:56,212 - INFO - Waiting for VM ctest-TestBasicVMVNx-61238485-78807095 to be up.. 2025-04-25 10:47:56,275 - DEBUG - VM is in ACTIVE state now 2025-04-25 10:47:56,275 - INFO - VM name : ctest-TestBasicVMVNx-61238485-78807095 2025-04-25 10:47:56,336 - DEBUG - VM ctest-TestBasicVMVNx-61238485-78807095 ID is 777cd03d-3627-4b84-8a4c-3777db823509 2025-04-25 10:47:56,336 - DEBUG - VM ctest-TestBasicVMVNx-61238485-78807095 launched on Node cn-jenkins-deploy-platform-ansible-os-3216-1 2025-04-25 10:47:56,401 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/777cd03d-3627-4b84-8a4c-3777db823509 2025-04-25 10:47:56,409 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4d8ca2fb-d46b-4725-9a13-646716d49b0d 2025-04-25 10:47:57,642 - 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.66 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.423 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.423/1.542/2.661/1.119 ms') 2025-04-25 10:47:57,642 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-61238485-78807095 passed 2025-04-25 10:47:57,796 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-25 10:47:57,796 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-61238485-78807095, IP 2.242.66.196, Port 22 2025-04-25 10:47:57,947 - DEBUG - VM ctest-TestBasicVMVNx-61238485-78807095 is ready for SSH connections 2025-04-25 10:47:57,948 - DEBUG - FILE SIZE = 1303B 2025-04-25 10:47:57,948 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-61238485-36218547 to ctest-TestBasicVMVNx-61238485-78807095 using scp 2025-04-25 10:47:57,948 - 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.38, gateway password: c0ntrail123 2025-04-25 10:47:57,948 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-04-25 10:47:59,794 - DEBUG - 1+0 records in 1+0 records out 2025-04-25 10:48:00,376 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-25 10:48:00,691 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-04-25 10:48:00,691 - DEBUG - ls -l testfile 2025-04-25 10:48:02,268 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 25 04:47 testfile 2025-04-25 10:48:02,268 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-61238485-78807095 2025-04-25 10:48:02,268 - INFO - Deleting VM ctest-TestBasicVMVNx-61238485-78807095 2025-04-25 10:48:02,327 - INFO - Deleting VM ctest-TestBasicVMVNx-61238485-36218547 2025-04-25 10:48:02,386 - INFO - Deleting VN ctest-vn-52368362 2025-04-25 10:48:02,419 - DEBUG - VN 2b32b4f2-a7c3-4e56-b0b9-c4fd22958a25 still in use: Unable to complete operation on network 2b32b4f2-a7c3-4e56-b0b9-c4fd22958a25. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9ac2de62-d198-4570-b00b-6377dea08d5c'] 2025-04-25 10:48:02,419 - WARNING - Deleting VN ctest-vn-52368362 failed..Will retry 2025-04-25 10:48:04,515 - DEBUG - Response for deleting network () 2025-04-25 10:48:04,766 - DEBUG - No XMPP flaps were noticed during the test
2025-04-25 10:48:04,766 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-04-25 10:48:04,766 - INFO - -------------------------------------------------------------------------------- 2025-04-25 10:48:05,408 - INFO - Deleted project: ctest-TestBasicVMVNx-61238485, ID : 0b65bb36-0b45-4a92-8c58-c8d58ff5d4fd