2025-04-21 08:18:42,468 - INFO - Domain Default found not creating
2025-04-21 08:18:42,602 - INFO - Project ctest-TestBasicVMVNx-88190454 not found, creating it
2025-04-21 08:18:43,051 - INFO - Created Project:ctest-TestBasicVMVNx-88190454, ID : 99e9c678-7f99-4cad-81e5-13008d3b67bb
2025-04-21 08:18:44,566 - INFO - ================================================================================
2025-04-21 08:18:44,566 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-04-21 08:18:44,566 - 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-21 08:18:44,822 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2025-04-21 08:18:44,823 - INFO - Initial checks done. Running the testcase now
2025-04-21 08:18:44,823 - INFO -
2025-04-21 08:18:45,392 - DEBUG - Response for create_network : {'network': {'id': 'ec2157fb-8058-480f-a4ed-755c3cc1dc68', 'name': 'ctest-vn-00516644', 'tenant_id': '99e9c6787f994cad81e513008d3b67bb', 'project_id': '99e9c6787f994cad81e513008d3b67bb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-88190454', 'ctest-vn-00516644'], 'port_security_enabled': True, 'description': ''}}
2025-04-21 08:18:45,545 - DEBUG - Response for create_subnet : {'subnet': {'id': '82725204-cf2c-45d4-88ed-341630aa1f6e', 'name': '', 'tenant_id': '99e9c6787f994cad81e513008d3b67bb', 'network_id': 'ec2157fb-8058-480f-a4ed-755c3cc1dc68', 'ip_version': 4, 'cidr': '205.215.91.192/26', 'allocation_pools': [{'start': '205.215.91.194', 'end': '205.215.91.254'}], 'gateway_ip': '205.215.91.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '205.215.91.194', 'tags': [], 'project_id': '99e9c6787f994cad81e513008d3b67bb'}}
2025-04-21 08:18:45,562 - INFO - Created VN ctest-vn-00516644
2025-04-21 08:18:45,612 - DEBUG - VN ctest-vn-00516644 UUID is ec2157fb-8058-480f-a4ed-755c3cc1dc68
2025-04-21 08:18:45,813 - DEBUG - Services list from nova: [, , ]
2025-04-21 08:18:46,875 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3149-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3149-1)
2025-04-21 08:18:48,075 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3149-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3149-1)
2025-04-21 08:18:48,075 - INFO - Waiting for VM ctest-TestBasicVMVNx-88190454-98240193 to be up..
2025-04-21 08:18:48,154 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-04-21 08:18:53,233 - DEBUG - VM is in ACTIVE state now
2025-04-21 08:18:53,233 - INFO - VM name : ctest-TestBasicVMVNx-88190454-98240193
2025-04-21 08:18:53,307 - DEBUG - VM ctest-TestBasicVMVNx-88190454-98240193 ID is 148c52c4-477d-48eb-b806-996290be7723
2025-04-21 08:18:53,325 - DEBUG - VM ctest-TestBasicVMVNx-88190454-98240193 launched on Node cn-jenkins-deploy-platform-ansible-os-3149-1
2025-04-21 08:18:53,475 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/148c52c4-477d-48eb-b806-996290be7723
2025-04-21 08:18:53,806 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/148c52c4-477d-48eb-b806-996290be7723
2025-04-21 08:18:53,837 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/bfc25550-0525-4aeb-b2f5-5888a214eaf6
2025-04-21 08:18:57,086 - 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 1019ms')
2025-04-21 08:18:57,086 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-88190454-98240193 failed!
2025-04-21 08:18:57,144 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-88190454:ctest-vn-00516644 is 205.215.91.193 and allocation pool is NOT set
2025-04-21 08:18:59,203 - 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.82 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.423 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.423/1.621/2.819/1.198 ms')
2025-04-21 08:18:59,203 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-88190454-98240193 passed
2025-04-21 08:18:59,352 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-21 08:18:59,352 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-88190454-98240193, IP 205.215.91.195, Port 22
2025-04-21 08:18:59,508 - DEBUG - VM ctest-TestBasicVMVNx-88190454-98240193 is ready for SSH connections
2025-04-21 08:18:59,508 - INFO - Waiting for VM ctest-TestBasicVMVNx-88190454-37374745 to be up..
2025-04-21 08:18:59,582 - DEBUG - VM is in ACTIVE state now
2025-04-21 08:18:59,582 - INFO - VM name : ctest-TestBasicVMVNx-88190454-37374745
2025-04-21 08:18:59,664 - DEBUG - VM ctest-TestBasicVMVNx-88190454-37374745 ID is f81b1b03-9015-47c1-9647-b58ee86b0e00
2025-04-21 08:18:59,665 - DEBUG - VM ctest-TestBasicVMVNx-88190454-37374745 launched on Node cn-jenkins-deploy-platform-ansible-os-3149-1
2025-04-21 08:18:59,740 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/f81b1b03-9015-47c1-9647-b58ee86b0e00
2025-04-21 08:18:59,749 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/31ad30f4-8d64-4159-892d-e9f429d5862f
2025-04-21 08:19:00,983 - 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=4.02 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/2.267/4.024/1.757 ms')
2025-04-21 08:19:00,983 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-88190454-37374745 passed
2025-04-21 08:19:01,132 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-21 08:19:01,132 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-88190454-37374745, IP 205.215.91.196, Port 22
2025-04-21 08:19:01,288 - DEBUG - VM ctest-TestBasicVMVNx-88190454-37374745 is ready for SSH connections
2025-04-21 08:19:01,288 - DEBUG - FILE SIZE = 1303B
2025-04-21 08:19:01,289 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-88190454-98240193 to ctest-TestBasicVMVNx-88190454-37374745 using scp
2025-04-21 08:19:01,289 - 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.50, gateway password: c0ntrail123
2025-04-21 08:19:01,289 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-04-21 08:19:03,211 - DEBUG - 1+0 records in
1+0 records out
2025-04-21 08:19:03,898 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-21 08:19:04,235 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-04-21 08:19:04,235 - DEBUG - ls -l testfile
2025-04-21 08:19:05,839 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 21 02:19 [0;0mtestfile[0m
2025-04-21 08:19:05,839 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-88190454-37374745
2025-04-21 08:19:05,839 - INFO - Deleting VM ctest-TestBasicVMVNx-88190454-37374745
2025-04-21 08:19:05,905 - INFO - Deleting VM ctest-TestBasicVMVNx-88190454-98240193
2025-04-21 08:19:05,967 - INFO - Deleting VN ctest-vn-00516644
2025-04-21 08:19:06,004 - DEBUG - VN ec2157fb-8058-480f-a4ed-755c3cc1dc68 still in use: Unable to complete operation on network ec2157fb-8058-480f-a4ed-755c3cc1dc68. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-d6c8117a-94e3-4a53-8b9d-cc4c1faa3553']
2025-04-21 08:19:06,004 - WARNING - Deleting VN ctest-vn-00516644 failed..Will retry
2025-04-21 08:19:08,112 - DEBUG - Response for deleting network ()
2025-04-21 08:19:08,366 - DEBUG - No XMPP flaps were noticed during the test
2025-04-21 08:19:08,366 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-04-21 08:19:08,366 - INFO - --------------------------------------------------------------------------------
2025-04-21 08:19:09,078 - INFO - Deleted project: ctest-TestBasicVMVNx-88190454, ID : 99e9c678-7f99-4cad-81e5-13008d3b67bb