2025-04-24 19:35:25,333 - INFO - Domain Default found not creating
2025-04-24 19:35:25,480 - INFO - Project ctest-TestBasicVMVNx-26317011 not found, creating it
2025-04-24 19:35:25,947 - INFO - Created Project:ctest-TestBasicVMVNx-26317011, ID : 8dc1f16d-6784-4301-b542-d4face36083b
2025-04-24 19:35:27,315 - INFO - ================================================================================
2025-04-24 19:35:27,315 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-04-24 19:35:27,315 - 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-24 19:35:27,573 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.254': '0'}} with
2025-04-24 19:35:27,573 - INFO - Initial checks done. Running the testcase now
2025-04-24 19:35:27,573 - INFO -
2025-04-24 19:35:28,105 - DEBUG - Response for create_network : {'network': {'id': '3b1a83f7-bd4c-4f3a-bede-5010ec515214', 'name': 'ctest-vn-08729971', 'tenant_id': '8dc1f16d67844301b542d4face36083b', 'project_id': '8dc1f16d67844301b542d4face36083b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-26317011', 'ctest-vn-08729971'], 'port_security_enabled': True, 'description': ''}}
2025-04-24 19:35:28,320 - DEBUG - Response for create_subnet : {'subnet': {'id': 'feeb815d-e746-4654-9376-b6aa08592ff8', 'name': '', 'tenant_id': '8dc1f16d67844301b542d4face36083b', 'network_id': '3b1a83f7-bd4c-4f3a-bede-5010ec515214', 'ip_version': 4, 'cidr': '31.8.119.64/26', 'allocation_pools': [{'start': '31.8.119.66', 'end': '31.8.119.126'}], 'gateway_ip': '31.8.119.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.8.119.66', 'tags': [], 'project_id': '8dc1f16d67844301b542d4face36083b'}}
2025-04-24 19:35:28,338 - INFO - Created VN ctest-vn-08729971
2025-04-24 19:35:28,389 - DEBUG - VN ctest-vn-08729971 UUID is 3b1a83f7-bd4c-4f3a-bede-5010ec515214
2025-04-24 19:35:28,542 - DEBUG - Services list from nova: [, , ]
2025-04-24 19:35:29,529 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3208-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3208-1)
2025-04-24 19:35:30,657 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3208-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3208-1)
2025-04-24 19:35:30,658 - INFO - Waiting for VM ctest-TestBasicVMVNx-26317011-06756726 to be up..
2025-04-24 19:35:30,747 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-04-24 19:35:35,828 - DEBUG - VM is in ACTIVE state now
2025-04-24 19:35:35,828 - INFO - VM name : ctest-TestBasicVMVNx-26317011-06756726
2025-04-24 19:35:35,895 - DEBUG - VM ctest-TestBasicVMVNx-26317011-06756726 ID is 19eabe43-5500-4148-9500-c46edd9e2964
2025-04-24 19:35:35,912 - DEBUG - VM ctest-TestBasicVMVNx-26317011-06756726 launched on Node cn-jenkins-deploy-platform-ansible-os-3208-1
2025-04-24 19:35:35,982 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/19eabe43-5500-4148-9500-c46edd9e2964
2025-04-24 19:35:36,276 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/19eabe43-5500-4148-9500-c46edd9e2964
2025-04-24 19:35:36,310 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/f66e186c-3c3b-43e6-a61f-8c7ed6b33836
2025-04-24 19:35:39,573 - 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 1015ms')
2025-04-24 19:35:39,573 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-26317011-06756726 failed!
2025-04-24 19:35:39,633 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-26317011:ctest-vn-08729971 is 31.8.119.65 and allocation pool is NOT set
2025-04-24 19:35:41,702 - 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.72 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.478 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.478/2.098/3.719/1.620 ms')
2025-04-24 19:35:41,702 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-26317011-06756726 passed
2025-04-24 19:35:41,853 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-24 19:35:41,853 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-26317011-06756726, IP 31.8.119.67, Port 22
2025-04-24 19:35:42,012 - DEBUG - VM ctest-TestBasicVMVNx-26317011-06756726 is ready for SSH connections
2025-04-24 19:35:42,012 - INFO - Waiting for VM ctest-TestBasicVMVNx-26317011-75104933 to be up..
2025-04-24 19:35:42,096 - DEBUG - VM is in ACTIVE state now
2025-04-24 19:35:42,096 - INFO - VM name : ctest-TestBasicVMVNx-26317011-75104933
2025-04-24 19:35:42,164 - DEBUG - VM ctest-TestBasicVMVNx-26317011-75104933 ID is eca5e711-d133-4b9a-b04a-3eb2a24e6e4d
2025-04-24 19:35:42,164 - DEBUG - VM ctest-TestBasicVMVNx-26317011-75104933 launched on Node cn-jenkins-deploy-platform-ansible-os-3208-1
2025-04-24 19:35:42,238 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/eca5e711-d133-4b9a-b04a-3eb2a24e6e4d
2025-04-24 19:35:42,246 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/e727b0cf-905b-4f23-b575-3fe27b0f9c8d
2025-04-24 19:35:43,496 - 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.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.462 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.462/1.647/2.833/1.185 ms')
2025-04-24 19:35:43,496 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-26317011-75104933 passed
2025-04-24 19:35:43,649 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-24 19:35:43,649 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-26317011-75104933, IP 31.8.119.68, Port 22
2025-04-24 19:35:43,805 - DEBUG - VM ctest-TestBasicVMVNx-26317011-75104933 is ready for SSH connections
2025-04-24 19:35:43,805 - DEBUG - FILE SIZE = 1303B
2025-04-24 19:35:43,805 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-26317011-06756726 to ctest-TestBasicVMVNx-26317011-75104933 using scp
2025-04-24 19:35:43,806 - 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.130, gateway password: c0ntrail123
2025-04-24 19:35:43,806 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-04-24 19:35:45,690 - DEBUG - 1+0 records in
1+0 records out
2025-04-24 19:35:46,290 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-24 19:35:46,616 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123
2025-04-24 19:35:46,616 - DEBUG - ls -l testfile
2025-04-24 19:35:48,148 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 24 13:35 [0;0mtestfile[0m
2025-04-24 19:35:48,148 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-26317011-75104933
2025-04-24 19:35:48,148 - INFO - Deleting VM ctest-TestBasicVMVNx-26317011-75104933
2025-04-24 19:35:48,230 - INFO - Deleting VM ctest-TestBasicVMVNx-26317011-06756726
2025-04-24 19:35:48,298 - INFO - Deleting VN ctest-vn-08729971
2025-04-24 19:35:48,333 - DEBUG - VN 3b1a83f7-bd4c-4f3a-bede-5010ec515214 still in use: Unable to complete operation on network 3b1a83f7-bd4c-4f3a-bede-5010ec515214. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-88ddb385-b21f-49bd-ae88-07c54fdd177d']
2025-04-24 19:35:48,333 - WARNING - Deleting VN ctest-vn-08729971 failed..Will retry
2025-04-24 19:35:50,432 - DEBUG - Response for deleting network ()
2025-04-24 19:35:50,693 - DEBUG - No XMPP flaps were noticed during the test
2025-04-24 19:35:50,693 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-04-24 19:35:50,693 - INFO - --------------------------------------------------------------------------------
2025-04-24 19:35:51,359 - INFO - Deleted project: ctest-TestBasicVMVNx-26317011, ID : 8dc1f16d-6784-4301-b542-d4face36083b