2025-06-17 19:09:37,314 - INFO - Domain Default found not creating 2025-06-17 19:09:37,466 - INFO - Project ctest-TestBasicVMVNx-87093987 not found, creating it 2025-06-17 19:09:37,976 - INFO - Created Project:ctest-TestBasicVMVNx-87093987, ID : a280fb4e-28a9-463e-914b-663a5a3e5afc 2025-06-17 19:09:39,534 - INFO - ================================================================================ 2025-06-17 19:09:39,534 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-06-17 19:09:39,534 - 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-06-17 19:09:39,796 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.17': '0'}} with 2025-06-17 19:09:39,797 - INFO - Initial checks done. Running the testcase now 2025-06-17 19:09:39,797 - INFO - 2025-06-17 19:09:40,374 - DEBUG - Response for create_network : {'network': {'id': '1838a9bf-5dab-4bfe-bc75-cae030f2dfda', 'name': 'ctest-vn-46657353', 'tenant_id': 'a280fb4e28a9463e914b663a5a3e5afc', 'project_id': 'a280fb4e28a9463e914b663a5a3e5afc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-87093987', 'ctest-vn-46657353'], 'port_security_enabled': True, 'description': ''}} 2025-06-17 19:09:40,606 - DEBUG - Response for create_subnet : {'subnet': {'id': '18b0ee4f-85ad-4530-bdb4-e3e39f4059e8', 'name': '', 'tenant_id': 'a280fb4e28a9463e914b663a5a3e5afc', 'network_id': '1838a9bf-5dab-4bfe-bc75-cae030f2dfda', 'ip_version': 4, 'cidr': '181.44.23.0/26', 'allocation_pools': [{'start': '181.44.23.2', 'end': '181.44.23.62'}], 'gateway_ip': '181.44.23.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '181.44.23.2', 'tags': [], 'project_id': 'a280fb4e28a9463e914b663a5a3e5afc'}} 2025-06-17 19:09:40,625 - INFO - Created VN ctest-vn-46657353 2025-06-17 19:09:40,681 - DEBUG - VN ctest-vn-46657353 UUID is 1838a9bf-5dab-4bfe-bc75-cae030f2dfda 2025-06-17 19:09:40,888 - DEBUG - Services list from nova: [, , ] 2025-06-17 19:09:41,983 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3464-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3464-1) 2025-06-17 19:09:43,216 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3464-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3464-1) 2025-06-17 19:09:43,216 - INFO - Waiting for VM ctest-TestBasicVMVNx-87093987-45860762 to be up.. 2025-06-17 19:09:43,309 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-17 19:09:48,404 - DEBUG - VM is in ACTIVE state now 2025-06-17 19:09:48,404 - INFO - VM name : ctest-TestBasicVMVNx-87093987-45860762 2025-06-17 19:09:48,497 - DEBUG - VM ctest-TestBasicVMVNx-87093987-45860762 ID is addaf098-12b1-45db-8a54-5ee921524d72 2025-06-17 19:09:48,523 - DEBUG - VM ctest-TestBasicVMVNx-87093987-45860762 launched on Node cn-jenkins-deploy-platform-ansible-os-3464-1 2025-06-17 19:09:48,621 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/addaf098-12b1-45db-8a54-5ee921524d72 2025-06-17 19:09:48,941 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/addaf098-12b1-45db-8a54-5ee921524d72 2025-06-17 19:09:48,974 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/e78de6bf-83c3-42a1-80cd-ba3272b8493b 2025-06-17 19:09:52,226 - 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 1010ms') 2025-06-17 19:09:52,226 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-87093987-45860762 failed! 2025-06-17 19:09:52,285 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-87093987:ctest-vn-46657353 is 181.44.23.1 and allocation pool is NOT set 2025-06-17 19:09:54,347 - 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.95 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.02 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.023/2.984/4.945/1.961 ms') 2025-06-17 19:09:54,348 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-87093987-45860762 passed 2025-06-17 19:09:54,505 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-17 19:09:54,505 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-87093987-45860762, IP 181.44.23.3, Port 22 2025-06-17 19:09:54,660 - DEBUG - VM ctest-TestBasicVMVNx-87093987-45860762 is ready for SSH connections 2025-06-17 19:09:54,660 - INFO - Waiting for VM ctest-TestBasicVMVNx-87093987-96266482 to be up.. 2025-06-17 19:09:54,743 - DEBUG - VM is in ACTIVE state now 2025-06-17 19:09:54,744 - INFO - VM name : ctest-TestBasicVMVNx-87093987-96266482 2025-06-17 19:09:54,831 - DEBUG - VM ctest-TestBasicVMVNx-87093987-96266482 ID is 974b53a1-1a61-4d68-a35b-6b8be3e399b8 2025-06-17 19:09:54,831 - DEBUG - VM ctest-TestBasicVMVNx-87093987-96266482 launched on Node cn-jenkins-deploy-platform-ansible-os-3464-1 2025-06-17 19:09:54,914 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/974b53a1-1a61-4d68-a35b-6b8be3e399b8 2025-06-17 19:09:54,925 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/221930cf-fd48-458d-a1bb-fb4c0ff6c730 2025-06-17 19:09:56,173 - 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.62 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.869 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.869/2.746/4.623/1.877 ms') 2025-06-17 19:09:56,173 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-87093987-96266482 passed 2025-06-17 19:09:56,329 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-17 19:09:56,329 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-87093987-96266482, IP 181.44.23.4, Port 22 2025-06-17 19:09:56,484 - DEBUG - VM ctest-TestBasicVMVNx-87093987-96266482 is ready for SSH connections 2025-06-17 19:09:56,484 - DEBUG - FILE SIZE = 1303B 2025-06-17 19:09:56,484 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-87093987-45860762 to ctest-TestBasicVMVNx-87093987-96266482 using scp 2025-06-17 19:09:56,485 - 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.57, gateway password: c0ntrail123 2025-06-17 19:09:56,485 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-06-17 19:09:58,423 - DEBUG - 1+0 records in 1+0 records out 2025-06-17 19:09:59,235 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-17 19:09:59,566 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-06-17 19:09:59,567 - DEBUG - ls -l testfile 2025-06-17 19:10:01,173 - DEBUG - -rw------- 1 cirros cirros 1303 Jun 17 13:09 testfile 2025-06-17 19:10:01,173 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-87093987-96266482 2025-06-17 19:10:01,173 - INFO - Deleting VM ctest-TestBasicVMVNx-87093987-96266482 2025-06-17 19:10:01,280 - INFO - Deleting VM ctest-TestBasicVMVNx-87093987-45860762 2025-06-17 19:10:01,364 - INFO - Deleting VN ctest-vn-46657353 2025-06-17 19:10:01,408 - DEBUG - VN 1838a9bf-5dab-4bfe-bc75-cae030f2dfda still in use: Unable to complete operation on network 1838a9bf-5dab-4bfe-bc75-cae030f2dfda. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-dc2e6bc8-2316-446d-a8c8-323b1d2d4897'] 2025-06-17 19:10:01,408 - WARNING - Deleting VN ctest-vn-46657353 failed..Will retry 2025-06-17 19:10:03,547 - DEBUG - Response for deleting network () 2025-06-17 19:10:03,813 - DEBUG - No XMPP flaps were noticed during the test
2025-06-17 19:10:03,813 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-06-17 19:10:03,813 - INFO - -------------------------------------------------------------------------------- 2025-06-17 19:10:04,591 - INFO - Deleted project: ctest-TestBasicVMVNx-87093987, ID : a280fb4e-28a9-463e-914b-663a5a3e5afc