2025-03-25 03:31:10,677 - INFO - Domain Default found not creating
2025-03-25 03:31:10,884 - INFO - Project ctest-TestBasicVMVNx-50945188 not found, creating it
2025-03-25 03:31:11,464 - INFO - Created Project:ctest-TestBasicVMVNx-50945188, ID : d8f4b58b-726d-41ac-a601-79361ef2b011
2025-03-25 03:31:12,914 - INFO - ================================================================================
2025-03-25 03:31:12,914 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-03-25 03:31:12,914 - 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-25 03:31:13,185 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.20.0.7': '0'}} with
2025-03-25 03:31:13,185 - INFO - Initial checks done. Running the testcase now
2025-03-25 03:31:13,185 - INFO -
2025-03-25 03:31:13,739 - DEBUG - Response for create_network : {'network': {'id': '42a578ee-9897-434d-9acb-705a420347d0', 'name': 'ctest-vn-09612395', 'tenant_id': 'd8f4b58b726d41aca60179361ef2b011', 'project_id': 'd8f4b58b726d41aca60179361ef2b011', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-50945188', 'ctest-vn-09612395'], 'port_security_enabled': True, 'description': ''}}
2025-03-25 03:31:13,928 - DEBUG - Response for create_subnet : {'subnet': {'id': '7cc6c50a-6ffe-49e9-8526-cf93f3a05f2f', 'name': '', 'tenant_id': 'd8f4b58b726d41aca60179361ef2b011', 'network_id': '42a578ee-9897-434d-9acb-705a420347d0', 'ip_version': 4, 'cidr': '150.105.36.192/26', 'allocation_pools': [{'start': '150.105.36.194', 'end': '150.105.36.254'}], 'gateway_ip': '150.105.36.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '150.105.36.194', 'tags': [], 'project_id': 'd8f4b58b726d41aca60179361ef2b011'}}
2025-03-25 03:31:13,949 - INFO - Created VN ctest-vn-09612395
2025-03-25 03:31:14,003 - DEBUG - VN ctest-vn-09612395 UUID is 42a578ee-9897-434d-9acb-705a420347d0
2025-03-25 03:31:14,179 - DEBUG - Services list from nova: [, , ]
2025-03-25 03:31:15,216 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2947-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2947-1)
2025-03-25 03:31:16,711 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2947-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2947-1)
2025-03-25 03:31:16,712 - INFO - Waiting for VM ctest-TestBasicVMVNx-50945188-28513584 to be up..
2025-03-25 03:31:16,817 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-03-25 03:31:21,900 - DEBUG - VM is in ACTIVE state now
2025-03-25 03:31:21,901 - INFO - VM name : ctest-TestBasicVMVNx-50945188-28513584
2025-03-25 03:31:21,990 - DEBUG - VM ctest-TestBasicVMVNx-50945188-28513584 ID is a0ed64eb-d525-41fe-9c59-ae61447acad7
2025-03-25 03:31:22,010 - DEBUG - VM ctest-TestBasicVMVNx-50945188-28513584 launched on Node cn-jenkins-deploy-platform-ansible-os-2947-1
2025-03-25 03:31:22,092 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/a0ed64eb-d525-41fe-9c59-ae61447acad7
2025-03-25 03:31:22,391 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/a0ed64eb-d525-41fe-9c59-ae61447acad7
2025-03-25 03:31:22,429 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/59386330-d2a7-4703-9b6d-8b35ac2d4b9e
2025-03-25 03:31:25,690 - 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 1011ms')
2025-03-25 03:31:25,690 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-50945188-28513584 failed!
2025-03-25 03:31:25,755 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-50945188:ctest-vn-09612395 is 150.105.36.193 and allocation pool is NOT set
2025-03-25 03:31:27,825 - 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.80 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.11 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.112/2.457/3.803/1.345 ms')
2025-03-25 03:31:27,825 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-50945188-28513584 passed
2025-03-25 03:31:27,979 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-25 03:31:27,979 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-50945188-28513584, IP 150.105.36.195, Port 22
2025-03-25 03:31:28,154 - DEBUG - VM ctest-TestBasicVMVNx-50945188-28513584 is ready for SSH connections
2025-03-25 03:31:28,154 - INFO - Waiting for VM ctest-TestBasicVMVNx-50945188-58164269 to be up..
2025-03-25 03:31:28,229 - DEBUG - VM is in ACTIVE state now
2025-03-25 03:31:28,229 - INFO - VM name : ctest-TestBasicVMVNx-50945188-58164269
2025-03-25 03:31:28,305 - DEBUG - VM ctest-TestBasicVMVNx-50945188-58164269 ID is 4071f67c-4c5b-4f5d-b95a-2509c56a773e
2025-03-25 03:31:28,305 - DEBUG - VM ctest-TestBasicVMVNx-50945188-58164269 launched on Node cn-jenkins-deploy-platform-ansible-os-2947-1
2025-03-25 03:31:28,388 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/4071f67c-4c5b-4f5d-b95a-2509c56a773e
2025-03-25 03:31:28,401 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/ca6b56be-310e-4e6b-aae9-b4c62af209b2
2025-03-25 03:31:29,647 - 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.63 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.576 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.576/2.103/3.631/1.527 ms')
2025-03-25 03:31:29,648 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-50945188-58164269 passed
2025-03-25 03:31:29,807 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-25 03:31:29,807 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-50945188-58164269, IP 150.105.36.196, Port 22
2025-03-25 03:31:29,977 - DEBUG - VM ctest-TestBasicVMVNx-50945188-58164269 is ready for SSH connections
2025-03-25 03:31:29,977 - DEBUG - FILE SIZE = 1303B
2025-03-25 03:31:29,977 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-50945188-28513584 to ctest-TestBasicVMVNx-50945188-58164269 using scp
2025-03-25 03:31:29,978 - 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.17, gateway password: c0ntrail123
2025-03-25 03:31:29,978 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-03-25 03:31:32,025 - DEBUG - 1+0 records in
1+0 records out
2025-03-25 03:31:32,805 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-25 03:31:33,150 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123
2025-03-25 03:31:33,150 - DEBUG - ls -l testfile
2025-03-25 03:31:34,734 - DEBUG - -rw------- 1 cirros cirros 1303 Mar 24 21:31 [0;0mtestfile[0m
2025-03-25 03:31:34,734 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-50945188-58164269
2025-03-25 03:31:34,734 - INFO - Deleting VM ctest-TestBasicVMVNx-50945188-58164269
2025-03-25 03:31:34,803 - INFO - Deleting VM ctest-TestBasicVMVNx-50945188-28513584
2025-03-25 03:31:34,878 - INFO - Deleting VN ctest-vn-09612395
2025-03-25 03:31:34,917 - DEBUG - VN 42a578ee-9897-434d-9acb-705a420347d0 still in use: Unable to complete operation on network 42a578ee-9897-434d-9acb-705a420347d0. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-61dcda9f-01fe-48bd-9433-fa75a4b3e772']
2025-03-25 03:31:34,917 - WARNING - Deleting VN ctest-vn-09612395 failed..Will retry
2025-03-25 03:31:37,045 - DEBUG - Response for deleting network ()
2025-03-25 03:31:37,301 - DEBUG - No XMPP flaps were noticed during the test
2025-03-25 03:31:37,301 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25]
2025-03-25 03:31:37,301 - INFO - --------------------------------------------------------------------------------
2025-03-25 03:31:38,015 - INFO - Deleted project: ctest-TestBasicVMVNx-50945188, ID : d8f4b58b-726d-41ac-a601-79361ef2b011