2025-06-02 09:59:53,537 - INFO - Domain Default found not creating
2025-06-02 09:59:53,678 - INFO - Project ctest-TestBasicVMVNx-50883578 not found, creating it
2025-06-02 09:59:54,144 - INFO - Created Project:ctest-TestBasicVMVNx-50883578, ID : 01933fa7-0898-4114-af94-f1ff9c6410ed
2025-06-02 09:59:56,149 - INFO - ================================================================================
2025-06-02 09:59:56,149 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-06-02 09:59:56,149 - 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-02 09:59:56,407 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-06-02 09:59:56,407 - INFO - Initial checks done. Running the testcase now
2025-06-02 09:59:56,407 - INFO -
2025-06-02 09:59:56,924 - DEBUG - Response for create_network : {'network': {'id': '57bf4a95-a5b4-417e-aa05-cf20258059dd', 'name': 'ctest-vn-85652692', 'tenant_id': '01933fa708984114af94f1ff9c6410ed', 'project_id': '01933fa708984114af94f1ff9c6410ed', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-50883578', 'ctest-vn-85652692'], 'port_security_enabled': True, 'description': ''}}
2025-06-02 09:59:57,143 - DEBUG - Response for create_subnet : {'subnet': {'id': '1db84b12-ad60-4f72-b5f8-7e3139f21211', 'name': '', 'tenant_id': '01933fa708984114af94f1ff9c6410ed', 'network_id': '57bf4a95-a5b4-417e-aa05-cf20258059dd', 'ip_version': 4, 'cidr': '90.95.130.0/26', 'allocation_pools': [{'start': '90.95.130.2', 'end': '90.95.130.62'}], 'gateway_ip': '90.95.130.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.95.130.2', 'tags': [], 'project_id': '01933fa708984114af94f1ff9c6410ed'}}
2025-06-02 09:59:57,158 - INFO - Created VN ctest-vn-85652692
2025-06-02 09:59:57,209 - DEBUG - VN ctest-vn-85652692 UUID is 57bf4a95-a5b4-417e-aa05-cf20258059dd
2025-06-02 09:59:57,417 - DEBUG - Services list from nova: [, , ]
2025-06-02 09:59:58,394 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3389-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3389-1)
2025-06-02 09:59:59,510 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3389-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3389-1)
2025-06-02 09:59:59,510 - INFO - Waiting for VM ctest-TestBasicVMVNx-50883578-06972110 to be up..
2025-06-02 09:59:59,585 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-06-02 10:00:04,675 - DEBUG - VM is in ACTIVE state now
2025-06-02 10:00:04,676 - INFO - VM name : ctest-TestBasicVMVNx-50883578-06972110
2025-06-02 10:00:04,768 - DEBUG - VM ctest-TestBasicVMVNx-50883578-06972110 ID is 6dad7706-f80f-4313-adb4-17ad7f633836
2025-06-02 10:00:04,794 - DEBUG - VM ctest-TestBasicVMVNx-50883578-06972110 launched on Node cn-jenkins-deploy-platform-ansible-os-3389-1
2025-06-02 10:00:04,876 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/6dad7706-f80f-4313-adb4-17ad7f633836
2025-06-02 10:00:05,174 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/6dad7706-f80f-4313-adb4-17ad7f633836
2025-06-02 10:00:05,206 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/0797bb85-854d-4bf1-91df-49e4fe869530
2025-06-02 10:00:08,476 - 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 1022ms')
2025-06-02 10:00:08,476 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-50883578-06972110 failed!
2025-06-02 10:00:08,533 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-50883578:ctest-vn-85652692 is 90.95.130.1 and allocation pool is NOT set
2025-06-02 10:00:10,591 - 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.16 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.463 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.463/1.809/3.155/1.346 ms')
2025-06-02 10:00:10,591 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-50883578-06972110 passed
2025-06-02 10:00:10,741 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-02 10:00:10,741 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-50883578-06972110, IP 90.95.130.3, Port 22
2025-06-02 10:00:10,900 - DEBUG - VM ctest-TestBasicVMVNx-50883578-06972110 is ready for SSH connections
2025-06-02 10:00:10,901 - INFO - Waiting for VM ctest-TestBasicVMVNx-50883578-71923256 to be up..
2025-06-02 10:00:10,975 - DEBUG - VM is in ACTIVE state now
2025-06-02 10:00:10,975 - INFO - VM name : ctest-TestBasicVMVNx-50883578-71923256
2025-06-02 10:00:11,049 - DEBUG - VM ctest-TestBasicVMVNx-50883578-71923256 ID is 5157c40c-07c9-4288-a1b9-5a7e036a1c4e
2025-06-02 10:00:11,049 - DEBUG - VM ctest-TestBasicVMVNx-50883578-71923256 launched on Node cn-jenkins-deploy-platform-ansible-os-3389-1
2025-06-02 10:00:11,124 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/5157c40c-07c9-4288-a1b9-5a7e036a1c4e
2025-06-02 10:00:11,133 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/4a9da0e0-4329-4bc8-95e2-354c74ca8dac
2025-06-02 10:00:12,367 - 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=2.96 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.423 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.423/1.689/2.956/1.266 ms')
2025-06-02 10:00:12,367 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-50883578-71923256 passed
2025-06-02 10:00:12,517 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-02 10:00:12,517 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-50883578-71923256, IP 90.95.130.4, Port 22
2025-06-02 10:00:12,673 - DEBUG - VM ctest-TestBasicVMVNx-50883578-71923256 is ready for SSH connections
2025-06-02 10:00:12,673 - DEBUG - FILE SIZE = 1303B
2025-06-02 10:00:12,673 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-50883578-06972110 to ctest-TestBasicVMVNx-50883578-71923256 using scp
2025-06-02 10:00:12,673 - 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-02 10:00:12,674 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-06-02 10:00:14,572 - DEBUG - 1+0 records in
1+0 records out
2025-06-02 10:00:15,334 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-02 10:00:15,658 - 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-02 10:00:15,658 - DEBUG - ls -l testfile
2025-06-02 10:00:17,236 - DEBUG - -rw------- 1 cirros cirros 1303 Jun 2 04:00 [0;0mtestfile[0m
2025-06-02 10:00:17,236 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-50883578-71923256
2025-06-02 10:00:17,236 - INFO - Deleting VM ctest-TestBasicVMVNx-50883578-71923256
2025-06-02 10:00:17,311 - INFO - Deleting VM ctest-TestBasicVMVNx-50883578-06972110
2025-06-02 10:00:17,374 - INFO - Deleting VN ctest-vn-85652692
2025-06-02 10:00:17,419 - DEBUG - VN 57bf4a95-a5b4-417e-aa05-cf20258059dd still in use: Unable to complete operation on network 57bf4a95-a5b4-417e-aa05-cf20258059dd. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-31723b62-ab2a-4535-896c-1334bb1c3a9e']
2025-06-02 10:00:17,419 - WARNING - Deleting VN ctest-vn-85652692 failed..Will retry
2025-06-02 10:00:19,526 - DEBUG - Response for deleting network ()
2025-06-02 10:00:19,783 - DEBUG - No XMPP flaps were noticed during the test
2025-06-02 10:00:19,783 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-06-02 10:00:19,783 - INFO - --------------------------------------------------------------------------------
2025-06-02 10:00:20,459 - INFO - Deleted project: ctest-TestBasicVMVNx-50883578, ID : 01933fa7-0898-4114-af94-f1ff9c6410ed