2025-04-22 17:38:28,248 - INFO - Domain Default found not creating 2025-04-22 17:38:28,381 - INFO - Project ctest-TestBasicVMVNx-09758148 not found, creating it 2025-04-22 17:38:28,845 - INFO - Created Project:ctest-TestBasicVMVNx-09758148, ID : e3ed193e-5837-4e66-8b20-0d5f0d444a78 2025-04-22 17:38:30,373 - INFO - ================================================================================ 2025-04-22 17:38:30,374 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-04-22 17:38:30,374 - 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-22 17:38:30,643 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.14': '0'}} with 2025-04-22 17:38:30,643 - INFO - Initial checks done. Running the testcase now 2025-04-22 17:38:30,643 - INFO - 2025-04-22 17:38:31,237 - DEBUG - Response for create_network : {'network': {'id': 'd5c6394a-3be3-4769-9e0d-11bacffc5478', 'name': 'ctest-vn-76265176', 'tenant_id': 'e3ed193e58374e668b200d5f0d444a78', 'project_id': 'e3ed193e58374e668b200d5f0d444a78', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-09758148', 'ctest-vn-76265176'], 'port_security_enabled': True, 'description': ''}} 2025-04-22 17:38:31,434 - DEBUG - Response for create_subnet : {'subnet': {'id': '075119ec-3284-440c-934a-957aaa55bbf5', 'name': '', 'tenant_id': 'e3ed193e58374e668b200d5f0d444a78', 'network_id': 'd5c6394a-3be3-4769-9e0d-11bacffc5478', 'ip_version': 4, 'cidr': '195.32.97.128/26', 'allocation_pools': [{'start': '195.32.97.130', 'end': '195.32.97.190'}], 'gateway_ip': '195.32.97.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '195.32.97.130', 'tags': [], 'project_id': 'e3ed193e58374e668b200d5f0d444a78'}} 2025-04-22 17:38:31,451 - INFO - Created VN ctest-vn-76265176 2025-04-22 17:38:31,503 - DEBUG - VN ctest-vn-76265176 UUID is d5c6394a-3be3-4769-9e0d-11bacffc5478 2025-04-22 17:38:31,699 - DEBUG - Services list from nova: [, , ] 2025-04-22 17:38:32,776 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3169-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3169-1) 2025-04-22 17:38:34,006 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3169-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3169-1) 2025-04-22 17:38:34,006 - INFO - Waiting for VM ctest-TestBasicVMVNx-09758148-52557006 to be up.. 2025-04-22 17:38:34,110 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-22 17:38:39,187 - DEBUG - VM is in ACTIVE state now 2025-04-22 17:38:39,188 - INFO - VM name : ctest-TestBasicVMVNx-09758148-52557006 2025-04-22 17:38:39,262 - DEBUG - VM ctest-TestBasicVMVNx-09758148-52557006 ID is 9e45ecaf-fb47-4b22-8d79-c93bd567f733 2025-04-22 17:38:39,280 - DEBUG - VM ctest-TestBasicVMVNx-09758148-52557006 launched on Node cn-jenkins-deploy-platform-ansible-os-3169-1 2025-04-22 17:38:39,354 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/9e45ecaf-fb47-4b22-8d79-c93bd567f733 2025-04-22 17:38:39,689 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/9e45ecaf-fb47-4b22-8d79-c93bd567f733 2025-04-22 17:38:39,723 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/d12e851b-6f58-415d-9742-af4fd03149d8 2025-04-22 17:38:43,001 - 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-22 17:38:43,001 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-09758148-52557006 failed! 2025-04-22 17:38:43,059 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-09758148:ctest-vn-76265176 is 195.32.97.129 and allocation pool is NOT set 2025-04-22 17:38:45,125 - 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=4.31 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.21 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 = 1.206/2.755/4.305/1.549 ms') 2025-04-22 17:38:45,125 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-09758148-52557006 passed 2025-04-22 17:38:45,279 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-22 17:38:45,279 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-09758148-52557006, IP 195.32.97.131, Port 22 2025-04-22 17:38:45,439 - DEBUG - VM ctest-TestBasicVMVNx-09758148-52557006 is ready for SSH connections 2025-04-22 17:38:45,439 - INFO - Waiting for VM ctest-TestBasicVMVNx-09758148-73776561 to be up.. 2025-04-22 17:38:45,511 - DEBUG - VM is in ACTIVE state now 2025-04-22 17:38:45,511 - INFO - VM name : ctest-TestBasicVMVNx-09758148-73776561 2025-04-22 17:38:45,584 - DEBUG - VM ctest-TestBasicVMVNx-09758148-73776561 ID is 2b873051-a5ae-4603-9ecc-5f2cb2c6d64f 2025-04-22 17:38:45,584 - DEBUG - VM ctest-TestBasicVMVNx-09758148-73776561 launched on Node cn-jenkins-deploy-platform-ansible-os-3169-1 2025-04-22 17:38:45,659 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/2b873051-a5ae-4603-9ecc-5f2cb2c6d64f 2025-04-22 17:38:45,669 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/6bfdb6f1-672a-48c4-ac0c-14a8b06d7c04 2025-04-22 17:38:46,910 - 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=3.06 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.537 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.537/1.796/3.055/1.259 ms') 2025-04-22 17:38:46,910 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-09758148-73776561 passed 2025-04-22 17:38:47,067 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-22 17:38:47,067 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-09758148-73776561, IP 195.32.97.132, Port 22 2025-04-22 17:38:47,222 - DEBUG - VM ctest-TestBasicVMVNx-09758148-73776561 is ready for SSH connections 2025-04-22 17:38:47,223 - DEBUG - FILE SIZE = 1303B 2025-04-22 17:38:47,223 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-09758148-52557006 to ctest-TestBasicVMVNx-09758148-73776561 using scp 2025-04-22 17:38:47,223 - 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-22 17:38:47,224 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-04-22 17:38:49,429 - DEBUG - 1+0 records in 1+0 records out 2025-04-22 17:38:50,108 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-22 17:38:50,435 - 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-22 17:38:50,435 - DEBUG - ls -l testfile 2025-04-22 17:38:52,018 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 22 11:38 testfile 2025-04-22 17:38:52,019 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-09758148-73776561 2025-04-22 17:38:52,019 - INFO - Deleting VM ctest-TestBasicVMVNx-09758148-73776561 2025-04-22 17:38:52,089 - INFO - Deleting VM ctest-TestBasicVMVNx-09758148-52557006 2025-04-22 17:38:52,156 - INFO - Deleting VN ctest-vn-76265176 2025-04-22 17:38:52,193 - DEBUG - VN d5c6394a-3be3-4769-9e0d-11bacffc5478 still in use: Unable to complete operation on network d5c6394a-3be3-4769-9e0d-11bacffc5478. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e615314e-e7cc-48ca-962c-34262a878e9c'] 2025-04-22 17:38:52,193 - WARNING - Deleting VN ctest-vn-76265176 failed..Will retry 2025-04-22 17:38:54,351 - DEBUG - Response for deleting network () 2025-04-22 17:38:54,605 - DEBUG - No XMPP flaps were noticed during the test
2025-04-22 17:38:54,605 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-04-22 17:38:54,605 - INFO - -------------------------------------------------------------------------------- 2025-04-22 17:38:55,460 - INFO - Deleted project: ctest-TestBasicVMVNx-09758148, ID : e3ed193e-5837-4e66-8b20-0d5f0d444a78