2024-11-03 20:16:32,823 - INFO - Domain Default found not creating 2024-11-03 20:16:33,015 - INFO - Project ctest-TestBasicVMVNx-28599225 not found, creating it 2024-11-03 20:16:33,606 - INFO - Created Project:ctest-TestBasicVMVNx-28599225, ID : 8d0d557d-f2e7-4c68-b6b4-4fb7096d3a46 2024-11-03 20:16:35,412 - INFO - ================================================================================ 2024-11-03 20:16:35,412 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-11-03 20:16:35,412 - 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 2024-11-03 20:16:35,674 - DEBUG - Nothing to compare xmpp stats {'10.0.0.34': {'10.20.0.5': '0'}} with 2024-11-03 20:16:35,674 - INFO - Initial checks done. Running the testcase now 2024-11-03 20:16:35,674 - INFO - 2024-11-03 20:16:36,331 - DEBUG - Response for create_network : {'network': {'id': 'f7c2d956-3a45-4f42-9712-dee596d8fb5f', 'name': 'ctest-vn-93736463', 'tenant_id': '8d0d557df2e74c68b6b44fb7096d3a46', 'project_id': '8d0d557df2e74c68b6b44fb7096d3a46', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-28599225', 'ctest-vn-93736463'], 'port_security_enabled': True, 'description': ''}} 2024-11-03 20:16:36,549 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ada9004e-b744-49c4-8b1e-2584e94866bc', 'name': '', 'tenant_id': '8d0d557df2e74c68b6b44fb7096d3a46', 'network_id': 'f7c2d956-3a45-4f42-9712-dee596d8fb5f', 'ip_version': 4, 'cidr': '203.244.192.128/26', 'allocation_pools': [{'start': '203.244.192.130', 'end': '203.244.192.190'}], 'gateway_ip': '203.244.192.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.244.192.130', 'tags': [], 'project_id': '8d0d557df2e74c68b6b44fb7096d3a46'}} 2024-11-03 20:16:36,574 - INFO - Created VN ctest-vn-93736463 2024-11-03 20:16:36,634 - DEBUG - VN ctest-vn-93736463 UUID is f7c2d956-3a45-4f42-9712-dee596d8fb5f 2024-11-03 20:16:36,826 - DEBUG - Services list from nova: [, , ] 2024-11-03 20:16:38,007 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2189-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2189-1) 2024-11-03 20:16:39,311 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2189-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2189-1) 2024-11-03 20:16:39,312 - INFO - Waiting for VM ctest-TestBasicVMVNx-28599225-95524374 to be up.. 2024-11-03 20:16:39,412 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-03 20:16:44,507 - DEBUG - VM is in ACTIVE state now 2024-11-03 20:16:44,507 - INFO - VM name : ctest-TestBasicVMVNx-28599225-95524374 2024-11-03 20:16:44,603 - DEBUG - VM ctest-TestBasicVMVNx-28599225-95524374 ID is 49c66110-b971-495a-97bd-d32755d2b509 2024-11-03 20:16:44,623 - DEBUG - VM ctest-TestBasicVMVNx-28599225-95524374 launched on Node cn-jenkins-deploy-platform-ansible-os-2189-1 2024-11-03 20:16:44,710 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/49c66110-b971-495a-97bd-d32755d2b509 2024-11-03 20:16:45,057 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/49c66110-b971-495a-97bd-d32755d2b509 2024-11-03 20:16:45,104 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine-interface/e2e8b285-c040-4ed9-afce-fe444ba7baff 2024-11-03 20:16:48,398 - 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 1002ms') 2024-11-03 20:16:48,398 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-28599225-95524374 failed! 2024-11-03 20:16:48,486 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-28599225:ctest-vn-93736463 is 203.244.192.129 and allocation pool is NOT set 2024-11-03 20:16:50,552 - 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.48 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.93 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.925/3.203/4.481/1.278 ms') 2024-11-03 20:16:50,552 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-28599225-95524374 passed 2024-11-03 20:16:50,738 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-03 20:16:50,738 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-28599225-95524374, IP 203.244.192.131, Port 22 2024-11-03 20:16:50,894 - DEBUG - VM ctest-TestBasicVMVNx-28599225-95524374 is ready for SSH connections 2024-11-03 20:16:50,894 - INFO - Waiting for VM ctest-TestBasicVMVNx-28599225-30484259 to be up.. 2024-11-03 20:16:51,004 - DEBUG - VM is in ACTIVE state now 2024-11-03 20:16:51,004 - INFO - VM name : ctest-TestBasicVMVNx-28599225-30484259 2024-11-03 20:16:51,106 - DEBUG - VM ctest-TestBasicVMVNx-28599225-30484259 ID is aaf1b2ea-b54f-4af7-aadb-ab8107611a3d 2024-11-03 20:16:51,106 - DEBUG - VM ctest-TestBasicVMVNx-28599225-30484259 launched on Node cn-jenkins-deploy-platform-ansible-os-2189-1 2024-11-03 20:16:51,204 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/aaf1b2ea-b54f-4af7-aadb-ab8107611a3d 2024-11-03 20:16:51,215 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine-interface/7b713c17-2efa-4ad7-8c3e-ea7713e1b00b 2024-11-03 20:16:52,493 - 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=4.46 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.30 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.296/3.378/4.460/1.082 ms') 2024-11-03 20:16:52,493 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-28599225-30484259 passed 2024-11-03 20:16:52,670 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-03 20:16:52,670 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-28599225-30484259, IP 203.244.192.132, Port 22 2024-11-03 20:16:52,825 - DEBUG - VM ctest-TestBasicVMVNx-28599225-30484259 is ready for SSH connections 2024-11-03 20:16:52,826 - DEBUG - FILE SIZE = 1303B 2024-11-03 20:16:52,826 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-28599225-95524374 to ctest-TestBasicVMVNx-28599225-30484259 using scp 2024-11-03 20:16:52,826 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-03 20:16:52,833 - 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.34, gateway password: c0ntrail123 2024-11-03 20:16:52,833 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-11-03 20:16:54,895 - DEBUG - 1+0 records in 1+0 records out 2024-11-03 20:16:55,594 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-03 20:16:55,943 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.34, gateway password: c0ntrail123 2024-11-03 20:16:55,943 - DEBUG - ls -l testfile 2024-11-03 20:16:57,598 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 3 13:16 testfile 2024-11-03 20:16:57,598 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-28599225-30484259 2024-11-03 20:16:57,599 - INFO - Deleting VM ctest-TestBasicVMVNx-28599225-30484259 2024-11-03 20:16:57,684 - INFO - Deleting VM ctest-TestBasicVMVNx-28599225-95524374 2024-11-03 20:16:57,755 - INFO - Deleting VN ctest-vn-93736463 2024-11-03 20:16:57,813 - DEBUG - VN f7c2d956-3a45-4f42-9712-dee596d8fb5f still in use: Unable to complete operation on network f7c2d956-3a45-4f42-9712-dee596d8fb5f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9ef1de65-c204-4008-a49e-5b5b4a999664'] 2024-11-03 20:16:57,813 - WARNING - Deleting VN ctest-vn-93736463 failed..Will retry 2024-11-03 20:16:59,971 - DEBUG - Response for deleting network () 2024-11-03 20:17:00,239 - DEBUG - No XMPP flaps were noticed during the test
2024-11-03 20:17:00,239 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25]
2024-11-03 20:17:00,239 - INFO - -------------------------------------------------------------------------------- 2024-11-03 20:17:01,087 - INFO - Deleted project: ctest-TestBasicVMVNx-28599225, ID : 8d0d557d-f2e7-4c68-b6b4-4fb7096d3a46