Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-7014

Flake in gcsio.py / filesystemio.py - NotImplementedError: offset: 0, whence: 0

    XMLWordPrintableJSON

    Details

      Description

      The flake was observed in Precommit Direct Runner IT (wordcount).
      Full log output: https://pastebin.com/raw/DP5J7Uch.

      Traceback (most recent call last):
      08:42:57   File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify_PR/src/sdks/python/apache_beam/io/gcp/gcsio.py", line 583, in _start_upload
      08:42:57     self._client.objects.Insert(self._insert_request, upload=self._upload)
      08:42:57   File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify_PR/src/sdks/python/apache_beam/io/gcp/internal/clients/storage/storage_v1_client.py", line 1154, in Insert
      08:42:57     upload=upload, upload_config=upload_config)
      08:42:57   File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify_PR/src/build/gradleenv/1327086738/local/lib/python2.7/site-packages/apitools/base/py/base_api.py", line 715, in _RunMethod
      08:42:57     http_request, client=self.client)
      08:42:57   File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify_PR/src/build/gradleenv/1327086738/local/lib/python2.7/site-packages/apitools/base/py/transfer.py", line 885, in InitializeUpload
      08:42:57     return self.StreamInChunks()
      08:42:57   File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify_PR/src/build/gradleenv/1327086738/local/lib/python2.7/site-packages/apitools/base/py/transfer.py", line 997, in StreamInChunks
      08:42:57     additional_headers=additional_headers)
      08:42:57   File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify_PR/src/build/gradleenv/1327086738/local/lib/python2.7/site-packages/apitools/base/py/transfer.py", line 948, in __StreamMedia
      08:42:57     self.RefreshResumableUploadState()
      08:42:57   File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify_PR/src/build/gradleenv/1327086738/local/lib/python2.7/site-packages/apitools/base/py/transfer.py", line 850, in RefreshResumableUploadState
      08:42:57     self.stream.seek(self.progress)
      08:42:57   File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify_PR/src/sdks/python/apache_beam/io/filesystemio.py", line 269, in seek
      08:42:57     offset, whence, self.position, self.last_position))
      08:42:57 NotImplementedError: offset: 0, whence: 0, position: 48944, last: 0
      

      Chamikara Madhusanka Jayalath Might have context to triage this.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                udim Udi Meiri
                Reporter:
                tvalentyn Valentyn Tymofieiev
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m