-
Notifications
You must be signed in to change notification settings - Fork 28.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Spark QA] only check code files for new classes #2184
Conversation
@liancheng You may be interested in taking a look at this PR, too. (related to #2140) |
Jenkins, retest this please. |
The previous test cycle timed out on fetching the code. |
QA tests have started for PR 2184 at commit
|
QA tests have finished for PR 2184 at commit
|
Another random failure that I don't think is related to this patch. |
Jenkinmensch, retest this please. |
@@ -93,7 +91,12 @@ function post_message () { | |||
else | |||
merge_note=" * This patch merges cleanly." | |||
|
|||
non_test_files=$(git diff master --name-only | grep -v "\/test" | tr "\n" " ") | |||
non_test_files=$( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we can rename it to source_files
now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
Jenkins, test this please. |
LGTM, thanks! |
QA tests have started for PR 2184 at commit
|
QA tests have finished for PR 2184 at commit
|
QA tests have started for PR 2184 at commit
|
QA tests have finished for PR 2184 at commit
|
@pwendell I think this PR is ready for a final review / merging. |
@@ -138,7 +141,7 @@ function post_message () { | |||
test_result="$?" | |||
|
|||
if [ "$test_result" -eq "124" ]; then | |||
fail_message="**Tests timed out** after a configured wait of \`${TESTS_TIMEOUT}\`." | |||
fail_message="**[Tests timed out](${BUILD_URL}consoleFull)** after a configured wait of \`${TESTS_TIMEOUT}\`." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
100 characters... can we break this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, done.
Minor style note, but otherwise LGTM |
QA tests have started for PR 2184 at commit
|
Hmm, looks like I need to fix something now that this doesn't merge cleanly anymore. Investigating. |
QA tests have finished for PR 2184 at commit
|
Look only at code files (py, java, and scala) for new classes. Should get rid of false alarms like [the one reported here](#2014 (comment)).
Thankfully, the extra whitespace gets removed when the output is parsed as Markdown.
@pwendell I think we're all set now. |
QA tests have started for PR 2184 at commit
|
QA tests have finished for PR 2184 at commit
|
Cool - thanks Nick! |
Look only at code files (`.py`, `.java`, and `.scala`) for new classes. Should get rid of false alarms like [the one reported here](apache#2014 (comment)). Author: Nicholas Chammas <[email protected]> Closes apache#2184 from nchammas/jenkins-ignore-noncode and squashes the following commits: 33786ac [Nicholas Chammas] break up long line 3f91a14 [Nicholas Chammas] rename array of source files 8b82a26 [Nicholas Chammas] [Spark QA] only check code files for new classes
Look only at code files (
.py
,.java
, and.scala
) for new classes.Should get rid of false alarms like the one reported here.