2025-01-13 21:13:23,672 - INFO - Domain Default found not creating
2025-01-13 21:13:23,833 - INFO - Project ctest-TestBasicVMVNx-98754670 not found, creating it
2025-01-13 21:13:24,299 - INFO - Created Project:ctest-TestBasicVMVNx-98754670, ID : f0215278-5134-4e86-aff2-d6a2076e520b
2025-01-13 21:13:25,782 - INFO - ================================================================================
2025-01-13 21:13:25,782 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-01-13 21:13:25,782 - 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-13 21:13:26,042 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.20.0.13': '0'}} with
2025-01-13 21:13:26,042 - INFO - Initial checks done. Running the testcase now
2025-01-13 21:13:26,042 - INFO -
2025-01-13 21:13:26,595 - DEBUG - Response for create_network : {'network': {'id': '5185f626-24fb-457e-a265-7bf365649ced', 'name': 'ctest-vn-38969510', 'tenant_id': 'f021527851344e86aff2d6a2076e520b', 'project_id': 'f021527851344e86aff2d6a2076e520b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-98754670', 'ctest-vn-38969510'], 'port_security_enabled': True, 'description': ''}}
2025-01-13 21:13:26,753 - DEBUG - Response for create_subnet : {'subnet': {'id': '683f839d-8ce8-40b4-a75f-1ddb29d229cb', 'name': '', 'tenant_id': 'f021527851344e86aff2d6a2076e520b', 'network_id': '5185f626-24fb-457e-a265-7bf365649ced', 'ip_version': 4, 'cidr': '164.254.113.128/26', 'allocation_pools': [{'start': '164.254.113.130', 'end': '164.254.113.190'}], 'gateway_ip': '164.254.113.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.254.113.130', 'tags': [], 'project_id': 'f021527851344e86aff2d6a2076e520b'}}
2025-01-13 21:13:26,772 - INFO - Created VN ctest-vn-38969510
2025-01-13 21:13:26,824 - DEBUG - VN ctest-vn-38969510 UUID is 5185f626-24fb-457e-a265-7bf365649ced
2025-01-13 21:13:26,998 - DEBUG - Services list from nova: [, , ]
2025-01-13 21:13:28,083 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2618-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2618-1)
2025-01-13 21:13:29,303 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2618-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2618-1)
2025-01-13 21:13:29,303 - INFO - Waiting for VM ctest-TestBasicVMVNx-98754670-04750583 to be up..
2025-01-13 21:13:29,506 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-13 21:13:34,584 - DEBUG - VM is in ACTIVE state now
2025-01-13 21:13:34,584 - INFO - VM name : ctest-TestBasicVMVNx-98754670-04750583
2025-01-13 21:13:34,660 - DEBUG - VM ctest-TestBasicVMVNx-98754670-04750583 ID is ed6d80a5-b891-43fa-bed9-43c6b09f9d68
2025-01-13 21:13:34,679 - DEBUG - VM ctest-TestBasicVMVNx-98754670-04750583 launched on Node cn-jenkins-deploy-platform-ansible-os-2618-1
2025-01-13 21:13:34,752 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/ed6d80a5-b891-43fa-bed9-43c6b09f9d68
2025-01-13 21:13:35,054 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/ed6d80a5-b891-43fa-bed9-43c6b09f9d68
2025-01-13 21:13:35,090 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/5353db94-6f32-4007-a45f-00b79ae53eff
2025-01-13 21:13:38,342 - 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 1002ms')
2025-01-13 21:13:38,342 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-98754670-04750583 failed!
2025-01-13 21:13:38,396 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-98754670:ctest-vn-38969510 is 164.254.113.129 and allocation pool is NOT set
2025-01-13 21:13:40,459 - 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.45 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.759 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.759/2.102/3.445/1.343 ms')
2025-01-13 21:13:40,460 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-98754670-04750583 passed
2025-01-13 21:13:40,612 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-13 21:13:40,613 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-98754670-04750583, IP 164.254.113.131, Port 22
2025-01-13 21:13:40,767 - DEBUG - VM ctest-TestBasicVMVNx-98754670-04750583 is ready for SSH connections
2025-01-13 21:13:40,768 - INFO - Waiting for VM ctest-TestBasicVMVNx-98754670-83337532 to be up..
2025-01-13 21:13:40,849 - DEBUG - VM is in ACTIVE state now
2025-01-13 21:13:40,849 - INFO - VM name : ctest-TestBasicVMVNx-98754670-83337532
2025-01-13 21:13:40,929 - DEBUG - VM ctest-TestBasicVMVNx-98754670-83337532 ID is 367b9e9c-52c7-482a-b737-09b40e9fdf77
2025-01-13 21:13:40,929 - DEBUG - VM ctest-TestBasicVMVNx-98754670-83337532 launched on Node cn-jenkins-deploy-platform-ansible-os-2618-1
2025-01-13 21:13:41,014 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/367b9e9c-52c7-482a-b737-09b40e9fdf77
2025-01-13 21:13:41,024 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/6a264714-c0b2-4536-b38c-f5760ced5fa9
2025-01-13 21:13:42,267 - 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.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.523 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.523/1.717/2.911/1.194 ms')
2025-01-13 21:13:42,267 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-98754670-83337532 passed
2025-01-13 21:13:42,416 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-13 21:13:42,417 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-98754670-83337532, IP 164.254.113.132, Port 22
2025-01-13 21:13:42,571 - DEBUG - VM ctest-TestBasicVMVNx-98754670-83337532 is ready for SSH connections
2025-01-13 21:13:42,572 - DEBUG - FILE SIZE = 1303B
2025-01-13 21:13:42,572 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-98754670-04750583 to ctest-TestBasicVMVNx-98754670-83337532 using scp
2025-01-13 21:13:42,572 - 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.17, gateway password: c0ntrail123
2025-01-13 21:13:42,573 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-01-13 21:13:44,521 - DEBUG - 1+0 records in
1+0 records out
2025-01-13 21:13:45,148 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-13 21:13:45,486 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123
2025-01-13 21:13:45,487 - DEBUG - ls -l testfile
2025-01-13 21:13:47,071 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 13 14:13 [0;0mtestfile[0m
2025-01-13 21:13:47,071 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-98754670-83337532
2025-01-13 21:13:47,071 - INFO - Deleting VM ctest-TestBasicVMVNx-98754670-83337532
2025-01-13 21:13:47,142 - INFO - Deleting VM ctest-TestBasicVMVNx-98754670-04750583
2025-01-13 21:13:47,209 - INFO - Deleting VN ctest-vn-38969510
2025-01-13 21:13:47,246 - DEBUG - VN 5185f626-24fb-457e-a265-7bf365649ced still in use: Unable to complete operation on network 5185f626-24fb-457e-a265-7bf365649ced. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-7ece985b-8d98-4ba3-b21a-4f0ef4a70d8e']
2025-01-13 21:13:47,246 - WARNING - Deleting VN ctest-vn-38969510 failed..Will retry
2025-01-13 21:13:49,351 - DEBUG - Response for deleting network ()
2025-01-13 21:13:49,609 - DEBUG - No XMPP flaps were noticed during the test
2025-01-13 21:13:49,609 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-01-13 21:13:49,609 - INFO - --------------------------------------------------------------------------------
2025-01-13 21:13:50,291 - INFO - Deleted project: ctest-TestBasicVMVNx-98754670, ID : f0215278-5134-4e86-aff2-d6a2076e520b