2025-04-17 02:31:02,503 - INFO - Domain Default found not creating 2025-04-17 02:31:02,657 - INFO - Project ctest-TestBasicVMVNx-05059429 not found, creating it 2025-04-17 02:31:03,151 - INFO - Created Project:ctest-TestBasicVMVNx-05059429, ID : d4ef7497-57f9-4cac-a37a-28e4dca15136 2025-04-17 02:31:04,764 - INFO - ================================================================================ 2025-04-17 02:31:04,764 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-04-17 02:31:04,764 - 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-17 02:31:05,019 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.25': '0'}} with 2025-04-17 02:31:05,019 - INFO - Initial checks done. Running the testcase now 2025-04-17 02:31:05,019 - INFO - 2025-04-17 02:31:05,534 - DEBUG - Response for create_network : {'network': {'id': 'c7067fe6-f8b3-4a7d-85f8-ab2933bf0ebd', 'name': 'ctest-vn-91169459', 'tenant_id': 'd4ef749757f94caca37a28e4dca15136', 'project_id': 'd4ef749757f94caca37a28e4dca15136', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-05059429', 'ctest-vn-91169459'], 'port_security_enabled': True, 'description': ''}} 2025-04-17 02:31:05,736 - DEBUG - Response for create_subnet : {'subnet': {'id': '6f53ad5f-2dbd-40c8-80d8-9fa83f332b62', 'name': '', 'tenant_id': 'd4ef749757f94caca37a28e4dca15136', 'network_id': 'c7067fe6-f8b3-4a7d-85f8-ab2933bf0ebd', 'ip_version': 4, 'cidr': '35.13.123.192/26', 'allocation_pools': [{'start': '35.13.123.194', 'end': '35.13.123.254'}], 'gateway_ip': '35.13.123.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.13.123.194', 'tags': [], 'project_id': 'd4ef749757f94caca37a28e4dca15136'}} 2025-04-17 02:31:05,757 - INFO - Created VN ctest-vn-91169459 2025-04-17 02:31:05,809 - DEBUG - VN ctest-vn-91169459 UUID is c7067fe6-f8b3-4a7d-85f8-ab2933bf0ebd 2025-04-17 02:31:05,982 - DEBUG - Services list from nova: [, , ] 2025-04-17 02:31:07,022 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3130-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3130-1) 2025-04-17 02:31:08,227 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3130-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3130-1) 2025-04-17 02:31:08,228 - INFO - Waiting for VM ctest-TestBasicVMVNx-05059429-71557364 to be up.. 2025-04-17 02:31:08,315 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-17 02:31:13,398 - DEBUG - VM is in ACTIVE state now 2025-04-17 02:31:13,398 - INFO - VM name : ctest-TestBasicVMVNx-05059429-71557364 2025-04-17 02:31:13,480 - DEBUG - VM ctest-TestBasicVMVNx-05059429-71557364 ID is e29ba853-68e9-4edb-9cb1-06b3b2e7b2ee 2025-04-17 02:31:13,498 - DEBUG - VM ctest-TestBasicVMVNx-05059429-71557364 launched on Node cn-jenkins-deploy-platform-ansible-os-3130-1 2025-04-17 02:31:13,571 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/e29ba853-68e9-4edb-9cb1-06b3b2e7b2ee 2025-04-17 02:31:13,866 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/e29ba853-68e9-4edb-9cb1-06b3b2e7b2ee 2025-04-17 02:31:13,902 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/bdc15cb8-9752-45ee-900e-91a2408011fa 2025-04-17 02:31:17,177 - 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 1032ms') 2025-04-17 02:31:17,177 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-05059429-71557364 failed! 2025-04-17 02:31:17,234 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-05059429:ctest-vn-91169459 is 35.13.123.193 and allocation pool is NOT set 2025-04-17 02:31:19,294 - 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.74 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.907 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.907/2.322/3.738/1.415 ms') 2025-04-17 02:31:19,294 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-05059429-71557364 passed 2025-04-17 02:31:19,445 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-17 02:31:19,446 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-05059429-71557364, IP 35.13.123.195, Port 22 2025-04-17 02:31:19,601 - DEBUG - VM ctest-TestBasicVMVNx-05059429-71557364 is ready for SSH connections 2025-04-17 02:31:19,601 - INFO - Waiting for VM ctest-TestBasicVMVNx-05059429-17938633 to be up.. 2025-04-17 02:31:19,702 - DEBUG - VM is in ACTIVE state now 2025-04-17 02:31:19,702 - INFO - VM name : ctest-TestBasicVMVNx-05059429-17938633 2025-04-17 02:31:19,784 - DEBUG - VM ctest-TestBasicVMVNx-05059429-17938633 ID is 42054733-3254-4db7-8932-c1ac97acc919 2025-04-17 02:31:19,784 - DEBUG - VM ctest-TestBasicVMVNx-05059429-17938633 launched on Node cn-jenkins-deploy-platform-ansible-os-3130-1 2025-04-17 02:31:19,870 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/42054733-3254-4db7-8932-c1ac97acc919 2025-04-17 02:31:19,881 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/fbb3afc4-2c9d-4e96-bfa6-849a956f13c1 2025-04-17 02:31:21,133 - 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.08 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.483 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.483/1.783/3.084/1.300 ms') 2025-04-17 02:31:21,133 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-05059429-17938633 passed 2025-04-17 02:31:21,289 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-17 02:31:21,290 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-05059429-17938633, IP 35.13.123.196, Port 22 2025-04-17 02:31:21,455 - DEBUG - VM ctest-TestBasicVMVNx-05059429-17938633 is ready for SSH connections 2025-04-17 02:31:21,455 - DEBUG - FILE SIZE = 1303B 2025-04-17 02:31:21,455 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-05059429-71557364 to ctest-TestBasicVMVNx-05059429-17938633 using scp 2025-04-17 02:31:21,456 - 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.27, gateway password: c0ntrail123 2025-04-17 02:31:21,456 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-04-17 02:31:23,424 - DEBUG - 1+0 records in 1+0 records out 2025-04-17 02:31:24,205 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-17 02:31:24,527 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-04-17 02:31:24,528 - DEBUG - ls -l testfile 2025-04-17 02:31:26,111 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 16 20:31 testfile 2025-04-17 02:31:26,112 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-05059429-17938633 2025-04-17 02:31:26,112 - INFO - Deleting VM ctest-TestBasicVMVNx-05059429-17938633 2025-04-17 02:31:26,189 - INFO - Deleting VM ctest-TestBasicVMVNx-05059429-71557364 2025-04-17 02:31:26,259 - INFO - Deleting VN ctest-vn-91169459 2025-04-17 02:31:26,298 - DEBUG - VN c7067fe6-f8b3-4a7d-85f8-ab2933bf0ebd still in use: Unable to complete operation on network c7067fe6-f8b3-4a7d-85f8-ab2933bf0ebd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3aacc4e8-27e3-4d6c-9afe-5b677124da81'] 2025-04-17 02:31:26,298 - WARNING - Deleting VN ctest-vn-91169459 failed..Will retry 2025-04-17 02:31:28,410 - DEBUG - Response for deleting network () 2025-04-17 02:31:28,664 - DEBUG - No XMPP flaps were noticed during the test
2025-04-17 02:31:28,664 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-04-17 02:31:28,664 - INFO - -------------------------------------------------------------------------------- 2025-04-17 02:31:29,374 - INFO - Deleted project: ctest-TestBasicVMVNx-05059429, ID : d4ef7497-57f9-4cac-a37a-28e4dca15136