2026-09-16 04:33:04,306 - INFO - Domain Default found not creating
2026-09-16 04:33:04,483 - INFO - Project ctest-TestBasicVMVNx-80912356 not found, creating it
2026-09-16 04:33:04,973 - INFO - Created Project:ctest-TestBasicVMVNx-80912356, ID : 6bf4a877-33f6-4ef1-908c-43e88deda676
2026-09-16 04:33:06,544 - INFO - ================================================================================
2026-09-16 04:33:06,544 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2026-09-16 04:33:06,544 - 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-09-16 04:33:06,800 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.25': '0'}} with
2026-09-16 04:33:06,800 - INFO - Initial checks done. Running the testcase now
2026-09-16 04:33:06,800 - INFO -
2026-09-16 04:33:07,395 - DEBUG - Response for create_network : {'network': {'id': '5a156819-f8f4-4b78-adf6-438c17f273fe', 'name': 'ctest-vn-09062295', 'tenant_id': '6bf4a87733f64ef1908c43e88deda676', 'project_id': '6bf4a87733f64ef1908c43e88deda676', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-80912356', 'ctest-vn-09062295'], 'port_security_enabled': True, 'description': ''}}
2026-09-16 04:33:07,560 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cd19a6e8-aad2-45c2-b0ee-cdf286069e24', 'name': '', 'tenant_id': '6bf4a87733f64ef1908c43e88deda676', 'network_id': '5a156819-f8f4-4b78-adf6-438c17f273fe', 'ip_version': 4, 'cidr': '200.113.115.0/26', 'allocation_pools': [{'start': '200.113.115.2', 'end': '200.113.115.62'}], 'gateway_ip': '200.113.115.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '200.113.115.2', 'tags': [], 'project_id': '6bf4a87733f64ef1908c43e88deda676'}}
2026-09-16 04:33:07,576 - INFO - Created VN ctest-vn-09062295
2026-09-16 04:33:07,630 - DEBUG - VN ctest-vn-09062295 UUID is 5a156819-f8f4-4b78-adf6-438c17f273fe
2026-09-16 04:33:07,804 - DEBUG - Services list from nova: [, , ]
2026-09-16 04:33:08,268 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6287-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6287-1)
2026-09-16 04:33:08,680 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6287-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6287-1)
2026-09-16 04:33:08,680 - INFO - Waiting for VM ctest-TestBasicVMVNx-80912356-87485841 to be up..
2026-09-16 04:33:08,718 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-16 04:33:13,801 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-16 04:33:18,890 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-16 04:33:23,972 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-16 04:33:29,057 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-16 04:33:34,141 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-16 04:33:39,215 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-16 04:33:44,293 - DEBUG - VM is in ACTIVE state now
2026-09-16 04:33:44,293 - INFO - VM name : ctest-TestBasicVMVNx-80912356-87485841
2026-09-16 04:33:44,372 - DEBUG - VM ctest-TestBasicVMVNx-80912356-87485841 ID is 63d447cb-b27a-482a-b490-bd14b154ad60
2026-09-16 04:33:44,391 - DEBUG - VM ctest-TestBasicVMVNx-80912356-87485841 launched on Node cn-jenkins-deploy-platform-ansible-os-6287-1
2026-09-16 04:33:44,466 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/63d447cb-b27a-482a-b490-bd14b154ad60
2026-09-16 04:33:44,823 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/63d447cb-b27a-482a-b490-bd14b154ad60
2026-09-16 04:33:44,863 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/db5de670-04c5-4b8d-b7e8-6fba67138075
2026-09-16 04:33:48,120 - 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 1013ms')
2026-09-16 04:33:48,120 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-80912356-87485841 failed!
2026-09-16 04:33:48,178 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-80912356:ctest-vn-09062295 is 200.113.115.1 and allocation pool is NOT set
2026-09-16 04:33:50,249 - 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=8.81 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=5.45 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 = 5.448/7.128/8.808/1.680 ms')
2026-09-16 04:33:50,249 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-80912356-87485841 passed
2026-09-16 04:33:50,406 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-16 04:33:50,406 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-80912356-87485841, IP 200.113.115.3, Port 22
2026-09-16 04:33:50,472 - 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-09-16 04:33:50,556 - DEBUG - VM ctest-TestBasicVMVNx-80912356-87485841 is NOT ready for SSH connections, VM status: ACTIVE
2026-09-16 04:33:55,557 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-16 04:33:55,557 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-80912356-87485841, IP 200.113.115.3, Port 22
2026-09-16 04:33:55,729 - DEBUG - VM ctest-TestBasicVMVNx-80912356-87485841 is ready for SSH connections
2026-09-16 04:33:55,729 - INFO - Waiting for VM ctest-TestBasicVMVNx-80912356-02688622 to be up..
2026-09-16 04:33:55,807 - DEBUG - VM is in ACTIVE state now
2026-09-16 04:33:55,807 - INFO - VM name : ctest-TestBasicVMVNx-80912356-02688622
2026-09-16 04:33:55,887 - DEBUG - VM ctest-TestBasicVMVNx-80912356-02688622 ID is 9a7b6e22-af36-4711-b880-b14aaedd2380
2026-09-16 04:33:55,887 - DEBUG - VM ctest-TestBasicVMVNx-80912356-02688622 launched on Node cn-jenkins-deploy-platform-ansible-os-6287-1
2026-09-16 04:33:55,964 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/9a7b6e22-af36-4711-b880-b14aaedd2380
2026-09-16 04:33:55,974 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/1bd20345-7ec9-4352-835e-6f67f5fc2251
2026-09-16 04:33:57,212 - 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.95 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.564 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.564/2.259/3.954/1.695 ms')
2026-09-16 04:33:57,213 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-80912356-02688622 passed
2026-09-16 04:33:57,366 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-16 04:33:57,366 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-80912356-02688622, IP 200.113.115.4, Port 22
2026-09-16 04:33:57,522 - DEBUG - VM ctest-TestBasicVMVNx-80912356-02688622 is ready for SSH connections
2026-09-16 04:33:57,522 - DEBUG - FILE SIZE = 1303B
2026-09-16 04:33:57,522 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-80912356-87485841 to ctest-TestBasicVMVNx-80912356-02688622 using scp
2026-09-16 04:33:57,524 - 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.161, gateway password: c0ntrail123
2026-09-16 04:33:57,524 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2026-09-16 04:33:59,387 - DEBUG - 1+0 records in
1+0 records out
2026-09-16 04:33:59,620 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-16 04:33:59,951 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123
2026-09-16 04:33:59,952 - DEBUG - ls -l testfile
2026-09-16 04:34:01,469 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 15 22:33 [0;0mtestfile[0m
2026-09-16 04:34:01,469 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-80912356-02688622
2026-09-16 04:34:01,469 - INFO - Deleting VM ctest-TestBasicVMVNx-80912356-02688622
2026-09-16 04:34:01,555 - INFO - Deleting VM ctest-TestBasicVMVNx-80912356-87485841
2026-09-16 04:34:01,626 - INFO - Deleting VN ctest-vn-09062295
2026-09-16 04:34:01,670 - DEBUG - VN 5a156819-f8f4-4b78-adf6-438c17f273fe still in use: Unable to complete operation on network 5a156819-f8f4-4b78-adf6-438c17f273fe. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-1c2af1dd-38a5-47d6-8d3e-c0ba13466406']
2026-09-16 04:34:01,670 - WARNING - Deleting VN ctest-vn-09062295 failed..Will retry
2026-09-16 04:34:03,718 - DEBUG - VN 5a156819-f8f4-4b78-adf6-438c17f273fe still in use: Unable to complete operation on network 5a156819-f8f4-4b78-adf6-438c17f273fe. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-4deacd0c-03bb-45c1-a5f3-6226b163b4e1']
2026-09-16 04:34:03,718 - WARNING - Deleting VN ctest-vn-09062295 failed..Will retry
2026-09-16 04:34:05,842 - DEBUG - Response for deleting network ()
2026-09-16 04:34:06,100 - DEBUG - No XMPP flaps were noticed during the test
2026-09-16 04:34:06,100 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:01:00]
2026-09-16 04:34:06,100 - INFO - --------------------------------------------------------------------------------
2026-09-16 04:34:06,934 - INFO - Deleted project: ctest-TestBasicVMVNx-80912356, ID : 6bf4a877-33f6-4ef1-908c-43e88deda676