You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Kenneth Knowles (Jira)" <ji...@apache.org> on 2021/05/15 17:59:02 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 ]

Kenneth Knowles updated BEAM-11040:
-----------------------------------
    Resolution: Fixed
        Status: Resolved  (was: Resolved)

Hello! Due to a bug in our Jira configuration, this issue had status:Resolved but resolution:Unresolved.

I am bulk editing these issues to have resolution:Fixed

If a different resolution is appropriate, please change it. To do this, click the "Resolve" button (you can do this even for closed issues) and set the Resolution field to the right value.

> 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)