Skip to content
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-2912] [Spark QA] Include commit hash in Spark QA messages #1816

Closed
wants to merge 2 commits into from
Closed

[SPARK-2912] [Spark QA] Include commit hash in Spark QA messages #1816

wants to merge 2 commits into from

Conversation

nchammas
Copy link
Contributor

@nchammas nchammas commented Aug 6, 2014

You can find the discussion that motivated this PR here.

As described in SPARK-2912, the goal of this PR (and related ones to come) is to include useful detail in Spark QA's messages that are intended to make a committer's job easier to do.

Since this work depends on Jenkins, I cannot test this locally. Hence, I will be iterating via this PR.

Notes:

  • This is a duplicate of a previous PR, without the extraneous commits.
  • This PR also resolves an issue targeted by another open PR.

merge upstream changes
@SparkQA
Copy link

SparkQA commented Aug 6, 2014

QA tests have started for PR 1816 at commit hash 0f3ee1c.
By the way, sha1 is origin/pr/1816/merge. This patch merges cleanly.
View progress: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/18068/consoleFull

@SparkQA
Copy link

SparkQA commented Aug 6, 2014

QA results for PR 1816:
- This patch PASSES unit tests.
- This patch merges cleanly
- This patch adds no public classes

For more information see test ouptut:
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/18068/consoleFull

@nchammas
Copy link
Contributor Author

nchammas commented Aug 6, 2014

By the way, sha1 is origin/pr/1816/merge.

This is a debugging statement.

@pwendell @rxin How does $sha1 change when there is a merge conflict? Or is it $ghprbActualCommit that changes? I'm not clear on how those variables are populated.

@SparkQA
Copy link

SparkQA commented Aug 7, 2014

QA tests have started for PR 1816 at commit hash d975a23.
By the way, sha1 is origin/pr/1816/merge. This patch merges cleanly.
View progress: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/18122/consoleFull

@SparkQA
Copy link

SparkQA commented Aug 7, 2014

QA results for PR 1816:
- This patch PASSES unit tests.
- This patch merges cleanly
- This patch adds no public classes

For more information see test ouptut:
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/18122/consoleFull

@SparkQA
Copy link

SparkQA commented Aug 7, 2014

QA tests have started for PR 1816 at commit 113f4af. This patch merges cleanly.
View progress: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/18123/consoleFull

@SparkQA
Copy link

SparkQA commented Aug 7, 2014

QA results for PR 1816:
- This patch PASSES unit tests.
- This patch merges cleanly
- This patch adds no public classes

For more information see test ouptut:
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/18123/consoleFull

@SparkQA
Copy link

SparkQA commented Aug 7, 2014

QA tests have started for PR 1816 at commit 3ac99bf. This patch merges cleanly.
View progress: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/18124/consoleFull

@SparkQA
Copy link

SparkQA commented Aug 7, 2014

QA results for PR 1816:
- This patch PASSES unit tests.
- This patch merges cleanly
- This patch adds no public classes

For more information see test ouptut:
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/18124/consoleFull

@nchammas
Copy link
Contributor Author

nchammas commented Aug 7, 2014

Jenkins, giddy on up and retest this please.

@SparkQA
Copy link

SparkQA commented Aug 7, 2014

QA tests have started for PR 1816 at commit 3ac99bf. This patch merges cleanly.
View progress: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/18125/consoleFull

@SparkQA
Copy link

SparkQA commented Aug 7, 2014

QA results for PR 1816:
- This patch PASSES unit tests.
- This patch merges cleanly
- This patch adds no public classes

For more information see test ouptut:
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/18125/consoleFull

@nchammas
Copy link
Contributor Author

nchammas commented Aug 7, 2014

Jenkinsmeister, retest this please.

@SparkQA
Copy link

SparkQA commented Aug 7, 2014

QA tests have started for PR 1816 at commit 968e033. View progress.
* This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Aug 7, 2014

QA results for PR 1816:
- This patch PASSES unit tests.
- This patch merges cleanly
* This patch adds no public classes

For more information see the test ouptut.

@nchammas
Copy link
Contributor Author

nchammas commented Aug 7, 2014

Jenkins, touch your head, shoulders, knees, and toes, and then retest this please.

@SparkQA
Copy link

SparkQA commented Aug 7, 2014

QA tests have started for PR 1816 at commit 481190c. View progress.

  • This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Aug 7, 2014

QA results for PR 1816:

  • This patch PASSES unit tests.
  • This patch merges cleanly
  • This patch adds no public classes

For more information see the test ouptut.

@SparkQA
Copy link

SparkQA commented Aug 7, 2014

QA tests have started for PR 1816 at commit 8561227. View progress.

  • This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Aug 7, 2014

QA results for PR 1816 at commit 8561227:

  • This patch PASSES unit tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
    class StandardScaler(withMean: Boolean, withStd: Boolean) extends Logging {
    For more information see the test ouptut.

@SparkQA
Copy link

SparkQA commented Aug 7, 2014

QA tests have started for PR 1816 at commit a7d888e. View progress.

  • This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Aug 7, 2014

QA results for PR 1816 at commit a7d888e:

  • This patch PASSES unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

For more information see the test ouptut.

@SparkQA
Copy link

SparkQA commented Aug 7, 2014

QA tests have started for PR 1816 at commit cbcdb61. View progress.

  • This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Aug 7, 2014

QA results for PR 1816 at commit cbcdb61:

  • This patch PASSES unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

For more information see the test ouptut.

@SparkQA
Copy link

SparkQA commented Aug 7, 2014

QA tests have started for PR 1816 at commit 8eff1d3. View progress.

  • This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Aug 7, 2014

QA results for PR 1816 at commit 8eff1d3:

  • This patch PASSES unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

For more information see the test ouptut.

@SparkQA
Copy link

SparkQA commented Aug 7, 2014

QA tests have started for PR 1816 at commit 391382b. View progress.

  • This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Aug 7, 2014

QA tests have started for PR 1816 at commit b018df6. View progress.

  • This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Aug 7, 2014

QA tests have started for PR 1816 at commit dae8407. View progress.

  • This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Aug 11, 2014

QA tests have finished for PR 1816 at commit f1996f5.

  • This patch passes unit tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
    • class DeleteMeNow()
    • class DeleteMeToo(name: String = "I have quotes in me")

@SparkQA
Copy link

SparkQA commented Aug 11, 2014

QA tests have started for PR 1816 at commit 13005b6.

  • This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Aug 11, 2014

QA tests have finished for PR 1816 at commit 13005b6.

  • This patch passes unit tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
    • class ClientActor extends Actor with ActorLogReceive with Logging
    • class DeleteMeNow()
    • class DeleteMeToo(name: String = "I have quotes in me")
    • class DriverActor(sparkProperties: Seq[(String, String)]) extends Actor with ActorLogReceive
    • * class BlockManagerMasterActor extends Actor with ActorLogReceive with Logging

@nchammas
Copy link
Contributor Author

Regarding this message, sometimes I see this strangeness where git diff picks up changes that are not part of this PR. In any case, I've taken the feedback to fix the apparent formatting problem.

@SparkQA
Copy link

SparkQA commented Aug 11, 2014

QA tests have started for PR 1816 at commit 4d87c7e.

  • This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Aug 11, 2014

QA tests have finished for PR 1816 at commit 4d87c7e.

  • This patch passes unit tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
    • class ClientActor extends Actor with ActorLogReceive with Logging
    • class DeleteMePrequel()
    • class DeleteMeNow()
    • class DeleteMeToo(name: String = "I have quotes in me")
    • class DeleteMeThree(sparkProperties: Seq[(String, String)]) extends Actor with ActorLogReceive
    • class DeleteMeFour extends Actor with ActorLogReceive with Logging
    • class DriverActor(sparkProperties: Seq[(String, String)]) extends Actor with ActorLogReceive
    • * class BlockManagerMasterActor extends Actor with ActorLogReceive with Logging

@nchammas
Copy link
Contributor Author

Jenkins, retest this please.

@SparkQA
Copy link

SparkQA commented Aug 11, 2014

QA tests have started for PR 1816 at commit 41cb680.

  • This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Aug 11, 2014

QA tests have finished for PR 1816 at commit 41cb680.

  • This patch passes unit tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
    • class DeleteMePrequel()
    • class DeleteMeNow()
    • class DeleteMeToo(name: String = "I have quotes in me")

@SparkQA
Copy link

SparkQA commented Aug 11, 2014

QA tests have started for PR 1816 at commit e029e02.

  • This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Aug 12, 2014

QA tests have finished for PR 1816 at commit e029e02.

  • This patch passes unit tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
    • class ClientActor extends Actor with ActorLogReceive with Logging
    • class DriverActor(sparkProperties: Seq[(String, String)]) extends Actor with ActorLogReceive

@SparkQA
Copy link

SparkQA commented Aug 12, 2014

QA tests have started for PR 1816 at commit a20fcad.

  • This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Aug 12, 2014

QA tests have finished for PR 1816 at commit a20fcad.

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

This commit makes 2 major changes to the Jenkins GitHub hook:
1. Include commit hashes in all messages posted to GitHub. This makes
it clear what set of code changes a given test cycle is for.
2. Reorganize the code so it’s easier to maintain.

Changes made as part of the code reorg include:
* Cleanly capture and report on errors when calling the GitHub API.
* Divide the code into clear blocks: pre-test; test; and post-test
@nchammas nchammas changed the title [SPARK-2912] [Spark QA] [WIP] Include commit hash in Spark QA messages [SPARK-2912] [Spark QA] Include commit hash in Spark QA messages Aug 12, 2014
@SparkQA
Copy link

SparkQA commented Aug 12, 2014

QA tests have started for PR 1816 at commit c1be644.

  • This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Aug 12, 2014

QA tests have finished for PR 1816 at commit c1be644.

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

@nchammas
Copy link
Contributor Author

@pwendell @rxin - After lots of futzing around and some gold plating, I can say this PR is ready for another review. Apologies for how long this took.

Highlights:

  • This PR also resolves the issue targeted by this open PR.
  • Here is an example of the output when new classes are added.
    • The filters for that now handle many more cases than before, like new classes that are commented out.
    • The filters are also documented using an epic bash hack.

@rxin
Copy link
Contributor

rxin commented Aug 14, 2014

This is really cool. I will defer to @pwendell for merging this.

@rxin
Copy link
Contributor

rxin commented Aug 14, 2014

In the future maybe we should rewrite this in Python so the community can maintain it (bash is great until it gets too complicated).

@nchammas
Copy link
Contributor Author

Agreed. As part of this PR, I originally wanted to include functionality to update older messages with notes like "New commits have been added since this test cycle", but it seemed like quite too much to do with bash. function get_jq () is a leftover from that attempt, for example.

@asfgit asfgit closed this in 500f84e Aug 15, 2014
xiliu82 pushed a commit to xiliu82/spark that referenced this pull request Sep 4, 2014
You can find the [discussion that motivated this PR here](http://mail-archives.apache.org/mod_mbox/spark-dev/201408.mbox/%3CCABPQxssy0ri2QAz=cc9Tx+EXYWARm7pNcVm8apqCwc-esLbO4Qmail.gmail.com%3E).

As described in [SPARK-2912](https://issues.apache.org/jira/browse/SPARK-2912), the goal of this PR (and related ones to come) is to include useful detail in Spark QA's messages that are intended to make a committer's job easier to do.

Since this work depends on Jenkins, I cannot test this locally. Hence, I will be iterating via this PR.

Notes:
* This is a duplicate of a [previous PR](apache#1811), without the extraneous commits.
* This PR also resolves an issue targeted by [another open PR](apache#1809).

Closes apache#1809.

Author: Nicholas Chammas <[email protected]>
Author: nchammas <[email protected]>

Closes apache#1816 from nchammas/master and squashes the following commits:

c1be644 [Nicholas Chammas] [SPARK-2912] include commit hash in messages
8f641ac [nchammas] Merge pull request apache#7 from apache/master
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