Uploaded image for project: 'Coin'
  1. Coin
  2. COIN-518

Cancelled work items might cause stacktraces while storing artifacts

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P3: Somewhat important
    • None
    • 1.3
    • Storage
    • None

    Description

      Work item that gets cancelled while uploading artifacts

       

       

      Coin backlog contains error for storage service being unable to store test artifacts for builds

      Feb 23 14:18:02 vmbuilder pipenv[2829]: DEBUG:workitem.py:321(8549): Work item (buildKey: qt/qtbase/524d31261aafdfa056467921fa090f7b7aa47ecf/Lin
      uxUbuntu_18_04x86_64LinuxQEMUarm64GCCqtci-linux-Ubuntu-18.04-x86_64-d4fa8dUseLegacyInstructions/25951b231ce5abea370a416390b8c1dcef57e5e3/Build) 
      changed state from Running to Cancelled
      ...
      Feb 23 14:18:03 vmbuilder pipenv[2829]: ERROR:storage.py:637(9448): Could not save artifacts to /home/vmbuilder/ci-working-dir/storage/qt/qtbase/524d31261aafdfa056467921fa090f7b7aa47ecf/LinuxUbuntu_18_04x86_64LinuxQEMUarm64GCCqtci-linux-Ubuntu-18.04-x86_64-d4fa8dUseLegacyInstructions/25951b231ce5abea370a416390b8c1dcef57e5e3/build_1582465933/tests.tar.gz:
      Feb 23 14:18:03 vmbuilder pipenv[2829]:   RAN: /bin/gzip -t /home/vmbuilder/ci-working-dir/storage/qt/qtbase/524d31261aafdfa056467921fa090f7b7aa47ecf/LinuxUbuntu_18_04x86_64LinuxQEMUarm64GCCqtci-linux-Ubuntu-18.04-x86_64-d4fa8dUseLegacyInstructions/25951b231ce5abea370a416390b8c1dcef57e5e3/build_1582465933/tests.tar.gz.partial --force
      Feb 23 14:18:03 vmbuilder pipenv[2829]:   STDOUT:
      Feb 23 14:18:03 vmbuilder pipenv[2829]:   STDERR:
      Feb 23 14:18:03 vmbuilder pipenv[2829]: gzip: /home/vmbuilder/ci-working-dir/storage/qt/qtbase/524d31261aafdfa056467921fa090f7b7aa47ecf/LinuxUbuntu_18_04x86_64LinuxQEMUarm64GCCqtci-linux-Ubuntu-18.04-x86_64-d4fa8dUseLegacyInstructions/25951b231ce5abea370a416390b8c1dcef57e5e3/build_1582465933/tests.tar.gz.partial: unexpected end of file
      Feb 23 14:18:03 vmbuilder pipenv[2829]: Traceback (most recent call last):
      Feb 23 14:18:03 vmbuilder pipenv[2829]:   File "src/storage.py", line 633, in handle_upload_artifact
      Feb 23 14:18:03 vmbuilder pipenv[2829]:     sh.gzip('-t', partialFile, '--force', _timeout=240)
      Feb 23 14:18:03 vmbuilder pipenv[2829]:   File "/home/vmbuilder/.local/share/virtualenvs/qt-ci-PP3Pl_4N/lib/python3.8/site-packages/sh.py", line 1427, in __call__
      Feb 23 14:18:03 vmbuilder pipenv[2829]:     return RunningCommand(cmd, call_args, stdin, stdout, stderr)
      Feb 23 14:18:03 vmbuilder pipenv[2829]:   File "/home/vmbuilder/.local/share/virtualenvs/qt-ci-PP3Pl_4N/lib/python3.8/site-packages/sh.py", line 774, in __init__
      Feb 23 14:18:03 vmbuilder pipenv[2829]:     self.wait()
      Feb 23 14:18:03 vmbuilder pipenv[2829]:   File "/home/vmbuilder/.local/share/virtualenvs/qt-ci-PP3Pl_4N/lib/python3.8/site-packages/sh.py", line 792, in wait
      Feb 23 14:18:03 vmbuilder pipenv[2829]:     self.handle_command_exit_code(exit_code)
      Feb 23 14:18:03 vmbuilder pipenv[2829]:   File "/home/vmbuilder/.local/share/virtualenvs/qt-ci-PP3Pl_4N/lib/python3.8/site-packages/sh.py", line 815, in handle_command_exit_code
      Feb 23 14:18:03 vmbuilder pipenv[2829]:     raise exc
      Feb 23 14:18:03 vmbuilder pipenv[2829]: sh.ErrorReturnCode_1:
      Feb 23 14:18:03 vmbuilder pipenv[2829]:   RAN: /bin/gzip -t /home/vmbuilder/ci-working-dir/storage/qt/qtbase/524d31261aafdfa056467921fa090f7b7aa47ecf/LinuxUbuntu_18_04x86_64LinuxQEMUarm64GCCqtci-linux-Ubuntu-18.04-x86_64-d4fa8dUseLegacyInstructions/25951b231ce5abea370a416390b8c1dcef57e5e3/build_1582465933/tests.tar.gz.partial --force
      Feb 23 14:18:03 vmbuilder pipenv[2829]:   STDOUT:
      Feb 23 14:18:03 vmbuilder pipenv[2829]:   STDERR:
      Feb 23 14:18:03 vmbuilder pipenv[2829]: gzip: /home/vmbuilder/ci-working-dir/storage/qt/qtbase/524d31261aafdfa056467921fa090f7b7aa47ecf/LinuxUbuntu_18_04x86_64LinuxQEMUarm64GCCqtci-linux-Ubuntu-18.04-x86_64-d4fa8dUseLegacyInstructions/25951b231ce5abea370a416390b8c1dcef57e5e3/build_1582465933/tests.tar.gz.partial: unexpected end of file
      Feb 23 14:18:03 vmbuilder pipenv[2829]: INFO:storage.py:645(9448): Finished uploading UploadModuleTestsArtifact to qt/qtbase/524d31261aafdfa056467921fa090f7b7aa47ecf/LinuxUbuntu_18_04x86_64LinuxQEMUarm64GCCqtci-linux-Ubuntu-18.04-x86_64-d4fa8dUseLegacyInstructions/25951b231ce5abea370a416390b8c1dcef57e5e3/build_1582465933
      

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            tosaario Toni Saario
            aakeskimo Aapo Keskimölö
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes