2025-01-05 13:32:42,482 - INFO - Domain Default found not creating 2025-01-05 13:32:42,638 - INFO - Project ctest-TestBasicVMVNx-42270771 not found, creating it 2025-01-05 13:32:43,128 - INFO - Created Project:ctest-TestBasicVMVNx-42270771, ID : 7a539714-af58-46c9-a31d-f0cacb4cfb32 2025-01-05 13:32:44,660 - INFO - ================================================================================ 2025-01-05 13:32:44,660 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-01-05 13:32:44,660 - 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-05 13:32:44,930 - DEBUG - Nothing to compare xmpp stats {'10.0.0.35': {'10.20.0.7': '0'}} with 2025-01-05 13:32:44,930 - INFO - Initial checks done. Running the testcase now 2025-01-05 13:32:44,930 - INFO - 2025-01-05 13:32:45,522 - DEBUG - Response for create_network : {'network': {'id': '91ea7ad3-366f-4291-8994-dda3137f40ff', 'name': 'ctest-vn-05486113', 'tenant_id': '7a539714af5846c9a31df0cacb4cfb32', 'project_id': '7a539714af5846c9a31df0cacb4cfb32', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-42270771', 'ctest-vn-05486113'], 'port_security_enabled': True, 'description': ''}} 2025-01-05 13:32:45,741 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dafd3cef-2c67-4ce0-bd21-433b791198b5', 'name': '', 'tenant_id': '7a539714af5846c9a31df0cacb4cfb32', 'network_id': '91ea7ad3-366f-4291-8994-dda3137f40ff', 'ip_version': 4, 'cidr': '22.58.193.64/26', 'allocation_pools': [{'start': '22.58.193.66', 'end': '22.58.193.126'}], 'gateway_ip': '22.58.193.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '22.58.193.66', 'tags': [], 'project_id': '7a539714af5846c9a31df0cacb4cfb32'}} 2025-01-05 13:32:45,761 - INFO - Created VN ctest-vn-05486113 2025-01-05 13:32:45,813 - DEBUG - VN ctest-vn-05486113 UUID is 91ea7ad3-366f-4291-8994-dda3137f40ff 2025-01-05 13:32:45,978 - DEBUG - Services list from nova: [, , ] 2025-01-05 13:32:47,048 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2534-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2534-1) 2025-01-05 13:32:48,256 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2534-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2534-1) 2025-01-05 13:32:48,256 - INFO - Waiting for VM ctest-TestBasicVMVNx-42270771-87185564 to be up.. 2025-01-05 13:32:48,339 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-05 13:32:53,450 - DEBUG - VM is in ACTIVE state now 2025-01-05 13:32:53,450 - INFO - VM name : ctest-TestBasicVMVNx-42270771-87185564 2025-01-05 13:32:53,550 - DEBUG - VM ctest-TestBasicVMVNx-42270771-87185564 ID is d1b2ebec-6f79-44d9-a743-aefd5dc62395 2025-01-05 13:32:53,577 - DEBUG - VM ctest-TestBasicVMVNx-42270771-87185564 launched on Node cn-jenkins-deploy-platform-ansible-os-2534-1 2025-01-05 13:32:53,671 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/d1b2ebec-6f79-44d9-a743-aefd5dc62395 2025-01-05 13:32:53,972 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/d1b2ebec-6f79-44d9-a743-aefd5dc62395 2025-01-05 13:32:54,016 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/4bae3ba7-a836-4fe5-bb29-725de1afbbe8 2025-01-05 13:32:57,295 - 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 1011ms') 2025-01-05 13:32:57,295 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-42270771-87185564 failed! 2025-01-05 13:32:57,361 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-42270771:ctest-vn-05486113 is 22.58.193.65 and allocation pool is NOT set 2025-01-05 13:32:59,427 - 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.34 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.30 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.304/3.822/6.341/2.518 ms') 2025-01-05 13:32:59,427 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-42270771-87185564 passed 2025-01-05 13:32:59,581 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-05 13:32:59,581 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-42270771-87185564, IP 22.58.193.67, Port 22 2025-01-05 13:32:59,748 - DEBUG - VM ctest-TestBasicVMVNx-42270771-87185564 is ready for SSH connections 2025-01-05 13:32:59,748 - INFO - Waiting for VM ctest-TestBasicVMVNx-42270771-57311753 to be up.. 2025-01-05 13:32:59,835 - DEBUG - VM is in ACTIVE state now 2025-01-05 13:32:59,835 - INFO - VM name : ctest-TestBasicVMVNx-42270771-57311753 2025-01-05 13:32:59,917 - DEBUG - VM ctest-TestBasicVMVNx-42270771-57311753 ID is 74fe58b0-8329-4415-be7d-577c48c57790 2025-01-05 13:32:59,917 - DEBUG - VM ctest-TestBasicVMVNx-42270771-57311753 launched on Node cn-jenkins-deploy-platform-ansible-os-2534-1 2025-01-05 13:32:59,994 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/74fe58b0-8329-4415-be7d-577c48c57790 2025-01-05 13:33:00,003 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/6479a82e-3c04-499d-aacb-d24056688877 2025-01-05 13:33:01,251 - 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.89 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.397 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.397/1.641/2.885/1.244 ms') 2025-01-05 13:33:01,251 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-42270771-57311753 passed 2025-01-05 13:33:01,401 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-05 13:33:01,401 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-42270771-57311753, IP 22.58.193.68, Port 22 2025-01-05 13:33:01,557 - DEBUG - VM ctest-TestBasicVMVNx-42270771-57311753 is ready for SSH connections 2025-01-05 13:33:01,557 - DEBUG - FILE SIZE = 1303B 2025-01-05 13:33:01,557 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-42270771-87185564 to ctest-TestBasicVMVNx-42270771-57311753 using scp 2025-01-05 13:33:01,558 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-05 13:33:01,564 - 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.35, gateway password: c0ntrail123 2025-01-05 13:33:01,565 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-01-05 13:33:03,523 - DEBUG - 1+0 records in 1+0 records out 2025-01-05 13:33:04,316 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-05 13:33:04,663 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.35, gateway password: c0ntrail123 2025-01-05 13:33:04,663 - DEBUG - ls -l testfile 2025-01-05 13:33:06,252 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 5 06:33 testfile 2025-01-05 13:33:06,252 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-42270771-57311753 2025-01-05 13:33:06,253 - INFO - Deleting VM ctest-TestBasicVMVNx-42270771-57311753 2025-01-05 13:33:06,330 - INFO - Deleting VM ctest-TestBasicVMVNx-42270771-87185564 2025-01-05 13:33:06,417 - INFO - Deleting VN ctest-vn-05486113 2025-01-05 13:33:06,459 - DEBUG - VN 91ea7ad3-366f-4291-8994-dda3137f40ff still in use: Unable to complete operation on network 91ea7ad3-366f-4291-8994-dda3137f40ff. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-28131a92-ee39-474a-a4db-6daf1a36b5da'] 2025-01-05 13:33:06,459 - WARNING - Deleting VN ctest-vn-05486113 failed..Will retry 2025-01-05 13:33:08,665 - DEBUG - Response for deleting network () 2025-01-05 13:33:08,928 - DEBUG - No XMPP flaps were noticed during the test 2025-01-05 13:33:08,928 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2025-01-05 13:33:08,929 - INFO - -------------------------------------------------------------------------------- 2025-01-05 13:33:09,680 - INFO - Deleted project: ctest-TestBasicVMVNx-42270771, ID : 7a539714-af58-46c9-a31d-f0cacb4cfb32