2025-04-09 13:05:00,951 - INFO - Domain Default found not creating
2025-04-09 13:05:01,131 - INFO - Project ctest-TestBasicVMVNx-29485310 not found, creating it
2025-04-09 13:05:01,625 - INFO - Created Project:ctest-TestBasicVMVNx-29485310, ID : 3588dd44-bdae-4b18-a84d-43baec2ca263
2025-04-09 13:05:03,233 - INFO - ================================================================================
2025-04-09 13:05:03,233 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-04-09 13:05:03,233 - 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-09 13:05:03,491 - DEBUG - Nothing to compare xmpp stats {'10.0.0.252': {'10.20.0.14': '0'}} with
2025-04-09 13:05:03,491 - INFO - Initial checks done. Running the testcase now
2025-04-09 13:05:03,492 - INFO -
2025-04-09 13:05:04,080 - DEBUG - Response for create_network : {'network': {'id': 'ac3d7487-56bf-4dad-8ca5-aa0fb59899b9', 'name': 'ctest-vn-56016170', 'tenant_id': '3588dd44bdae4b18a84d43baec2ca263', 'project_id': '3588dd44bdae4b18a84d43baec2ca263', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-29485310', 'ctest-vn-56016170'], 'port_security_enabled': True, 'description': ''}}
2025-04-09 13:05:04,264 - DEBUG - Response for create_subnet : {'subnet': {'id': '6c8962ff-5a46-4d15-a6f6-52c8e4340760', 'name': '', 'tenant_id': '3588dd44bdae4b18a84d43baec2ca263', 'network_id': 'ac3d7487-56bf-4dad-8ca5-aa0fb59899b9', 'ip_version': 4, 'cidr': '147.96.48.64/26', 'allocation_pools': [{'start': '147.96.48.66', 'end': '147.96.48.126'}], 'gateway_ip': '147.96.48.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '147.96.48.66', 'tags': [], 'project_id': '3588dd44bdae4b18a84d43baec2ca263'}}
2025-04-09 13:05:04,286 - INFO - Created VN ctest-vn-56016170
2025-04-09 13:05:04,349 - DEBUG - VN ctest-vn-56016170 UUID is ac3d7487-56bf-4dad-8ca5-aa0fb59899b9
2025-04-09 13:05:04,522 - DEBUG - Services list from nova: [, , ]
2025-04-09 13:05:05,552 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3066-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3066-1)
2025-04-09 13:05:06,729 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3066-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3066-1)
2025-04-09 13:05:06,729 - INFO - Waiting for VM ctest-TestBasicVMVNx-29485310-94910851 to be up..
2025-04-09 13:05:06,816 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-04-09 13:05:11,897 - DEBUG - VM is in ACTIVE state now
2025-04-09 13:05:11,897 - INFO - VM name : ctest-TestBasicVMVNx-29485310-94910851
2025-04-09 13:05:11,983 - DEBUG - VM ctest-TestBasicVMVNx-29485310-94910851 ID is ebc7ff9c-9763-474c-8c53-bc1f1c9a1c76
2025-04-09 13:05:12,007 - DEBUG - VM ctest-TestBasicVMVNx-29485310-94910851 launched on Node cn-jenkins-deploy-platform-ansible-os-3066-1
2025-04-09 13:05:12,090 - DEBUG - Requesting: http://10.0.0.252:8082/virtual-machine/ebc7ff9c-9763-474c-8c53-bc1f1c9a1c76
2025-04-09 13:05:12,386 - DEBUG - Requesting: http://10.0.0.252:8082/virtual-machine/ebc7ff9c-9763-474c-8c53-bc1f1c9a1c76
2025-04-09 13:05:12,421 - DEBUG - Requesting: http://10.0.0.252:8082/virtual-machine-interface/9659c15a-fb59-4750-8ee8-b3b0f2b773e8
2025-04-09 13:05:15,691 - 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 1023ms')
2025-04-09 13:05:15,691 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-29485310-94910851 failed!
2025-04-09 13:05:15,749 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-29485310:ctest-vn-56016170 is 147.96.48.65 and allocation pool is NOT set
2025-04-09 13:05:17,816 - 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.31 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.09 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.094/3.200/5.307/2.106 ms')
2025-04-09 13:05:17,816 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-29485310-94910851 passed
2025-04-09 13:05:17,973 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-09 13:05:17,973 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-29485310-94910851, IP 147.96.48.67, Port 22
2025-04-09 13:05:18,128 - DEBUG - VM ctest-TestBasicVMVNx-29485310-94910851 is ready for SSH connections
2025-04-09 13:05:18,128 - INFO - Waiting for VM ctest-TestBasicVMVNx-29485310-73681031 to be up..
2025-04-09 13:05:18,212 - DEBUG - VM is in ACTIVE state now
2025-04-09 13:05:18,212 - INFO - VM name : ctest-TestBasicVMVNx-29485310-73681031
2025-04-09 13:05:18,294 - DEBUG - VM ctest-TestBasicVMVNx-29485310-73681031 ID is 9f913b6e-dbd4-4414-9987-e2ab315a5d25
2025-04-09 13:05:18,294 - DEBUG - VM ctest-TestBasicVMVNx-29485310-73681031 launched on Node cn-jenkins-deploy-platform-ansible-os-3066-1
2025-04-09 13:05:18,379 - DEBUG - Requesting: http://10.0.0.252:8082/virtual-machine/9f913b6e-dbd4-4414-9987-e2ab315a5d25
2025-04-09 13:05:18,390 - DEBUG - Requesting: http://10.0.0.252:8082/virtual-machine-interface/bae5191f-249d-4a52-9d6b-cc4fba9eb18c
2025-04-09 13:05:19,636 - 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.22 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.540 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 = 0.540/1.880/3.221/1.340 ms')
2025-04-09 13:05:19,636 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-29485310-73681031 passed
2025-04-09 13:05:19,793 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-09 13:05:19,793 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-29485310-73681031, IP 147.96.48.68, Port 22
2025-04-09 13:05:19,948 - DEBUG - VM ctest-TestBasicVMVNx-29485310-73681031 is ready for SSH connections
2025-04-09 13:05:19,948 - DEBUG - FILE SIZE = 1303B
2025-04-09 13:05:19,948 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-29485310-94910851 to ctest-TestBasicVMVNx-29485310-73681031 using scp
2025-04-09 13:05:19,949 - 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.252, gateway password: c0ntrail123
2025-04-09 13:05:19,949 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-04-09 13:05:21,551 - DEBUG - 1+0 records in
1+0 records out
2025-04-09 13:05:22,245 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-09 13:05:22,572 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.252, gateway password: c0ntrail123
2025-04-09 13:05:22,573 - DEBUG - ls -l testfile
2025-04-09 13:05:24,173 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 9 07:05 [0;0mtestfile[0m
2025-04-09 13:05:24,173 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-29485310-73681031
2025-04-09 13:05:24,173 - INFO - Deleting VM ctest-TestBasicVMVNx-29485310-73681031
2025-04-09 13:05:24,330 - INFO - Deleting VM ctest-TestBasicVMVNx-29485310-94910851
2025-04-09 13:05:24,397 - INFO - Deleting VN ctest-vn-56016170
2025-04-09 13:05:24,436 - DEBUG - VN ac3d7487-56bf-4dad-8ca5-aa0fb59899b9 still in use: Unable to complete operation on network ac3d7487-56bf-4dad-8ca5-aa0fb59899b9. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-f745cbb7-4765-469b-9cbb-102d927a46cd']
2025-04-09 13:05:24,436 - WARNING - Deleting VN ctest-vn-56016170 failed..Will retry
2025-04-09 13:05:26,547 - DEBUG - Response for deleting network ()
2025-04-09 13:05:26,803 - DEBUG - No XMPP flaps were noticed during the test
2025-04-09 13:05:26,804 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-04-09 13:05:26,804 - INFO - --------------------------------------------------------------------------------
2025-04-09 13:05:27,492 - INFO - Deleted project: ctest-TestBasicVMVNx-29485310, ID : 3588dd44-bdae-4b18-a84d-43baec2ca263