2025-03-30 13:08:42,797 - INFO - Reading existing Domain with UUID f4a21949-0bc4-43c9-bfc5-978f0e37ae13 2025-03-30 13:08:42,811 - INFO - Using existing domain ['admin_domain'](f4a21949-0bc4-43c9-bfc5-978f0e37ae13) 2025-03-30 13:08:43,058 - INFO - Project ctest-TestBasicVMVNx-55609762 not found, creating it 2025-03-30 13:08:43,641 - INFO - Created Project:ctest-TestBasicVMVNx-55609762, ID : b194a4ef-f4cd-4c2f-b021-6b099cd9422a 2025-03-30 13:08:45,469 - INFO - ================================================================================ 2025-03-30 13:08:45,469 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-03-30 13:08:45,469 - 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-30 13:08:45,859 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.0.0.17': '0'}} with 2025-03-30 13:08:45,859 - INFO - Initial checks done. Running the testcase now 2025-03-30 13:08:45,859 - INFO - 2025-03-30 13:08:46,678 - DEBUG - Response for create_network : {'network': {'id': '40fb4b15-c38c-4750-9fd3-a2cef4741acc', 'name': 'ctest-vn-33555651', 'tenant_id': 'b194a4eff4cd4c2fb0216b099cd9422a', 'project_id': 'b194a4eff4cd4c2fb0216b099cd9422a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicVMVNx-55609762', 'ctest-vn-33555651'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-03-30 13:08:46,942 - DEBUG - Response for create_subnet : {'subnet': {'id': '4cf19810-045d-4172-9d9f-1f90d371c500', 'name': '', 'tenant_id': 'b194a4eff4cd4c2fb0216b099cd9422a', 'network_id': '40fb4b15-c38c-4750-9fd3-a2cef4741acc', 'ip_version': 4, 'cidr': '8.93.190.64/26', 'allocation_pools': [{'start': '8.93.190.66', 'end': '8.93.190.126'}], 'gateway_ip': '8.93.190.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-03-30T13:08:46.837158', 'updated_at': '2025-03-30T13:08:46.837158', 'dns_server_address': '8.93.190.66', 'tags': [], 'project_id': 'b194a4eff4cd4c2fb0216b099cd9422a'}} 2025-03-30 13:08:47,008 - INFO - Created VN ctest-vn-33555651 2025-03-30 13:08:47,065 - DEBUG - VN ctest-vn-33555651 UUID is 40fb4b15-c38c-4750-9fd3-a2cef4741acc 2025-03-30 13:08:47,353 - DEBUG - Services list from nova: [, , ] 2025-03-30 13:08:48,703 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-493-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-493-1) 2025-03-30 13:08:50,157 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-493-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-493-1) 2025-03-30 13:08:50,157 - INFO - Waiting for VM ctest-TestBasicVMVNx-55609762-26416477 to be up.. 2025-03-30 13:08:50,313 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-30 13:08:55,461 - DEBUG - VM is in ACTIVE state now 2025-03-30 13:08:55,461 - INFO - VM name : ctest-TestBasicVMVNx-55609762-26416477 2025-03-30 13:08:55,622 - DEBUG - VM ctest-TestBasicVMVNx-55609762-26416477 ID is b1205c0d-96e2-441e-92b1-ffc68acdd606 2025-03-30 13:08:55,646 - DEBUG - VM ctest-TestBasicVMVNx-55609762-26416477 launched on Node cn-jenkins-deploy-platform-juju-os-493-1 2025-03-30 13:08:55,958 - DEBUG - Requesting: https://10.0.0.17:8082/virtual-machine/b1205c0d-96e2-441e-92b1-ffc68acdd606 2025-03-30 13:08:56,340 - DEBUG - Requesting: https://10.0.0.17:8082/virtual-machine/b1205c0d-96e2-441e-92b1-ffc68acdd606 2025-03-30 13:08:56,442 - DEBUG - Requesting: https://10.0.0.17:8082/virtual-machine-interface/49971076-1d0e-4ad3-8620-ef3c0e6f595b 2025-03-30 13:08:59,936 - 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 1013ms') 2025-03-30 13:08:59,936 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-55609762-26416477 failed! 2025-03-30 13:09:00,002 - DEBUG - Gateway for vn admin_domain:ctest-TestBasicVMVNx-55609762:ctest-vn-33555651 is 8.93.190.65 and allocation pool is NOT set 2025-03-30 13:09:02,097 - 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=7.95 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.469 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 = 0.469/4.209/7.949/3.740 ms') 2025-03-30 13:09:02,097 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-55609762-26416477 passed 2025-03-30 13:09:02,261 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-30 13:09:02,261 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-55609762-26416477, IP 8.93.190.67, Port 22 2025-03-30 13:09:02,480 - DEBUG - VM ctest-TestBasicVMVNx-55609762-26416477 is ready for SSH connections 2025-03-30 13:09:02,480 - INFO - Waiting for VM ctest-TestBasicVMVNx-55609762-89966993 to be up.. 2025-03-30 13:09:02,636 - DEBUG - VM is in ACTIVE state now 2025-03-30 13:09:02,636 - INFO - VM name : ctest-TestBasicVMVNx-55609762-89966993 2025-03-30 13:09:02,784 - DEBUG - VM ctest-TestBasicVMVNx-55609762-89966993 ID is aa546c2d-a61d-42a1-8307-6477e4c550e8 2025-03-30 13:09:02,784 - DEBUG - VM ctest-TestBasicVMVNx-55609762-89966993 launched on Node cn-jenkins-deploy-platform-juju-os-493-1 2025-03-30 13:09:02,931 - DEBUG - Requesting: https://10.0.0.17:8082/virtual-machine/aa546c2d-a61d-42a1-8307-6477e4c550e8 2025-03-30 13:09:02,990 - DEBUG - Requesting: https://10.0.0.17:8082/virtual-machine-interface/a2c0208c-daeb-48a2-b20e-5501ad1d8c68 2025-03-30 13:09:04,482 - 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.21 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.818 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.818/2.515/4.212/1.697 ms') 2025-03-30 13:09:04,482 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-55609762-89966993 passed 2025-03-30 13:09:04,645 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-30 13:09:04,646 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-55609762-89966993, IP 8.93.190.68, Port 22 2025-03-30 13:09:04,864 - DEBUG - VM ctest-TestBasicVMVNx-55609762-89966993 is ready for SSH connections 2025-03-30 13:09:04,864 - DEBUG - FILE SIZE = 1303B 2025-03-30 13:09:04,864 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-55609762-26416477 to ctest-TestBasicVMVNx-55609762-89966993 using scp 2025-03-30 13:09:04,872 - 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-30 13:09:04,873 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-03-30 13:09:06,504 - DEBUG - 1+0 records in 1+0 records out 2025-03-30 13:09:07,287 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-30 13:09:07,636 - 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-30 13:09:07,636 - DEBUG - ls -l testfile 2025-03-30 13:09:09,263 - DEBUG - -rw------- 1 cirros cirros 1303 Mar 30 07:09 testfile 2025-03-30 13:09:09,263 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-55609762-89966993 2025-03-30 13:09:09,263 - INFO - Deleting VM ctest-TestBasicVMVNx-55609762-89966993 2025-03-30 13:09:09,379 - INFO - Deleting VM ctest-TestBasicVMVNx-55609762-26416477 2025-03-30 13:09:09,490 - INFO - Deleting VN ctest-vn-33555651 2025-03-30 13:09:09,624 - DEBUG - VN 40fb4b15-c38c-4750-9fd3-a2cef4741acc still in use: Unable to complete operation on network 40fb4b15-c38c-4750-9fd3-a2cef4741acc. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-45b22bbc-57aa-4624-9449-e68287f42c12'] 2025-03-30 13:09:09,625 - WARNING - Deleting VN ctest-vn-33555651 failed..Will retry 2025-03-30 13:09:11,808 - DEBUG - Response for deleting network () 2025-03-30 13:09:12,203 - DEBUG - No XMPP flaps were noticed during the test 2025-03-30 13:09:12,203 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:27] 2025-03-30 13:09:12,203 - INFO - -------------------------------------------------------------------------------- 2025-03-30 13:09:12,979 - INFO - Deleted project: ctest-TestBasicVMVNx-55609762, ID : b194a4ef-f4cd-4c2f-b021-6b099cd9422a