2025-06-16 07:09:46,230 - INFO - Domain Default found not creating
2025-06-16 07:09:46,390 - INFO - Project ctest-TestBasicVMVNx-77604740 not found, creating it
2025-06-16 07:09:46,902 - INFO - Created Project:ctest-TestBasicVMVNx-77604740, ID : 8d14fab4-dbd8-465c-9b32-344dda0596c6
2025-06-16 07:09:48,506 - INFO - ================================================================================
2025-06-16 07:09:48,506 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-06-16 07:09:48,506 - 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 07:09:48,770 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-06-16 07:09:48,770 - INFO - Initial checks done. Running the testcase now
2025-06-16 07:09:48,770 - INFO -
2025-06-16 07:09:49,415 - DEBUG - Response for create_network : {'network': {'id': '304f00a4-ad51-4a21-b24c-00a72a183a29', 'name': 'ctest-vn-03844107', 'tenant_id': '8d14fab4dbd8465c9b32344dda0596c6', 'project_id': '8d14fab4dbd8465c9b32344dda0596c6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-77604740', 'ctest-vn-03844107'], 'port_security_enabled': True, 'description': ''}}
2025-06-16 07:09:49,623 - DEBUG - Response for create_subnet : {'subnet': {'id': '5ddc1b4f-91b5-4176-b051-e37cc44efe04', 'name': '', 'tenant_id': '8d14fab4dbd8465c9b32344dda0596c6', 'network_id': '304f00a4-ad51-4a21-b24c-00a72a183a29', 'ip_version': 4, 'cidr': '64.18.223.192/26', 'allocation_pools': [{'start': '64.18.223.194', 'end': '64.18.223.254'}], 'gateway_ip': '64.18.223.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '64.18.223.194', 'tags': [], 'project_id': '8d14fab4dbd8465c9b32344dda0596c6'}}
2025-06-16 07:09:49,647 - INFO - Created VN ctest-vn-03844107
2025-06-16 07:09:49,703 - DEBUG - VN ctest-vn-03844107 UUID is 304f00a4-ad51-4a21-b24c-00a72a183a29
2025-06-16 07:09:49,887 - DEBUG - Services list from nova: [, , ]
2025-06-16 07:09:51,069 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3455-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3455-1)
2025-06-16 07:09:52,454 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3455-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3455-1)
2025-06-16 07:09:52,455 - INFO - Waiting for VM ctest-TestBasicVMVNx-77604740-26258446 to be up..
2025-06-16 07:09:52,572 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-06-16 07:09:57,666 - DEBUG - VM is in ACTIVE state now
2025-06-16 07:09:57,666 - INFO - VM name : ctest-TestBasicVMVNx-77604740-26258446
2025-06-16 07:09:57,745 - DEBUG - VM ctest-TestBasicVMVNx-77604740-26258446 ID is 14c87b46-fb39-4c58-950d-eaaab0eb9515
2025-06-16 07:09:57,766 - DEBUG - VM ctest-TestBasicVMVNx-77604740-26258446 launched on Node cn-jenkins-deploy-platform-ansible-os-3455-1
2025-06-16 07:09:57,849 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/14c87b46-fb39-4c58-950d-eaaab0eb9515
2025-06-16 07:09:58,194 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/14c87b46-fb39-4c58-950d-eaaab0eb9515
2025-06-16 07:09:58,229 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c9425c4c-3dcf-499c-9294-169b784ae446
2025-06-16 07:10:01,499 - 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 1018ms')
2025-06-16 07:10:01,500 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-77604740-26258446 failed!
2025-06-16 07:10:01,559 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-77604740:ctest-vn-03844107 is 64.18.223.193 and allocation pool is NOT set
2025-06-16 07:10:03,636 - 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=5.52 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.75 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.753/3.635/5.518/1.882 ms')
2025-06-16 07:10:03,636 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-77604740-26258446 passed
2025-06-16 07:10:03,795 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-16 07:10:03,795 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-77604740-26258446, IP 64.18.223.195, Port 22
2025-06-16 07:10:03,865 - 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 07:10:03,959 - DEBUG - VM ctest-TestBasicVMVNx-77604740-26258446 is NOT ready for SSH connections, VM status: ACTIVE
2025-06-16 07:10:08,960 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-16 07:10:08,960 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-77604740-26258446, IP 64.18.223.195, Port 22
2025-06-16 07:10:09,115 - DEBUG - VM ctest-TestBasicVMVNx-77604740-26258446 is ready for SSH connections
2025-06-16 07:10:09,115 - INFO - Waiting for VM ctest-TestBasicVMVNx-77604740-08848919 to be up..
2025-06-16 07:10:09,202 - DEBUG - VM is in ACTIVE state now
2025-06-16 07:10:09,202 - INFO - VM name : ctest-TestBasicVMVNx-77604740-08848919
2025-06-16 07:10:09,283 - DEBUG - VM ctest-TestBasicVMVNx-77604740-08848919 ID is f3782c18-3ea9-4a17-9b37-8f8a00c7c87b
2025-06-16 07:10:09,283 - DEBUG - VM ctest-TestBasicVMVNx-77604740-08848919 launched on Node cn-jenkins-deploy-platform-ansible-os-3455-1
2025-06-16 07:10:09,363 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/f3782c18-3ea9-4a17-9b37-8f8a00c7c87b
2025-06-16 07:10:09,373 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/955077c9-5e7a-49da-9aab-eda97c1932df
2025-06-16 07:10:10,618 - 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=3.11 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.410 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.410/1.762/3.114/1.352 ms')
2025-06-16 07:10:10,618 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-77604740-08848919 passed
2025-06-16 07:10:10,771 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-16 07:10:10,771 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-77604740-08848919, IP 64.18.223.196, Port 22
2025-06-16 07:10:10,927 - DEBUG - VM ctest-TestBasicVMVNx-77604740-08848919 is ready for SSH connections
2025-06-16 07:10:10,927 - DEBUG - FILE SIZE = 1303B
2025-06-16 07:10:10,927 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-77604740-26258446 to ctest-TestBasicVMVNx-77604740-08848919 using scp
2025-06-16 07:10:10,928 - 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 07:10:10,928 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-06-16 07:10:12,930 - DEBUG - 1+0 records in
1+0 records out
2025-06-16 07:10:13,611 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-16 07:10:13,966 - 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 07:10:13,966 - DEBUG - ls -l testfile
2025-06-16 07:10:15,602 - DEBUG - -rw------- 1 cirros cirros 1303 Jun 16 01:10 [0;0mtestfile[0m
2025-06-16 07:10:15,602 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-77604740-08848919
2025-06-16 07:10:15,602 - INFO - Deleting VM ctest-TestBasicVMVNx-77604740-08848919
2025-06-16 07:10:15,677 - INFO - Deleting VM ctest-TestBasicVMVNx-77604740-26258446
2025-06-16 07:10:15,763 - INFO - Deleting VN ctest-vn-03844107
2025-06-16 07:10:15,806 - DEBUG - VN 304f00a4-ad51-4a21-b24c-00a72a183a29 still in use: Unable to complete operation on network 304f00a4-ad51-4a21-b24c-00a72a183a29. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-294d1d86-24ca-4441-9e80-cee1d402e557']
2025-06-16 07:10:15,806 - WARNING - Deleting VN ctest-vn-03844107 failed..Will retry
2025-06-16 07:10:17,956 - DEBUG - Response for deleting network ()
2025-06-16 07:10:18,238 - DEBUG - No XMPP flaps were noticed during the test
2025-06-16 07:10:18,238 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:30]
2025-06-16 07:10:18,238 - INFO - --------------------------------------------------------------------------------
2025-06-16 07:10:19,017 - INFO - Deleted project: ctest-TestBasicVMVNx-77604740, ID : 8d14fab4-dbd8-465c-9b32-344dda0596c6