2025-05-08 17:27:29,586 - INFO - Domain Default found not creating
2025-05-08 17:27:29,736 - INFO - Project ctest-TestBasicVMVNx-92679570 not found, creating it
2025-05-08 17:27:30,194 - INFO - Created Project:ctest-TestBasicVMVNx-92679570, ID : ee2f44f7-dcf4-4344-aebe-320c80a1dd61
2025-05-08 17:27:31,744 - INFO - ================================================================================
2025-05-08 17:27:31,745 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-05-08 17:27:31,745 - 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-05-08 17:27:32,004 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.254': '0'}} with
2025-05-08 17:27:32,004 - INFO - Initial checks done. Running the testcase now
2025-05-08 17:27:32,004 - INFO -
2025-05-08 17:27:32,606 - DEBUG - Response for create_network : {'network': {'id': 'e570cc0a-4ab8-425e-b1d3-1bceabb5983f', 'name': 'ctest-vn-28997974', 'tenant_id': 'ee2f44f7dcf44344aebe320c80a1dd61', 'project_id': 'ee2f44f7dcf44344aebe320c80a1dd61', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-92679570', 'ctest-vn-28997974'], 'port_security_enabled': True, 'description': ''}}
2025-05-08 17:27:32,813 - DEBUG - Response for create_subnet : {'subnet': {'id': '2d7167c1-2b8b-4e9d-b1c9-ce30ae3f8dee', 'name': '', 'tenant_id': 'ee2f44f7dcf44344aebe320c80a1dd61', 'network_id': 'e570cc0a-4ab8-425e-b1d3-1bceabb5983f', 'ip_version': 4, 'cidr': '193.148.118.0/26', 'allocation_pools': [{'start': '193.148.118.2', 'end': '193.148.118.62'}], 'gateway_ip': '193.148.118.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '193.148.118.2', 'tags': [], 'project_id': 'ee2f44f7dcf44344aebe320c80a1dd61'}}
2025-05-08 17:27:32,831 - INFO - Created VN ctest-vn-28997974
2025-05-08 17:27:32,885 - DEBUG - VN ctest-vn-28997974 UUID is e570cc0a-4ab8-425e-b1d3-1bceabb5983f
2025-05-08 17:27:33,087 - DEBUG - Services list from nova: [, , ]
2025-05-08 17:27:34,170 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3291-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3291-1)
2025-05-08 17:27:35,390 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3291-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3291-1)
2025-05-08 17:27:35,390 - INFO - Waiting for VM ctest-TestBasicVMVNx-92679570-36589836 to be up..
2025-05-08 17:27:35,468 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-05-08 17:27:40,546 - DEBUG - VM is in ACTIVE state now
2025-05-08 17:27:40,546 - INFO - VM name : ctest-TestBasicVMVNx-92679570-36589836
2025-05-08 17:27:40,625 - DEBUG - VM ctest-TestBasicVMVNx-92679570-36589836 ID is 6b77b597-029d-4b5f-9d97-9e1832dc04ba
2025-05-08 17:27:40,644 - DEBUG - VM ctest-TestBasicVMVNx-92679570-36589836 launched on Node cn-jenkins-deploy-platform-ansible-os-3291-1
2025-05-08 17:27:40,723 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/6b77b597-029d-4b5f-9d97-9e1832dc04ba
2025-05-08 17:27:41,058 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/6b77b597-029d-4b5f-9d97-9e1832dc04ba
2025-05-08 17:27:41,091 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/77c8bc9f-824e-404f-98d9-7cbfe39ec69f
2025-05-08 17:27:44,348 - 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 1011ms')
2025-05-08 17:27:44,348 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-92679570-36589836 failed!
2025-05-08 17:27:44,401 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-92679570:ctest-vn-28997974 is 193.148.118.1 and allocation pool is NOT set
2025-05-08 17:27:46,460 - 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.97 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.44 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.437/3.203/4.970/1.766 ms')
2025-05-08 17:27:46,460 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-92679570-36589836 passed
2025-05-08 17:27:46,609 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-08 17:27:46,609 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-92679570-36589836, IP 193.148.118.3, Port 22
2025-05-08 17:27:46,674 - 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-05-08 17:27:46,756 - DEBUG - VM ctest-TestBasicVMVNx-92679570-36589836 is NOT ready for SSH connections, VM status: ACTIVE
2025-05-08 17:27:51,757 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-08 17:27:51,757 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-92679570-36589836, IP 193.148.118.3, Port 22
2025-05-08 17:27:51,916 - DEBUG - VM ctest-TestBasicVMVNx-92679570-36589836 is ready for SSH connections
2025-05-08 17:27:51,916 - INFO - Waiting for VM ctest-TestBasicVMVNx-92679570-71176753 to be up..
2025-05-08 17:27:51,994 - DEBUG - VM is in ACTIVE state now
2025-05-08 17:27:51,994 - INFO - VM name : ctest-TestBasicVMVNx-92679570-71176753
2025-05-08 17:27:52,066 - DEBUG - VM ctest-TestBasicVMVNx-92679570-71176753 ID is 6662769c-5300-4054-a822-93d8bb92ab60
2025-05-08 17:27:52,066 - DEBUG - VM ctest-TestBasicVMVNx-92679570-71176753 launched on Node cn-jenkins-deploy-platform-ansible-os-3291-1
2025-05-08 17:27:52,140 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/6662769c-5300-4054-a822-93d8bb92ab60
2025-05-08 17:27:52,149 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/fe2cc9a4-ddf1-49f5-a4a1-a2913e3c3e4d
2025-05-08 17:27:53,385 - 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=2.93 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.354 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.354/1.643/2.933/1.289 ms')
2025-05-08 17:27:53,386 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-92679570-71176753 passed
2025-05-08 17:27:53,533 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-08 17:27:53,533 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-92679570-71176753, IP 193.148.118.4, Port 22
2025-05-08 17:27:53,699 - DEBUG - VM ctest-TestBasicVMVNx-92679570-71176753 is ready for SSH connections
2025-05-08 17:27:53,699 - DEBUG - FILE SIZE = 1303B
2025-05-08 17:27:53,699 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-92679570-36589836 to ctest-TestBasicVMVNx-92679570-71176753 using scp
2025-05-08 17:27:53,700 - 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-05-08 17:27:53,700 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-05-08 17:27:55,648 - DEBUG - 1+0 records in
1+0 records out
2025-05-08 17:27:56,302 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-08 17:27:56,640 - 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-05-08 17:27:56,640 - DEBUG - ls -l testfile
2025-05-08 17:27:58,221 - DEBUG - -rw------- 1 cirros cirros 1303 May 8 11:27 [0;0mtestfile[0m
2025-05-08 17:27:58,221 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-92679570-71176753
2025-05-08 17:27:58,221 - INFO - Deleting VM ctest-TestBasicVMVNx-92679570-71176753
2025-05-08 17:27:58,289 - INFO - Deleting VM ctest-TestBasicVMVNx-92679570-36589836
2025-05-08 17:27:58,358 - INFO - Deleting VN ctest-vn-28997974
2025-05-08 17:27:58,398 - DEBUG - VN e570cc0a-4ab8-425e-b1d3-1bceabb5983f still in use: Unable to complete operation on network e570cc0a-4ab8-425e-b1d3-1bceabb5983f. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-a79b9fab-e5b9-4d1f-a557-4f40a00cc222']
2025-05-08 17:27:58,398 - WARNING - Deleting VN ctest-vn-28997974 failed..Will retry
2025-05-08 17:28:00,542 - DEBUG - Response for deleting network ()
2025-05-08 17:28:00,803 - DEBUG - No XMPP flaps were noticed during the test
2025-05-08 17:28:00,803 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29]
2025-05-08 17:28:00,803 - INFO - --------------------------------------------------------------------------------
2025-05-08 17:28:01,539 - INFO - Deleted project: ctest-TestBasicVMVNx-92679570, ID : ee2f44f7-dcf4-4344-aebe-320c80a1dd61