2025-04-23 10:54:13,022 - INFO - Domain Default found not creating 2025-04-23 10:54:13,157 - INFO - Project ctest-TestBasicVMVNx-17832278 not found, creating it 2025-04-23 10:54:13,616 - INFO - Created Project:ctest-TestBasicVMVNx-17832278, ID : 2b7a965c-0b01-4623-a229-3a75d138ec2d 2025-04-23 10:54:15,083 - INFO - ================================================================================ 2025-04-23 10:54:15,083 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-04-23 10:54:15,083 - 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-23 10:54:15,336 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.17': '0'}} with 2025-04-23 10:54:15,336 - INFO - Initial checks done. Running the testcase now 2025-04-23 10:54:15,336 - INFO - 2025-04-23 10:54:15,890 - DEBUG - Response for create_network : {'network': {'id': 'b779a9a7-0b82-4aeb-bddc-24b917b2bdb1', 'name': 'ctest-vn-17357869', 'tenant_id': '2b7a965c0b014623a2293a75d138ec2d', 'project_id': '2b7a965c0b014623a2293a75d138ec2d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-17832278', 'ctest-vn-17357869'], 'port_security_enabled': True, 'description': ''}} 2025-04-23 10:54:16,076 - DEBUG - Response for create_subnet : {'subnet': {'id': '95f3628a-7817-4c28-a316-4a5c699af035', 'name': '', 'tenant_id': '2b7a965c0b014623a2293a75d138ec2d', 'network_id': 'b779a9a7-0b82-4aeb-bddc-24b917b2bdb1', 'ip_version': 4, 'cidr': '110.53.237.128/26', 'allocation_pools': [{'start': '110.53.237.130', 'end': '110.53.237.190'}], 'gateway_ip': '110.53.237.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '110.53.237.130', 'tags': [], 'project_id': '2b7a965c0b014623a2293a75d138ec2d'}} 2025-04-23 10:54:16,094 - INFO - Created VN ctest-vn-17357869 2025-04-23 10:54:16,146 - DEBUG - VN ctest-vn-17357869 UUID is b779a9a7-0b82-4aeb-bddc-24b917b2bdb1 2025-04-23 10:54:16,343 - DEBUG - Services list from nova: [, , ] 2025-04-23 10:54:17,336 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3180-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3180-1) 2025-04-23 10:54:18,453 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3180-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3180-1) 2025-04-23 10:54:18,453 - INFO - Waiting for VM ctest-TestBasicVMVNx-17832278-39888877 to be up.. 2025-04-23 10:54:18,531 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-23 10:54:23,612 - DEBUG - VM is in ACTIVE state now 2025-04-23 10:54:23,612 - INFO - VM name : ctest-TestBasicVMVNx-17832278-39888877 2025-04-23 10:54:23,701 - DEBUG - VM ctest-TestBasicVMVNx-17832278-39888877 ID is 0cf9a52f-9daa-40ec-96ae-e66ae7c24a5e 2025-04-23 10:54:23,720 - DEBUG - VM ctest-TestBasicVMVNx-17832278-39888877 launched on Node cn-jenkins-deploy-platform-ansible-os-3180-1 2025-04-23 10:54:23,802 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/0cf9a52f-9daa-40ec-96ae-e66ae7c24a5e 2025-04-23 10:54:24,092 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/0cf9a52f-9daa-40ec-96ae-e66ae7c24a5e 2025-04-23 10:54:24,123 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/b3f5a6ea-e7d0-423a-8ce4-f0d24cde8c34 2025-04-23 10:54:27,388 - 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 1023ms') 2025-04-23 10:54:27,388 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-17832278-39888877 failed! 2025-04-23 10:54:27,443 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-17832278:ctest-vn-17357869 is 110.53.237.129 and allocation pool is NOT set 2025-04-23 10:54:29,499 - 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.34 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.435 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.435/1.889/3.344/1.454 ms') 2025-04-23 10:54:29,499 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-17832278-39888877 passed 2025-04-23 10:54:29,659 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-23 10:54:29,659 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-17832278-39888877, IP 110.53.237.131, Port 22 2025-04-23 10:54:29,814 - DEBUG - VM ctest-TestBasicVMVNx-17832278-39888877 is ready for SSH connections 2025-04-23 10:54:29,814 - INFO - Waiting for VM ctest-TestBasicVMVNx-17832278-09408703 to be up.. 2025-04-23 10:54:29,891 - DEBUG - VM is in ACTIVE state now 2025-04-23 10:54:29,892 - INFO - VM name : ctest-TestBasicVMVNx-17832278-09408703 2025-04-23 10:54:29,977 - DEBUG - VM ctest-TestBasicVMVNx-17832278-09408703 ID is 4e02557f-1823-4981-a136-27dc43e136f4 2025-04-23 10:54:29,977 - DEBUG - VM ctest-TestBasicVMVNx-17832278-09408703 launched on Node cn-jenkins-deploy-platform-ansible-os-3180-1 2025-04-23 10:54:30,061 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/4e02557f-1823-4981-a136-27dc43e136f4 2025-04-23 10:54:30,078 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/b0eeee0b-d7c2-4095-a7f4-c898a1f97fb1 2025-04-23 10:54:31,331 - 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.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.519 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.519/1.649/2.779/1.130 ms') 2025-04-23 10:54:31,332 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-17832278-09408703 passed 2025-04-23 10:54:31,486 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-23 10:54:31,487 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-17832278-09408703, IP 110.53.237.132, Port 22 2025-04-23 10:54:31,638 - DEBUG - VM ctest-TestBasicVMVNx-17832278-09408703 is ready for SSH connections 2025-04-23 10:54:31,638 - DEBUG - FILE SIZE = 1303B 2025-04-23 10:54:31,638 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-17832278-39888877 to ctest-TestBasicVMVNx-17832278-09408703 using scp 2025-04-23 10:54:31,639 - 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.49, gateway password: c0ntrail123 2025-04-23 10:54:31,639 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-04-23 10:54:33,543 - DEBUG - 1+0 records in 1+0 records out 2025-04-23 10:54:34,158 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-23 10:54:34,477 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-04-23 10:54:34,477 - DEBUG - ls -l testfile 2025-04-23 10:54:36,056 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 23 04:54 testfile 2025-04-23 10:54:36,056 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-17832278-09408703 2025-04-23 10:54:36,057 - INFO - Deleting VM ctest-TestBasicVMVNx-17832278-09408703 2025-04-23 10:54:36,133 - INFO - Deleting VM ctest-TestBasicVMVNx-17832278-39888877 2025-04-23 10:54:36,204 - INFO - Deleting VN ctest-vn-17357869 2025-04-23 10:54:36,243 - DEBUG - VN b779a9a7-0b82-4aeb-bddc-24b917b2bdb1 still in use: Unable to complete operation on network b779a9a7-0b82-4aeb-bddc-24b917b2bdb1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ad77f407-4ef7-4f8c-b615-469c54d0876c'] 2025-04-23 10:54:36,244 - WARNING - Deleting VN ctest-vn-17357869 failed..Will retry 2025-04-23 10:54:38,347 - DEBUG - Response for deleting network () 2025-04-23 10:54:38,604 - DEBUG - No XMPP flaps were noticed during the test
2025-04-23 10:54:38,605 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-04-23 10:54:38,605 - INFO - -------------------------------------------------------------------------------- 2025-04-23 10:54:39,257 - INFO - Deleted project: ctest-TestBasicVMVNx-17832278, ID : 2b7a965c-0b01-4623-a229-3a75d138ec2d