2024-09-12 02:30:12,200 - INFO - Domain Default found not creating 2024-09-12 02:30:12,386 - INFO - Project ctest-TestBasicVMVNx-07477448 not found, creating it 2024-09-12 02:30:12,910 - INFO - Created Project:ctest-TestBasicVMVNx-07477448, ID : 28ae1f14-e342-4ce4-9609-682d5590aea2 2024-09-12 02:30:14,624 - INFO - ================================================================================ 2024-09-12 02:30:14,624 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-12 02:30:14,624 - 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-09-12 02:30:14,884 - DEBUG - Nothing to compare xmpp stats {'10.0.0.30': {'10.20.0.13': '0'}} with 2024-09-12 02:30:14,884 - INFO - Initial checks done. Running the testcase now 2024-09-12 02:30:14,884 - INFO - 2024-09-12 02:30:15,560 - DEBUG - Response for create_network : {'network': {'id': '5de056a9-05d1-4804-8790-23e239c7adfc', 'name': 'ctest-vn-21717711', 'tenant_id': '28ae1f14e3424ce49609682d5590aea2', 'project_id': '28ae1f14e3424ce49609682d5590aea2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-07477448', 'ctest-vn-21717711'], 'port_security_enabled': True, 'description': ''}} 2024-09-12 02:30:15,775 - DEBUG - Response for create_subnet : {'subnet': {'id': '8f199d32-2442-46b6-a44e-3d339149ceab', 'name': '', 'tenant_id': '28ae1f14e3424ce49609682d5590aea2', 'network_id': '5de056a9-05d1-4804-8790-23e239c7adfc', 'ip_version': 4, 'cidr': '13.141.245.0/26', 'allocation_pools': [{'start': '13.141.245.2', 'end': '13.141.245.62'}], 'gateway_ip': '13.141.245.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.141.245.2', 'tags': [], 'project_id': '28ae1f14e3424ce49609682d5590aea2'}} 2024-09-12 02:30:15,798 - INFO - Created VN ctest-vn-21717711 2024-09-12 02:30:15,857 - DEBUG - VN ctest-vn-21717711 UUID is 5de056a9-05d1-4804-8790-23e239c7adfc 2024-09-12 02:30:16,046 - DEBUG - Services list from nova: [, , ] 2024-09-12 02:30:17,237 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1903-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1903-1) 2024-09-12 02:30:18,608 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1903-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1903-1) 2024-09-12 02:30:18,608 - INFO - Waiting for VM ctest-TestBasicVMVNx-07477448-22332591 to be up.. 2024-09-12 02:30:18,726 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-12 02:30:23,829 - DEBUG - VM is in ACTIVE state now 2024-09-12 02:30:23,829 - INFO - VM name : ctest-TestBasicVMVNx-07477448-22332591 2024-09-12 02:30:23,938 - DEBUG - VM ctest-TestBasicVMVNx-07477448-22332591 ID is 082402b8-9367-448f-b00a-513bb34cf78a 2024-09-12 02:30:23,962 - DEBUG - VM ctest-TestBasicVMVNx-07477448-22332591 launched on Node cn-jenkins-deploy-platform-ansible-os-1903-1 2024-09-12 02:30:24,069 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/082402b8-9367-448f-b00a-513bb34cf78a 2024-09-12 02:30:24,421 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/082402b8-9367-448f-b00a-513bb34cf78a 2024-09-12 02:30:24,491 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/c800c3f4-569a-4195-8a39-375a0a61b528 2024-09-12 02:30:27,779 - 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 1014ms') 2024-09-12 02:30:27,779 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-07477448-22332591 failed! 2024-09-12 02:30:27,865 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-07477448:ctest-vn-21717711 is 13.141.245.1 and allocation pool is NOT set 2024-09-12 02:30:29,931 - 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=6.31 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.01 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.008/3.660/6.312/2.652 ms') 2024-09-12 02:30:29,932 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-07477448-22332591 passed 2024-09-12 02:30:30,097 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 02:30:30,097 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-07477448-22332591, IP 13.141.245.3, Port 22 2024-09-12 02:30:30,253 - DEBUG - VM ctest-TestBasicVMVNx-07477448-22332591 is ready for SSH connections 2024-09-12 02:30:30,253 - INFO - Waiting for VM ctest-TestBasicVMVNx-07477448-39587228 to be up.. 2024-09-12 02:30:30,351 - DEBUG - VM is in ACTIVE state now 2024-09-12 02:30:30,352 - INFO - VM name : ctest-TestBasicVMVNx-07477448-39587228 2024-09-12 02:30:30,456 - DEBUG - VM ctest-TestBasicVMVNx-07477448-39587228 ID is 0435f9b2-f70b-468d-a132-5fed351f17b5 2024-09-12 02:30:30,457 - DEBUG - VM ctest-TestBasicVMVNx-07477448-39587228 launched on Node cn-jenkins-deploy-platform-ansible-os-1903-1 2024-09-12 02:30:30,558 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/0435f9b2-f70b-468d-a132-5fed351f17b5 2024-09-12 02:30:30,571 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/32931550-a6e5-4ed8-a11c-c0e789ce2778 2024-09-12 02:30:31,968 - 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.52 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.916 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 = 0.916/2.217/3.519/1.301 ms') 2024-09-12 02:30:31,968 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-07477448-39587228 passed 2024-09-12 02:30:32,133 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 02:30:32,133 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-07477448-39587228, IP 13.141.245.4, Port 22 2024-09-12 02:30:32,293 - DEBUG - VM ctest-TestBasicVMVNx-07477448-39587228 is ready for SSH connections 2024-09-12 02:30:32,293 - DEBUG - FILE SIZE = 1303B 2024-09-12 02:30:32,293 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-07477448-22332591 to ctest-TestBasicVMVNx-07477448-39587228 using scp 2024-09-12 02:30:32,294 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 02:30:32,299 - 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.30, gateway password: c0ntrail123 2024-09-12 02:30:32,299 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-12 02:30:34,302 - DEBUG - 1+0 records in 1+0 records out 2024-09-12 02:30:34,991 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 02:30:35,345 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.30, gateway password: c0ntrail123 2024-09-12 02:30:35,345 - DEBUG - ls -l testfile 2024-09-12 02:30:36,989 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 11 20:30 testfile 2024-09-12 02:30:36,989 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-07477448-39587228 2024-09-12 02:30:36,989 - INFO - Deleting VM ctest-TestBasicVMVNx-07477448-39587228 2024-09-12 02:30:37,069 - INFO - Deleting VM ctest-TestBasicVMVNx-07477448-22332591 2024-09-12 02:30:37,150 - INFO - Deleting VN ctest-vn-21717711 2024-09-12 02:30:37,192 - DEBUG - VN 5de056a9-05d1-4804-8790-23e239c7adfc still in use: Unable to complete operation on network 5de056a9-05d1-4804-8790-23e239c7adfc. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-94839efd-4ffa-4eac-969b-6d8631ed3d44'] 2024-09-12 02:30:37,193 - WARNING - Deleting VN ctest-vn-21717711 failed..Will retry 2024-09-12 02:30:39,412 - DEBUG - Response for deleting network () 2024-09-12 02:30:39,672 - DEBUG - No XMPP flaps were noticed during the test
2024-09-12 02:30:39,672 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25]
2024-09-12 02:30:39,673 - INFO - -------------------------------------------------------------------------------- 2024-09-12 02:30:40,870 - INFO - Deleted project: ctest-TestBasicVMVNx-07477448, ID : 28ae1f14-e342-4ce4-9609-682d5590aea2