2025-05-07 08:54:40,145 - INFO - Domain Default found not creating
2025-05-07 08:54:40,292 - INFO - Project ctest-TestBasicVMVNx-52605008 not found, creating it
2025-05-07 08:54:40,754 - INFO - Created Project:ctest-TestBasicVMVNx-52605008, ID : 861610e9-0b8f-416d-9cca-f9e8e0e65419
2025-05-07 08:54:42,026 - INFO - ================================================================================
2025-05-07 08:54:42,026 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-05-07 08:54:42,027 - 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-05-07 08:54:42,283 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2025-05-07 08:54:42,283 - INFO - Initial checks done. Running the testcase now
2025-05-07 08:54:42,283 - INFO -
2025-05-07 08:54:42,796 - DEBUG - Response for create_network : {'network': {'id': '658b5b60-b597-422d-9f24-cc879dbb0e8f', 'name': 'ctest-vn-37216178', 'tenant_id': '861610e90b8f416d9ccaf9e8e0e65419', 'project_id': '861610e90b8f416d9ccaf9e8e0e65419', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-52605008', 'ctest-vn-37216178'], 'port_security_enabled': True, 'description': ''}}
2025-05-07 08:54:43,020 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e9974000-3636-42da-b6ab-fcb65ae6a619', 'name': '', 'tenant_id': '861610e90b8f416d9ccaf9e8e0e65419', 'network_id': '658b5b60-b597-422d-9f24-cc879dbb0e8f', 'ip_version': 4, 'cidr': '131.251.6.192/26', 'allocation_pools': [{'start': '131.251.6.194', 'end': '131.251.6.254'}], 'gateway_ip': '131.251.6.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '131.251.6.194', 'tags': [], 'project_id': '861610e90b8f416d9ccaf9e8e0e65419'}}
2025-05-07 08:54:43,039 - INFO - Created VN ctest-vn-37216178
2025-05-07 08:54:43,093 - DEBUG - VN ctest-vn-37216178 UUID is 658b5b60-b597-422d-9f24-cc879dbb0e8f
2025-05-07 08:54:43,270 - DEBUG - Services list from nova: [, , ]
2025-05-07 08:54:44,223 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3281-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3281-1)
2025-05-07 08:54:45,309 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3281-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3281-1)
2025-05-07 08:54:45,309 - INFO - Waiting for VM ctest-TestBasicVMVNx-52605008-62635566 to be up..
2025-05-07 08:54:45,382 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-05-07 08:54:50,459 - DEBUG - VM is in ACTIVE state now
2025-05-07 08:54:50,459 - INFO - VM name : ctest-TestBasicVMVNx-52605008-62635566
2025-05-07 08:54:50,533 - DEBUG - VM ctest-TestBasicVMVNx-52605008-62635566 ID is b14d37a6-7d0e-4092-82c7-38a7fc348581
2025-05-07 08:54:50,550 - DEBUG - VM ctest-TestBasicVMVNx-52605008-62635566 launched on Node cn-jenkins-deploy-platform-ansible-os-3281-1
2025-05-07 08:54:50,625 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b14d37a6-7d0e-4092-82c7-38a7fc348581
2025-05-07 08:54:50,887 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b14d37a6-7d0e-4092-82c7-38a7fc348581
2025-05-07 08:54:50,923 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/84c85b65-01a8-4929-ad8f-d4db1ae51e87
2025-05-07 08:54:54,204 - 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 1024ms')
2025-05-07 08:54:54,205 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-52605008-62635566 failed!
2025-05-07 08:54:54,260 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-52605008:ctest-vn-37216178 is 131.251.6.193 and allocation pool is NOT set
2025-05-07 08:54:56,324 - 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=2.58 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.461 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 = 0.461/1.520/2.579/1.059 ms')
2025-05-07 08:54:56,324 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-52605008-62635566 passed
2025-05-07 08:54:56,481 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-07 08:54:56,481 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-52605008-62635566, IP 131.251.6.195, Port 22
2025-05-07 08:54:56,636 - DEBUG - VM ctest-TestBasicVMVNx-52605008-62635566 is ready for SSH connections
2025-05-07 08:54:56,636 - INFO - Waiting for VM ctest-TestBasicVMVNx-52605008-91500312 to be up..
2025-05-07 08:54:56,718 - DEBUG - VM is in ACTIVE state now
2025-05-07 08:54:56,718 - INFO - VM name : ctest-TestBasicVMVNx-52605008-91500312
2025-05-07 08:54:56,793 - DEBUG - VM ctest-TestBasicVMVNx-52605008-91500312 ID is 803d6c93-b860-445a-a2eb-4541000fd21d
2025-05-07 08:54:56,794 - DEBUG - VM ctest-TestBasicVMVNx-52605008-91500312 launched on Node cn-jenkins-deploy-platform-ansible-os-3281-1
2025-05-07 08:54:56,873 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/803d6c93-b860-445a-a2eb-4541000fd21d
2025-05-07 08:54:56,888 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/fcc7b88b-6c23-4961-be5a-97f87992bc05
2025-05-07 08:54:58,126 - 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.92 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.376 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.376/1.648/2.920/1.272 ms')
2025-05-07 08:54:58,126 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-52605008-91500312 passed
2025-05-07 08:54:58,272 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-07 08:54:58,273 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-52605008-91500312, IP 131.251.6.196, Port 22
2025-05-07 08:54:58,428 - DEBUG - VM ctest-TestBasicVMVNx-52605008-91500312 is ready for SSH connections
2025-05-07 08:54:58,428 - DEBUG - FILE SIZE = 1303B
2025-05-07 08:54:58,429 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-52605008-62635566 to ctest-TestBasicVMVNx-52605008-91500312 using scp
2025-05-07 08:54:58,429 - 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-05-07 08:54:58,429 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-05-07 08:55:00,275 - DEBUG - 1+0 records in
1+0 records out
2025-05-07 08:55:00,826 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-07 08:55:01,146 - 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-05-07 08:55:01,146 - DEBUG - ls -l testfile
2025-05-07 08:55:02,697 - DEBUG - -rw------- 1 cirros cirros 1303 May 7 02:55 [0;0mtestfile[0m
2025-05-07 08:55:02,697 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-52605008-91500312
2025-05-07 08:55:02,697 - INFO - Deleting VM ctest-TestBasicVMVNx-52605008-91500312
2025-05-07 08:55:02,767 - INFO - Deleting VM ctest-TestBasicVMVNx-52605008-62635566
2025-05-07 08:55:02,826 - INFO - Deleting VN ctest-vn-37216178
2025-05-07 08:55:02,862 - DEBUG - VN 658b5b60-b597-422d-9f24-cc879dbb0e8f still in use: Unable to complete operation on network 658b5b60-b597-422d-9f24-cc879dbb0e8f. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-ce54f9b9-34eb-41d0-af5d-eeb06f64bfab']
2025-05-07 08:55:02,862 - WARNING - Deleting VN ctest-vn-37216178 failed..Will retry
2025-05-07 08:55:04,981 - DEBUG - Response for deleting network ()
2025-05-07 08:55:05,246 - DEBUG - No XMPP flaps were noticed during the test
2025-05-07 08:55:05,246 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-05-07 08:55:05,246 - INFO - --------------------------------------------------------------------------------
2025-05-07 08:55:05,906 - INFO - Deleted project: ctest-TestBasicVMVNx-52605008, ID : 861610e9-0b8f-416d-9cca-f9e8e0e65419