2025-04-03 16:06:25,135 - INFO - Domain Default found not creating
2025-04-03 16:06:25,293 - INFO - Project ctest-TestBasicVMVNx-83358828 not found, creating it
2025-04-03 16:06:25,800 - INFO - Created Project:ctest-TestBasicVMVNx-83358828, ID : 78801470-3984-45d0-ac7b-45d48e6efda9
2025-04-03 16:06:27,420 - INFO - ================================================================================
2025-04-03 16:06:27,420 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-04-03 16:06:27,420 - 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-03 16:06:27,682 - DEBUG - Nothing to compare xmpp stats {'10.0.0.30': {'10.20.0.5': '0'}} with
2025-04-03 16:06:27,682 - INFO - Initial checks done. Running the testcase now
2025-04-03 16:06:27,682 - INFO -
2025-04-03 16:06:28,384 - DEBUG - Response for create_network : {'network': {'id': 'a723f728-098f-4872-a238-d9efb1f3ba80', 'name': 'ctest-vn-74962606', 'tenant_id': '78801470398445d0ac7b45d48e6efda9', 'project_id': '78801470398445d0ac7b45d48e6efda9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-83358828', 'ctest-vn-74962606'], 'port_security_enabled': True, 'description': ''}}
2025-04-03 16:06:28,624 - DEBUG - Response for create_subnet : {'subnet': {'id': '1649abd6-b755-4dbf-ac24-b6b340dc7103', 'name': '', 'tenant_id': '78801470398445d0ac7b45d48e6efda9', 'network_id': 'a723f728-098f-4872-a238-d9efb1f3ba80', 'ip_version': 4, 'cidr': '192.74.173.64/26', 'allocation_pools': [{'start': '192.74.173.66', 'end': '192.74.173.126'}], 'gateway_ip': '192.74.173.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '192.74.173.66', 'tags': [], 'project_id': '78801470398445d0ac7b45d48e6efda9'}}
2025-04-03 16:06:28,650 - INFO - Created VN ctest-vn-74962606
2025-04-03 16:06:28,703 - DEBUG - VN ctest-vn-74962606 UUID is a723f728-098f-4872-a238-d9efb1f3ba80
2025-04-03 16:06:28,900 - DEBUG - Services list from nova: [, , ]
2025-04-03 16:06:30,059 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3027-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3027-1)
2025-04-03 16:06:31,361 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3027-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3027-1)
2025-04-03 16:06:31,361 - INFO - Waiting for VM ctest-TestBasicVMVNx-83358828-98415208 to be up..
2025-04-03 16:06:31,459 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-04-03 16:06:36,555 - DEBUG - VM is in ACTIVE state now
2025-04-03 16:06:36,555 - INFO - VM name : ctest-TestBasicVMVNx-83358828-98415208
2025-04-03 16:06:36,649 - DEBUG - VM ctest-TestBasicVMVNx-83358828-98415208 ID is 91b770ee-3b6c-405f-8bdd-d11b8ffd39da
2025-04-03 16:06:36,671 - DEBUG - VM ctest-TestBasicVMVNx-83358828-98415208 launched on Node cn-jenkins-deploy-platform-ansible-os-3027-1
2025-04-03 16:06:36,761 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/91b770ee-3b6c-405f-8bdd-d11b8ffd39da
2025-04-03 16:06:37,099 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/91b770ee-3b6c-405f-8bdd-d11b8ffd39da
2025-04-03 16:06:37,137 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/d9a1fde9-d183-4983-b0df-d1ab10090785
2025-04-03 16:06:40,414 - 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 1021ms')
2025-04-03 16:06:40,414 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-83358828-98415208 failed!
2025-04-03 16:06:40,471 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-83358828:ctest-vn-74962606 is 192.74.173.65 and allocation pool is NOT set
2025-04-03 16:06:42,536 - 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=10.7 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=4.14 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 = 4.142/7.432/10.723/3.290 ms')
2025-04-03 16:06:42,536 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-83358828-98415208 passed
2025-04-03 16:06:42,691 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-03 16:06:42,691 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-83358828-98415208, IP 192.74.173.67, Port 22
2025-04-03 16:06:42,758 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-04-03 16:06:42,863 - DEBUG - VM ctest-TestBasicVMVNx-83358828-98415208 is NOT ready for SSH connections, VM status: ACTIVE
2025-04-03 16:06:47,863 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-03 16:06:47,863 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-83358828-98415208, IP 192.74.173.67, Port 22
2025-04-03 16:06:48,019 - DEBUG - VM ctest-TestBasicVMVNx-83358828-98415208 is ready for SSH connections
2025-04-03 16:06:48,019 - INFO - Waiting for VM ctest-TestBasicVMVNx-83358828-75705329 to be up..
2025-04-03 16:06:48,107 - DEBUG - VM is in ACTIVE state now
2025-04-03 16:06:48,107 - INFO - VM name : ctest-TestBasicVMVNx-83358828-75705329
2025-04-03 16:06:48,187 - DEBUG - VM ctest-TestBasicVMVNx-83358828-75705329 ID is 3f745301-7c22-4091-aea0-5053ab78b3b0
2025-04-03 16:06:48,187 - DEBUG - VM ctest-TestBasicVMVNx-83358828-75705329 launched on Node cn-jenkins-deploy-platform-ansible-os-3027-1
2025-04-03 16:06:48,269 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/3f745301-7c22-4091-aea0-5053ab78b3b0
2025-04-03 16:06:48,281 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/17444800-9008-4024-9a4a-7f30488fc835
2025-04-03 16:06:49,532 - 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.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.642 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.642/2.172/3.702/1.530 ms')
2025-04-03 16:06:49,533 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-83358828-75705329 passed
2025-04-03 16:06:49,687 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-03 16:06:49,688 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-83358828-75705329, IP 192.74.173.68, Port 22
2025-04-03 16:06:49,857 - DEBUG - VM ctest-TestBasicVMVNx-83358828-75705329 is ready for SSH connections
2025-04-03 16:06:49,857 - DEBUG - FILE SIZE = 1303B
2025-04-03 16:06:49,857 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-83358828-98415208 to ctest-TestBasicVMVNx-83358828-75705329 using scp
2025-04-03 16:06:49,858 - 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.30, gateway password: c0ntrail123
2025-04-03 16:06:49,858 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-04-03 16:06:51,887 - DEBUG - 1+0 records in
1+0 records out
2025-04-03 16:06:52,576 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-03 16:06:52,945 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.30, gateway password: c0ntrail123
2025-04-03 16:06:52,945 - DEBUG - ls -l testfile
2025-04-03 16:06:54,580 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 3 10:06 [0;0mtestfile[0m
2025-04-03 16:06:54,580 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-83358828-75705329
2025-04-03 16:06:54,580 - INFO - Deleting VM ctest-TestBasicVMVNx-83358828-75705329
2025-04-03 16:06:54,769 - INFO - Deleting VM ctest-TestBasicVMVNx-83358828-98415208
2025-04-03 16:06:54,843 - INFO - Deleting VN ctest-vn-74962606
2025-04-03 16:06:54,885 - DEBUG - VN a723f728-098f-4872-a238-d9efb1f3ba80 still in use: Unable to complete operation on network a723f728-098f-4872-a238-d9efb1f3ba80. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-16ab6a72-533c-4770-8060-3797444f8931']
2025-04-03 16:06:54,885 - WARNING - Deleting VN ctest-vn-74962606 failed..Will retry
2025-04-03 16:06:57,029 - DEBUG - Response for deleting network ()
2025-04-03 16:06:57,286 - DEBUG - No XMPP flaps were noticed during the test
2025-04-03 16:06:57,286 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:30]
2025-04-03 16:06:57,286 - INFO - --------------------------------------------------------------------------------
2025-04-03 16:06:58,058 - INFO - Deleted project: ctest-TestBasicVMVNx-83358828, ID : 78801470-3984-45d0-ac7b-45d48e6efda9