2025-09-04 12:36:43,754 - INFO - Domain Default found not creating 2025-09-04 12:36:43,877 - INFO - Project ctest-TestBasicVMVNx-79593363 not found, creating it 2025-09-04 12:36:44,293 - INFO - Created Project:ctest-TestBasicVMVNx-79593363, ID : 4a0e89af-a11f-46be-9526-904deb8ab4a1 2025-09-04 12:36:45,746 - INFO - ================================================================================ 2025-09-04 12:36:45,746 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-09-04 12:36:45,746 - 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-09-04 12:36:45,998 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-04 12:36:45,998 - INFO - Initial checks done. Running the testcase now 2025-09-04 12:36:45,998 - INFO - 2025-09-04 12:36:46,512 - DEBUG - Response for create_network : {'network': {'id': '9c50a2f8-9ce6-4126-8113-b07f877d76c4', 'name': 'ctest-vn-02519965', 'tenant_id': '4a0e89afa11f46be9526904deb8ab4a1', 'project_id': '4a0e89afa11f46be9526904deb8ab4a1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-79593363', 'ctest-vn-02519965'], 'port_security_enabled': True, 'description': ''}} 2025-09-04 12:36:46,668 - DEBUG - Response for create_subnet : {'subnet': {'id': '73a245ce-b297-45f2-9dee-bef3a7134c87', 'name': '', 'tenant_id': '4a0e89afa11f46be9526904deb8ab4a1', 'network_id': '9c50a2f8-9ce6-4126-8113-b07f877d76c4', 'ip_version': 4, 'cidr': '57.13.111.128/26', 'allocation_pools': [{'start': '57.13.111.130', 'end': '57.13.111.190'}], 'gateway_ip': '57.13.111.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '57.13.111.130', 'tags': [], 'project_id': '4a0e89afa11f46be9526904deb8ab4a1'}} 2025-09-04 12:36:46,684 - INFO - Created VN ctest-vn-02519965 2025-09-04 12:36:46,734 - DEBUG - VN ctest-vn-02519965 UUID is 9c50a2f8-9ce6-4126-8113-b07f877d76c4 2025-09-04 12:36:46,923 - DEBUG - Services list from nova: [, , ] 2025-09-04 12:36:47,877 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4014-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4014-1) 2025-09-04 12:36:48,944 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4014-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4014-1) 2025-09-04 12:36:48,944 - INFO - Waiting for VM ctest-TestBasicVMVNx-79593363-66007036 to be up.. 2025-09-04 12:36:49,018 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-04 12:36:54,084 - DEBUG - VM is in ACTIVE state now 2025-09-04 12:36:54,084 - INFO - VM name : ctest-TestBasicVMVNx-79593363-66007036 2025-09-04 12:36:54,148 - DEBUG - VM ctest-TestBasicVMVNx-79593363-66007036 ID is 912a9255-6f30-4e45-afd1-ff74ad35ca31 2025-09-04 12:36:54,166 - DEBUG - VM ctest-TestBasicVMVNx-79593363-66007036 launched on Node cn-jenkins-deploy-platform-ansible-os-4014-1 2025-09-04 12:36:54,228 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/912a9255-6f30-4e45-afd1-ff74ad35ca31 2025-09-04 12:36:54,516 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/912a9255-6f30-4e45-afd1-ff74ad35ca31 2025-09-04 12:36:54,543 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/1b5a8bca-4aa3-44df-b4a9-e9ecd62d9094 2025-09-04 12:36:57,783 - 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 1008ms') 2025-09-04 12:36:57,783 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-79593363-66007036 failed! 2025-09-04 12:36:57,838 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-79593363:ctest-vn-02519965 is 57.13.111.129 and allocation pool is NOT set 2025-09-04 12:36:59,900 - 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.83 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.425 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.425/1.626/2.827/1.201 ms') 2025-09-04 12:36:59,900 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-79593363-66007036 passed 2025-09-04 12:37:00,046 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 12:37:00,046 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-79593363-66007036, IP 57.13.111.131, Port 22 2025-09-04 12:37:00,197 - DEBUG - VM ctest-TestBasicVMVNx-79593363-66007036 is ready for SSH connections 2025-09-04 12:37:00,198 - INFO - Waiting for VM ctest-TestBasicVMVNx-79593363-34541150 to be up.. 2025-09-04 12:37:00,266 - DEBUG - VM is in ACTIVE state now 2025-09-04 12:37:00,266 - INFO - VM name : ctest-TestBasicVMVNx-79593363-34541150 2025-09-04 12:37:00,337 - DEBUG - VM ctest-TestBasicVMVNx-79593363-34541150 ID is f904c720-eec7-48a7-b564-8649609598d7 2025-09-04 12:37:00,337 - DEBUG - VM ctest-TestBasicVMVNx-79593363-34541150 launched on Node cn-jenkins-deploy-platform-ansible-os-4014-1 2025-09-04 12:37:00,405 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/f904c720-eec7-48a7-b564-8649609598d7 2025-09-04 12:37:00,412 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/26e9f776-2d33-498d-b83b-1807160332b4 2025-09-04 12:37:01,641 - 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.60 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.384 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.384/1.494/2.604/1.110 ms') 2025-09-04 12:37:01,641 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-79593363-34541150 passed 2025-09-04 12:37:01,790 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 12:37:01,790 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-79593363-34541150, IP 57.13.111.132, Port 22 2025-09-04 12:37:01,941 - DEBUG - VM ctest-TestBasicVMVNx-79593363-34541150 is ready for SSH connections 2025-09-04 12:37:01,941 - DEBUG - FILE SIZE = 1303B 2025-09-04 12:37:01,941 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-79593363-66007036 to ctest-TestBasicVMVNx-79593363-34541150 using scp 2025-09-04 12:37:01,943 - 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-09-04 12:37:01,943 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-09-04 12:37:03,858 - DEBUG - 1+0 records in 1+0 records out 2025-09-04 12:37:04,478 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 12:37:04,807 - 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-09-04 12:37:04,807 - DEBUG - ls -l testfile 2025-09-04 12:37:06,377 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 4 06:37 testfile 2025-09-04 12:37:06,377 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-79593363-34541150 2025-09-04 12:37:06,377 - INFO - Deleting VM ctest-TestBasicVMVNx-79593363-34541150 2025-09-04 12:37:06,461 - INFO - Deleting VM ctest-TestBasicVMVNx-79593363-66007036 2025-09-04 12:37:06,548 - INFO - Deleting VN ctest-vn-02519965 2025-09-04 12:37:06,582 - DEBUG - VN 9c50a2f8-9ce6-4126-8113-b07f877d76c4 still in use: Unable to complete operation on network 9c50a2f8-9ce6-4126-8113-b07f877d76c4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-db49bac6-cbad-4f9c-bd59-ff6e5fd750ed'] 2025-09-04 12:37:06,583 - WARNING - Deleting VN ctest-vn-02519965 failed..Will retry 2025-09-04 12:37:08,683 - DEBUG - Response for deleting network () 2025-09-04 12:37:08,942 - DEBUG - No XMPP flaps were noticed during the test
2025-09-04 12:37:08,942 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-09-04 12:37:08,942 - INFO - -------------------------------------------------------------------------------- 2025-09-04 12:37:09,588 - INFO - Deleted project: ctest-TestBasicVMVNx-79593363, ID : 4a0e89af-a11f-46be-9526-904deb8ab4a1