2025-06-16 12:57:14,378 - INFO - Domain Default found not creating
2025-06-16 12:57:14,526 - INFO - Project ctest-TestBasicVMVNx-15015531 not found, creating it
2025-06-16 12:57:15,001 - INFO - Created Project:ctest-TestBasicVMVNx-15015531, ID : ab1da674-a37e-44fd-add4-ef8112f1f9f8
2025-06-16 12:57:16,568 - INFO - ================================================================================
2025-06-16 12:57:16,568 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-06-16 12:57:16,568 - 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-16 12:57:16,822 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-06-16 12:57:16,822 - INFO - Initial checks done. Running the testcase now
2025-06-16 12:57:16,822 - INFO -
2025-06-16 12:57:17,404 - DEBUG - Response for create_network : {'network': {'id': '198e78e0-9831-4319-bd3f-b8d5cde7a5f3', 'name': 'ctest-vn-07938741', 'tenant_id': 'ab1da674a37e44fdadd4ef8112f1f9f8', 'project_id': 'ab1da674a37e44fdadd4ef8112f1f9f8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-15015531', 'ctest-vn-07938741'], 'port_security_enabled': True, 'description': ''}}
2025-06-16 12:57:17,562 - DEBUG - Response for create_subnet : {'subnet': {'id': '9bc0f953-04a4-4b2a-b5b2-3e0fb94a5ab6', 'name': '', 'tenant_id': 'ab1da674a37e44fdadd4ef8112f1f9f8', 'network_id': '198e78e0-9831-4319-bd3f-b8d5cde7a5f3', 'ip_version': 4, 'cidr': '75.201.72.192/26', 'allocation_pools': [{'start': '75.201.72.194', 'end': '75.201.72.254'}], 'gateway_ip': '75.201.72.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '75.201.72.194', 'tags': [], 'project_id': 'ab1da674a37e44fdadd4ef8112f1f9f8'}}
2025-06-16 12:57:17,580 - INFO - Created VN ctest-vn-07938741
2025-06-16 12:57:17,636 - DEBUG - VN ctest-vn-07938741 UUID is 198e78e0-9831-4319-bd3f-b8d5cde7a5f3
2025-06-16 12:57:17,841 - DEBUG - Services list from nova: [, , ]
2025-06-16 12:57:18,936 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3456-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3456-1)
2025-06-16 12:57:20,167 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3456-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3456-1)
2025-06-16 12:57:20,167 - INFO - Waiting for VM ctest-TestBasicVMVNx-15015531-30091896 to be up..
2025-06-16 12:57:20,255 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-06-16 12:57:25,346 - DEBUG - VM is in ACTIVE state now
2025-06-16 12:57:25,346 - INFO - VM name : ctest-TestBasicVMVNx-15015531-30091896
2025-06-16 12:57:25,422 - DEBUG - VM ctest-TestBasicVMVNx-15015531-30091896 ID is 9b6e6572-3815-444c-b9d7-03f8bb40a265
2025-06-16 12:57:25,441 - DEBUG - VM ctest-TestBasicVMVNx-15015531-30091896 launched on Node cn-jenkins-deploy-platform-ansible-os-3456-1
2025-06-16 12:57:25,524 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/9b6e6572-3815-444c-b9d7-03f8bb40a265
2025-06-16 12:57:25,871 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/9b6e6572-3815-444c-b9d7-03f8bb40a265
2025-06-16 12:57:25,906 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/8c085648-19d4-4958-ab7d-8e1c8477f09f
2025-06-16 12:57:29,175 - 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-06-16 12:57:29,175 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-15015531-30091896 failed!
2025-06-16 12:57:29,232 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-15015531:ctest-vn-07938741 is 75.201.72.193 and allocation pool is NOT set
2025-06-16 12:57:31,305 - 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.63 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.54 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 = 2.544/3.084/3.625/0.540 ms')
2025-06-16 12:57:31,305 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-15015531-30091896 passed
2025-06-16 12:57:31,464 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-16 12:57:31,464 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-15015531-30091896, IP 75.201.72.195, Port 22
2025-06-16 12:57:31,520 - 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-16 12:57:31,607 - DEBUG - VM ctest-TestBasicVMVNx-15015531-30091896 is NOT ready for SSH connections, VM status: ACTIVE
2025-06-16 12:57:36,607 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-16 12:57:36,608 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-15015531-30091896, IP 75.201.72.195, Port 22
2025-06-16 12:57:36,768 - DEBUG - VM ctest-TestBasicVMVNx-15015531-30091896 is ready for SSH connections
2025-06-16 12:57:36,768 - INFO - Waiting for VM ctest-TestBasicVMVNx-15015531-58265219 to be up..
2025-06-16 12:57:36,879 - DEBUG - VM is in ACTIVE state now
2025-06-16 12:57:36,879 - INFO - VM name : ctest-TestBasicVMVNx-15015531-58265219
2025-06-16 12:57:36,956 - DEBUG - VM ctest-TestBasicVMVNx-15015531-58265219 ID is 08f45982-8697-48dd-9f22-d8aff3755b05
2025-06-16 12:57:36,956 - DEBUG - VM ctest-TestBasicVMVNx-15015531-58265219 launched on Node cn-jenkins-deploy-platform-ansible-os-3456-1
2025-06-16 12:57:37,034 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/08f45982-8697-48dd-9f22-d8aff3755b05
2025-06-16 12:57:37,043 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a39c2902-afc3-4665-b984-9966f8decd51
2025-06-16 12:57:38,296 - 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.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.414 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.414/1.662/2.910/1.248 ms')
2025-06-16 12:57:38,296 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-15015531-58265219 passed
2025-06-16 12:57:38,456 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-16 12:57:38,457 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-15015531-58265219, IP 75.201.72.196, Port 22
2025-06-16 12:57:38,611 - DEBUG - VM ctest-TestBasicVMVNx-15015531-58265219 is ready for SSH connections
2025-06-16 12:57:38,612 - DEBUG - FILE SIZE = 1303B
2025-06-16 12:57:38,612 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-15015531-30091896 to ctest-TestBasicVMVNx-15015531-58265219 using scp
2025-06-16 12:57:38,613 - 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.254, gateway password: c0ntrail123
2025-06-16 12:57:38,613 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-06-16 12:57:40,625 - DEBUG - 1+0 records in
1+0 records out
2025-06-16 12:57:41,321 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-16 12:57:41,680 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-06-16 12:57:41,680 - DEBUG - ls -l testfile
2025-06-16 12:57:43,312 - DEBUG - -rw------- 1 cirros cirros 1303 Jun 16 06:57 [0;0mtestfile[0m
2025-06-16 12:57:43,312 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-15015531-58265219
2025-06-16 12:57:43,312 - INFO - Deleting VM ctest-TestBasicVMVNx-15015531-58265219
2025-06-16 12:57:43,381 - INFO - Deleting VM ctest-TestBasicVMVNx-15015531-30091896
2025-06-16 12:57:43,467 - INFO - Deleting VN ctest-vn-07938741
2025-06-16 12:57:43,507 - DEBUG - VN 198e78e0-9831-4319-bd3f-b8d5cde7a5f3 still in use: Unable to complete operation on network 198e78e0-9831-4319-bd3f-b8d5cde7a5f3. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-aea8fa97-77b5-48a5-8bc7-b4fdef93e6df']
2025-06-16 12:57:43,508 - WARNING - Deleting VN ctest-vn-07938741 failed..Will retry
2025-06-16 12:57:45,621 - DEBUG - Response for deleting network ()
2025-06-16 12:57:45,874 - DEBUG - No XMPP flaps were noticed during the test
2025-06-16 12:57:45,874 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29]
2025-06-16 12:57:45,874 - INFO - --------------------------------------------------------------------------------
2025-06-16 12:57:47,080 - INFO - Deleted project: ctest-TestBasicVMVNx-15015531, ID : ab1da674-a37e-44fd-add4-ef8112f1f9f8