Details
-
Sub-task
-
Status: Resolved
-
P1
-
Resolution: Fixed
-
None
Description
Error:
..
File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python36/src/sdks/python/apache_beam/io/localfilesystem.py", line 335, in delete File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python36/src/sdks/python/apache_beam/io/localfilesystem.py", line 335, in delete raise BeamIOError("Delete operation failed", exceptions) apache_beam.io.filesystem.BeamIOError: Delete operation failed with exceptions {'/tmp/py-wordcount-direct-00001-of-00002': OSError('No files found to delete under: /tmp/py-wordcount-direct-00001-of-00002',), '/tmp/py-wordcount-direct-00000-of-00002': OSError('No files found to delete under: /tmp/py-wordcount-direct-00000-of-00002',)} During handling of the above exception, another exception occurred:
Attachments
Issue Links
- links to
This happened twice on the same PR – Python 3.5 portableWordCountFlinkRunnerBatch and Python 3.7 portableWordCountSparkRunnerBatch.
The path '/tmp/py-wordcount-direct-0000x-of-0000y' is reused by multiple tests, so a race condition there seems a likely cause.
Also, deleting these files is a cleanup step, so it should not be a failure condition for the tests.
Logs:
https://builds.apache.org/job/beam_PostCommit_Python35_PR/104/console
https://builds.apache.org/job/beam_PostCommit_Python37_PR/109/console