2025-03-28 11:25:12,178 - INFO - Domain Default found not creating
2025-03-28 11:25:12,354 - INFO - Project ctest-TestBasicVMVNx-27947453 not found, creating it
2025-03-28 11:25:12,847 - INFO - Created Project:ctest-TestBasicVMVNx-27947453, ID : 12eea357-9d2e-47d0-9938-62eca68acde1
2025-03-28 11:25:14,364 - INFO - ================================================================================
2025-03-28 11:25:14,364 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-03-28 11:25:14,364 - 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-28 11:25:14,629 - DEBUG - Nothing to compare xmpp stats {'10.0.0.46': {'10.20.0.10': '0'}} with
2025-03-28 11:25:14,629 - INFO - Initial checks done. Running the testcase now
2025-03-28 11:25:14,629 - INFO -
2025-03-28 11:25:15,189 - DEBUG - Response for create_network : {'network': {'id': '1737fc0f-c170-4291-b9e7-a4eb39af744d', 'name': 'ctest-vn-11876379', 'tenant_id': '12eea3579d2e47d0993862eca68acde1', 'project_id': '12eea3579d2e47d0993862eca68acde1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-27947453', 'ctest-vn-11876379'], 'port_security_enabled': True, 'description': ''}}
2025-03-28 11:25:15,362 - DEBUG - Response for create_subnet : {'subnet': {'id': '6b3144d3-6a9f-4e6e-b730-d647ce4b027e', 'name': '', 'tenant_id': '12eea3579d2e47d0993862eca68acde1', 'network_id': '1737fc0f-c170-4291-b9e7-a4eb39af744d', 'ip_version': 4, 'cidr': '63.171.82.128/26', 'allocation_pools': [{'start': '63.171.82.130', 'end': '63.171.82.190'}], 'gateway_ip': '63.171.82.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '63.171.82.130', 'tags': [], 'project_id': '12eea3579d2e47d0993862eca68acde1'}}
2025-03-28 11:25:15,380 - INFO - Created VN ctest-vn-11876379
2025-03-28 11:25:15,435 - DEBUG - VN ctest-vn-11876379 UUID is 1737fc0f-c170-4291-b9e7-a4eb39af744d
2025-03-28 11:25:15,611 - DEBUG - Services list from nova: [, , ]
2025-03-28 11:25:16,675 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2988-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2988-1)
2025-03-28 11:25:17,891 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2988-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2988-1)
2025-03-28 11:25:17,891 - INFO - Waiting for VM ctest-TestBasicVMVNx-27947453-03213949 to be up..
2025-03-28 11:25:17,986 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-03-28 11:25:23,066 - DEBUG - VM is in ACTIVE state now
2025-03-28 11:25:23,066 - INFO - VM name : ctest-TestBasicVMVNx-27947453-03213949
2025-03-28 11:25:23,165 - DEBUG - VM ctest-TestBasicVMVNx-27947453-03213949 ID is bb5b6b78-6e1e-4f64-bc5d-bda75e6fafee
2025-03-28 11:25:23,190 - DEBUG - VM ctest-TestBasicVMVNx-27947453-03213949 launched on Node cn-jenkins-deploy-platform-ansible-os-2988-1
2025-03-28 11:25:23,314 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine/bb5b6b78-6e1e-4f64-bc5d-bda75e6fafee
2025-03-28 11:25:23,616 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine/bb5b6b78-6e1e-4f64-bc5d-bda75e6fafee
2025-03-28 11:25:23,648 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine-interface/7dd21ad0-ba56-4eef-8f1c-b734604bd445
2025-03-28 11:25:26,939 - 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 1030ms')
2025-03-28 11:25:26,940 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-27947453-03213949 failed!
2025-03-28 11:25:26,999 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-27947453:ctest-vn-11876379 is 63.171.82.129 and allocation pool is NOT set
2025-03-28 11:25:29,061 - 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=5.02 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.865 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.865/2.942/5.020/2.077 ms')
2025-03-28 11:25:29,062 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-27947453-03213949 passed
2025-03-28 11:25:29,215 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-28 11:25:29,215 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-27947453-03213949, IP 63.171.82.131, Port 22
2025-03-28 11:25:29,382 - DEBUG - VM ctest-TestBasicVMVNx-27947453-03213949 is ready for SSH connections
2025-03-28 11:25:29,382 - INFO - Waiting for VM ctest-TestBasicVMVNx-27947453-11176557 to be up..
2025-03-28 11:25:29,479 - DEBUG - VM is in ACTIVE state now
2025-03-28 11:25:29,479 - INFO - VM name : ctest-TestBasicVMVNx-27947453-11176557
2025-03-28 11:25:29,563 - DEBUG - VM ctest-TestBasicVMVNx-27947453-11176557 ID is 1f26e49c-f462-4820-ba42-2ac1c0a5eef0
2025-03-28 11:25:29,564 - DEBUG - VM ctest-TestBasicVMVNx-27947453-11176557 launched on Node cn-jenkins-deploy-platform-ansible-os-2988-1
2025-03-28 11:25:29,652 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine/1f26e49c-f462-4820-ba42-2ac1c0a5eef0
2025-03-28 11:25:29,663 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine-interface/2cdc6344-d06e-4c09-a985-3eea3e11459e
2025-03-28 11:25:30,917 - 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.84 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.412 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.412/1.626/2.841/1.214 ms')
2025-03-28 11:25:30,917 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-27947453-11176557 passed
2025-03-28 11:25:31,075 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-28 11:25:31,075 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-27947453-11176557, IP 63.171.82.132, Port 22
2025-03-28 11:25:31,231 - DEBUG - VM ctest-TestBasicVMVNx-27947453-11176557 is ready for SSH connections
2025-03-28 11:25:31,231 - DEBUG - FILE SIZE = 1303B
2025-03-28 11:25:31,231 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-27947453-03213949 to ctest-TestBasicVMVNx-27947453-11176557 using scp
2025-03-28 11:25:31,232 - 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.46, gateway password: c0ntrail123
2025-03-28 11:25:31,232 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-03-28 11:25:32,838 - DEBUG - 1+0 records in
1+0 records out
2025-03-28 11:25:33,602 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-28 11:25:33,938 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.46, gateway password: c0ntrail123
2025-03-28 11:25:33,938 - DEBUG - ls -l testfile
2025-03-28 11:25:35,518 - DEBUG - -rw------- 1 cirros cirros 1303 Mar 28 05:25 [0;0mtestfile[0m
2025-03-28 11:25:35,519 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-27947453-11176557
2025-03-28 11:25:35,519 - INFO - Deleting VM ctest-TestBasicVMVNx-27947453-11176557
2025-03-28 11:25:35,589 - INFO - Deleting VM ctest-TestBasicVMVNx-27947453-03213949
2025-03-28 11:25:35,672 - INFO - Deleting VN ctest-vn-11876379
2025-03-28 11:25:35,715 - DEBUG - VN 1737fc0f-c170-4291-b9e7-a4eb39af744d still in use: Unable to complete operation on network 1737fc0f-c170-4291-b9e7-a4eb39af744d. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-ebe8f47e-9f0f-4982-b888-61707d39c517']
2025-03-28 11:25:35,715 - WARNING - Deleting VN ctest-vn-11876379 failed..Will retry
2025-03-28 11:25:37,829 - DEBUG - Response for deleting network ()
2025-03-28 11:25:38,095 - DEBUG - No XMPP flaps were noticed during the test
2025-03-28 11:25:38,095 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-03-28 11:25:38,095 - INFO - --------------------------------------------------------------------------------
2025-03-28 11:25:38,791 - INFO - Deleted project: ctest-TestBasicVMVNx-27947453, ID : 12eea357-9d2e-47d0-9938-62eca68acde1