2025-07-31 15:33:09,883 - INFO - Domain Default found not creating
2025-07-31 15:33:10,055 - INFO - Project ctest-TestBasicVMVNx-33431507 not found, creating it
2025-07-31 15:33:10,553 - INFO - Created Project:ctest-TestBasicVMVNx-33431507, ID : 2d4d223d-4509-4c7e-86f6-8bd3ddff391b
2025-07-31 15:33:12,076 - INFO - ================================================================================
2025-07-31 15:33:12,077 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-07-31 15:33:12,077 - 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-07-31 15:33:12,339 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2025-07-31 15:33:12,339 - INFO - Initial checks done. Running the testcase now
2025-07-31 15:33:12,340 - INFO -
2025-07-31 15:33:12,914 - DEBUG - Response for create_network : {'network': {'id': 'ac6c70ae-8b00-481f-b729-6edb99af3eca', 'name': 'ctest-vn-33662787', 'tenant_id': '2d4d223d45094c7e86f68bd3ddff391b', 'project_id': '2d4d223d45094c7e86f68bd3ddff391b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-33431507', 'ctest-vn-33662787'], 'port_security_enabled': True, 'description': ''}}
2025-07-31 15:33:13,127 - DEBUG - Response for create_subnet : {'subnet': {'id': '1602187a-59d4-44f9-95c4-d6e296ece4b6', 'name': '', 'tenant_id': '2d4d223d45094c7e86f68bd3ddff391b', 'network_id': 'ac6c70ae-8b00-481f-b729-6edb99af3eca', 'ip_version': 4, 'cidr': '34.133.147.128/26', 'allocation_pools': [{'start': '34.133.147.130', 'end': '34.133.147.190'}], 'gateway_ip': '34.133.147.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '34.133.147.130', 'tags': [], 'project_id': '2d4d223d45094c7e86f68bd3ddff391b'}}
2025-07-31 15:33:13,150 - INFO - Created VN ctest-vn-33662787
2025-07-31 15:33:13,209 - DEBUG - VN ctest-vn-33662787 UUID is ac6c70ae-8b00-481f-b729-6edb99af3eca
2025-07-31 15:33:13,382 - DEBUG - Services list from nova: [, , ]
2025-07-31 15:33:14,439 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3738-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3738-1)
2025-07-31 15:33:15,607 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3738-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3738-1)
2025-07-31 15:33:15,607 - INFO - Waiting for VM ctest-TestBasicVMVNx-33431507-12856300 to be up..
2025-07-31 15:33:15,709 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-07-31 15:33:20,797 - DEBUG - VM is in ACTIVE state now
2025-07-31 15:33:20,797 - INFO - VM name : ctest-TestBasicVMVNx-33431507-12856300
2025-07-31 15:33:20,886 - DEBUG - VM ctest-TestBasicVMVNx-33431507-12856300 ID is a2d498f7-e5e4-4d18-8d45-1b2cd7787de6
2025-07-31 15:33:20,908 - DEBUG - VM ctest-TestBasicVMVNx-33431507-12856300 launched on Node cn-jenkins-deploy-platform-ansible-os-3738-1
2025-07-31 15:33:20,991 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a2d498f7-e5e4-4d18-8d45-1b2cd7787de6
2025-07-31 15:33:21,291 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a2d498f7-e5e4-4d18-8d45-1b2cd7787de6
2025-07-31 15:33:21,331 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/2287b86c-d656-4d94-aa9c-0a2a309b3086
2025-07-31 15:33:24,621 - 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 1030ms')
2025-07-31 15:33:24,621 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-33431507-12856300 failed!
2025-07-31 15:33:24,680 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-33431507:ctest-vn-33662787 is 34.133.147.129 and allocation pool is NOT set
2025-07-31 15:33:26,746 - 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=6.80 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.958 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.958/3.881/6.804/2.923 ms')
2025-07-31 15:33:26,746 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-33431507-12856300 passed
2025-07-31 15:33:26,904 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-31 15:33:26,905 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-33431507-12856300, IP 34.133.147.131, Port 22
2025-07-31 15:33:27,060 - DEBUG - VM ctest-TestBasicVMVNx-33431507-12856300 is ready for SSH connections
2025-07-31 15:33:27,060 - INFO - Waiting for VM ctest-TestBasicVMVNx-33431507-23537693 to be up..
2025-07-31 15:33:27,146 - DEBUG - VM is in ACTIVE state now
2025-07-31 15:33:27,146 - INFO - VM name : ctest-TestBasicVMVNx-33431507-23537693
2025-07-31 15:33:27,225 - DEBUG - VM ctest-TestBasicVMVNx-33431507-23537693 ID is 666906b8-2f43-4661-94d8-09e7155d2341
2025-07-31 15:33:27,225 - DEBUG - VM ctest-TestBasicVMVNx-33431507-23537693 launched on Node cn-jenkins-deploy-platform-ansible-os-3738-1
2025-07-31 15:33:27,305 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/666906b8-2f43-4661-94d8-09e7155d2341
2025-07-31 15:33:27,318 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d09dcfbd-a3da-425a-81c1-2e02508eecb4
2025-07-31 15:33:28,563 - 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=4.09 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.91 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 = 2.914/3.500/4.087/0.586 ms')
2025-07-31 15:33:28,564 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-33431507-23537693 passed
2025-07-31 15:33:28,716 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-31 15:33:28,716 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-33431507-23537693, IP 34.133.147.132, Port 22
2025-07-31 15:33:28,772 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-07-31 15:33:28,848 - DEBUG - VM ctest-TestBasicVMVNx-33431507-23537693 is NOT ready for SSH connections, VM status: ACTIVE
2025-07-31 15:33:33,850 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-31 15:33:33,850 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-33431507-23537693, IP 34.133.147.132, Port 22
2025-07-31 15:33:34,012 - DEBUG - VM ctest-TestBasicVMVNx-33431507-23537693 is ready for SSH connections
2025-07-31 15:33:34,012 - DEBUG - FILE SIZE = 1303B
2025-07-31 15:33:34,012 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-33431507-12856300 to ctest-TestBasicVMVNx-33431507-23537693 using scp
2025-07-31 15:33:34,013 - 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.38, gateway password: c0ntrail123
2025-07-31 15:33:34,014 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-07-31 15:33:35,961 - DEBUG - 1+0 records in
1+0 records out
2025-07-31 15:33:36,571 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-31 15:33:36,901 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-07-31 15:33:36,901 - DEBUG - ls -l testfile
2025-07-31 15:33:38,477 - DEBUG - -rw------- 1 cirros cirros 1303 Jul 31 09:33 [0;0mtestfile[0m
2025-07-31 15:33:38,477 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-33431507-23537693
2025-07-31 15:33:38,477 - INFO - Deleting VM ctest-TestBasicVMVNx-33431507-23537693
2025-07-31 15:33:38,552 - INFO - Deleting VM ctest-TestBasicVMVNx-33431507-12856300
2025-07-31 15:33:38,630 - INFO - Deleting VN ctest-vn-33662787
2025-07-31 15:33:38,674 - DEBUG - VN ac6c70ae-8b00-481f-b729-6edb99af3eca still in use: Unable to complete operation on network ac6c70ae-8b00-481f-b729-6edb99af3eca. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-1b4f1c86-4b8d-4de2-a4f0-bb7cb35bd036']
2025-07-31 15:33:38,674 - WARNING - Deleting VN ctest-vn-33662787 failed..Will retry
2025-07-31 15:33:40,787 - DEBUG - Response for deleting network ()
2025-07-31 15:33:41,044 - DEBUG - No XMPP flaps were noticed during the test
2025-07-31 15:33:41,044 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29]
2025-07-31 15:33:41,044 - INFO - --------------------------------------------------------------------------------
2025-07-31 15:33:41,740 - INFO - Deleted project: ctest-TestBasicVMVNx-33431507, ID : 2d4d223d-4509-4c7e-86f6-8bd3ddff391b