[
https://issues.apache.org/jira/browse/BEAM-2323?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Beam JIRA Bot updated BEAM-2323:
--------------------------------
Labels: stale-assigned (was: )
> Apex Unittest ApexYarnLauncherTest Failed on Jenkins If Directory Contains
> Space
> --------------------------------------------------------------------------------
>
> Key: BEAM-2323
> URL: https://issues.apache.org/jira/browse/BEAM-2323
> Project: Beam
> Issue Type: Bug
> Components: runner-apex
> Reporter: Mark Liu
> Assignee: Thomas Weise
> Priority: P2
> Labels: stale-assigned
>
> I'm using Jenkins to run postcommit test on different JDK versions. The
> directory that is used for project root contains space, like
> "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Java_JDK_Versions_Test/jdk/JDK
> 1.8 (latest)/..." and cause ApexYarnLauncherTest failed.
> Error log:
> {code}
> java.lang.AssertionError:
> Expected: a string containing "apex-common-"
> but: was "[/usr/local/asfpackages/java/jdk1.8.0_121/lib/tools.jar]"
> at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
> at org.junit.Assert.assertThat(Assert.java:956)
> at org.junit.Assert.assertThat(Assert.java:923)
> at
> org.apache.beam.runners.apex.ApexYarnLauncherTest.testGetYarnDeployDependencies(ApexYarnLauncherTest.java:60)
> {code}
> Jenkins link:
> https://builds.apache.org/job/beam_PostCommit_Java_JDK_Versions_Test/12/jdk=JDK%201.8%20(latest),label=beam/
> It's probably more relative to Jenkins since running the test in my local
> machine under space-contained-directory is successful.
> +[~jasonkuster]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)