2025-02-13 16:59:04,765 - INFO - Domain Default found not creating 2025-02-13 16:59:04,949 - INFO - Project ctest-TestBasicVMVNx-63540371 not found, creating it 2025-02-13 16:59:05,451 - INFO - Created Project:ctest-TestBasicVMVNx-63540371, ID : 3eda5c84-69cb-4e94-a760-48bc139ee76c 2025-02-13 16:59:06,993 - INFO - ================================================================================ 2025-02-13 16:59:06,993 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-02-13 16:59:06,993 - 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-02-13 16:59:07,263 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.7': '0'}} with 2025-02-13 16:59:07,263 - INFO - Initial checks done. Running the testcase now 2025-02-13 16:59:07,263 - INFO - 2025-02-13 16:59:07,878 - DEBUG - Response for create_network : {'network': {'id': 'cbe51bf5-9471-4bfd-a150-124592f7166f', 'name': 'ctest-vn-37119094', 'tenant_id': '3eda5c8469cb4e94a76048bc139ee76c', 'project_id': '3eda5c8469cb4e94a76048bc139ee76c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-63540371', 'ctest-vn-37119094'], 'port_security_enabled': True, 'description': ''}} 2025-02-13 16:59:08,113 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f6fa1544-2b98-4037-bd2f-eac892da0a44', 'name': '', 'tenant_id': '3eda5c8469cb4e94a76048bc139ee76c', 'network_id': 'cbe51bf5-9471-4bfd-a150-124592f7166f', 'ip_version': 4, 'cidr': '221.87.108.128/26', 'allocation_pools': [{'start': '221.87.108.130', 'end': '221.87.108.190'}], 'gateway_ip': '221.87.108.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '221.87.108.130', 'tags': [], 'project_id': '3eda5c8469cb4e94a76048bc139ee76c'}} 2025-02-13 16:59:08,135 - INFO - Created VN ctest-vn-37119094 2025-02-13 16:59:08,189 - DEBUG - VN ctest-vn-37119094 UUID is cbe51bf5-9471-4bfd-a150-124592f7166f 2025-02-13 16:59:08,392 - DEBUG - Services list from nova: [, , ] 2025-02-13 16:59:09,465 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2736-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2736-1) 2025-02-13 16:59:10,673 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2736-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2736-1) 2025-02-13 16:59:10,673 - INFO - Waiting for VM ctest-TestBasicVMVNx-63540371-08933805 to be up.. 2025-02-13 16:59:10,783 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-13 16:59:15,876 - DEBUG - VM is in ACTIVE state now 2025-02-13 16:59:15,876 - INFO - VM name : ctest-TestBasicVMVNx-63540371-08933805 2025-02-13 16:59:15,963 - DEBUG - VM ctest-TestBasicVMVNx-63540371-08933805 ID is 0cd25dd0-7772-4818-9218-3fc5cd71991d 2025-02-13 16:59:15,987 - DEBUG - VM ctest-TestBasicVMVNx-63540371-08933805 launched on Node cn-jenkins-deploy-platform-ansible-os-2736-1 2025-02-13 16:59:16,073 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/0cd25dd0-7772-4818-9218-3fc5cd71991d 2025-02-13 16:59:16,371 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/0cd25dd0-7772-4818-9218-3fc5cd71991d 2025-02-13 16:59:16,405 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/34515ef8-b43f-47cd-9c55-e7e4cf0bd9f8 2025-02-13 16:59:19,662 - 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 1002ms') 2025-02-13 16:59:19,663 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-63540371-08933805 failed! 2025-02-13 16:59:19,725 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-63540371:ctest-vn-37119094 is 221.87.108.129 and allocation pool is NOT set 2025-02-13 16:59:21,794 - 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.94 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.03 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 = 2.030/3.487/4.944/1.457 ms') 2025-02-13 16:59:21,794 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-63540371-08933805 passed 2025-02-13 16:59:21,949 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-13 16:59:21,949 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-63540371-08933805, IP 221.87.108.131, Port 22 2025-02-13 16:59:22,105 - DEBUG - VM ctest-TestBasicVMVNx-63540371-08933805 is ready for SSH connections 2025-02-13 16:59:22,106 - INFO - Waiting for VM ctest-TestBasicVMVNx-63540371-69773285 to be up.. 2025-02-13 16:59:22,196 - DEBUG - VM is in ACTIVE state now 2025-02-13 16:59:22,196 - INFO - VM name : ctest-TestBasicVMVNx-63540371-69773285 2025-02-13 16:59:22,286 - DEBUG - VM ctest-TestBasicVMVNx-63540371-69773285 ID is dfa40001-8329-4239-a637-26fd887f8a3b 2025-02-13 16:59:22,286 - DEBUG - VM ctest-TestBasicVMVNx-63540371-69773285 launched on Node cn-jenkins-deploy-platform-ansible-os-2736-1 2025-02-13 16:59:22,379 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/dfa40001-8329-4239-a637-26fd887f8a3b 2025-02-13 16:59:22,391 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/1e9f3b76-b503-4f6b-a2f5-93feb53a8a42 2025-02-13 16:59:23,643 - 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.93 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.05 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 = 2.046/3.486/4.926/1.440 ms') 2025-02-13 16:59:23,643 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-63540371-69773285 passed 2025-02-13 16:59:23,797 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-13 16:59:23,797 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-63540371-69773285, IP 221.87.108.132, Port 22 2025-02-13 16:59:23,957 - DEBUG - VM ctest-TestBasicVMVNx-63540371-69773285 is ready for SSH connections 2025-02-13 16:59:23,957 - DEBUG - FILE SIZE = 1303B 2025-02-13 16:59:23,957 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-63540371-08933805 to ctest-TestBasicVMVNx-63540371-69773285 using scp 2025-02-13 16:59:23,958 - 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.33, gateway password: c0ntrail123 2025-02-13 16:59:23,958 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-02-13 16:59:25,915 - DEBUG - 1+0 records in 1+0 records out 2025-02-13 16:59:26,746 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-13 16:59:27,074 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-02-13 16:59:27,074 - DEBUG - ls -l testfile 2025-02-13 16:59:28,684 - DEBUG - -rw------- 1 cirros cirros 1303 Feb 13 09:59 testfile 2025-02-13 16:59:28,684 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-63540371-69773285 2025-02-13 16:59:28,685 - INFO - Deleting VM ctest-TestBasicVMVNx-63540371-69773285 2025-02-13 16:59:28,761 - INFO - Deleting VM ctest-TestBasicVMVNx-63540371-08933805 2025-02-13 16:59:28,963 - INFO - Deleting VN ctest-vn-37119094 2025-02-13 16:59:29,016 - DEBUG - VN cbe51bf5-9471-4bfd-a150-124592f7166f still in use: Unable to complete operation on network cbe51bf5-9471-4bfd-a150-124592f7166f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-73dc569e-cc1d-4467-ba6a-32318d92debc'] 2025-02-13 16:59:29,016 - WARNING - Deleting VN ctest-vn-37119094 failed..Will retry 2025-02-13 16:59:31,145 - DEBUG - Response for deleting network () 2025-02-13 16:59:31,416 - DEBUG - No XMPP flaps were noticed during the test
2025-02-13 16:59:31,416 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25]
2025-02-13 16:59:31,417 - INFO - -------------------------------------------------------------------------------- 2025-02-13 16:59:32,172 - INFO - Deleted project: ctest-TestBasicVMVNx-63540371, ID : 3eda5c84-69cb-4e94-a760-48bc139ee76c