2025-04-14 23:05:50,126 - INFO - Domain Default found not creating
2025-04-14 23:05:50,265 - INFO - Project ctest-TestBasicVMVNx-80336109 not found, creating it
2025-04-14 23:05:50,713 - INFO - Created Project:ctest-TestBasicVMVNx-80336109, ID : fec03a35-c39d-4ccd-86f2-d7300fa8264e
2025-04-14 23:05:52,193 - INFO - ================================================================================
2025-04-14 23:05:52,193 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-04-14 23:05:52,193 - 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-14 23:05:52,449 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0'}} with
2025-04-14 23:05:52,450 - INFO - Initial checks done. Running the testcase now
2025-04-14 23:05:52,450 - INFO -
2025-04-14 23:05:52,970 - DEBUG - Response for create_network : {'network': {'id': 'c19b9cbc-4349-4137-b0ac-ad5c7cf5fa5c', 'name': 'ctest-vn-40433659', 'tenant_id': 'fec03a35c39d4ccd86f2d7300fa8264e', 'project_id': 'fec03a35c39d4ccd86f2d7300fa8264e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-80336109', 'ctest-vn-40433659'], 'port_security_enabled': True, 'description': ''}}
2025-04-14 23:05:53,145 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fa731aad-d7bb-4b4b-92ed-b2045f3fbb26', 'name': '', 'tenant_id': 'fec03a35c39d4ccd86f2d7300fa8264e', 'network_id': 'c19b9cbc-4349-4137-b0ac-ad5c7cf5fa5c', 'ip_version': 4, 'cidr': '112.64.70.0/26', 'allocation_pools': [{'start': '112.64.70.2', 'end': '112.64.70.62'}], 'gateway_ip': '112.64.70.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '112.64.70.2', 'tags': [], 'project_id': 'fec03a35c39d4ccd86f2d7300fa8264e'}}
2025-04-14 23:05:53,165 - INFO - Created VN ctest-vn-40433659
2025-04-14 23:05:53,215 - DEBUG - VN ctest-vn-40433659 UUID is c19b9cbc-4349-4137-b0ac-ad5c7cf5fa5c
2025-04-14 23:05:53,375 - DEBUG - Services list from nova: [, , ]
2025-04-14 23:05:54,394 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3111-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3111-1)
2025-04-14 23:05:55,506 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3111-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3111-1)
2025-04-14 23:05:55,506 - INFO - Waiting for VM ctest-TestBasicVMVNx-80336109-55621386 to be up..
2025-04-14 23:05:55,590 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-04-14 23:06:00,678 - DEBUG - VM is in ACTIVE state now
2025-04-14 23:06:00,678 - INFO - VM name : ctest-TestBasicVMVNx-80336109-55621386
2025-04-14 23:06:00,766 - DEBUG - VM ctest-TestBasicVMVNx-80336109-55621386 ID is 5b2cf0a5-23f4-49ee-b239-019d41b5b026
2025-04-14 23:06:00,787 - DEBUG - VM ctest-TestBasicVMVNx-80336109-55621386 launched on Node cn-jenkins-deploy-platform-ansible-os-3111-1
2025-04-14 23:06:00,864 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/5b2cf0a5-23f4-49ee-b239-019d41b5b026
2025-04-14 23:06:01,156 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/5b2cf0a5-23f4-49ee-b239-019d41b5b026
2025-04-14 23:06:01,189 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/0a60f0ec-e511-4e6d-9c7a-e018d54f8955
2025-04-14 23:06:04,454 - 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 1022ms')
2025-04-14 23:06:04,454 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-80336109-55621386 failed!
2025-04-14 23:06:04,508 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-80336109:ctest-vn-40433659 is 112.64.70.1 and allocation pool is NOT set
2025-04-14 23:06:06,565 - 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=5.00 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.893 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.893/2.948/5.004/2.055 ms')
2025-04-14 23:06:06,565 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-80336109-55621386 passed
2025-04-14 23:06:06,716 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-14 23:06:06,716 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-80336109-55621386, IP 112.64.70.3, Port 22
2025-04-14 23:06:06,871 - DEBUG - VM ctest-TestBasicVMVNx-80336109-55621386 is ready for SSH connections
2025-04-14 23:06:06,871 - INFO - Waiting for VM ctest-TestBasicVMVNx-80336109-56789928 to be up..
2025-04-14 23:06:06,948 - DEBUG - VM is in ACTIVE state now
2025-04-14 23:06:06,948 - INFO - VM name : ctest-TestBasicVMVNx-80336109-56789928
2025-04-14 23:06:07,020 - DEBUG - VM ctest-TestBasicVMVNx-80336109-56789928 ID is 30fa895a-4c48-4004-84a8-6914df81b96e
2025-04-14 23:06:07,020 - DEBUG - VM ctest-TestBasicVMVNx-80336109-56789928 launched on Node cn-jenkins-deploy-platform-ansible-os-3111-1
2025-04-14 23:06:07,095 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/30fa895a-4c48-4004-84a8-6914df81b96e
2025-04-14 23:06:07,104 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/1a5dc5f1-801e-4807-882b-b0bd7f5e342b
2025-04-14 23:06:08,332 - 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.467 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.467/1.692/2.917/1.225 ms')
2025-04-14 23:06:08,332 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-80336109-56789928 passed
2025-04-14 23:06:08,479 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-14 23:06:08,480 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-80336109-56789928, IP 112.64.70.4, Port 22
2025-04-14 23:06:08,631 - DEBUG - VM ctest-TestBasicVMVNx-80336109-56789928 is ready for SSH connections
2025-04-14 23:06:08,631 - DEBUG - FILE SIZE = 1303B
2025-04-14 23:06:08,631 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-80336109-55621386 to ctest-TestBasicVMVNx-80336109-56789928 using scp
2025-04-14 23:06:08,632 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-14 23:06:08,636 - 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.65, gateway password: c0ntrail123
2025-04-14 23:06:08,636 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-04-14 23:06:10,531 - DEBUG - 1+0 records in
1+0 records out
2025-04-14 23:06:11,116 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-14 23:06:11,435 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2025-04-14 23:06:11,435 - DEBUG - ls -l testfile
2025-04-14 23:06:13,010 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 14 17:06 [0;0mtestfile[0m
2025-04-14 23:06:13,010 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-80336109-56789928
2025-04-14 23:06:13,010 - INFO - Deleting VM ctest-TestBasicVMVNx-80336109-56789928
2025-04-14 23:06:13,088 - INFO - Deleting VM ctest-TestBasicVMVNx-80336109-55621386
2025-04-14 23:06:13,254 - INFO - Deleting VN ctest-vn-40433659
2025-04-14 23:06:13,291 - DEBUG - VN c19b9cbc-4349-4137-b0ac-ad5c7cf5fa5c still in use: Unable to complete operation on network c19b9cbc-4349-4137-b0ac-ad5c7cf5fa5c. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-b5e3fd93-3371-4a86-b01b-c14885a199e8']
2025-04-14 23:06:13,291 - WARNING - Deleting VN ctest-vn-40433659 failed..Will retry
2025-04-14 23:06:15,395 - DEBUG - Response for deleting network ()
2025-04-14 23:06:15,650 - DEBUG - No XMPP flaps were noticed during the test
2025-04-14 23:06:15,650 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-04-14 23:06:15,650 - INFO - --------------------------------------------------------------------------------
2025-04-14 23:06:16,301 - INFO - Deleted project: ctest-TestBasicVMVNx-80336109, ID : fec03a35-c39d-4ccd-86f2-d7300fa8264e