2025-01-07 11:42:49,865 - INFO - Domain Default found not creating
2025-01-07 11:42:50,018 - INFO - Project ctest-TestBasicVMVNx-74747440 not found, creating it
2025-01-07 11:42:50,491 - INFO - Created Project:ctest-TestBasicVMVNx-74747440, ID : 0502b53d-0ffa-42b2-b2cd-365080325737
2025-01-07 11:42:51,961 - INFO - ================================================================================
2025-01-07 11:42:51,961 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-01-07 11:42:51,961 - 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-01-07 11:42:52,223 - DEBUG - Nothing to compare xmpp stats {'10.0.0.37': {'10.20.0.5': '0'}} with
2025-01-07 11:42:52,223 - INFO - Initial checks done. Running the testcase now
2025-01-07 11:42:52,223 - INFO -
2025-01-07 11:42:52,786 - DEBUG - Response for create_network : {'network': {'id': '48b00010-1903-4147-878e-53a7a435bef6', 'name': 'ctest-vn-18465704', 'tenant_id': '0502b53d0ffa42b2b2cd365080325737', 'project_id': '0502b53d0ffa42b2b2cd365080325737', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-74747440', 'ctest-vn-18465704'], 'port_security_enabled': True, 'description': ''}}
2025-01-07 11:42:53,000 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ba4f0568-2414-4571-96a9-b677732a10e7', 'name': '', 'tenant_id': '0502b53d0ffa42b2b2cd365080325737', 'network_id': '48b00010-1903-4147-878e-53a7a435bef6', 'ip_version': 4, 'cidr': '221.101.205.192/26', 'allocation_pools': [{'start': '221.101.205.194', 'end': '221.101.205.254'}], 'gateway_ip': '221.101.205.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '221.101.205.194', 'tags': [], 'project_id': '0502b53d0ffa42b2b2cd365080325737'}}
2025-01-07 11:42:53,019 - INFO - Created VN ctest-vn-18465704
2025-01-07 11:42:53,074 - DEBUG - VN ctest-vn-18465704 UUID is 48b00010-1903-4147-878e-53a7a435bef6
2025-01-07 11:42:53,247 - DEBUG - Services list from nova: [, , ]
2025-01-07 11:42:54,274 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2548-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2548-1)
2025-01-07 11:42:55,451 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2548-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2548-1)
2025-01-07 11:42:55,452 - INFO - Waiting for VM ctest-TestBasicVMVNx-74747440-19514199 to be up..
2025-01-07 11:42:55,541 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-07 11:43:00,628 - DEBUG - VM is in ACTIVE state now
2025-01-07 11:43:00,628 - INFO - VM name : ctest-TestBasicVMVNx-74747440-19514199
2025-01-07 11:43:00,710 - DEBUG - VM ctest-TestBasicVMVNx-74747440-19514199 ID is 734d9526-df5d-423e-8b9c-887a8348c3bb
2025-01-07 11:43:00,736 - DEBUG - VM ctest-TestBasicVMVNx-74747440-19514199 launched on Node cn-jenkins-deploy-platform-ansible-os-2548-1
2025-01-07 11:43:00,933 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine/734d9526-df5d-423e-8b9c-887a8348c3bb
2025-01-07 11:43:01,235 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine/734d9526-df5d-423e-8b9c-887a8348c3bb
2025-01-07 11:43:01,269 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine-interface/9ded91da-ec13-447e-ab80-3b98617c5a3c
2025-01-07 11:43:04,550 - 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 1030ms')
2025-01-07 11:43:04,551 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-74747440-19514199 failed!
2025-01-07 11:43:04,606 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-74747440:ctest-vn-18465704 is 221.101.205.193 and allocation pool is NOT set
2025-01-07 11:43:06,667 - 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.35 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.363 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.363/1.855/3.347/1.492 ms')
2025-01-07 11:43:06,668 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-74747440-19514199 passed
2025-01-07 11:43:06,822 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-07 11:43:06,822 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-74747440-19514199, IP 221.101.205.195, Port 22
2025-01-07 11:43:06,977 - DEBUG - VM ctest-TestBasicVMVNx-74747440-19514199 is ready for SSH connections
2025-01-07 11:43:06,977 - INFO - Waiting for VM ctest-TestBasicVMVNx-74747440-77893305 to be up..
2025-01-07 11:43:07,059 - DEBUG - VM is in ACTIVE state now
2025-01-07 11:43:07,059 - INFO - VM name : ctest-TestBasicVMVNx-74747440-77893305
2025-01-07 11:43:07,156 - DEBUG - VM ctest-TestBasicVMVNx-74747440-77893305 ID is bfa5bce2-cea6-45cb-8f14-49a84f40e000
2025-01-07 11:43:07,157 - DEBUG - VM ctest-TestBasicVMVNx-74747440-77893305 launched on Node cn-jenkins-deploy-platform-ansible-os-2548-1
2025-01-07 11:43:07,239 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine/bfa5bce2-cea6-45cb-8f14-49a84f40e000
2025-01-07 11:43:07,251 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine-interface/6c41608f-545f-4fd0-a7ee-8a5652fd83f3
2025-01-07 11:43:08,507 - 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.30 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.510 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.510/1.907/3.304/1.397 ms')
2025-01-07 11:43:08,507 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-74747440-77893305 passed
2025-01-07 11:43:08,662 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-07 11:43:08,662 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-74747440-77893305, IP 221.101.205.196, Port 22
2025-01-07 11:43:08,818 - DEBUG - VM ctest-TestBasicVMVNx-74747440-77893305 is ready for SSH connections
2025-01-07 11:43:08,818 - DEBUG - FILE SIZE = 1303B
2025-01-07 11:43:08,818 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-74747440-19514199 to ctest-TestBasicVMVNx-74747440-77893305 using scp
2025-01-07 11:43:08,819 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-07 11:43:08,839 - 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.37, gateway password: c0ntrail123
2025-01-07 11:43:08,839 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-01-07 11:43:10,784 - DEBUG - 1+0 records in
1+0 records out
2025-01-07 11:43:11,572 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-07 11:43:11,916 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.37, gateway password: c0ntrail123
2025-01-07 11:43:11,917 - DEBUG - ls -l testfile
2025-01-07 11:43:13,521 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 7 04:43 [0;0mtestfile[0m
2025-01-07 11:43:13,521 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-74747440-77893305
2025-01-07 11:43:13,521 - INFO - Deleting VM ctest-TestBasicVMVNx-74747440-77893305
2025-01-07 11:43:13,590 - INFO - Deleting VM ctest-TestBasicVMVNx-74747440-19514199
2025-01-07 11:43:13,655 - INFO - Deleting VN ctest-vn-18465704
2025-01-07 11:43:13,692 - DEBUG - VN 48b00010-1903-4147-878e-53a7a435bef6 still in use: Unable to complete operation on network 48b00010-1903-4147-878e-53a7a435bef6. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-16d2260c-9709-437a-92f9-b5663ebd592b']
2025-01-07 11:43:13,692 - WARNING - Deleting VN ctest-vn-18465704 failed..Will retry
2025-01-07 11:43:15,796 - DEBUG - Response for deleting network ()
2025-01-07 11:43:16,056 - DEBUG - No XMPP flaps were noticed during the test
2025-01-07 11:43:16,056 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25]
2025-01-07 11:43:16,056 - INFO - --------------------------------------------------------------------------------
2025-01-07 11:43:16,763 - INFO - Deleted project: ctest-TestBasicVMVNx-74747440, ID : 0502b53d-0ffa-42b2-b2cd-365080325737