2025-04-07 09:42:18,588 - INFO - Domain Default found not creating
2025-04-07 09:42:18,742 - INFO - Project ctest-TestBasicVMVNx-53685514 not found, creating it
2025-04-07 09:42:19,196 - INFO - Created Project:ctest-TestBasicVMVNx-53685514, ID : 1788fcad-f3d4-43d8-bb88-fa792b140e75
2025-04-07 09:42:20,646 - INFO - ================================================================================
2025-04-07 09:42:20,646 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-04-07 09:42:20,646 - 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-04-07 09:42:20,899 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.6': '0'}} with
2025-04-07 09:42:20,899 - INFO - Initial checks done. Running the testcase now
2025-04-07 09:42:20,899 - INFO -
2025-04-07 09:42:21,461 - DEBUG - Response for create_network : {'network': {'id': '52c576bd-4e00-4b3b-b2de-2c715bfedbb3', 'name': 'ctest-vn-02085459', 'tenant_id': '1788fcadf3d443d8bb88fa792b140e75', 'project_id': '1788fcadf3d443d8bb88fa792b140e75', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-53685514', 'ctest-vn-02085459'], 'port_security_enabled': True, 'description': ''}}
2025-04-07 09:42:21,674 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c16d6fe2-3113-43b2-86c1-a39f9f4923ba', 'name': '', 'tenant_id': '1788fcadf3d443d8bb88fa792b140e75', 'network_id': '52c576bd-4e00-4b3b-b2de-2c715bfedbb3', 'ip_version': 4, 'cidr': '121.244.246.128/26', 'allocation_pools': [{'start': '121.244.246.130', 'end': '121.244.246.190'}], 'gateway_ip': '121.244.246.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '121.244.246.130', 'tags': [], 'project_id': '1788fcadf3d443d8bb88fa792b140e75'}}
2025-04-07 09:42:21,693 - INFO - Created VN ctest-vn-02085459
2025-04-07 09:42:21,745 - DEBUG - VN ctest-vn-02085459 UUID is 52c576bd-4e00-4b3b-b2de-2c715bfedbb3
2025-04-07 09:42:21,913 - DEBUG - Services list from nova: [, , ]
2025-04-07 09:42:22,920 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3046-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3046-1)
2025-04-07 09:42:24,058 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3046-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3046-1)
2025-04-07 09:42:24,058 - INFO - Waiting for VM ctest-TestBasicVMVNx-53685514-19247075 to be up..
2025-04-07 09:42:24,151 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-04-07 09:42:29,231 - DEBUG - VM is in ACTIVE state now
2025-04-07 09:42:29,231 - INFO - VM name : ctest-TestBasicVMVNx-53685514-19247075
2025-04-07 09:42:29,314 - DEBUG - VM ctest-TestBasicVMVNx-53685514-19247075 ID is 2f0b3c4e-28e1-4749-a7e7-40f3211b5ede
2025-04-07 09:42:29,440 - DEBUG - VM ctest-TestBasicVMVNx-53685514-19247075 launched on Node cn-jenkins-deploy-platform-ansible-os-3046-1
2025-04-07 09:42:29,516 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/2f0b3c4e-28e1-4749-a7e7-40f3211b5ede
2025-04-07 09:42:29,812 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/2f0b3c4e-28e1-4749-a7e7-40f3211b5ede
2025-04-07 09:42:29,843 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/abfe419d-8d36-4d6f-b694-90ebf56343ab
2025-04-07 09:42:33,119 - 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 1019ms')
2025-04-07 09:42:33,119 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-53685514-19247075 failed!
2025-04-07 09:42:33,177 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-53685514:ctest-vn-02085459 is 121.244.246.129 and allocation pool is NOT set
2025-04-07 09:42:35,234 - 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.29 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.427 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.427/1.860/3.293/1.433 ms')
2025-04-07 09:42:35,234 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-53685514-19247075 passed
2025-04-07 09:42:35,385 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-07 09:42:35,385 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-53685514-19247075, IP 121.244.246.131, Port 22
2025-04-07 09:42:35,555 - DEBUG - VM ctest-TestBasicVMVNx-53685514-19247075 is ready for SSH connections
2025-04-07 09:42:35,555 - INFO - Waiting for VM ctest-TestBasicVMVNx-53685514-44607097 to be up..
2025-04-07 09:42:35,647 - DEBUG - VM is in ACTIVE state now
2025-04-07 09:42:35,647 - INFO - VM name : ctest-TestBasicVMVNx-53685514-44607097
2025-04-07 09:42:35,734 - DEBUG - VM ctest-TestBasicVMVNx-53685514-44607097 ID is 4ec3da7f-e20b-4038-b875-168975ffb840
2025-04-07 09:42:35,735 - DEBUG - VM ctest-TestBasicVMVNx-53685514-44607097 launched on Node cn-jenkins-deploy-platform-ansible-os-3046-1
2025-04-07 09:42:35,827 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4ec3da7f-e20b-4038-b875-168975ffb840
2025-04-07 09:42:35,839 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/de271877-2434-4249-abc9-7f0b0fa06e0a
2025-04-07 09:42:37,087 - 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.92 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.14 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 = 2.141/3.031/3.922/0.890 ms')
2025-04-07 09:42:37,087 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-53685514-44607097 passed
2025-04-07 09:42:37,241 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-07 09:42:37,241 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-53685514-44607097, IP 121.244.246.132, Port 22
2025-04-07 09:42:37,420 - DEBUG - VM ctest-TestBasicVMVNx-53685514-44607097 is ready for SSH connections
2025-04-07 09:42:37,420 - DEBUG - FILE SIZE = 1303B
2025-04-07 09:42:37,420 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-53685514-19247075 to ctest-TestBasicVMVNx-53685514-44607097 using scp
2025-04-07 09:42:37,421 - 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.38, gateway password: c0ntrail123
2025-04-07 09:42:37,421 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-04-07 09:42:39,400 - DEBUG - 1+0 records in
1+0 records out
2025-04-07 09:42:40,183 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-07 09:42:40,516 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-04-07 09:42:40,517 - DEBUG - ls -l testfile
2025-04-07 09:42:42,094 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 7 03:42 [0;0mtestfile[0m
2025-04-07 09:42:42,095 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-53685514-44607097
2025-04-07 09:42:42,095 - INFO - Deleting VM ctest-TestBasicVMVNx-53685514-44607097
2025-04-07 09:42:42,168 - INFO - Deleting VM ctest-TestBasicVMVNx-53685514-19247075
2025-04-07 09:42:42,233 - INFO - Deleting VN ctest-vn-02085459
2025-04-07 09:42:42,278 - DEBUG - VN 52c576bd-4e00-4b3b-b2de-2c715bfedbb3 still in use: Unable to complete operation on network 52c576bd-4e00-4b3b-b2de-2c715bfedbb3. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-3e797891-7d9e-4444-9961-0e5024d77643']
2025-04-07 09:42:42,278 - WARNING - Deleting VN ctest-vn-02085459 failed..Will retry
2025-04-07 09:42:44,382 - DEBUG - Response for deleting network ()
2025-04-07 09:42:44,644 - DEBUG - No XMPP flaps were noticed during the test
2025-04-07 09:42:44,644 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-04-07 09:42:44,645 - INFO - --------------------------------------------------------------------------------
2025-04-07 09:42:45,348 - INFO - Deleted project: ctest-TestBasicVMVNx-53685514, ID : 1788fcad-f3d4-43d8-bb88-fa792b140e75