2025-02-10 12:19:06,201 - INFO - Domain Default found not creating
2025-02-10 12:19:06,333 - INFO - Project ctest-TestBasicVMVNx-84060283 not found, creating it
2025-02-10 12:19:06,764 - INFO - Created Project:ctest-TestBasicVMVNx-84060283, ID : cdec774a-c837-4969-a9d5-8277ddb5f915
2025-02-10 12:19:08,177 - INFO - ================================================================================
2025-02-10 12:19:08,177 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-02-10 12:19:08,177 - 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-10 12:19:08,435 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.6': '0'}} with
2025-02-10 12:19:08,435 - INFO - Initial checks done. Running the testcase now
2025-02-10 12:19:08,435 - INFO -
2025-02-10 12:19:08,931 - DEBUG - Response for create_network : {'network': {'id': '82c314f3-187c-4bc0-a368-46c1b310c00c', 'name': 'ctest-vn-07691904', 'tenant_id': 'cdec774ac8374969a9d58277ddb5f915', 'project_id': 'cdec774ac8374969a9d58277ddb5f915', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-84060283', 'ctest-vn-07691904'], 'port_security_enabled': True, 'description': ''}}
2025-02-10 12:19:09,114 - DEBUG - Response for create_subnet : {'subnet': {'id': '5426e33f-ced1-4baa-9403-33ec22aa25bb', 'name': '', 'tenant_id': 'cdec774ac8374969a9d58277ddb5f915', 'network_id': '82c314f3-187c-4bc0-a368-46c1b310c00c', 'ip_version': 4, 'cidr': '101.75.127.128/26', 'allocation_pools': [{'start': '101.75.127.130', 'end': '101.75.127.190'}], 'gateway_ip': '101.75.127.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '101.75.127.130', 'tags': [], 'project_id': 'cdec774ac8374969a9d58277ddb5f915'}}
2025-02-10 12:19:09,132 - INFO - Created VN ctest-vn-07691904
2025-02-10 12:19:09,185 - DEBUG - VN ctest-vn-07691904 UUID is 82c314f3-187c-4bc0-a368-46c1b310c00c
2025-02-10 12:19:09,347 - DEBUG - Services list from nova: [, , ]
2025-02-10 12:19:10,324 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2712-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2712-1)
2025-02-10 12:19:11,372 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2712-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2712-1)
2025-02-10 12:19:11,372 - INFO - Waiting for VM ctest-TestBasicVMVNx-84060283-10936545 to be up..
2025-02-10 12:19:11,455 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-02-10 12:19:16,530 - DEBUG - VM is in ACTIVE state now
2025-02-10 12:19:16,530 - INFO - VM name : ctest-TestBasicVMVNx-84060283-10936545
2025-02-10 12:19:16,600 - DEBUG - VM ctest-TestBasicVMVNx-84060283-10936545 ID is aeb58fb6-61ef-43ff-b96d-fdaa6b4d4330
2025-02-10 12:19:16,616 - DEBUG - VM ctest-TestBasicVMVNx-84060283-10936545 launched on Node cn-jenkins-deploy-platform-ansible-os-2712-1
2025-02-10 12:19:16,687 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/aeb58fb6-61ef-43ff-b96d-fdaa6b4d4330
2025-02-10 12:19:16,982 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/aeb58fb6-61ef-43ff-b96d-fdaa6b4d4330
2025-02-10 12:19:17,012 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/5b713ec0-77fa-470b-a9b8-6838a364e068
2025-02-10 12:19:20,286 - 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 1023ms')
2025-02-10 12:19:20,286 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-84060283-10936545 failed!
2025-02-10 12:19:20,341 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-84060283:ctest-vn-07691904 is 101.75.127.129 and allocation pool is NOT set
2025-02-10 12:19:22,407 - 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.07 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.14 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.143/2.607/4.072/1.464 ms')
2025-02-10 12:19:22,407 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-84060283-10936545 passed
2025-02-10 12:19:22,561 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-10 12:19:22,561 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-84060283-10936545, IP 101.75.127.131, Port 22
2025-02-10 12:19:22,717 - DEBUG - VM ctest-TestBasicVMVNx-84060283-10936545 is ready for SSH connections
2025-02-10 12:19:22,717 - INFO - Waiting for VM ctest-TestBasicVMVNx-84060283-25074929 to be up..
2025-02-10 12:19:22,791 - DEBUG - VM is in ACTIVE state now
2025-02-10 12:19:22,791 - INFO - VM name : ctest-TestBasicVMVNx-84060283-25074929
2025-02-10 12:19:22,865 - DEBUG - VM ctest-TestBasicVMVNx-84060283-25074929 ID is d2c879ef-a6e3-4c6d-bfcc-a04046dc8005
2025-02-10 12:19:22,865 - DEBUG - VM ctest-TestBasicVMVNx-84060283-25074929 launched on Node cn-jenkins-deploy-platform-ansible-os-2712-1
2025-02-10 12:19:22,938 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/d2c879ef-a6e3-4c6d-bfcc-a04046dc8005
2025-02-10 12:19:22,946 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/830cfe98-54bc-4cab-8de6-ed9b70e42637
2025-02-10 12:19:24,185 - 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.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.471 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.471/1.612/2.754/1.141 ms')
2025-02-10 12:19:24,185 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-84060283-25074929 passed
2025-02-10 12:19:24,341 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-10 12:19:24,341 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-84060283-25074929, IP 101.75.127.132, Port 22
2025-02-10 12:19:24,497 - DEBUG - VM ctest-TestBasicVMVNx-84060283-25074929 is ready for SSH connections
2025-02-10 12:19:24,497 - DEBUG - FILE SIZE = 1303B
2025-02-10 12:19:24,497 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-84060283-10936545 to ctest-TestBasicVMVNx-84060283-25074929 using scp
2025-02-10 12:19:24,498 - 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.41, gateway password: c0ntrail123
2025-02-10 12:19:24,498 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-02-10 12:19:26,432 - DEBUG - 1+0 records in
1+0 records out
2025-02-10 12:19:27,023 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-10 12:19:27,353 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123
2025-02-10 12:19:27,353 - DEBUG - ls -l testfile
2025-02-10 12:19:28,915 - DEBUG - -rw------- 1 cirros cirros 1303 Feb 10 05:19 [0;0mtestfile[0m
2025-02-10 12:19:28,915 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-84060283-25074929
2025-02-10 12:19:28,915 - INFO - Deleting VM ctest-TestBasicVMVNx-84060283-25074929
2025-02-10 12:19:28,980 - INFO - Deleting VM ctest-TestBasicVMVNx-84060283-10936545
2025-02-10 12:19:29,041 - INFO - Deleting VN ctest-vn-07691904
2025-02-10 12:19:29,077 - DEBUG - VN 82c314f3-187c-4bc0-a368-46c1b310c00c still in use: Unable to complete operation on network 82c314f3-187c-4bc0-a368-46c1b310c00c. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-b87d0ec3-e8fc-441e-b511-dea5d75cc571']
2025-02-10 12:19:29,077 - WARNING - Deleting VN ctest-vn-07691904 failed..Will retry
2025-02-10 12:19:31,180 - DEBUG - Response for deleting network ()
2025-02-10 12:19:31,443 - DEBUG - No XMPP flaps were noticed during the test
2025-02-10 12:19:31,443 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-02-10 12:19:31,443 - INFO - --------------------------------------------------------------------------------
2025-02-10 12:19:32,082 - INFO - Deleted project: ctest-TestBasicVMVNx-84060283, ID : cdec774a-c837-4969-a9d5-8277ddb5f915