You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Brian Hulette (Jira)" <ji...@apache.org> on 2020/10/07 18:21:00 UTC

[jira] [Updated] (BEAM-11040) beam_PostCommit_Java_ValidatesRunner_ULR flaky

     [ https://issues.apache.org/jira/browse/BEAM-11040?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Hulette updated BEAM-11040:
---------------------------------
    Issue Type: Bug  (was: Improvement)

> beam_PostCommit_Java_ValidatesRunner_ULR flaky
> ----------------------------------------------
>
>                 Key: BEAM-11040
>                 URL: https://issues.apache.org/jira/browse/BEAM-11040
>             Project: Beam
>          Issue Type: Bug
>          Components: testing
>            Reporter: Brian Hulette
>            Assignee: Kenneth Knowles
>            Priority: P1
>
> Every test seems to fail occasionally with:
> {code}
> java.lang.RuntimeException: Error reading local job service port file /home/jenkins/jenkins-slave/workspace/beam_PostCommit_Java_ValidatesRunner_ULR/src/runners/portability/java/build/local_job_service_port
> 	at org.apache.beam.runners.portability.testing.TestUniversalRunner.run(TestUniversalRunner.java:76)
> ...
> Caused by: java.nio.file.NoSuchFileException: /home/jenkins/jenkins-slave/workspace/beam_PostCommit_Java_ValidatesRunner_ULR/src/runners/portability/java/build/local_job_service_port
> 	at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
> 	at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
> 	at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
> 	at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:214)
> 	at java.nio.file.Files.newByteChannel(Files.java:361)
> 	at java.nio.file.Files.newByteChannel(Files.java:407)
> 	at java.nio.file.Files.readAllBytes(Files.java:3152)
> 	at org.apache.beam.runners.portability.testing.TestUniversalRunner.run(TestUniversalRunner.java:72)
> 	... 57 more
> {code}
> Looking at the full console log I found:
> {code}
> 23:01:42 > Task :runners:portability:java:startLocalJobService
> 23:01:42 Traceback (most recent call last):
> 23:01:42   File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
> 23:01:42     "__main__", mod_spec)
> 23:01:42   File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
> 23:01:42     exec(code, run_globals)
> 23:01:42   File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Java_ValidatesRunner_ULR/src/sdks/python/apache_beam/runners/portability/local_job_service_main.py", line 168, in <module>
> 23:01:42     run(sys.argv)
> 23:01:42   File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Java_ValidatesRunner_ULR/src/sdks/python/apache_beam/runners/portability/local_job_service_main.py", line 110, in run
> 23:01:42     stdout_dest = open(options.stdout_file, mode='w')
> 23:01:42 FileNotFoundError: [Errno 2] No such file or directory: '/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Java_ValidatesRunner_ULR/src/runners/portability/java/build/local_job_service_stdout'
> 23:01:45 
> {code}
> It looks like the build dir may not exist when the job service starts
> Example failure: https://ci-beam.apache.org/job/beam_PostCommit_Java_ValidatesRunner_ULR/24



--
This message was sent by Atlassian Jira
(v8.3.4#803005)