[ 
https://issues.apache.org/jira/browse/BEAM-10565?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17163760#comment-17163760
 ] 

Brian Hulette commented on BEAM-10565:
--------------------------------------

Think I found the root cause when I was fiddling with the tmp dir locally. I 
found this beam-fnapi-jobserver.log contained the following:
{code}
/usr/local/google/home/bhulette/working_dir/beam/build/gradleenv/1922375555/lib/python2.7/site-packages/apache_beam/__init__.py:82:
 UserWarning: You are using Apache Beam with Python 2. New releases of Apache 
Beam will soon support Python 3 only.
  'You are using Apache Beam with Python 2. '
Traceback (most recent call last):
  File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File 
"/usr/local/google/home/bhulette/working_dir/beam/build/gradleenv/1922375555/lib/python2.7/site-packages/apache_beam/runners/portability/local_job_service_main.py",
 line 168, in <module>
    run(sys.argv)
  File 
"/usr/local/google/home/bhulette/working_dir/beam/build/gradleenv/1922375555/lib/python2.7/site-packages/apache_beam/runners/portability/local_job_service_main.py",
 line 109, in run
    raise RuntimeError('--stdout_file must be specified with --background')
RuntimeError: --stdout_file must be specified with --background
{code}

> XVR_Direct broken
> -----------------
>
>                 Key: BEAM-10565
>                 URL: https://issues.apache.org/jira/browse/BEAM-10565
>             Project: Beam
>          Issue Type: Bug
>          Components: cross-language, runner-direct
>            Reporter: Brian Hulette
>            Assignee: Brian Hulette
>            Priority: P1
>              Labels: currently-failing
>
> https://ci-beam.apache.org/job/beam_PostCommit_XVR_Direct/ is currently 
> failing. [~heejong] could you help find the root cause?
> In some of the early failures (e.g. 
> https://ci-beam.apache.org/job/beam_PostCommit_XVR_Direct/18) there are 
> errors about files in /tmp like:
> {code}
> 17:14:04 > Task :sdks:python:test-suites:direct:xlang:fnApiJobServerCleanup
> 17:14:04 
> /home/jenkins/jenkins-slave/workspace/beam_PostCommit_XVR_Direct/src/build/gradleenv/1922375555/local/lib/python2.7/site-packages/apache_beam/__init__.py:82:
>  UserWarning: You are using Apache Beam with Python 2. New releases of Apache 
> Beam will soon support Python 3 only.
> 17:14:04   'You are using Apache Beam with Python 2. '
> 17:14:10 Process id file /tmp/local_job_service_main-18091.pid already 
> removed.
> {code}
> Maybe we need to be creating these files inside $WORKSPACE instead?



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

Reply via email to