Uploaded image for project: 'FreeNAS / TrueNAS'
  1. FreeNAS / TrueNAS
  2. NAS-102221

Fix bug that caused Cloud Sync Task to incorrectly state that it failed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done (View Workflow)
    • Priority: Low
    • Resolution: Done
    • Affects Version/s: 11.2-U5, TrueNAS 11.2-U5
    • Fix Version/s: 11.2-U5
    • Component/s: Middleware
    • Labels:
      None
    • Attempts to pass:
      1
    • Testing System:
      VMware Virtual Machine
    • QA Status:
      Test Passes FreeNAS
    • Acceptance Criteria:
      Refer to description.

      Description

      Tested in reeNAS-11.2-INTERNAL-9

      I tried a push and a pull. The first time the GUI shows status:Success

      The next time it tries it gives a Failure message in the UI but when I look in the SMB share it succeeds.

      The last pull I put the following files in the Google Drive:
      Eleven_fifty_four.png
      eleven_fourty_seven.png
      eleven_fourty_two.png

      I checked the SMB Share and the files had been pulled from the Google Drive but the gui marked it as "Failed: 'name" (see screenshot)

       

      Error Message:

      2019/06/21 06:03:26 INFO : Local file system at /mnt/testintank/smb_share: Waiting for checks to finish
      2019/06/21 06:03:26 INFO : Local file system at /mnt/testintank/smb_share: Waiting for transfers to finish
      2019/06/21 06:03:26 INFO : test/Eleven_fifty_four.png: Copied (new)
      2019/06/21 06:03:26 INFO : test/eleven_fourty_seven.png: Copied (new)
      2019/06/21 06:03:26 INFO : test/elevn_fifty_Two.png: Copied (new)
      ... 19 more lines ...
      Errors: 0
      Checks: 8 / 8, 100%
      Transferred: 4 / 4, 100%
      Elapsed time: 1.8s

       

      See full log file at /tmp/middlewared/jobs/1272.log

       

      root@freenas[~]# cd /tmp/middlewared/jobs
      root@freenas[/tmp/middlewared/jobs]# cat 1272.log
      2019/06/21 06:03:26 INFO : Local file system at /mnt/testintank/smb_share: Waiting for checks to finish
      2019/06/21 06:03:26 INFO : Local file system at /mnt/testintank/smb_share: Waiting for transfers to finish
      2019/06/21 06:03:26 INFO : test/Eleven_fifty_four.png: Copied (new)
      2019/06/21 06:03:26 INFO : test/eleven_fourty_seven.png: Copied (new)
      2019/06/21 06:03:26 INFO : test/elevn_fifty_Two.png: Copied (new)
      2019/06/21 06:03:27 INFO :
      Transferred: 728.913k / 730.605 kBytes, 100%, 392.002 kBytes/s, ETA 0s
      Errors: 0
      Checks: 2 / 2, 100%
      Transferred: 3 / 4, 75%
      Elapsed time: 1.8s
      Transferring:

      • test/eleven_fourty_two.png: 98% /156.690k, 0/s, -

      2019/06/21 06:03:27 INFO : test/eleven_fourty_two.png: Copied (new)
      2019/06/21 06:03:27 INFO : Waiting for deletions to finish
      2019/06/21 06:03:27 INFO : test/Metropolis4.png: Deleted
      2019/06/21 06:03:27 INFO : test/Metropolis5.png: Deleted
      2019/06/21 06:03:27 INFO : test/Metropolis6.png: Deleted
      2019/06/21 06:03:27 INFO : test/metropolis1.png: Deleted
      2019/06/21 06:03:27 INFO : test/Metropolis2.png: Deleted
      2019/06/21 06:03:27 INFO : test/Metropolis3.png: Deleted
      2019/06/21 06:03:27 INFO :
      Transferred: 730.605k / 730.605 kBytes, 100%, 392.502 kBytes/s, ETA 0s
      Errors: 0
      Checks: 8 / 8, 100%
      Transferred: 4 / 4, 100%
      Elapsed time: 1.8s

      root@freenas[/tmp/middlewared/jobs]#
      root@freenas[/tmp/middlewared/jobs]#

       

       

        Attachments

          Container Issues

            Activity

              People

              • Assignee:
                william William Grzybowski
                Reporter:
                bonnie Bonnie Follweiler
                QE Engineer:
                Bonnie Follweiler
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Merged after freeze:

                  Summary Panel