Skip to content

Conversation

@felixcheung
Copy link
Member

@felixcheung felixcheung commented Jun 13, 2017

What changes were proposed in this pull request?

Fix test file path. This is broken in #18264 and undetected since R-only changes don't build core and subsequent post-commit with the change built fine (again because it wasn't building core)

actually appveyor builds everything but it's not running scala suites ...

How was this patch tested?

jenkins
@srowen @gatorsmile

val main = MavenCoordinate("my.great.lib", "mylib", "0.1")
val sparkHome = sys.props.getOrElse("spark.test.home", fail("spark.test.home is not set!"))
val rScriptDir =
Seq(sparkHome, "R", "pkg", "inst", "tests", "packageInAJarTest.R").mkString(File.separator)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm, this path wasn't correct to begin with

@SparkQA
Copy link

SparkQA commented Jun 13, 2017

Test build #77959 has finished for PR 18283 at commit fde2ef0.

  • This patch fails Scala style tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented Jun 13, 2017

Test build #77960 has finished for PR 18283 at commit 17b598b.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

asfgit pushed a commit that referenced this pull request Jun 13, 2017
## What changes were proposed in this pull request?

Fix test file path. This is broken in #18264 and undetected since R-only changes don't build core and subsequent post-commit with the change built fine (again because it wasn't building core)

actually appveyor builds everything but it's not running scala suites ...

## How was this patch tested?

jenkins
srowen gatorsmile

Author: Felix Cheung <felixcheung_m@hotmail.com>

Closes #18283 from felixcheung/rsubmitsuite.

(cherry picked from commit 278ba7a)
Signed-off-by: Felix Cheung <felixcheung@apache.org>
@felixcheung
Copy link
Member Author

merged to master/2.2 like the other PR.

@asfgit asfgit closed this in 278ba7a Jun 13, 2017
@srowen
Copy link
Member

srowen commented Jun 13, 2017

@felixcheung I'm seeing different failures; are these real failures or something wrong with the machine? It happened twice, FWIW:

/home/jenkins/workspace/spark-master-test-sbt-hadoop-2.7/R/install-dev.sh: line 47: jar: command not found
[error] running /home/jenkins/workspace/spark-master-test-sbt-hadoop-2.7/R/install-dev.sh ; received return code 127
Build step 'Execute shell' marked build as failure
Archiving artifacts
Recording test results
ERROR: Step ?Publish JUnit test result report? failed: No test report files were found. Configuration error?
Finished: FAILURE

https://amplab.cs.berkeley.edu/jenkins/view/Spark%20QA%20Test%20(Dashboard)/job/spark-master-test-sbt-hadoop-2.7/3031/console

@felixcheung
Copy link
Member Author

felixcheung commented Jun 14, 2017 via email

@felixcheung
Copy link
Member Author

I guess that script can be changed to use JAVA_HOME instead of blindly assume it's accessible...
are these new machines in Jenkins?

@shaneknapp
Copy link
Contributor

well, if you look at that build's environment variables (left side of the page), you'll see that JAVA_HOME is indeed set:

https://amplab.cs.berkeley.edu/jenkins/view/Spark%20QA%20Test%20(Dashboard)/job/spark-master-test-sbt-hadoop-2.7/3031/injectedEnvVars/

it also looks like the config was modified not too long before things went green (but nothing in the spark build config repo):
https://amplab.cs.berkeley.edu/jenkins/view/Spark%20QA%20Test%20(Dashboard)/job/spark-master-test-sbt-hadoop-2.7/jobConfigHistory/showDiffFiles?timestamp1=2017-06-09_11-09-20&timestamp2=2017-06-13_16-25-10

@JoshRosen any ideas?

FYI: these are also the same jenkins worker nodes that we've been using for the past ~3 years... no changes.

i'll keep an eye on things and check build logs for more errors like this, but it seems like it was transient...

@felixcheung
Copy link
Member Author

felixcheung commented Jun 16, 2017

@shaneknapp right - this script (install-dev.sh) has been assuming it can find jar without checking for JAVA_HOME, so I was saying it could be improved that way; but yea this script hasn't been changed for years (2 years: https://github.com/apache/spark/blame/master/R/install-dev.sh#L47) also..

let me know if it recurs - I could just fix it by checking JAVA_HOME.

dataknocker pushed a commit to dataknocker/spark that referenced this pull request Jun 16, 2017
## What changes were proposed in this pull request?

Fix test file path. This is broken in apache#18264 and undetected since R-only changes don't build core and subsequent post-commit with the change built fine (again because it wasn't building core)

actually appveyor builds everything but it's not running scala suites ...

## How was this patch tested?

jenkins
srowen gatorsmile

Author: Felix Cheung <felixcheung_m@hotmail.com>

Closes apache#18283 from felixcheung/rsubmitsuite.
@srowen
Copy link
Member

srowen commented Jun 16, 2017

I guess the question is more whether jar was on the PATH before and now isn't.

@shaneknapp
Copy link
Contributor

ok, i just took a closer look on that worker (amp-jenkins-worker-08) and somehow the /etc/alternatives/jar entry is missing (which is in turn linked to /usr/bin/jar). all the other workers are properly set up.

i'll get amp-jenkins-worker-08 fixed right now.

sidenote: new jenkins coming soon, and i can't wait to get rid of these crusty old centos 6 boxen for shiny new ubuntu 16 LTS.

@shaneknapp
Copy link
Contributor

shaneknapp commented Jun 16, 2017

done.

-bash-4.1$ hostname; whoami; which jar
amp-jenkins-worker-08
jenkins
/usr/bin/jar

felixcheung added a commit to felixcheung/spark that referenced this pull request Sep 9, 2017
## What changes were proposed in this pull request?

Fix test file path. This is broken in apache#18264 and undetected since R-only changes don't build core and subsequent post-commit with the change built fine (again because it wasn't building core)

actually appveyor builds everything but it's not running scala suites ...

## How was this patch tested?

jenkins
srowen gatorsmile

Author: Felix Cheung <felixcheung_m@hotmail.com>

Closes apache#18283 from felixcheung/rsubmitsuite.

(cherry picked from commit 278ba7a)
Signed-off-by: Felix Cheung <felixcheung@apache.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants