2025-12-29 17:07:43,784 - INFO - Domain Default found not creating
2025-12-29 17:07:43,984 - INFO - Project ctest-TestBasicVMVNx-86760203 not found, creating it
2025-12-29 17:07:44,450 - INFO - Created Project:ctest-TestBasicVMVNx-86760203, ID : ad9fe23a-43e1-485d-8d5a-2700c8bdb4d6
2025-12-29 17:07:46,169 - INFO - ================================================================================
2025-12-29 17:07:46,169 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-12-29 17:07:46,170 - 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-12-29 17:07:46,431 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0'}} with
2025-12-29 17:07:46,431 - INFO - Initial checks done. Running the testcase now
2025-12-29 17:07:46,431 - INFO -
2025-12-29 17:07:47,011 - DEBUG - Response for create_network : {'network': {'id': '7be6a624-c336-4a8b-a055-2876898fcc26', 'name': 'ctest-vn-50211420', 'tenant_id': 'ad9fe23a43e1485d8d5a2700c8bdb4d6', 'project_id': 'ad9fe23a43e1485d8d5a2700c8bdb4d6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-86760203', 'ctest-vn-50211420'], 'port_security_enabled': True, 'description': ''}}
2025-12-29 17:07:47,195 - DEBUG - Response for create_subnet : {'subnet': {'id': '9769c0bd-8122-480b-a8c9-93040866944b', 'name': '', 'tenant_id': 'ad9fe23a43e1485d8d5a2700c8bdb4d6', 'network_id': '7be6a624-c336-4a8b-a055-2876898fcc26', 'ip_version': 4, 'cidr': '82.18.219.128/26', 'allocation_pools': [{'start': '82.18.219.130', 'end': '82.18.219.190'}], 'gateway_ip': '82.18.219.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '82.18.219.130', 'tags': [], 'project_id': 'ad9fe23a43e1485d8d5a2700c8bdb4d6'}}
2025-12-29 17:07:47,215 - INFO - Created VN ctest-vn-50211420
2025-12-29 17:07:47,269 - DEBUG - VN ctest-vn-50211420 UUID is 7be6a624-c336-4a8b-a055-2876898fcc26
2025-12-29 17:07:47,511 - DEBUG - Services list from nova: [, , ]
2025-12-29 17:07:48,627 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4937-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4937-1)
2025-12-29 17:07:49,909 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4937-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4937-1)
2025-12-29 17:07:49,909 - INFO - Waiting for VM ctest-TestBasicVMVNx-86760203-84674459 to be up..
2025-12-29 17:07:50,033 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-12-29 17:07:55,146 - DEBUG - VM is in ACTIVE state now
2025-12-29 17:07:55,147 - INFO - VM name : ctest-TestBasicVMVNx-86760203-84674459
2025-12-29 17:07:55,274 - DEBUG - VM ctest-TestBasicVMVNx-86760203-84674459 ID is e27846ba-35b4-4fc8-a8c2-7a9997b398c3
2025-12-29 17:07:55,300 - DEBUG - VM ctest-TestBasicVMVNx-86760203-84674459 launched on Node cn-jenkins-deploy-platform-ansible-os-4937-1
2025-12-29 17:07:55,423 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/e27846ba-35b4-4fc8-a8c2-7a9997b398c3
2025-12-29 17:07:55,741 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/e27846ba-35b4-4fc8-a8c2-7a9997b398c3
2025-12-29 17:07:55,789 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/971c32bf-1bdb-4d36-880f-fc7dfee96f87
2025-12-29 17:07:59,072 - 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 1026ms')
2025-12-29 17:07:59,073 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-86760203-84674459 failed!
2025-12-29 17:07:59,129 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-86760203:ctest-vn-50211420 is 82.18.219.129 and allocation pool is NOT set
2025-12-29 17:08:01,197 - 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.29 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.38 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.382/2.834/4.286/1.452 ms')
2025-12-29 17:08:01,197 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-86760203-84674459 passed
2025-12-29 17:08:01,349 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-29 17:08:01,349 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-86760203-84674459, IP 82.18.219.131, Port 22
2025-12-29 17:08:01,415 - 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-12-29 17:08:01,512 - DEBUG - VM ctest-TestBasicVMVNx-86760203-84674459 is NOT ready for SSH connections, VM status: ACTIVE
2025-12-29 17:08:06,513 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-29 17:08:06,513 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-86760203-84674459, IP 82.18.219.131, Port 22
2025-12-29 17:08:06,672 - DEBUG - VM ctest-TestBasicVMVNx-86760203-84674459 is ready for SSH connections
2025-12-29 17:08:06,672 - INFO - Waiting for VM ctest-TestBasicVMVNx-86760203-98831549 to be up..
2025-12-29 17:08:06,762 - DEBUG - VM is in ACTIVE state now
2025-12-29 17:08:06,762 - INFO - VM name : ctest-TestBasicVMVNx-86760203-98831549
2025-12-29 17:08:06,848 - DEBUG - VM ctest-TestBasicVMVNx-86760203-98831549 ID is 9c847520-9acc-4af0-8d3a-5a775ba08151
2025-12-29 17:08:06,848 - DEBUG - VM ctest-TestBasicVMVNx-86760203-98831549 launched on Node cn-jenkins-deploy-platform-ansible-os-4937-1
2025-12-29 17:08:06,938 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/9c847520-9acc-4af0-8d3a-5a775ba08151
2025-12-29 17:08:06,948 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/b013d1a8-481d-4f5c-8840-e4ff8710f0fc
2025-12-29 17:08:08,189 - 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.46 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.622 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.622/2.039/3.456/1.417 ms')
2025-12-29 17:08:08,189 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-86760203-98831549 passed
2025-12-29 17:08:08,341 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-29 17:08:08,341 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-86760203-98831549, IP 82.18.219.132, Port 22
2025-12-29 17:08:08,497 - DEBUG - VM ctest-TestBasicVMVNx-86760203-98831549 is ready for SSH connections
2025-12-29 17:08:08,497 - DEBUG - FILE SIZE = 1303B
2025-12-29 17:08:08,497 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-86760203-84674459 to ctest-TestBasicVMVNx-86760203-98831549 using scp
2025-12-29 17:08:08,499 - 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.249, gateway password: c0ntrail123
2025-12-29 17:08:08,499 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-12-29 17:08:10,516 - DEBUG - 1+0 records in
1+0 records out
2025-12-29 17:08:10,863 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-29 17:08:11,220 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123
2025-12-29 17:08:11,220 - DEBUG - ls -l testfile
2025-12-29 17:08:12,831 - DEBUG - -rw------- 1 cirros cirros 1303 Dec 29 10:08 [0;0mtestfile[0m
2025-12-29 17:08:12,831 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-86760203-98831549
2025-12-29 17:08:12,831 - INFO - Deleting VM ctest-TestBasicVMVNx-86760203-98831549
2025-12-29 17:08:12,913 - INFO - Deleting VM ctest-TestBasicVMVNx-86760203-84674459
2025-12-29 17:08:13,001 - INFO - Deleting VN ctest-vn-50211420
2025-12-29 17:08:13,046 - DEBUG - VN 7be6a624-c336-4a8b-a055-2876898fcc26 still in use: Unable to complete operation on network 7be6a624-c336-4a8b-a055-2876898fcc26. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-ced9735a-2901-41a9-9348-5ba5d22aed17']
2025-12-29 17:08:13,046 - WARNING - Deleting VN ctest-vn-50211420 failed..Will retry
2025-12-29 17:08:15,166 - DEBUG - Response for deleting network ()
2025-12-29 17:08:15,438 - DEBUG - No XMPP flaps were noticed during the test
2025-12-29 17:08:15,438 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29]
2025-12-29 17:08:15,438 - INFO - --------------------------------------------------------------------------------
2025-12-29 17:08:16,231 - INFO - Deleted project: ctest-TestBasicVMVNx-86760203, ID : ad9fe23a-43e1-485d-8d5a-2700c8bdb4d6