2025-03-28 12:51:21,648 - INFO - Domain Default found not creating
2025-03-28 12:51:21,831 - INFO - Project ctest-TestBasicVMVNx-91461022 not found, creating it
2025-03-28 12:51:22,345 - INFO - Created Project:ctest-TestBasicVMVNx-91461022, ID : 2d467054-04c2-4e96-95ca-7d5ebcf5416c
2025-03-28 12:51:24,027 - INFO - ================================================================================
2025-03-28 12:51:24,028 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-03-28 12:51:24,028 - 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 12:51:24,302 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.5': '0'}} with
2025-03-28 12:51:24,302 - INFO - Initial checks done. Running the testcase now
2025-03-28 12:51:24,302 - INFO -
2025-03-28 12:51:24,926 - DEBUG - Response for create_network : {'network': {'id': '1976b5ea-5c17-433b-8e9e-1633a3d1b515', 'name': 'ctest-vn-03976799', 'tenant_id': '2d46705404c24e9695ca7d5ebcf5416c', 'project_id': '2d46705404c24e9695ca7d5ebcf5416c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-91461022', 'ctest-vn-03976799'], 'port_security_enabled': True, 'description': ''}}
2025-03-28 12:51:25,114 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f49d8a84-c1d0-44b7-80b8-786fe6e38b45', 'name': '', 'tenant_id': '2d46705404c24e9695ca7d5ebcf5416c', 'network_id': '1976b5ea-5c17-433b-8e9e-1633a3d1b515', 'ip_version': 4, 'cidr': '176.165.68.0/26', 'allocation_pools': [{'start': '176.165.68.2', 'end': '176.165.68.62'}], 'gateway_ip': '176.165.68.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '176.165.68.2', 'tags': [], 'project_id': '2d46705404c24e9695ca7d5ebcf5416c'}}
2025-03-28 12:51:25,138 - INFO - Created VN ctest-vn-03976799
2025-03-28 12:51:25,196 - DEBUG - VN ctest-vn-03976799 UUID is 1976b5ea-5c17-433b-8e9e-1633a3d1b515
2025-03-28 12:51:25,383 - DEBUG - Services list from nova: [, , ]
2025-03-28 12:51:26,476 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2990-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2990-1)
2025-03-28 12:51:27,714 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2990-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2990-1)
2025-03-28 12:51:27,714 - INFO - Waiting for VM ctest-TestBasicVMVNx-91461022-68566777 to be up..
2025-03-28 12:51:27,824 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-03-28 12:51:32,919 - DEBUG - VM is in ACTIVE state now
2025-03-28 12:51:32,919 - INFO - VM name : ctest-TestBasicVMVNx-91461022-68566777
2025-03-28 12:51:33,015 - DEBUG - VM ctest-TestBasicVMVNx-91461022-68566777 ID is 0da88ad6-dc5a-4ad6-bee8-fdda34284806
2025-03-28 12:51:33,037 - DEBUG - VM ctest-TestBasicVMVNx-91461022-68566777 launched on Node cn-jenkins-deploy-platform-ansible-os-2990-1
2025-03-28 12:51:33,134 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/0da88ad6-dc5a-4ad6-bee8-fdda34284806
2025-03-28 12:51:33,441 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/0da88ad6-dc5a-4ad6-bee8-fdda34284806
2025-03-28 12:51:33,479 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/3f0a65e5-ba34-4e16-8f10-e8954d10c3de
2025-03-28 12:51:36,746 - 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 1006ms')
2025-03-28 12:51:36,746 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-91461022-68566777 failed!
2025-03-28 12:51:36,804 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-91461022:ctest-vn-03976799 is 176.165.68.1 and allocation pool is NOT set
2025-03-28 12:51:38,875 - 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.32 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.07 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.074/2.695/4.316/1.621 ms')
2025-03-28 12:51:38,875 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-91461022-68566777 passed
2025-03-28 12:51:39,036 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-28 12:51:39,036 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-91461022-68566777, IP 176.165.68.3, Port 22
2025-03-28 12:51:39,191 - DEBUG - VM ctest-TestBasicVMVNx-91461022-68566777 is ready for SSH connections
2025-03-28 12:51:39,191 - INFO - Waiting for VM ctest-TestBasicVMVNx-91461022-83392576 to be up..
2025-03-28 12:51:39,283 - DEBUG - VM is in ACTIVE state now
2025-03-28 12:51:39,283 - INFO - VM name : ctest-TestBasicVMVNx-91461022-83392576
2025-03-28 12:51:39,367 - DEBUG - VM ctest-TestBasicVMVNx-91461022-83392576 ID is b3d7ba05-10e0-4f7a-913c-52df22d5c255
2025-03-28 12:51:39,367 - DEBUG - VM ctest-TestBasicVMVNx-91461022-83392576 launched on Node cn-jenkins-deploy-platform-ansible-os-2990-1
2025-03-28 12:51:39,460 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/b3d7ba05-10e0-4f7a-913c-52df22d5c255
2025-03-28 12:51:39,472 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/8aa6ffb0-b176-42e5-a675-df9869f5aa99
2025-03-28 12:51:40,735 - 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.08 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.53 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 = 2.533/2.807/3.082/0.274 ms')
2025-03-28 12:51:40,735 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-91461022-83392576 passed
2025-03-28 12:51:40,888 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-28 12:51:40,888 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-91461022-83392576, IP 176.165.68.4, Port 22
2025-03-28 12:51:41,061 - DEBUG - VM ctest-TestBasicVMVNx-91461022-83392576 is ready for SSH connections
2025-03-28 12:51:41,061 - DEBUG - FILE SIZE = 1303B
2025-03-28 12:51:41,062 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-91461022-68566777 to ctest-TestBasicVMVNx-91461022-83392576 using scp
2025-03-28 12:51:41,062 - 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.33, gateway password: c0ntrail123
2025-03-28 12:51:41,063 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-03-28 12:51:43,085 - DEBUG - 1+0 records in
1+0 records out
2025-03-28 12:51:43,712 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-28 12:51:44,070 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123
2025-03-28 12:51:44,071 - DEBUG - ls -l testfile
2025-03-28 12:51:45,693 - DEBUG - -rw------- 1 cirros cirros 1303 Mar 28 06:51 [0;0mtestfile[0m
2025-03-28 12:51:45,693 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-91461022-83392576
2025-03-28 12:51:45,693 - INFO - Deleting VM ctest-TestBasicVMVNx-91461022-83392576
2025-03-28 12:51:45,772 - INFO - Deleting VM ctest-TestBasicVMVNx-91461022-68566777
2025-03-28 12:51:45,860 - INFO - Deleting VN ctest-vn-03976799
2025-03-28 12:51:45,906 - DEBUG - VN 1976b5ea-5c17-433b-8e9e-1633a3d1b515 still in use: Unable to complete operation on network 1976b5ea-5c17-433b-8e9e-1633a3d1b515. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-429eb6c7-2668-4e13-825b-fbe4262c0ea8']
2025-03-28 12:51:45,907 - WARNING - Deleting VN ctest-vn-03976799 failed..Will retry
2025-03-28 12:51:48,036 - DEBUG - Response for deleting network ()
2025-03-28 12:51:48,320 - DEBUG - No XMPP flaps were noticed during the test
2025-03-28 12:51:48,320 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-03-28 12:51:48,320 - INFO - --------------------------------------------------------------------------------
2025-03-28 12:51:49,118 - INFO - Deleted project: ctest-TestBasicVMVNx-91461022, ID : 2d467054-04c2-4e96-95ca-7d5ebcf5416c