2025-02-06 13:00:12,203 - INFO - Domain Default found not creating 2025-02-06 13:00:12,362 - INFO - Project ctest-TestBasicVMVNx-20908309 not found, creating it 2025-02-06 13:00:12,838 - INFO - Created Project:ctest-TestBasicVMVNx-20908309, ID : 2c5c55b0-8015-44a3-bd1d-f750eb70b879 2025-02-06 13:00:14,409 - INFO - ================================================================================ 2025-02-06 13:00:14,410 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-02-06 13:00:14,410 - 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-02-06 13:00:14,664 - DEBUG - Nothing to compare xmpp stats {'10.0.0.24': {'10.20.0.17': '0'}} with 2025-02-06 13:00:14,664 - INFO - Initial checks done. Running the testcase now 2025-02-06 13:00:14,664 - INFO - 2025-02-06 13:00:15,268 - DEBUG - Response for create_network : {'network': {'id': '382a7342-58c8-4219-8b93-017d722d1225', 'name': 'ctest-vn-63254232', 'tenant_id': '2c5c55b0801544a3bd1df750eb70b879', 'project_id': '2c5c55b0801544a3bd1df750eb70b879', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-20908309', 'ctest-vn-63254232'], 'port_security_enabled': True, 'description': ''}} 2025-02-06 13:00:15,428 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b82d0dea-431d-40d4-975b-30cc65454fee', 'name': '', 'tenant_id': '2c5c55b0801544a3bd1df750eb70b879', 'network_id': '382a7342-58c8-4219-8b93-017d722d1225', 'ip_version': 4, 'cidr': '100.52.188.64/26', 'allocation_pools': [{'start': '100.52.188.66', 'end': '100.52.188.126'}], 'gateway_ip': '100.52.188.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '100.52.188.66', 'tags': [], 'project_id': '2c5c55b0801544a3bd1df750eb70b879'}} 2025-02-06 13:00:15,447 - INFO - Created VN ctest-vn-63254232 2025-02-06 13:00:15,506 - DEBUG - VN ctest-vn-63254232 UUID is 382a7342-58c8-4219-8b93-017d722d1225 2025-02-06 13:00:15,670 - DEBUG - Services list from nova: [, , ] 2025-02-06 13:00:16,940 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2701-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2701-1) 2025-02-06 13:00:18,238 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2701-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2701-1) 2025-02-06 13:00:18,238 - INFO - Waiting for VM ctest-TestBasicVMVNx-20908309-17264127 to be up.. 2025-02-06 13:00:18,327 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-06 13:00:23,409 - DEBUG - VM is in ACTIVE state now 2025-02-06 13:00:23,409 - INFO - VM name : ctest-TestBasicVMVNx-20908309-17264127 2025-02-06 13:00:23,494 - DEBUG - VM ctest-TestBasicVMVNx-20908309-17264127 ID is 3f1d7410-d785-4b31-b8d2-772e8bb55aff 2025-02-06 13:00:23,516 - DEBUG - VM ctest-TestBasicVMVNx-20908309-17264127 launched on Node cn-jenkins-deploy-platform-ansible-os-2701-1 2025-02-06 13:00:23,606 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/3f1d7410-d785-4b31-b8d2-772e8bb55aff 2025-02-06 13:00:23,958 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/3f1d7410-d785-4b31-b8d2-772e8bb55aff 2025-02-06 13:00:23,991 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/4bafde28-ce95-4bdb-b67e-a0fa0593c3d5 2025-02-06 13:00:27,263 - 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 1027ms') 2025-02-06 13:00:27,263 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-20908309-17264127 failed! 2025-02-06 13:00:27,322 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-20908309:ctest-vn-63254232 is 100.52.188.65 and allocation pool is NOT set 2025-02-06 13:00:29,387 - 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.97 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.813 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.813/2.890/4.967/2.077 ms') 2025-02-06 13:00:29,387 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-20908309-17264127 passed 2025-02-06 13:00:29,542 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-06 13:00:29,542 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-20908309-17264127, IP 100.52.188.67, Port 22 2025-02-06 13:00:29,701 - DEBUG - VM ctest-TestBasicVMVNx-20908309-17264127 is ready for SSH connections 2025-02-06 13:00:29,701 - INFO - Waiting for VM ctest-TestBasicVMVNx-20908309-19914758 to be up.. 2025-02-06 13:00:29,777 - DEBUG - VM is in ACTIVE state now 2025-02-06 13:00:29,777 - INFO - VM name : ctest-TestBasicVMVNx-20908309-19914758 2025-02-06 13:00:29,849 - DEBUG - VM ctest-TestBasicVMVNx-20908309-19914758 ID is 61365c4e-e214-4528-9525-1187fd540bb0 2025-02-06 13:00:29,849 - DEBUG - VM ctest-TestBasicVMVNx-20908309-19914758 launched on Node cn-jenkins-deploy-platform-ansible-os-2701-1 2025-02-06 13:00:29,923 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/61365c4e-e214-4528-9525-1187fd540bb0 2025-02-06 13:00:29,932 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/33a89af1-9145-4896-9b30-f39282bbb289 2025-02-06 13:00:31,173 - 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=1.99 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.398 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.398/1.194/1.991/0.796 ms') 2025-02-06 13:00:31,173 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-20908309-19914758 passed 2025-02-06 13:00:31,322 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-06 13:00:31,322 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-20908309-19914758, IP 100.52.188.68, Port 22 2025-02-06 13:00:31,477 - DEBUG - VM ctest-TestBasicVMVNx-20908309-19914758 is ready for SSH connections 2025-02-06 13:00:31,477 - DEBUG - FILE SIZE = 1303B 2025-02-06 13:00:31,477 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-20908309-17264127 to ctest-TestBasicVMVNx-20908309-19914758 using scp 2025-02-06 13:00:31,478 - 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.24, gateway password: c0ntrail123 2025-02-06 13:00:31,478 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-02-06 13:00:33,428 - DEBUG - 1+0 records in 1+0 records out 2025-02-06 13:00:34,102 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-06 13:00:34,443 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.24, gateway password: c0ntrail123 2025-02-06 13:00:34,443 - DEBUG - ls -l testfile 2025-02-06 13:00:36,108 - DEBUG - -rw------- 1 cirros cirros 1303 Feb 6 06:00 testfile 2025-02-06 13:00:36,108 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-20908309-19914758 2025-02-06 13:00:36,109 - INFO - Deleting VM ctest-TestBasicVMVNx-20908309-19914758 2025-02-06 13:00:36,185 - INFO - Deleting VM ctest-TestBasicVMVNx-20908309-17264127 2025-02-06 13:00:36,257 - INFO - Deleting VN ctest-vn-63254232 2025-02-06 13:00:36,296 - DEBUG - VN 382a7342-58c8-4219-8b93-017d722d1225 still in use: Unable to complete operation on network 382a7342-58c8-4219-8b93-017d722d1225. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-137c6418-e780-45a3-86d1-7dca99e28c8c'] 2025-02-06 13:00:36,296 - WARNING - Deleting VN ctest-vn-63254232 failed..Will retry 2025-02-06 13:00:38,401 - DEBUG - Response for deleting network () 2025-02-06 13:00:38,660 - DEBUG - No XMPP flaps were noticed during the test
2025-02-06 13:00:38,660 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-02-06 13:00:38,660 - INFO - -------------------------------------------------------------------------------- 2025-02-06 13:00:39,376 - INFO - Deleted project: ctest-TestBasicVMVNx-20908309, ID : 2c5c55b0-8015-44a3-bd1d-f750eb70b879