2025-04-24 02:05:26,738 - INFO - Domain Default found not creating
2025-04-24 02:05:26,857 - INFO - Project ctest-TestBasicVMVNx-27857802 not found, creating it
2025-04-24 02:05:27,290 - INFO - Created Project:ctest-TestBasicVMVNx-27857802, ID : b9e8518a-3d38-4380-8e0e-ff1b69fec8e8
2025-04-24 02:05:28,594 - INFO - ================================================================================
2025-04-24 02:05:28,594 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-04-24 02:05:28,594 - 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 02:05:28,843 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.18': '0'}} with
2025-04-24 02:05:28,843 - INFO - Initial checks done. Running the testcase now
2025-04-24 02:05:28,843 - INFO -
2025-04-24 02:05:29,360 - DEBUG - Response for create_network : {'network': {'id': '5c9bd9c9-e166-491e-8868-2bb686d509e0', 'name': 'ctest-vn-88583224', 'tenant_id': 'b9e8518a3d3843808e0eff1b69fec8e8', 'project_id': 'b9e8518a3d3843808e0eff1b69fec8e8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-27857802', 'ctest-vn-88583224'], 'port_security_enabled': True, 'description': ''}}
2025-04-24 02:05:29,548 - DEBUG - Response for create_subnet : {'subnet': {'id': '09a87eab-ceeb-4abd-bd04-9022ae3d4ae2', 'name': '', 'tenant_id': 'b9e8518a3d3843808e0eff1b69fec8e8', 'network_id': '5c9bd9c9-e166-491e-8868-2bb686d509e0', 'ip_version': 4, 'cidr': '4.99.242.64/26', 'allocation_pools': [{'start': '4.99.242.66', 'end': '4.99.242.126'}], 'gateway_ip': '4.99.242.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '4.99.242.66', 'tags': [], 'project_id': 'b9e8518a3d3843808e0eff1b69fec8e8'}}
2025-04-24 02:05:29,564 - INFO - Created VN ctest-vn-88583224
2025-04-24 02:05:29,614 - DEBUG - VN ctest-vn-88583224 UUID is 5c9bd9c9-e166-491e-8868-2bb686d509e0
2025-04-24 02:05:29,801 - DEBUG - Services list from nova: [, , ]
2025-04-24 02:05:30,737 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3199-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3199-1)
2025-04-24 02:05:31,836 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3199-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3199-1)
2025-04-24 02:05:31,836 - INFO - Waiting for VM ctest-TestBasicVMVNx-27857802-76573451 to be up..
2025-04-24 02:05:31,908 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-04-24 02:05:36,980 - DEBUG - VM is in ACTIVE state now
2025-04-24 02:05:36,980 - INFO - VM name : ctest-TestBasicVMVNx-27857802-76573451
2025-04-24 02:05:37,048 - DEBUG - VM ctest-TestBasicVMVNx-27857802-76573451 ID is 59fffa4b-8a62-4cba-bfdd-da7360cf6d1b
2025-04-24 02:05:37,064 - DEBUG - VM ctest-TestBasicVMVNx-27857802-76573451 launched on Node cn-jenkins-deploy-platform-ansible-os-3199-1
2025-04-24 02:05:37,129 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/59fffa4b-8a62-4cba-bfdd-da7360cf6d1b
2025-04-24 02:05:37,418 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/59fffa4b-8a62-4cba-bfdd-da7360cf6d1b
2025-04-24 02:05:37,446 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/36e5f3a1-0acc-491a-bff0-2a22a37277fd
2025-04-24 02:05:40,704 - 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 1024ms')
2025-04-24 02:05:40,704 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-27857802-76573451 failed!
2025-04-24 02:05:40,758 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-27857802:ctest-vn-88583224 is 4.99.242.65 and allocation pool is NOT set
2025-04-24 02:05:42,822 - 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.49 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.327 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.327/1.409/2.492/1.082 ms')
2025-04-24 02:05:42,822 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-27857802-76573451 passed
2025-04-24 02:05:42,970 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-24 02:05:42,970 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-27857802-76573451, IP 4.99.242.67, Port 22
2025-04-24 02:05:43,129 - DEBUG - VM ctest-TestBasicVMVNx-27857802-76573451 is ready for SSH connections
2025-04-24 02:05:43,129 - INFO - Waiting for VM ctest-TestBasicVMVNx-27857802-67325446 to be up..
2025-04-24 02:05:43,191 - DEBUG - VM is in ACTIVE state now
2025-04-24 02:05:43,192 - INFO - VM name : ctest-TestBasicVMVNx-27857802-67325446
2025-04-24 02:05:43,253 - DEBUG - VM ctest-TestBasicVMVNx-27857802-67325446 ID is 015ec047-b120-4218-8c2e-3ade1984d995
2025-04-24 02:05:43,254 - DEBUG - VM ctest-TestBasicVMVNx-27857802-67325446 launched on Node cn-jenkins-deploy-platform-ansible-os-3199-1
2025-04-24 02:05:43,314 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/015ec047-b120-4218-8c2e-3ade1984d995
2025-04-24 02:05:43,322 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/d09055fc-5030-4945-b576-37b6df36aaa4
2025-04-24 02:05:44,565 - 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.59 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.275 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.275/1.431/2.587/1.156 ms')
2025-04-24 02:05:44,565 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-27857802-67325446 passed
2025-04-24 02:05:44,714 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-24 02:05:44,714 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-27857802-67325446, IP 4.99.242.68, Port 22
2025-04-24 02:05:44,873 - DEBUG - VM ctest-TestBasicVMVNx-27857802-67325446 is ready for SSH connections
2025-04-24 02:05:44,873 - DEBUG - FILE SIZE = 1303B
2025-04-24 02:05:44,873 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-27857802-76573451 to ctest-TestBasicVMVNx-27857802-67325446 using scp
2025-04-24 02:05:44,874 - 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.141, gateway password: c0ntrail123
2025-04-24 02:05:44,874 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-04-24 02:05:46,703 - DEBUG - 1+0 records in
1+0 records out
2025-04-24 02:05:47,261 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-24 02:05:47,568 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123
2025-04-24 02:05:47,568 - DEBUG - ls -l testfile
2025-04-24 02:05:49,116 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 23 20:05 [0;0mtestfile[0m
2025-04-24 02:05:49,116 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-27857802-67325446
2025-04-24 02:05:49,116 - INFO - Deleting VM ctest-TestBasicVMVNx-27857802-67325446
2025-04-24 02:05:49,174 - INFO - Deleting VM ctest-TestBasicVMVNx-27857802-76573451
2025-04-24 02:05:49,229 - INFO - Deleting VN ctest-vn-88583224
2025-04-24 02:05:49,261 - DEBUG - VN 5c9bd9c9-e166-491e-8868-2bb686d509e0 still in use: Unable to complete operation on network 5c9bd9c9-e166-491e-8868-2bb686d509e0. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-f9f37732-8cde-4001-b64b-9a35760338d2']
2025-04-24 02:05:49,261 - WARNING - Deleting VN ctest-vn-88583224 failed..Will retry
2025-04-24 02:05:51,354 - DEBUG - Response for deleting network ()
2025-04-24 02:05:51,607 - DEBUG - No XMPP flaps were noticed during the test
2025-04-24 02:05:51,607 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-04-24 02:05:51,607 - INFO - --------------------------------------------------------------------------------
2025-04-24 02:05:52,237 - INFO - Deleted project: ctest-TestBasicVMVNx-27857802, ID : b9e8518a-3d38-4380-8e0e-ff1b69fec8e8