2025-04-23 12:10:54,549 - INFO - Domain Default found not creating
2025-04-23 12:10:54,683 - INFO - Project ctest-TestBasicVMVNx-39565815 not found, creating it
2025-04-23 12:10:55,154 - INFO - Created Project:ctest-TestBasicVMVNx-39565815, ID : 797565f2-c333-4c55-8a49-e770ed7716af
2025-04-23 12:10:56,695 - INFO - ================================================================================
2025-04-23 12:10:56,696 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-04-23 12:10:56,696 - 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-04-23 12:10:56,955 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.17': '0'}} with
2025-04-23 12:10:56,955 - INFO - Initial checks done. Running the testcase now
2025-04-23 12:10:56,956 - INFO -
2025-04-23 12:10:57,552 - DEBUG - Response for create_network : {'network': {'id': '3fe8bcc8-fd85-4d28-981a-84ca63ed7a5f', 'name': 'ctest-vn-74798390', 'tenant_id': '797565f2c3334c558a49e770ed7716af', 'project_id': '797565f2c3334c558a49e770ed7716af', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-39565815', 'ctest-vn-74798390'], 'port_security_enabled': True, 'description': ''}}
2025-04-23 12:10:57,782 - DEBUG - Response for create_subnet : {'subnet': {'id': 'adba1982-fd9a-42d5-8bcc-76e8fa522c0b', 'name': '', 'tenant_id': '797565f2c3334c558a49e770ed7716af', 'network_id': '3fe8bcc8-fd85-4d28-981a-84ca63ed7a5f', 'ip_version': 4, 'cidr': '185.178.169.128/26', 'allocation_pools': [{'start': '185.178.169.130', 'end': '185.178.169.190'}], 'gateway_ip': '185.178.169.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '185.178.169.130', 'tags': [], 'project_id': '797565f2c3334c558a49e770ed7716af'}}
2025-04-23 12:10:57,799 - INFO - Created VN ctest-vn-74798390
2025-04-23 12:10:57,851 - DEBUG - VN ctest-vn-74798390 UUID is 3fe8bcc8-fd85-4d28-981a-84ca63ed7a5f
2025-04-23 12:10:58,056 - DEBUG - Services list from nova: [, , ]
2025-04-23 12:10:59,181 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3183-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3183-1)
2025-04-23 12:11:00,375 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3183-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3183-1)
2025-04-23 12:11:00,375 - INFO - Waiting for VM ctest-TestBasicVMVNx-39565815-80765926 to be up..
2025-04-23 12:11:00,451 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-04-23 12:11:05,533 - DEBUG - VM is in ACTIVE state now
2025-04-23 12:11:05,533 - INFO - VM name : ctest-TestBasicVMVNx-39565815-80765926
2025-04-23 12:11:05,617 - DEBUG - VM ctest-TestBasicVMVNx-39565815-80765926 ID is 10c32a85-b918-4772-8d69-49d3fa1bcfe4
2025-04-23 12:11:05,738 - DEBUG - VM ctest-TestBasicVMVNx-39565815-80765926 launched on Node cn-jenkins-deploy-platform-ansible-os-3183-1
2025-04-23 12:11:05,821 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/10c32a85-b918-4772-8d69-49d3fa1bcfe4
2025-04-23 12:11:06,158 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/10c32a85-b918-4772-8d69-49d3fa1bcfe4
2025-04-23 12:11:06,194 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/5adce628-1401-4987-9173-11d23b27ea4c
2025-04-23 12:11:09,461 - 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-04-23 12:11:09,461 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-39565815-80765926 failed!
2025-04-23 12:11:09,520 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-39565815:ctest-vn-74798390 is 185.178.169.129 and allocation pool is NOT set
2025-04-23 12:11:11,581 - 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=3.99 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.063/2.528/3.993/1.465 ms')
2025-04-23 12:11:11,582 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-39565815-80765926 passed
2025-04-23 12:11:11,735 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-23 12:11:11,735 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-39565815-80765926, IP 185.178.169.131, Port 22
2025-04-23 12:11:11,891 - DEBUG - VM ctest-TestBasicVMVNx-39565815-80765926 is ready for SSH connections
2025-04-23 12:11:11,891 - INFO - Waiting for VM ctest-TestBasicVMVNx-39565815-02186608 to be up..
2025-04-23 12:11:11,969 - DEBUG - VM is in ACTIVE state now
2025-04-23 12:11:11,969 - INFO - VM name : ctest-TestBasicVMVNx-39565815-02186608
2025-04-23 12:11:12,046 - DEBUG - VM ctest-TestBasicVMVNx-39565815-02186608 ID is 135077de-c05d-4ee3-a8da-855784c50a0d
2025-04-23 12:11:12,046 - DEBUG - VM ctest-TestBasicVMVNx-39565815-02186608 launched on Node cn-jenkins-deploy-platform-ansible-os-3183-1
2025-04-23 12:11:12,120 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/135077de-c05d-4ee3-a8da-855784c50a0d
2025-04-23 12:11:12,130 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/db78d4f8-07e5-4776-a122-5cb14c58bd64
2025-04-23 12:11:13,372 - 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=3.06 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.402 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.402/1.730/3.058/1.328 ms')
2025-04-23 12:11:13,373 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-39565815-02186608 passed
2025-04-23 12:11:13,527 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-23 12:11:13,527 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-39565815-02186608, IP 185.178.169.132, Port 22
2025-04-23 12:11:13,683 - DEBUG - VM ctest-TestBasicVMVNx-39565815-02186608 is ready for SSH connections
2025-04-23 12:11:13,683 - DEBUG - FILE SIZE = 1303B
2025-04-23 12:11:13,683 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-39565815-80765926 to ctest-TestBasicVMVNx-39565815-02186608 using scp
2025-04-23 12:11:13,684 - 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-04-23 12:11:13,684 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-04-23 12:11:15,590 - DEBUG - 1+0 records in
1+0 records out
2025-04-23 12:11:16,245 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-23 12:11:16,608 - 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-04-23 12:11:16,609 - DEBUG - ls -l testfile
2025-04-23 12:11:18,198 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 23 06:11 [0;0mtestfile[0m
2025-04-23 12:11:18,198 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-39565815-02186608
2025-04-23 12:11:18,199 - INFO - Deleting VM ctest-TestBasicVMVNx-39565815-02186608
2025-04-23 12:11:18,263 - INFO - Deleting VM ctest-TestBasicVMVNx-39565815-80765926
2025-04-23 12:11:18,332 - INFO - Deleting VN ctest-vn-74798390
2025-04-23 12:11:18,365 - DEBUG - VN 3fe8bcc8-fd85-4d28-981a-84ca63ed7a5f still in use: Unable to complete operation on network 3fe8bcc8-fd85-4d28-981a-84ca63ed7a5f. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-ebf3d571-a446-4ffc-85ee-4baa06e8c29f']
2025-04-23 12:11:18,366 - WARNING - Deleting VN ctest-vn-74798390 failed..Will retry
2025-04-23 12:11:20,477 - DEBUG - Response for deleting network ()
2025-04-23 12:11:20,741 - DEBUG - No XMPP flaps were noticed during the test
2025-04-23 12:11:20,741 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-04-23 12:11:20,741 - INFO - --------------------------------------------------------------------------------
2025-04-23 12:11:21,468 - INFO - Deleted project: ctest-TestBasicVMVNx-39565815, ID : 797565f2-c333-4c55-8a49-e770ed7716af