2025-03-27 16:21:38,672 - INFO - Domain Default found not creating 2025-03-27 16:21:38,833 - INFO - Project ctest-TestBasicVMVNx-16619672 not found, creating it 2025-03-27 16:21:39,334 - INFO - Created Project:ctest-TestBasicVMVNx-16619672, ID : c5757495-d6a4-4a08-a8d6-ac6258cdaa5e 2025-03-27 16:21:41,050 - INFO - ================================================================================ 2025-03-27 16:21:41,050 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-03-27 16:21:41,050 - 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-03-27 16:21:41,311 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.20.0.20': '0'}} with 2025-03-27 16:21:41,311 - INFO - Initial checks done. Running the testcase now 2025-03-27 16:21:41,311 - INFO - 2025-03-27 16:21:41,927 - DEBUG - Response for create_network : {'network': {'id': '5b4e655f-e3b4-4770-a379-a5c4e0d2ee68', 'name': 'ctest-vn-96798537', 'tenant_id': 'c5757495d6a44a08a8d6ac6258cdaa5e', 'project_id': 'c5757495d6a44a08a8d6ac6258cdaa5e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-16619672', 'ctest-vn-96798537'], 'port_security_enabled': True, 'description': ''}} 2025-03-27 16:21:42,091 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ed72f070-bf92-422d-ac8b-e449712f7e93', 'name': '', 'tenant_id': 'c5757495d6a44a08a8d6ac6258cdaa5e', 'network_id': '5b4e655f-e3b4-4770-a379-a5c4e0d2ee68', 'ip_version': 4, 'cidr': '133.237.16.128/26', 'allocation_pools': [{'start': '133.237.16.130', 'end': '133.237.16.190'}], 'gateway_ip': '133.237.16.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '133.237.16.130', 'tags': [], 'project_id': 'c5757495d6a44a08a8d6ac6258cdaa5e'}} 2025-03-27 16:21:42,110 - INFO - Created VN ctest-vn-96798537 2025-03-27 16:21:42,164 - DEBUG - VN ctest-vn-96798537 UUID is 5b4e655f-e3b4-4770-a379-a5c4e0d2ee68 2025-03-27 16:21:42,344 - DEBUG - Services list from nova: [, , ] 2025-03-27 16:21:43,479 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2977-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2977-1) 2025-03-27 16:21:44,835 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2977-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2977-1) 2025-03-27 16:21:44,835 - INFO - Waiting for VM ctest-TestBasicVMVNx-16619672-61646854 to be up.. 2025-03-27 16:21:44,933 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-27 16:21:50,031 - DEBUG - VM is in ACTIVE state now 2025-03-27 16:21:50,031 - INFO - VM name : ctest-TestBasicVMVNx-16619672-61646854 2025-03-27 16:21:50,117 - DEBUG - VM ctest-TestBasicVMVNx-16619672-61646854 ID is 4246aa44-bcdc-4fcd-9d1f-648c8af15f86 2025-03-27 16:21:50,141 - DEBUG - VM ctest-TestBasicVMVNx-16619672-61646854 launched on Node cn-jenkins-deploy-platform-ansible-os-2977-1 2025-03-27 16:21:50,242 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/4246aa44-bcdc-4fcd-9d1f-648c8af15f86 2025-03-27 16:21:50,582 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/4246aa44-bcdc-4fcd-9d1f-648c8af15f86 2025-03-27 16:21:50,619 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/96ce78f1-4de6-47c5-aca3-937a9387e59a 2025-03-27 16:21:53,899 - 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 1022ms') 2025-03-27 16:21:53,899 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-16619672-61646854 failed! 2025-03-27 16:21:53,956 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-16619672:ctest-vn-96798537 is 133.237.16.129 and allocation pool is NOT set 2025-03-27 16:21:56,017 - 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.50 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.864 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.864/2.181/3.498/1.317 ms') 2025-03-27 16:21:56,017 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-16619672-61646854 passed 2025-03-27 16:21:56,172 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 16:21:56,172 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-16619672-61646854, IP 133.237.16.131, Port 22 2025-03-27 16:21:56,342 - DEBUG - VM ctest-TestBasicVMVNx-16619672-61646854 is ready for SSH connections 2025-03-27 16:21:56,342 - INFO - Waiting for VM ctest-TestBasicVMVNx-16619672-34153107 to be up.. 2025-03-27 16:21:56,463 - DEBUG - VM is in ACTIVE state now 2025-03-27 16:21:56,464 - INFO - VM name : ctest-TestBasicVMVNx-16619672-34153107 2025-03-27 16:21:56,558 - DEBUG - VM ctest-TestBasicVMVNx-16619672-34153107 ID is e42ef98f-183f-4396-abcd-a368fec37ecd 2025-03-27 16:21:56,558 - DEBUG - VM ctest-TestBasicVMVNx-16619672-34153107 launched on Node cn-jenkins-deploy-platform-ansible-os-2977-1 2025-03-27 16:21:56,644 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/e42ef98f-183f-4396-abcd-a368fec37ecd 2025-03-27 16:21:56,655 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/827e2527-8f4f-4847-a2a4-d7718c6bdb1c 2025-03-27 16:21:57,912 - 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=5.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.501 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.501/3.136/5.771/2.635 ms') 2025-03-27 16:21:57,913 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-16619672-34153107 passed 2025-03-27 16:21:58,076 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 16:21:58,076 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-16619672-34153107, IP 133.237.16.132, Port 22 2025-03-27 16:21:58,252 - DEBUG - VM ctest-TestBasicVMVNx-16619672-34153107 is ready for SSH connections 2025-03-27 16:21:58,252 - DEBUG - FILE SIZE = 1303B 2025-03-27 16:21:58,252 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-16619672-61646854 to ctest-TestBasicVMVNx-16619672-34153107 using scp 2025-03-27 16:21:58,253 - 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.17, gateway password: c0ntrail123 2025-03-27 16:21:58,253 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-03-27 16:22:00,327 - DEBUG - 1+0 records in 1+0 records out 2025-03-27 16:22:01,034 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 16:22:01,385 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123 2025-03-27 16:22:01,386 - DEBUG - ls -l testfile 2025-03-27 16:22:03,016 - DEBUG - -rw------- 1 cirros cirros 1303 Mar 27 10:22 testfile 2025-03-27 16:22:03,016 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-16619672-34153107 2025-03-27 16:22:03,016 - INFO - Deleting VM ctest-TestBasicVMVNx-16619672-34153107 2025-03-27 16:22:03,092 - INFO - Deleting VM ctest-TestBasicVMVNx-16619672-61646854 2025-03-27 16:22:03,172 - INFO - Deleting VN ctest-vn-96798537 2025-03-27 16:22:03,217 - DEBUG - VN 5b4e655f-e3b4-4770-a379-a5c4e0d2ee68 still in use: Unable to complete operation on network 5b4e655f-e3b4-4770-a379-a5c4e0d2ee68. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-014e5a4f-b4bc-4f01-8405-a6a4b73c8e27'] 2025-03-27 16:22:03,217 - WARNING - Deleting VN ctest-vn-96798537 failed..Will retry 2025-03-27 16:22:05,358 - DEBUG - Response for deleting network () 2025-03-27 16:22:05,619 - DEBUG - No XMPP flaps were noticed during the test 2025-03-27 16:22:05,619 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2025-03-27 16:22:05,619 - INFO - -------------------------------------------------------------------------------- 2025-03-27 16:22:06,382 - INFO - Deleted project: ctest-TestBasicVMVNx-16619672, ID : c5757495-d6a4-4a08-a8d6-ac6258cdaa5e