2025-06-20 10:59:06,742 - INFO - Domain Default found not creating
2025-06-20 10:59:06,878 - INFO - Project ctest-TestBasicVMVNx-67183224 not found, creating it
2025-06-20 10:59:07,337 - INFO - Created Project:ctest-TestBasicVMVNx-67183224, ID : c90d03c1-49b0-4902-a04b-7775bd470d07
2025-06-20 10:59:08,751 - INFO - ================================================================================
2025-06-20 10:59:08,751 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-06-20 10:59:08,751 - 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-20 10:59:09,010 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.17': '0'}} with
2025-06-20 10:59:09,010 - INFO - Initial checks done. Running the testcase now
2025-06-20 10:59:09,010 - INFO -
2025-06-20 10:59:09,553 - DEBUG - Response for create_network : {'network': {'id': '5509c78c-fb3c-4a7b-a4c2-f346161920e0', 'name': 'ctest-vn-30802252', 'tenant_id': 'c90d03c149b04902a04b7775bd470d07', 'project_id': 'c90d03c149b04902a04b7775bd470d07', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-67183224', 'ctest-vn-30802252'], 'port_security_enabled': True, 'description': ''}}
2025-06-20 10:59:09,749 - DEBUG - Response for create_subnet : {'subnet': {'id': '2c34eacb-993e-478c-9f83-398507e21887', 'name': '', 'tenant_id': 'c90d03c149b04902a04b7775bd470d07', 'network_id': '5509c78c-fb3c-4a7b-a4c2-f346161920e0', 'ip_version': 4, 'cidr': '52.48.236.64/26', 'allocation_pools': [{'start': '52.48.236.66', 'end': '52.48.236.126'}], 'gateway_ip': '52.48.236.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.48.236.66', 'tags': [], 'project_id': 'c90d03c149b04902a04b7775bd470d07'}}
2025-06-20 10:59:09,768 - INFO - Created VN ctest-vn-30802252
2025-06-20 10:59:09,821 - DEBUG - VN ctest-vn-30802252 UUID is 5509c78c-fb3c-4a7b-a4c2-f346161920e0
2025-06-20 10:59:10,028 - DEBUG - Services list from nova: [, , ]
2025-06-20 10:59:11,028 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3506-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3506-1)
2025-06-20 10:59:12,199 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3506-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3506-1)
2025-06-20 10:59:12,199 - INFO - Waiting for VM ctest-TestBasicVMVNx-67183224-56872010 to be up..
2025-06-20 10:59:12,271 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-06-20 10:59:17,359 - DEBUG - VM is in ACTIVE state now
2025-06-20 10:59:17,359 - INFO - VM name : ctest-TestBasicVMVNx-67183224-56872010
2025-06-20 10:59:17,443 - DEBUG - VM ctest-TestBasicVMVNx-67183224-56872010 ID is af3c2759-65c0-4c91-9d1b-090eae644cec
2025-06-20 10:59:17,565 - DEBUG - VM ctest-TestBasicVMVNx-67183224-56872010 launched on Node cn-jenkins-deploy-platform-ansible-os-3506-1
2025-06-20 10:59:17,646 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/af3c2759-65c0-4c91-9d1b-090eae644cec
2025-06-20 10:59:17,938 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/af3c2759-65c0-4c91-9d1b-090eae644cec
2025-06-20 10:59:17,969 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/ad1fdefd-081c-43b0-abc6-0308329aae63
2025-06-20 10:59:21,236 - 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-20 10:59:21,236 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-67183224-56872010 failed!
2025-06-20 10:59:21,289 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-67183224:ctest-vn-30802252 is 52.48.236.65 and allocation pool is NOT set
2025-06-20 10:59:23,353 - 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.79 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.78 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.777/3.285/4.793/1.508 ms')
2025-06-20 10:59:23,353 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-67183224-56872010 passed
2025-06-20 10:59:23,506 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-20 10:59:23,506 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-67183224-56872010, IP 52.48.236.67, Port 22
2025-06-20 10:59:23,561 - 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-20 10:59:23,637 - DEBUG - VM ctest-TestBasicVMVNx-67183224-56872010 is NOT ready for SSH connections, VM status: ACTIVE
2025-06-20 10:59:28,638 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-20 10:59:28,638 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-67183224-56872010, IP 52.48.236.67, Port 22
2025-06-20 10:59:28,801 - DEBUG - VM ctest-TestBasicVMVNx-67183224-56872010 is ready for SSH connections
2025-06-20 10:59:28,801 - INFO - Waiting for VM ctest-TestBasicVMVNx-67183224-73056464 to be up..
2025-06-20 10:59:28,881 - DEBUG - VM is in ACTIVE state now
2025-06-20 10:59:28,882 - INFO - VM name : ctest-TestBasicVMVNx-67183224-73056464
2025-06-20 10:59:28,958 - DEBUG - VM ctest-TestBasicVMVNx-67183224-73056464 ID is eb892a8d-f624-4da8-b667-46f1fbbb73bb
2025-06-20 10:59:28,958 - DEBUG - VM ctest-TestBasicVMVNx-67183224-73056464 launched on Node cn-jenkins-deploy-platform-ansible-os-3506-1
2025-06-20 10:59:29,037 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/eb892a8d-f624-4da8-b667-46f1fbbb73bb
2025-06-20 10:59:29,049 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/d63f5951-1c45-465e-a888-2235a680522c
2025-06-20 10:59:30,306 - 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.73 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.292 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.292/2.012/3.733/1.720 ms')
2025-06-20 10:59:30,307 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-67183224-73056464 passed
2025-06-20 10:59:30,458 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-20 10:59:30,458 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-67183224-73056464, IP 52.48.236.68, Port 22
2025-06-20 10:59:30,613 - DEBUG - VM ctest-TestBasicVMVNx-67183224-73056464 is ready for SSH connections
2025-06-20 10:59:30,613 - DEBUG - FILE SIZE = 1303B
2025-06-20 10:59:30,613 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-67183224-56872010 to ctest-TestBasicVMVNx-67183224-73056464 using scp
2025-06-20 10:59:30,614 - 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.241, gateway password: c0ntrail123
2025-06-20 10:59:30,614 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-06-20 10:59:32,498 - DEBUG - 1+0 records in
1+0 records out
2025-06-20 10:59:33,109 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-20 10:59:33,438 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123
2025-06-20 10:59:33,438 - DEBUG - ls -l testfile
2025-06-20 10:59:35,056 - DEBUG - -rw------- 1 cirros cirros 1303 Jun 20 04:59 [0;0mtestfile[0m
2025-06-20 10:59:35,057 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-67183224-73056464
2025-06-20 10:59:35,057 - INFO - Deleting VM ctest-TestBasicVMVNx-67183224-73056464
2025-06-20 10:59:35,137 - INFO - Deleting VM ctest-TestBasicVMVNx-67183224-56872010
2025-06-20 10:59:35,204 - INFO - Deleting VN ctest-vn-30802252
2025-06-20 10:59:35,240 - DEBUG - VN 5509c78c-fb3c-4a7b-a4c2-f346161920e0 still in use: Unable to complete operation on network 5509c78c-fb3c-4a7b-a4c2-f346161920e0. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-c9650ade-2e28-44de-a6e1-f7745971cf0f']
2025-06-20 10:59:35,240 - WARNING - Deleting VN ctest-vn-30802252 failed..Will retry
2025-06-20 10:59:37,338 - DEBUG - Response for deleting network ()
2025-06-20 10:59:37,591 - DEBUG - No XMPP flaps were noticed during the test
2025-06-20 10:59:37,591 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29]
2025-06-20 10:59:37,592 - INFO - --------------------------------------------------------------------------------
2025-06-20 10:59:38,249 - INFO - Deleted project: ctest-TestBasicVMVNx-67183224, ID : c90d03c1-49b0-4902-a04b-7775bd470d07