2025-06-18 17:53:34,075 - INFO - Domain Default found not creating 2025-06-18 17:53:34,227 - INFO - Project ctest-TestBasicVMVNx-54761260 not found, creating it 2025-06-18 17:53:34,685 - INFO - Created Project:ctest-TestBasicVMVNx-54761260, ID : 2a04faff-f66d-4cb5-a5e2-516da0f5ecf1 2025-06-18 17:53:36,070 - INFO - ================================================================================ 2025-06-18 17:53:36,070 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-06-18 17:53:36,070 - 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-06-18 17:53:36,330 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.0.0.254': '0'}} with 2025-06-18 17:53:36,330 - INFO - Initial checks done. Running the testcase now 2025-06-18 17:53:36,330 - INFO - 2025-06-18 17:53:36,864 - DEBUG - Response for create_network : {'network': {'id': 'ad276646-ce44-4d90-93a5-e1aa1dd64460', 'name': 'ctest-vn-38639923', 'tenant_id': '2a04fafff66d4cb5a5e2516da0f5ecf1', 'project_id': '2a04fafff66d4cb5a5e2516da0f5ecf1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-54761260', 'ctest-vn-38639923'], 'port_security_enabled': True, 'description': ''}} 2025-06-18 17:53:37,049 - DEBUG - Response for create_subnet : {'subnet': {'id': '16beffe9-1b0a-4bb9-8512-cfc413681dbd', 'name': '', 'tenant_id': '2a04fafff66d4cb5a5e2516da0f5ecf1', 'network_id': 'ad276646-ce44-4d90-93a5-e1aa1dd64460', 'ip_version': 4, 'cidr': '162.236.8.128/26', 'allocation_pools': [{'start': '162.236.8.130', 'end': '162.236.8.190'}], 'gateway_ip': '162.236.8.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '162.236.8.130', 'tags': [], 'project_id': '2a04fafff66d4cb5a5e2516da0f5ecf1'}} 2025-06-18 17:53:37,065 - INFO - Created VN ctest-vn-38639923 2025-06-18 17:53:37,120 - DEBUG - VN ctest-vn-38639923 UUID is ad276646-ce44-4d90-93a5-e1aa1dd64460 2025-06-18 17:53:37,291 - DEBUG - Services list from nova: [, , ] 2025-06-18 17:53:38,284 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3479-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3479-1) 2025-06-18 17:53:39,409 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3479-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3479-1) 2025-06-18 17:53:39,409 - INFO - Waiting for VM ctest-TestBasicVMVNx-54761260-60957870 to be up.. 2025-06-18 17:53:39,508 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-18 17:53:44,590 - DEBUG - VM is in ACTIVE state now 2025-06-18 17:53:44,590 - INFO - VM name : ctest-TestBasicVMVNx-54761260-60957870 2025-06-18 17:53:44,678 - DEBUG - VM ctest-TestBasicVMVNx-54761260-60957870 ID is 6077aabf-ea0c-4bfb-8593-96f95fd24522 2025-06-18 17:53:44,697 - DEBUG - VM ctest-TestBasicVMVNx-54761260-60957870 launched on Node cn-jenkins-deploy-platform-ansible-os-3479-1. 2025-06-18 17:53:44,772 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/6077aabf-ea0c-4bfb-8593-96f95fd24522 2025-06-18 17:53:45,091 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/6077aabf-ea0c-4bfb-8593-96f95fd24522 2025-06-18 17:53:45,121 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/b29ea072-c4a9-4c0e-abb7-281e9676341d 2025-06-18 17:53:48,373 - 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 1011ms') 2025-06-18 17:53:48,373 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-54761260-60957870 failed! 2025-06-18 17:53:48,428 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-54761260:ctest-vn-38639923 is 162.236.8.129 and allocation pool is NOT set 2025-06-18 17:53:50,485 - 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.45 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.608 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.608/1.529/2.451/0.921 ms') 2025-06-18 17:53:50,485 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-54761260-60957870 passed 2025-06-18 17:53:50,636 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-18 17:53:50,636 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-54761260-60957870, IP 162.236.8.131, Port 22 2025-06-18 17:53:50,814 - DEBUG - VM ctest-TestBasicVMVNx-54761260-60957870 is ready for SSH connections 2025-06-18 17:53:50,814 - INFO - Waiting for VM ctest-TestBasicVMVNx-54761260-11947660 to be up.. 2025-06-18 17:53:50,897 - DEBUG - VM is in ACTIVE state now 2025-06-18 17:53:50,897 - INFO - VM name : ctest-TestBasicVMVNx-54761260-11947660 2025-06-18 17:53:50,980 - DEBUG - VM ctest-TestBasicVMVNx-54761260-11947660 ID is 5deeb6cf-c55d-4f59-ac5e-180d41e19f8d 2025-06-18 17:53:50,981 - DEBUG - VM ctest-TestBasicVMVNx-54761260-11947660 launched on Node cn-jenkins-deploy-platform-ansible-os-3479-1. 2025-06-18 17:53:51,066 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/5deeb6cf-c55d-4f59-ac5e-180d41e19f8d 2025-06-18 17:53:51,074 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/aaca6518-74b0-4ceb-97aa-3d53214e477f 2025-06-18 17:53:52,315 - 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.46 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.491 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.491/1.976/3.462/1.485 ms') 2025-06-18 17:53:52,315 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-54761260-11947660 passed 2025-06-18 17:53:52,468 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-18 17:53:52,468 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-54761260-11947660, IP 162.236.8.132, Port 22 2025-06-18 17:53:52,623 - DEBUG - VM ctest-TestBasicVMVNx-54761260-11947660 is ready for SSH connections 2025-06-18 17:53:52,624 - DEBUG - FILE SIZE = 1303B 2025-06-18 17:53:52,624 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-54761260-60957870 to ctest-TestBasicVMVNx-54761260-11947660 using scp 2025-06-18 17:53:52,625 - 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.254, gateway password: c0ntrail123 2025-06-18 17:53:52,625 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-06-18 17:53:54,568 - DEBUG - 1+0 records in 1+0 records out 2025-06-18 17:53:55,208 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-18 17:53:55,529 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-18 17:53:55,530 - DEBUG - ls -l testfile 2025-06-18 17:53:56,130 - DEBUG - -rw------- 1 cirros cirros 1303 Jun 18 11:53 testfile 2025-06-18 17:53:56,130 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-54761260-11947660 2025-06-18 17:53:56,130 - INFO - Deleting VM ctest-TestBasicVMVNx-54761260-11947660 2025-06-18 17:53:56,203 - INFO - Deleting VM ctest-TestBasicVMVNx-54761260-60957870 2025-06-18 17:53:56,271 - INFO - Deleting VN ctest-vn-38639923 2025-06-18 17:53:56,321 - DEBUG - VN ad276646-ce44-4d90-93a5-e1aa1dd64460 still in use: Unable to complete operation on network ad276646-ce44-4d90-93a5-e1aa1dd64460. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-604e37fd-d35c-461a-89fd-7c630b2a5caa'] 2025-06-18 17:53:56,321 - WARNING - Deleting VN ctest-vn-38639923 failed..Will retry 2025-06-18 17:53:58,421 - DEBUG - Response for deleting network () 2025-06-18 17:53:58,680 - DEBUG - No XMPP flaps were noticed during the test
2025-06-18 17:53:58,681 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:22]
2025-06-18 17:53:58,681 - INFO - -------------------------------------------------------------------------------- 2025-06-18 17:53:59,329 - INFO - Deleted project: ctest-TestBasicVMVNx-54761260, ID : 2a04faff-f66d-4cb5-a5e2-516da0f5ecf1