2025-06-24 13:43:36,123 - INFO - Domain Default found not creating
2025-06-24 13:43:36,269 - INFO - Project ctest-TestBasicVMVNx-03433855 not found, creating it
2025-06-24 13:43:36,719 - INFO - Created Project:ctest-TestBasicVMVNx-03433855, ID : a8918042-db3b-4de6-89b8-8a7b73a5721d
2025-06-24 13:43:38,154 - INFO - ================================================================================
2025-06-24 13:43:38,154 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-06-24 13:43:38,154 - 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-06-24 13:43:38,411 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.25': '0'}} with
2025-06-24 13:43:38,411 - INFO - Initial checks done. Running the testcase now
2025-06-24 13:43:38,411 - INFO -
2025-06-24 13:43:38,994 - DEBUG - Response for create_network : {'network': {'id': '3afcd509-11c9-48e3-8088-722550d7f027', 'name': 'ctest-vn-84145586', 'tenant_id': 'a8918042db3b4de689b88a7b73a5721d', 'project_id': 'a8918042db3b4de689b88a7b73a5721d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-03433855', 'ctest-vn-84145586'], 'port_security_enabled': True, 'description': ''}}
2025-06-24 13:43:39,159 - DEBUG - Response for create_subnet : {'subnet': {'id': '68580d54-1859-4846-8a31-d9cbcd49abaa', 'name': '', 'tenant_id': 'a8918042db3b4de689b88a7b73a5721d', 'network_id': '3afcd509-11c9-48e3-8088-722550d7f027', 'ip_version': 4, 'cidr': '158.178.130.0/26', 'allocation_pools': [{'start': '158.178.130.2', 'end': '158.178.130.62'}], 'gateway_ip': '158.178.130.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '158.178.130.2', 'tags': [], 'project_id': 'a8918042db3b4de689b88a7b73a5721d'}}
2025-06-24 13:43:39,179 - INFO - Created VN ctest-vn-84145586
2025-06-24 13:43:39,232 - DEBUG - VN ctest-vn-84145586 UUID is 3afcd509-11c9-48e3-8088-722550d7f027
2025-06-24 13:43:39,398 - DEBUG - Services list from nova: [, , ]
2025-06-24 13:43:40,410 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3536-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3536-1)
2025-06-24 13:43:41,568 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3536-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3536-1)
2025-06-24 13:43:41,568 - INFO - Waiting for VM ctest-TestBasicVMVNx-03433855-71666581 to be up..
2025-06-24 13:43:41,757 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-06-24 13:43:46,843 - DEBUG - VM is in ACTIVE state now
2025-06-24 13:43:46,843 - INFO - VM name : ctest-TestBasicVMVNx-03433855-71666581
2025-06-24 13:43:46,920 - DEBUG - VM ctest-TestBasicVMVNx-03433855-71666581 ID is 3b08ab87-26e1-4083-bd0a-d3e334fc846b
2025-06-24 13:43:46,943 - DEBUG - VM ctest-TestBasicVMVNx-03433855-71666581 launched on Node cn-jenkins-deploy-platform-ansible-os-3536-1
2025-06-24 13:43:47,022 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/3b08ab87-26e1-4083-bd0a-d3e334fc846b
2025-06-24 13:43:47,314 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/3b08ab87-26e1-4083-bd0a-d3e334fc846b
2025-06-24 13:43:47,345 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/d1c37c2c-9d06-4eb8-bc9b-95798a4a3917
2025-06-24 13:43:50,611 - 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 1027ms')
2025-06-24 13:43:50,611 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-03433855-71666581 failed!
2025-06-24 13:43:50,677 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-03433855:ctest-vn-84145586 is 158.178.130.1 and allocation pool is NOT set
2025-06-24 13:43:52,738 - 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=3.70 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.24 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.244/2.470/3.696/1.226 ms')
2025-06-24 13:43:52,738 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-03433855-71666581 passed
2025-06-24 13:43:52,893 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-24 13:43:52,893 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-03433855-71666581, IP 158.178.130.3, Port 22
2025-06-24 13:43:52,959 - 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-06-24 13:43:53,032 - DEBUG - VM ctest-TestBasicVMVNx-03433855-71666581 is NOT ready for SSH connections, VM status: ACTIVE
2025-06-24 13:43:58,033 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-24 13:43:58,033 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-03433855-71666581, IP 158.178.130.3, Port 22
2025-06-24 13:43:58,188 - DEBUG - VM ctest-TestBasicVMVNx-03433855-71666581 is ready for SSH connections
2025-06-24 13:43:58,188 - INFO - Waiting for VM ctest-TestBasicVMVNx-03433855-31945224 to be up..
2025-06-24 13:43:58,266 - DEBUG - VM is in ACTIVE state now
2025-06-24 13:43:58,266 - INFO - VM name : ctest-TestBasicVMVNx-03433855-31945224
2025-06-24 13:43:58,340 - DEBUG - VM ctest-TestBasicVMVNx-03433855-31945224 ID is 16754f9d-07b5-4e1c-98f2-abd67711712f
2025-06-24 13:43:58,340 - DEBUG - VM ctest-TestBasicVMVNx-03433855-31945224 launched on Node cn-jenkins-deploy-platform-ansible-os-3536-1
2025-06-24 13:43:58,414 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/16754f9d-07b5-4e1c-98f2-abd67711712f
2025-06-24 13:43:58,423 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/c9fb4791-e920-4d23-8a0a-e4316d310e79
2025-06-24 13:43:59,667 - 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.85 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.352 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.352/1.599/2.847/1.247 ms')
2025-06-24 13:43:59,667 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-03433855-31945224 passed
2025-06-24 13:43:59,816 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-24 13:43:59,817 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-03433855-31945224, IP 158.178.130.4, Port 22
2025-06-24 13:43:59,972 - DEBUG - VM ctest-TestBasicVMVNx-03433855-31945224 is ready for SSH connections
2025-06-24 13:43:59,972 - DEBUG - FILE SIZE = 1303B
2025-06-24 13:43:59,973 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-03433855-71666581 to ctest-TestBasicVMVNx-03433855-31945224 using scp
2025-06-24 13:43:59,973 - 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.242, gateway password: c0ntrail123
2025-06-24 13:43:59,973 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-06-24 13:44:01,902 - DEBUG - 1+0 records in
1+0 records out
2025-06-24 13:44:02,499 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-24 13:44:02,815 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123
2025-06-24 13:44:02,815 - DEBUG - ls -l testfile
2025-06-24 13:44:04,378 - DEBUG - -rw------- 1 cirros cirros 1303 Jun 24 07:44 [0;0mtestfile[0m
2025-06-24 13:44:04,378 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-03433855-31945224
2025-06-24 13:44:04,379 - INFO - Deleting VM ctest-TestBasicVMVNx-03433855-31945224
2025-06-24 13:44:04,449 - INFO - Deleting VM ctest-TestBasicVMVNx-03433855-71666581
2025-06-24 13:44:04,525 - INFO - Deleting VN ctest-vn-84145586
2025-06-24 13:44:04,563 - DEBUG - VN 3afcd509-11c9-48e3-8088-722550d7f027 still in use: Unable to complete operation on network 3afcd509-11c9-48e3-8088-722550d7f027. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-40100ff3-2642-45bc-98b7-987be01e057e']
2025-06-24 13:44:04,563 - WARNING - Deleting VN ctest-vn-84145586 failed..Will retry
2025-06-24 13:44:06,665 - DEBUG - Response for deleting network ()
2025-06-24 13:44:06,922 - DEBUG - No XMPP flaps were noticed during the test
2025-06-24 13:44:06,922 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:28]
2025-06-24 13:44:06,922 - INFO - --------------------------------------------------------------------------------
2025-06-24 13:44:07,622 - INFO - Deleted project: ctest-TestBasicVMVNx-03433855, ID : a8918042-db3b-4de6-89b8-8a7b73a5721d