2025-03-27 13:44:32,664 - INFO - Domain Default found not creating
2025-03-27 13:44:32,831 - INFO - Project ctest-TestBasicVMVNx-44595138 not found, creating it
2025-03-27 13:44:33,307 - INFO - Created Project:ctest-TestBasicVMVNx-44595138, ID : 7db7439e-248d-4c41-b2c9-735205be195b
2025-03-27 13:44:34,799 - INFO - ================================================================================
2025-03-27 13:44:34,799 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-03-27 13:44:34,799 - 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 13:44:35,054 - DEBUG - Nothing to compare xmpp stats {'10.0.0.28': {'10.20.0.11': '0'}} with
2025-03-27 13:44:35,054 - INFO - Initial checks done. Running the testcase now
2025-03-27 13:44:35,054 - INFO -
2025-03-27 13:44:35,652 - DEBUG - Response for create_network : {'network': {'id': 'e766270f-2e1f-406f-9015-b9eb273ea322', 'name': 'ctest-vn-90846562', 'tenant_id': '7db7439e248d4c41b2c9735205be195b', 'project_id': '7db7439e248d4c41b2c9735205be195b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-44595138', 'ctest-vn-90846562'], 'port_security_enabled': True, 'description': ''}}
2025-03-27 13:44:35,846 - DEBUG - Response for create_subnet : {'subnet': {'id': '6f2324b1-7f52-465e-940d-51494034a923', 'name': '', 'tenant_id': '7db7439e248d4c41b2c9735205be195b', 'network_id': 'e766270f-2e1f-406f-9015-b9eb273ea322', 'ip_version': 4, 'cidr': '46.229.96.128/26', 'allocation_pools': [{'start': '46.229.96.130', 'end': '46.229.96.190'}], 'gateway_ip': '46.229.96.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '46.229.96.130', 'tags': [], 'project_id': '7db7439e248d4c41b2c9735205be195b'}}
2025-03-27 13:44:35,866 - INFO - Created VN ctest-vn-90846562
2025-03-27 13:44:35,919 - DEBUG - VN ctest-vn-90846562 UUID is e766270f-2e1f-406f-9015-b9eb273ea322
2025-03-27 13:44:36,088 - DEBUG - Services list from nova: [, , ]
2025-03-27 13:44:37,104 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2972-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2972-1)
2025-03-27 13:44:38,373 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2972-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2972-1)
2025-03-27 13:44:38,373 - INFO - Waiting for VM ctest-TestBasicVMVNx-44595138-69843718 to be up..
2025-03-27 13:44:38,460 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-03-27 13:44:43,559 - DEBUG - VM is in ACTIVE state now
2025-03-27 13:44:43,560 - INFO - VM name : ctest-TestBasicVMVNx-44595138-69843718
2025-03-27 13:44:43,657 - DEBUG - VM ctest-TestBasicVMVNx-44595138-69843718 ID is 70cebd2a-dc69-4551-9e10-ad8a7294d5d5
2025-03-27 13:44:43,676 - DEBUG - VM ctest-TestBasicVMVNx-44595138-69843718 launched on Node cn-jenkins-deploy-platform-ansible-os-2972-1
2025-03-27 13:44:43,776 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/70cebd2a-dc69-4551-9e10-ad8a7294d5d5
2025-03-27 13:44:44,071 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/70cebd2a-dc69-4551-9e10-ad8a7294d5d5
2025-03-27 13:44:44,104 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/1b7a17a1-b2eb-439a-a44f-ab4c6e13a9dd
2025-03-27 13:44:47,378 - 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 1027ms')
2025-03-27 13:44:47,378 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-44595138-69843718 failed!
2025-03-27 13:44:47,435 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-44595138:ctest-vn-90846562 is 46.229.96.129 and allocation pool is NOT set
2025-03-27 13:44:49,503 - 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.71 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.06 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.064/2.885/4.707/1.821 ms')
2025-03-27 13:44:49,503 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-44595138-69843718 passed
2025-03-27 13:44:49,651 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-27 13:44:49,651 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-44595138-69843718, IP 46.229.96.131, Port 22
2025-03-27 13:44:49,807 - DEBUG - VM ctest-TestBasicVMVNx-44595138-69843718 is ready for SSH connections
2025-03-27 13:44:49,807 - INFO - Waiting for VM ctest-TestBasicVMVNx-44595138-77800559 to be up..
2025-03-27 13:44:49,887 - DEBUG - VM is in ACTIVE state now
2025-03-27 13:44:49,887 - INFO - VM name : ctest-TestBasicVMVNx-44595138-77800559
2025-03-27 13:44:49,966 - DEBUG - VM ctest-TestBasicVMVNx-44595138-77800559 ID is db36cedb-a71b-4d9c-b748-966c53d87a58
2025-03-27 13:44:49,966 - DEBUG - VM ctest-TestBasicVMVNx-44595138-77800559 launched on Node cn-jenkins-deploy-platform-ansible-os-2972-1
2025-03-27 13:44:50,045 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/db36cedb-a71b-4d9c-b748-966c53d87a58
2025-03-27 13:44:50,055 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/a6320cd4-05c1-4e06-9834-6730a9258766
2025-03-27 13:44:51,296 - 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.86 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.858 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.858/1.860/2.863/1.002 ms')
2025-03-27 13:44:51,296 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-44595138-77800559 passed
2025-03-27 13:44:51,451 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-27 13:44:51,451 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-44595138-77800559, IP 46.229.96.132, Port 22
2025-03-27 13:44:51,607 - DEBUG - VM ctest-TestBasicVMVNx-44595138-77800559 is ready for SSH connections
2025-03-27 13:44:51,607 - DEBUG - FILE SIZE = 1303B
2025-03-27 13:44:51,607 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-44595138-69843718 to ctest-TestBasicVMVNx-44595138-77800559 using scp
2025-03-27 13:44:51,608 - 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.28, gateway password: c0ntrail123
2025-03-27 13:44:51,608 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-03-27 13:44:53,557 - DEBUG - 1+0 records in
1+0 records out
2025-03-27 13:44:54,330 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-27 13:44:54,676 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.28, gateway password: c0ntrail123
2025-03-27 13:44:54,677 - DEBUG - ls -l testfile
2025-03-27 13:44:56,270 - DEBUG - -rw------- 1 cirros cirros 1303 Mar 27 07:44 [0;0mtestfile[0m
2025-03-27 13:44:56,270 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-44595138-77800559
2025-03-27 13:44:56,270 - INFO - Deleting VM ctest-TestBasicVMVNx-44595138-77800559
2025-03-27 13:44:56,337 - INFO - Deleting VM ctest-TestBasicVMVNx-44595138-69843718
2025-03-27 13:44:56,425 - INFO - Deleting VN ctest-vn-90846562
2025-03-27 13:44:56,459 - DEBUG - VN e766270f-2e1f-406f-9015-b9eb273ea322 still in use: Unable to complete operation on network e766270f-2e1f-406f-9015-b9eb273ea322. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-d4cd55b3-e8bd-4b35-bceb-d80755d41869']
2025-03-27 13:44:56,459 - WARNING - Deleting VN ctest-vn-90846562 failed..Will retry
2025-03-27 13:44:58,581 - DEBUG - Response for deleting network ()
2025-03-27 13:44:58,841 - DEBUG - No XMPP flaps were noticed during the test
2025-03-27 13:44:58,841 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-03-27 13:44:58,841 - INFO - --------------------------------------------------------------------------------
2025-03-27 13:44:59,520 - INFO - Deleted project: ctest-TestBasicVMVNx-44595138, ID : 7db7439e-248d-4c41-b2c9-735205be195b