2025-03-22 13:52:07,304 - INFO - Domain Default found not creating
2025-03-22 13:52:07,485 - INFO - Project ctest-TestBasicVMVNx-62283821 not found, creating it
2025-03-22 13:52:07,984 - INFO - Created Project:ctest-TestBasicVMVNx-62283821, ID : ea2fcee4-2b75-4fbc-989d-bfee020c2301
2025-03-22 13:52:10,188 - INFO - ================================================================================
2025-03-22 13:52:10,188 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-03-22 13:52:10,188 - 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-22 13:52:10,454 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.5': '0'}} with
2025-03-22 13:52:10,455 - INFO - Initial checks done. Running the testcase now
2025-03-22 13:52:10,455 - INFO -
2025-03-22 13:52:11,031 - DEBUG - Response for create_network : {'network': {'id': '4ad5b6b5-7243-4259-b505-e483c9661db6', 'name': 'ctest-vn-95225565', 'tenant_id': 'ea2fcee42b754fbc989dbfee020c2301', 'project_id': 'ea2fcee42b754fbc989dbfee020c2301', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-62283821', 'ctest-vn-95225565'], 'port_security_enabled': True, 'description': ''}}
2025-03-22 13:52:11,253 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f08cb766-1f4e-475a-8287-597081a486eb', 'name': '', 'tenant_id': 'ea2fcee42b754fbc989dbfee020c2301', 'network_id': '4ad5b6b5-7243-4259-b505-e483c9661db6', 'ip_version': 4, 'cidr': '3.228.43.0/26', 'allocation_pools': [{'start': '3.228.43.2', 'end': '3.228.43.62'}], 'gateway_ip': '3.228.43.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '3.228.43.2', 'tags': [], 'project_id': 'ea2fcee42b754fbc989dbfee020c2301'}}
2025-03-22 13:52:11,274 - INFO - Created VN ctest-vn-95225565
2025-03-22 13:52:11,327 - DEBUG - VN ctest-vn-95225565 UUID is 4ad5b6b5-7243-4259-b505-e483c9661db6
2025-03-22 13:52:11,500 - DEBUG - Services list from nova: [, , ]
2025-03-22 13:52:12,553 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2937-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2937-1)
2025-03-22 13:52:13,874 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2937-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2937-1)
2025-03-22 13:52:13,874 - INFO - Waiting for VM ctest-TestBasicVMVNx-62283821-16344192 to be up..
2025-03-22 13:52:13,980 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-03-22 13:52:19,074 - DEBUG - VM is in ACTIVE state now
2025-03-22 13:52:19,074 - INFO - VM name : ctest-TestBasicVMVNx-62283821-16344192
2025-03-22 13:52:19,167 - DEBUG - VM ctest-TestBasicVMVNx-62283821-16344192 ID is fd595830-007e-4836-aeac-078975229c15
2025-03-22 13:52:19,193 - DEBUG - VM ctest-TestBasicVMVNx-62283821-16344192 launched on Node cn-jenkins-deploy-platform-ansible-os-2937-1
2025-03-22 13:52:19,293 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/fd595830-007e-4836-aeac-078975229c15
2025-03-22 13:52:19,595 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/fd595830-007e-4836-aeac-078975229c15
2025-03-22 13:52:19,628 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/fb169fb3-9100-4676-837f-daed0076c1d5
2025-03-22 13:52:22,910 - 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 1026ms')
2025-03-22 13:52:22,910 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-62283821-16344192 failed!
2025-03-22 13:52:22,967 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-62283821:ctest-vn-95225565 is 3.228.43.1 and allocation pool is NOT set
2025-03-22 13:52:25,027 - 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.47 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.475 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 = 0.475/1.973/3.472/1.498 ms')
2025-03-22 13:52:25,027 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-62283821-16344192 passed
2025-03-22 13:52:25,183 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-22 13:52:25,183 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-62283821-16344192, IP 3.228.43.3, Port 22
2025-03-22 13:52:25,338 - DEBUG - VM ctest-TestBasicVMVNx-62283821-16344192 is ready for SSH connections
2025-03-22 13:52:25,338 - INFO - Waiting for VM ctest-TestBasicVMVNx-62283821-79870464 to be up..
2025-03-22 13:52:25,436 - DEBUG - VM is in ACTIVE state now
2025-03-22 13:52:25,436 - INFO - VM name : ctest-TestBasicVMVNx-62283821-79870464
2025-03-22 13:52:25,521 - DEBUG - VM ctest-TestBasicVMVNx-62283821-79870464 ID is 45a360b1-907d-4c94-9934-1e78ab213bfe
2025-03-22 13:52:25,521 - DEBUG - VM ctest-TestBasicVMVNx-62283821-79870464 launched on Node cn-jenkins-deploy-platform-ansible-os-2937-1
2025-03-22 13:52:25,619 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/45a360b1-907d-4c94-9934-1e78ab213bfe
2025-03-22 13:52:25,631 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/e4fc0f7b-a508-4129-99e1-4d0768921d20
2025-03-22 13:52:26,887 - 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.16 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.06 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 = 1.056/2.106/3.156/1.050 ms')
2025-03-22 13:52:26,887 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-62283821-79870464 passed
2025-03-22 13:52:27,043 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-22 13:52:27,043 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-62283821-79870464, IP 3.228.43.4, Port 22
2025-03-22 13:52:27,218 - DEBUG - VM ctest-TestBasicVMVNx-62283821-79870464 is ready for SSH connections
2025-03-22 13:52:27,218 - DEBUG - FILE SIZE = 1303B
2025-03-22 13:52:27,218 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-62283821-16344192 to ctest-TestBasicVMVNx-62283821-79870464 using scp
2025-03-22 13:52:27,219 - 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.22, gateway password: c0ntrail123
2025-03-22 13:52:27,219 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-03-22 13:52:29,180 - DEBUG - 1+0 records in
1+0 records out
2025-03-22 13:52:30,005 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-22 13:52:30,348 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-03-22 13:52:30,348 - DEBUG - ls -l testfile
2025-03-22 13:52:31,980 - DEBUG - -rw------- 1 cirros cirros 1303 Mar 22 07:52 [0;0mtestfile[0m
2025-03-22 13:52:31,981 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-62283821-79870464
2025-03-22 13:52:31,981 - INFO - Deleting VM ctest-TestBasicVMVNx-62283821-79870464
2025-03-22 13:52:32,075 - INFO - Deleting VM ctest-TestBasicVMVNx-62283821-16344192
2025-03-22 13:52:32,162 - INFO - Deleting VN ctest-vn-95225565
2025-03-22 13:52:32,211 - DEBUG - VN 4ad5b6b5-7243-4259-b505-e483c9661db6 still in use: Unable to complete operation on network 4ad5b6b5-7243-4259-b505-e483c9661db6. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-7f54bfa1-34c7-4d47-a395-f5c4d421cdcf']
2025-03-22 13:52:32,212 - WARNING - Deleting VN ctest-vn-95225565 failed..Will retry
2025-03-22 13:52:34,329 - DEBUG - Response for deleting network ()
2025-03-22 13:52:34,592 - DEBUG - No XMPP flaps were noticed during the test
2025-03-22 13:52:34,592 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-03-22 13:52:34,592 - INFO - --------------------------------------------------------------------------------
2025-03-22 13:52:35,315 - INFO - Deleted project: ctest-TestBasicVMVNx-62283821, ID : ea2fcee4-2b75-4fbc-989d-bfee020c2301