2026-08-20 22:35:47,969 - INFO - Domain Default found not creating
2026-08-20 22:35:48,129 - INFO - Project ctest-TestBasicVMVNx-04690177 not found, creating it
2026-08-20 22:35:48,629 - INFO - Created Project:ctest-TestBasicVMVNx-04690177, ID : 538de880-0aba-4bb3-8801-8ccd0e9edc03
2026-08-20 22:35:50,225 - INFO - ================================================================================
2026-08-20 22:35:50,225 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2026-08-20 22:35:50,225 - 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
2026-08-20 22:35:50,500 - DEBUG - Nothing to compare xmpp stats {'10.0.0.163': {'10.20.0.17': '0'}} with
2026-08-20 22:35:50,500 - INFO - Initial checks done. Running the testcase now
2026-08-20 22:35:50,500 - INFO -
2026-08-20 22:35:51,120 - DEBUG - Response for create_network : {'network': {'id': '526da7af-ce83-4f39-a05a-1f75bc4c1d2e', 'name': 'ctest-vn-49067605', 'tenant_id': '538de8800aba4bb388018ccd0e9edc03', 'project_id': '538de8800aba4bb388018ccd0e9edc03', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-04690177', 'ctest-vn-49067605'], 'port_security_enabled': True, 'description': ''}}
2026-08-20 22:35:51,402 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e209912f-dbb7-49a1-9ca3-dcb415608f5d', 'name': '', 'tenant_id': '538de8800aba4bb388018ccd0e9edc03', 'network_id': '526da7af-ce83-4f39-a05a-1f75bc4c1d2e', 'ip_version': 4, 'cidr': '109.153.5.64/26', 'allocation_pools': [{'start': '109.153.5.66', 'end': '109.153.5.126'}], 'gateway_ip': '109.153.5.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '109.153.5.66', 'tags': [], 'project_id': '538de8800aba4bb388018ccd0e9edc03'}}
2026-08-20 22:35:51,421 - INFO - Created VN ctest-vn-49067605
2026-08-20 22:35:51,475 - DEBUG - VN ctest-vn-49067605 UUID is 526da7af-ce83-4f39-a05a-1f75bc4c1d2e
2026-08-20 22:35:51,640 - DEBUG - Services list from nova: [, , ]
2026-08-20 22:35:52,067 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6196-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6196-1)
2026-08-20 22:35:52,439 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6196-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6196-1)
2026-08-20 22:35:52,439 - INFO - Waiting for VM ctest-TestBasicVMVNx-04690177-86987591 to be up..
2026-08-20 22:35:52,478 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-20 22:35:57,566 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-20 22:36:02,660 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-20 22:36:07,738 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-20 22:36:12,819 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-20 22:36:17,892 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-20 22:36:22,972 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-20 22:36:28,063 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-20 22:36:33,169 - DEBUG - VM is in ACTIVE state now
2026-08-20 22:36:33,170 - INFO - VM name : ctest-TestBasicVMVNx-04690177-86987591
2026-08-20 22:36:33,264 - DEBUG - VM ctest-TestBasicVMVNx-04690177-86987591 ID is d3996675-9c43-4e71-ba12-27b9ede4224e
2026-08-20 22:36:33,288 - DEBUG - VM ctest-TestBasicVMVNx-04690177-86987591 launched on Node cn-jenkins-deploy-platform-ansible-os-6196-1
2026-08-20 22:36:33,376 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine/d3996675-9c43-4e71-ba12-27b9ede4224e
2026-08-20 22:36:33,700 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine/d3996675-9c43-4e71-ba12-27b9ede4224e
2026-08-20 22:36:33,734 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine-interface/7e0e38ad-b803-453e-8064-e9c4ef9a0e82
2026-08-20 22:36:36,990 - 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 1006ms')
2026-08-20 22:36:36,990 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-04690177-86987591 failed!
2026-08-20 22:36:37,047 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-04690177:ctest-vn-49067605 is 109.153.5.65 and allocation pool is NOT set
2026-08-20 22:36:39,106 - 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.44 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.735 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 = 0.735/2.086/3.438/1.351 ms')
2026-08-20 22:36:39,107 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-04690177-86987591 passed
2026-08-20 22:36:39,263 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-20 22:36:39,263 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-04690177-86987591, IP 109.153.5.67, Port 22
2026-08-20 22:36:39,328 - 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': ''}
2026-08-20 22:36:39,411 - DEBUG - VM ctest-TestBasicVMVNx-04690177-86987591 is NOT ready for SSH connections, VM status: ACTIVE
2026-08-20 22:36:44,412 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-20 22:36:44,412 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-04690177-86987591, IP 109.153.5.67, Port 22
2026-08-20 22:36:44,585 - DEBUG - VM ctest-TestBasicVMVNx-04690177-86987591 is ready for SSH connections
2026-08-20 22:36:44,586 - INFO - Waiting for VM ctest-TestBasicVMVNx-04690177-25540841 to be up..
2026-08-20 22:36:44,676 - DEBUG - VM is in ACTIVE state now
2026-08-20 22:36:44,676 - INFO - VM name : ctest-TestBasicVMVNx-04690177-25540841
2026-08-20 22:36:44,760 - DEBUG - VM ctest-TestBasicVMVNx-04690177-25540841 ID is 321c5c60-d2db-4c75-9672-1c2993ca6435
2026-08-20 22:36:44,760 - DEBUG - VM ctest-TestBasicVMVNx-04690177-25540841 launched on Node cn-jenkins-deploy-platform-ansible-os-6196-1
2026-08-20 22:36:44,845 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine/321c5c60-d2db-4c75-9672-1c2993ca6435
2026-08-20 22:36:44,856 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine-interface/ccd9fa44-71b2-4a05-a2d3-8be59b12f396
2026-08-20 22:36:46,114 - 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.58 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.539 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.539/2.061/3.584/1.522 ms')
2026-08-20 22:36:46,115 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-04690177-25540841 passed
2026-08-20 22:36:46,263 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-20 22:36:46,263 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-04690177-25540841, IP 109.153.5.68, Port 22
2026-08-20 22:36:46,431 - DEBUG - VM ctest-TestBasicVMVNx-04690177-25540841 is ready for SSH connections
2026-08-20 22:36:46,432 - DEBUG - FILE SIZE = 1303B
2026-08-20 22:36:46,432 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-04690177-86987591 to ctest-TestBasicVMVNx-04690177-25540841 using scp
2026-08-20 22:36:46,433 - 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.163, gateway password: c0ntrail123
2026-08-20 22:36:46,433 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2026-08-20 22:36:48,341 - DEBUG - 1+0 records in
1+0 records out
2026-08-20 22:36:48,579 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-20 22:36:48,897 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.163, gateway password: c0ntrail123
2026-08-20 22:36:48,897 - DEBUG - ls -l testfile
2026-08-20 22:36:50,438 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 20 16:36 [0;0mtestfile[0m
2026-08-20 22:36:50,438 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-04690177-25540841
2026-08-20 22:36:50,439 - INFO - Deleting VM ctest-TestBasicVMVNx-04690177-25540841
2026-08-20 22:36:50,518 - INFO - Deleting VM ctest-TestBasicVMVNx-04690177-86987591
2026-08-20 22:36:50,599 - INFO - Deleting VN ctest-vn-49067605
2026-08-20 22:36:50,636 - DEBUG - VN 526da7af-ce83-4f39-a05a-1f75bc4c1d2e still in use: Unable to complete operation on network 526da7af-ce83-4f39-a05a-1f75bc4c1d2e. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-cafbce0f-b3a2-4334-a531-d6aa76df8c93']
2026-08-20 22:36:50,637 - WARNING - Deleting VN ctest-vn-49067605 failed..Will retry
2026-08-20 22:36:52,717 - DEBUG - VN 526da7af-ce83-4f39-a05a-1f75bc4c1d2e still in use: Unable to complete operation on network 526da7af-ce83-4f39-a05a-1f75bc4c1d2e. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-cbbc7d97-9827-4a08-abb5-7ad8b316b660']
2026-08-20 22:36:52,717 - WARNING - Deleting VN ctest-vn-49067605 failed..Will retry
2026-08-20 22:36:54,838 - DEBUG - Response for deleting network ()
2026-08-20 22:36:55,102 - DEBUG - No XMPP flaps were noticed during the test
2026-08-20 22:36:55,102 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:01:05]
2026-08-20 22:36:55,103 - INFO - --------------------------------------------------------------------------------
2026-08-20 22:36:55,966 - INFO - Deleted project: ctest-TestBasicVMVNx-04690177, ID : 538de880-0aba-4bb3-8801-8ccd0e9edc03