2025-09-23 20:39:57,232 - INFO - Domain Default found not creating
2025-09-23 20:39:57,603 - INFO - Project ctest-TestBasicVMVNx-07637878 not found, creating it
2025-09-23 20:39:58,260 - INFO - Created Project:ctest-TestBasicVMVNx-07637878, ID : 616fa1c7-3e89-4aa2-b681-e47f0b24f7aa
2025-09-23 20:40:00,323 - INFO - ================================================================================
2025-09-23 20:40:00,324 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-09-23 20:40:00,324 - 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-09-23 20:40:00,652 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with
2025-09-23 20:40:00,652 - INFO - Initial checks done. Running the testcase now
2025-09-23 20:40:00,652 - INFO -
2025-09-23 20:40:01,405 - DEBUG - Response for create_network : {'network': {'id': 'da30c5c3-fa6c-476c-8a59-4ec1d943cd83', 'name': 'ctest-vn-87928854', 'tenant_id': '616fa1c73e894aa2b681e47f0b24f7aa', 'project_id': '616fa1c73e894aa2b681e47f0b24f7aa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-07637878', 'ctest-vn-87928854'], 'port_security_enabled': True, 'description': ''}}
2025-09-23 20:40:01,610 - DEBUG - Response for create_subnet : {'subnet': {'id': '5f26d9c5-ec87-4b91-aff4-9c2d054f4c4d', 'name': '', 'tenant_id': '616fa1c73e894aa2b681e47f0b24f7aa', 'network_id': 'da30c5c3-fa6c-476c-8a59-4ec1d943cd83', 'ip_version': 4, 'cidr': '7.137.51.64/26', 'allocation_pools': [{'start': '7.137.51.66', 'end': '7.137.51.126'}], 'gateway_ip': '7.137.51.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '7.137.51.66', 'tags': [], 'project_id': '616fa1c73e894aa2b681e47f0b24f7aa'}}
2025-09-23 20:40:01,636 - INFO - Created VN ctest-vn-87928854
2025-09-23 20:40:01,691 - DEBUG - VN ctest-vn-87928854 UUID is da30c5c3-fa6c-476c-8a59-4ec1d943cd83
2025-09-23 20:40:01,895 - DEBUG - Services list from nova: [, , ]
2025-09-23 20:40:03,396 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4178-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4178-1)
2025-09-23 20:40:04,873 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4178-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4178-1)
2025-09-23 20:40:04,873 - INFO - Waiting for VM ctest-TestBasicVMVNx-07637878-87228289 to be up..
2025-09-23 20:40:04,956 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-23 20:40:10,122 - DEBUG - VM is in ACTIVE state now
2025-09-23 20:40:10,122 - INFO - VM name : ctest-TestBasicVMVNx-07637878-87228289
2025-09-23 20:40:10,226 - DEBUG - VM ctest-TestBasicVMVNx-07637878-87228289 ID is 488f57f7-d8de-4d7c-aa49-c79a2019f980
2025-09-23 20:40:10,261 - DEBUG - VM ctest-TestBasicVMVNx-07637878-87228289 launched on Node cn-jenkins-deploy-platform-ansible-os-4178-1
2025-09-23 20:40:10,373 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/488f57f7-d8de-4d7c-aa49-c79a2019f980
2025-09-23 20:40:10,689 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/488f57f7-d8de-4d7c-aa49-c79a2019f980
2025-09-23 20:40:10,761 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/97384605-6bd6-433e-b0e7-baedf4a2e297
2025-09-23 20:40:14,057 - 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 1025ms')
2025-09-23 20:40:14,057 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-07637878-87228289 failed!
2025-09-23 20:40:14,119 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-07637878:ctest-vn-87928854 is 7.137.51.65 and allocation pool is NOT set
2025-09-23 20:40:16,212 - 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=8.42 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 1002ms\r\nrtt min/avg/max/mdev = 1.070/4.745/8.421/3.675 ms')
2025-09-23 20:40:16,213 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-07637878-87228289 passed
2025-09-23 20:40:16,383 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-23 20:40:16,383 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-07637878-87228289, IP 7.137.51.67, Port 22
2025-09-23 20:40:16,454 - 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-09-23 20:40:16,576 - DEBUG - VM ctest-TestBasicVMVNx-07637878-87228289 is NOT ready for SSH connections, VM status: ACTIVE
2025-09-23 20:40:21,577 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-23 20:40:21,577 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-07637878-87228289, IP 7.137.51.67, Port 22
2025-09-23 20:40:21,777 - DEBUG - VM ctest-TestBasicVMVNx-07637878-87228289 is ready for SSH connections
2025-09-23 20:40:21,777 - INFO - Waiting for VM ctest-TestBasicVMVNx-07637878-44455669 to be up..
2025-09-23 20:40:21,951 - DEBUG - VM is in ACTIVE state now
2025-09-23 20:40:21,951 - INFO - VM name : ctest-TestBasicVMVNx-07637878-44455669
2025-09-23 20:40:22,096 - DEBUG - VM ctest-TestBasicVMVNx-07637878-44455669 ID is 940bcc3a-2c94-4bee-9c90-808eff2e53f6
2025-09-23 20:40:22,096 - DEBUG - VM ctest-TestBasicVMVNx-07637878-44455669 launched on Node cn-jenkins-deploy-platform-ansible-os-4178-1
2025-09-23 20:40:22,264 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/940bcc3a-2c94-4bee-9c90-808eff2e53f6
2025-09-23 20:40:22,278 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/dc26f029-8320-4a8b-a249-935c43d2ad51
2025-09-23 20:40:23,598 - 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=8.60 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.835 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.835/4.717/8.599/3.882 ms')
2025-09-23 20:40:23,598 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-07637878-44455669 passed
2025-09-23 20:40:23,775 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-23 20:40:23,775 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-07637878-44455669, IP 7.137.51.68, Port 22
2025-09-23 20:40:23,953 - DEBUG - VM ctest-TestBasicVMVNx-07637878-44455669 is ready for SSH connections
2025-09-23 20:40:23,954 - DEBUG - FILE SIZE = 1303B
2025-09-23 20:40:23,954 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-07637878-87228289 to ctest-TestBasicVMVNx-07637878-44455669 using scp
2025-09-23 20:40:23,958 - 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.48, gateway password: c0ntrail123
2025-09-23 20:40:23,959 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-09-23 20:40:26,472 - DEBUG - 1+0 records in
1+0 records out
2025-09-23 20:40:27,235 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-23 20:40:27,771 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123
2025-09-23 20:40:27,771 - DEBUG - ls -l testfile
2025-09-23 20:40:29,748 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 23 14:40 [0;0mtestfile[0m
2025-09-23 20:40:29,749 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-07637878-44455669
2025-09-23 20:40:29,749 - INFO - Deleting VM ctest-TestBasicVMVNx-07637878-44455669
2025-09-23 20:40:29,850 - INFO - Deleting VM ctest-TestBasicVMVNx-07637878-87228289
2025-09-23 20:40:30,018 - INFO - Deleting VN ctest-vn-87928854
2025-09-23 20:40:30,094 - DEBUG - VN da30c5c3-fa6c-476c-8a59-4ec1d943cd83 still in use: Unable to complete operation on network da30c5c3-fa6c-476c-8a59-4ec1d943cd83. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-d0d4a79c-122f-42ae-8d76-6d07c7cbca8c']
2025-09-23 20:40:30,094 - WARNING - Deleting VN ctest-vn-87928854 failed..Will retry
2025-09-23 20:40:32,304 - DEBUG - Response for deleting network ()
2025-09-23 20:40:32,634 - DEBUG - No XMPP flaps were noticed during the test
2025-09-23 20:40:32,635 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:32]
2025-09-23 20:40:32,635 - INFO - --------------------------------------------------------------------------------
2025-09-23 20:40:33,511 - INFO - Deleted project: ctest-TestBasicVMVNx-07637878, ID : 616fa1c7-3e89-4aa2-b681-e47f0b24f7aa