2025-08-20 09:21:04,889 - INFO - Domain Default found not creating 2025-08-20 09:21:05,029 - INFO - Project ctest-TestBasicVMVNx-66415896 not found, creating it 2025-08-20 09:21:05,484 - INFO - Created Project:ctest-TestBasicVMVNx-66415896, ID : 80f398c2-5fa9-43f9-b42a-697313128457 2025-08-20 09:21:07,000 - INFO - ================================================================================ 2025-08-20 09:21:07,000 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-08-20 09:21:07,000 - 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-08-20 09:21:07,253 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.254': '0'}} with 2025-08-20 09:21:07,253 - INFO - Initial checks done. Running the testcase now 2025-08-20 09:21:07,253 - INFO - 2025-08-20 09:21:07,843 - DEBUG - Response for create_network : {'network': {'id': '472c83da-5357-44d9-b406-888e3e80b2db', 'name': 'ctest-vn-96635748', 'tenant_id': '80f398c25fa943f9b42a697313128457', 'project_id': '80f398c25fa943f9b42a697313128457', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-66415896', 'ctest-vn-96635748'], 'port_security_enabled': True, 'description': ''}} 2025-08-20 09:21:08,062 - DEBUG - Response for create_subnet : {'subnet': {'id': '6583677d-b4ef-458a-b6ec-d704cceadcb5', 'name': '', 'tenant_id': '80f398c25fa943f9b42a697313128457', 'network_id': '472c83da-5357-44d9-b406-888e3e80b2db', 'ip_version': 4, 'cidr': '222.194.80.64/26', 'allocation_pools': [{'start': '222.194.80.66', 'end': '222.194.80.126'}], 'gateway_ip': '222.194.80.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '222.194.80.66', 'tags': [], 'project_id': '80f398c25fa943f9b42a697313128457'}} 2025-08-20 09:21:08,083 - INFO - Created VN ctest-vn-96635748 2025-08-20 09:21:08,139 - DEBUG - VN ctest-vn-96635748 UUID is 472c83da-5357-44d9-b406-888e3e80b2db 2025-08-20 09:21:08,343 - DEBUG - Services list from nova: [, , ] 2025-08-20 09:21:09,427 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3891-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3891-1) 2025-08-20 09:21:10,619 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3891-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3891-1) 2025-08-20 09:21:10,619 - INFO - Waiting for VM ctest-TestBasicVMVNx-66415896-56324697 to be up.. 2025-08-20 09:21:10,724 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-20 09:21:15,808 - DEBUG - VM is in ACTIVE state now 2025-08-20 09:21:15,808 - INFO - VM name : ctest-TestBasicVMVNx-66415896-56324697 2025-08-20 09:21:15,894 - DEBUG - VM ctest-TestBasicVMVNx-66415896-56324697 ID is 61d1606b-7428-450b-9c1b-038287d2dae3 2025-08-20 09:21:15,912 - DEBUG - VM ctest-TestBasicVMVNx-66415896-56324697 launched on Node cn-jenkins-deploy-platform-ansible-os-3891-1 2025-08-20 09:21:15,984 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/61d1606b-7428-450b-9c1b-038287d2dae3 2025-08-20 09:21:16,319 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/61d1606b-7428-450b-9c1b-038287d2dae3 2025-08-20 09:21:16,350 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/d2a0f824-67a6-40f8-8ec2-d7d96c882274 2025-08-20 09:21:19,602 - 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 1005ms') 2025-08-20 09:21:19,602 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-66415896-56324697 failed! 2025-08-20 09:21:19,659 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-66415896:ctest-vn-96635748 is 222.194.80.65 and allocation pool is NOT set 2025-08-20 09:21:21,724 - 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.92 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.82 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 1.823/2.870/3.917/1.047 ms') 2025-08-20 09:21:21,724 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-66415896-56324697 passed 2025-08-20 09:21:21,875 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 09:21:21,875 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-66415896-56324697, IP 222.194.80.67, Port 22 2025-08-20 09:21:22,031 - DEBUG - VM ctest-TestBasicVMVNx-66415896-56324697 is ready for SSH connections 2025-08-20 09:21:22,031 - INFO - Waiting for VM ctest-TestBasicVMVNx-66415896-58136528 to be up.. 2025-08-20 09:21:22,109 - DEBUG - VM is in ACTIVE state now 2025-08-20 09:21:22,109 - INFO - VM name : ctest-TestBasicVMVNx-66415896-58136528 2025-08-20 09:21:22,180 - DEBUG - VM ctest-TestBasicVMVNx-66415896-58136528 ID is 1d9fd170-521a-4b07-887d-d9f2b33e2352 2025-08-20 09:21:22,181 - DEBUG - VM ctest-TestBasicVMVNx-66415896-58136528 launched on Node cn-jenkins-deploy-platform-ansible-os-3891-1 2025-08-20 09:21:22,252 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/1d9fd170-521a-4b07-887d-d9f2b33e2352 2025-08-20 09:21:22,261 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/def1871d-106d-4710-bcfe-a21dc29880b2 2025-08-20 09:21:23,504 - 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.19 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.375 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.375/1.781/3.187/1.406 ms') 2025-08-20 09:21:23,504 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-66415896-58136528 passed 2025-08-20 09:21:23,655 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 09:21:23,655 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-66415896-58136528, IP 222.194.80.68, Port 22 2025-08-20 09:21:23,810 - DEBUG - VM ctest-TestBasicVMVNx-66415896-58136528 is ready for SSH connections 2025-08-20 09:21:23,810 - DEBUG - FILE SIZE = 1303B 2025-08-20 09:21:23,810 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-66415896-56324697 to ctest-TestBasicVMVNx-66415896-58136528 using scp 2025-08-20 09:21:23,812 - 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-08-20 09:21:23,812 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-08-20 09:21:25,759 - DEBUG - 1+0 records in 1+0 records out 2025-08-20 09:21:26,439 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 09:21:26,776 - 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-08-20 09:21:26,776 - DEBUG - ls -l testfile 2025-08-20 09:21:28,378 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 20 03:21 testfile 2025-08-20 09:21:28,378 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-66415896-58136528 2025-08-20 09:21:28,379 - INFO - Deleting VM ctest-TestBasicVMVNx-66415896-58136528 2025-08-20 09:21:28,449 - INFO - Deleting VM ctest-TestBasicVMVNx-66415896-56324697 2025-08-20 09:21:28,515 - INFO - Deleting VN ctest-vn-96635748 2025-08-20 09:21:28,549 - DEBUG - VN 472c83da-5357-44d9-b406-888e3e80b2db still in use: Unable to complete operation on network 472c83da-5357-44d9-b406-888e3e80b2db. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-39d5f9be-a98e-4ec5-b51e-d19c41513816'] 2025-08-20 09:21:28,549 - WARNING - Deleting VN ctest-vn-96635748 failed..Will retry 2025-08-20 09:21:30,646 - DEBUG - Response for deleting network () 2025-08-20 09:21:30,905 - DEBUG - No XMPP flaps were noticed during the test
2025-08-20 09:21:30,905 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-08-20 09:21:30,905 - INFO - -------------------------------------------------------------------------------- 2025-08-20 09:21:31,620 - INFO - Deleted project: ctest-TestBasicVMVNx-66415896, ID : 80f398c2-5fa9-43f9-b42a-697313128457