2025-01-09 19:24:21,089 - INFO - Domain Default found not creating 2025-01-09 19:24:21,263 - INFO - Project ctest-TestBasicVMVNx-01426941 not found, creating it 2025-01-09 19:24:21,752 - INFO - Created Project:ctest-TestBasicVMVNx-01426941, ID : a94c5a9e-3713-4fbf-b678-f89987aa2810 2025-01-09 19:24:23,211 - INFO - ================================================================================ 2025-01-09 19:24:23,212 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-01-09 19:24:23,212 - 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-01-09 19:24:23,469 - DEBUG - Nothing to compare xmpp stats {'10.0.0.31': {'10.20.0.7': '0'}} with 2025-01-09 19:24:23,469 - INFO - Initial checks done. Running the testcase now 2025-01-09 19:24:23,469 - INFO - 2025-01-09 19:24:24,593 - DEBUG - Response for create_network : {'network': {'id': '0e01f437-8227-4c7d-9955-794de7799158', 'name': 'ctest-vn-97519350', 'tenant_id': 'a94c5a9e37134fbfb678f89987aa2810', 'project_id': 'a94c5a9e37134fbfb678f89987aa2810', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-01426941', 'ctest-vn-97519350'], 'port_security_enabled': True, 'description': ''}} 2025-01-09 19:24:24,834 - DEBUG - Response for create_subnet : {'subnet': {'id': '359ebaf7-4eee-4050-8bb7-b7522cec107a', 'name': '', 'tenant_id': 'a94c5a9e37134fbfb678f89987aa2810', 'network_id': '0e01f437-8227-4c7d-9955-794de7799158', 'ip_version': 4, 'cidr': '85.17.155.0/26', 'allocation_pools': [{'start': '85.17.155.2', 'end': '85.17.155.62'}], 'gateway_ip': '85.17.155.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '85.17.155.2', 'tags': [], 'project_id': 'a94c5a9e37134fbfb678f89987aa2810'}} 2025-01-09 19:24:24,857 - INFO - Created VN ctest-vn-97519350 2025-01-09 19:24:24,910 - DEBUG - VN ctest-vn-97519350 UUID is 0e01f437-8227-4c7d-9955-794de7799158 2025-01-09 19:24:25,090 - DEBUG - Services list from nova: [, , ] 2025-01-09 19:24:26,142 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2592-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2592-1) 2025-01-09 19:24:27,320 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2592-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2592-1) 2025-01-09 19:24:27,320 - INFO - Waiting for VM ctest-TestBasicVMVNx-01426941-39405432 to be up.. 2025-01-09 19:24:27,411 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-09 19:24:32,499 - DEBUG - VM is in ACTIVE state now 2025-01-09 19:24:32,499 - INFO - VM name : ctest-TestBasicVMVNx-01426941-39405432 2025-01-09 19:24:32,592 - DEBUG - VM ctest-TestBasicVMVNx-01426941-39405432 ID is fb20e17e-4968-4af9-a1a5-dbcee1f2b52b 2025-01-09 19:24:32,618 - DEBUG - VM ctest-TestBasicVMVNx-01426941-39405432 launched on Node cn-jenkins-deploy-platform-ansible-os-2592-1 2025-01-09 19:24:32,719 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/fb20e17e-4968-4af9-a1a5-dbcee1f2b52b 2025-01-09 19:24:33,017 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/fb20e17e-4968-4af9-a1a5-dbcee1f2b52b 2025-01-09 19:24:33,049 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/ef5c8587-cf76-4f1a-adc7-29ffac9a20ea 2025-01-09 19:24:36,333 - 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 1031ms') 2025-01-09 19:24:36,333 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-01426941-39405432 failed! 2025-01-09 19:24:36,390 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-01426941:ctest-vn-97519350 is 85.17.155.1 and allocation pool is NOT set 2025-01-09 19:24:38,458 - 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=4.90 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.16 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 = 1.155/3.028/4.901/1.873 ms') 2025-01-09 19:24:38,459 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-01426941-39405432 passed 2025-01-09 19:24:38,614 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-09 19:24:38,614 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-01426941-39405432, IP 85.17.155.3, Port 22 2025-01-09 19:24:38,780 - DEBUG - VM ctest-TestBasicVMVNx-01426941-39405432 is ready for SSH connections 2025-01-09 19:24:38,780 - INFO - Waiting for VM ctest-TestBasicVMVNx-01426941-79772039 to be up.. 2025-01-09 19:24:38,870 - DEBUG - VM is in ACTIVE state now 2025-01-09 19:24:38,870 - INFO - VM name : ctest-TestBasicVMVNx-01426941-79772039 2025-01-09 19:24:38,950 - DEBUG - VM ctest-TestBasicVMVNx-01426941-79772039 ID is 550bf8aa-21e8-49cc-ba35-03862e54e9a9 2025-01-09 19:24:38,950 - DEBUG - VM ctest-TestBasicVMVNx-01426941-79772039 launched on Node cn-jenkins-deploy-platform-ansible-os-2592-1 2025-01-09 19:24:39,028 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/550bf8aa-21e8-49cc-ba35-03862e54e9a9 2025-01-09 19:24:39,038 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/39aef44d-1437-4a1a-b29a-a8dd00a4bebe 2025-01-09 19:24:40,281 - 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.60 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.581 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.581/2.088/3.596/1.507 ms') 2025-01-09 19:24:40,281 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-01426941-79772039 passed 2025-01-09 19:24:40,442 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-09 19:24:40,442 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-01426941-79772039, IP 85.17.155.4, Port 22 2025-01-09 19:24:40,598 - DEBUG - VM ctest-TestBasicVMVNx-01426941-79772039 is ready for SSH connections 2025-01-09 19:24:40,598 - DEBUG - FILE SIZE = 1303B 2025-01-09 19:24:40,598 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-01426941-39405432 to ctest-TestBasicVMVNx-01426941-79772039 using scp 2025-01-09 19:24:40,599 - 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.31, gateway password: c0ntrail123 2025-01-09 19:24:40,599 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-01-09 19:24:42,552 - DEBUG - 1+0 records in 1+0 records out 2025-01-09 19:24:43,338 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-09 19:24:43,655 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.31, gateway password: c0ntrail123 2025-01-09 19:24:43,656 - DEBUG - ls -l testfile 2025-01-09 19:24:45,260 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 9 12:24 testfile 2025-01-09 19:24:45,260 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-01426941-79772039 2025-01-09 19:24:45,261 - INFO - Deleting VM ctest-TestBasicVMVNx-01426941-79772039 2025-01-09 19:24:45,336 - INFO - Deleting VM ctest-TestBasicVMVNx-01426941-39405432 2025-01-09 19:24:45,406 - INFO - Deleting VN ctest-vn-97519350 2025-01-09 19:24:45,449 - DEBUG - VN 0e01f437-8227-4c7d-9955-794de7799158 still in use: Unable to complete operation on network 0e01f437-8227-4c7d-9955-794de7799158. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-89e50fef-3244-46e3-a3d0-baed0a0fe161'] 2025-01-09 19:24:45,450 - WARNING - Deleting VN ctest-vn-97519350 failed..Will retry 2025-01-09 19:24:47,590 - DEBUG - Response for deleting network () 2025-01-09 19:24:47,861 - DEBUG - No XMPP flaps were noticed during the test
2025-01-09 19:24:47,861 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-01-09 19:24:47,861 - INFO - -------------------------------------------------------------------------------- 2025-01-09 19:24:48,559 - INFO - Deleted project: ctest-TestBasicVMVNx-01426941, ID : a94c5a9e-3713-4fbf-b678-f89987aa2810