Skip to content

[BEAM-1260] Another shot at capturing PAssert site - #2247

Closed
jkff wants to merge 3 commits into
apache:masterfrom
jkff:rollforward-passert-site
Closed

jkff wants to merge 3 commits into
apache:masterfrom
jkff:rollforward-passert-site

Conversation

@jkff

@jkff jkff commented Mar 14, 2017

Copy link
Copy Markdown
Contributor

This is a modified resubmit of #1753, which was later rolled back in #1767 .

The current PR is basically the same, but I updated the Dataflow worker to reduce nesting of wrapped exceptions, so now the error message goes through (whereas previously it would lead to an exception so long that it was truncated, and the original site was not visible).

R: @tgroh

@jkff

jkff commented Mar 14, 2017

Copy link
Copy Markdown
Contributor Author

Run Dataflow RunnableOnService

@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage decreased (-0.008%) to 70.172% when pulling afcf2a7 on jkff:rollforward-passert-site into cc12fd3 on apache:master.

@asfbot

asfbot commented Mar 14, 2017

Copy link
Copy Markdown

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/beam_PreCommit_Java_MavenInstall/8406/
--none--

@asfbot

asfbot commented Mar 14, 2017

Copy link
Copy Markdown

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/beam_PostCommit_Java_RunnableOnService_Dataflow/2551/
--none--

@tgroh tgroh left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Run Flink RunnableOnService

ActualT actualContents = c.sideInput(actual);
doChecks(site, actualContents, checkerFn, success, failure);
} catch (Throwable t) {
// Suppress exception in streaming

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This will almost definitely cause Flink RunnableOnService tests to fail, as of #2109

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Oops - copy-paste artifact during merge. Reverted this change.

@tgroh

tgroh commented Mar 14, 2017

Copy link
Copy Markdown
Member

Nards, Jenkins Plugin only works on comments.

@tgroh

tgroh commented Mar 14, 2017

Copy link
Copy Markdown
Member

Run Flink RunnableOnService

1 similar comment
@jkff

jkff commented Mar 14, 2017

Copy link
Copy Markdown
Contributor Author

Run Flink RunnableOnService

@jkff

jkff commented Mar 14, 2017

Copy link
Copy Markdown
Contributor Author

Run Flink RunnableOnService

@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.003%) to 70.184% when pulling ba86088 on jkff:rollforward-passert-site into cc12fd3 on apache:master.

@asfbot

asfbot commented Mar 15, 2017

Copy link
Copy Markdown

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/beam_PreCommit_Java_MavenInstall/8417/
--none--

@jkff
jkff force-pushed the rollforward-passert-site branch from ba86088 to b1997a5 Compare March 15, 2017 01:23
@jkff

jkff commented Mar 15, 2017

Copy link
Copy Markdown
Contributor Author

Run Flink RunnableOnService

@jkff

jkff commented Mar 15, 2017

Copy link
Copy Markdown
Contributor Author

Weird. Passes locally with Flink. Looking.

@jkff
jkff force-pushed the rollforward-passert-site branch from b1997a5 to f28f4d0 Compare March 15, 2017 01:36
@jkff

jkff commented Mar 15, 2017

Copy link
Copy Markdown
Contributor Author

Run Flink RunnableOnService

@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.01%) to 70.18% when pulling f28f4d0 on jkff:rollforward-passert-site into 806c53c on apache:master.

@asfbot

asfbot commented Mar 15, 2017

Copy link
Copy Markdown

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/beam_PreCommit_Java_MavenInstall/8423/
--none--

@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.01%) to 70.177% when pulling f28f4d0 on jkff:rollforward-passert-site into 806c53c on apache:master.

@asfbot

asfbot commented Mar 15, 2017

Copy link
Copy Markdown

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/beam_PreCommit_Java_MavenInstall/8424/
--none--

@jkff
jkff force-pushed the rollforward-passert-site branch from f28f4d0 to c90fcaa Compare March 15, 2017 02:26
@jkff

jkff commented Mar 15, 2017

Copy link
Copy Markdown
Contributor Author

Run Flink RunnableOnService

@asfbot

asfbot commented Mar 15, 2017

Copy link
Copy Markdown

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/beam_PostCommit_Java_RunnableOnService_Flink/1938/
--none--

@jkff

jkff commented Mar 15, 2017

Copy link
Copy Markdown
Contributor Author

OK, that's more like it. PTAL.

@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.02%) to 70.184% when pulling c90fcaa on jkff:rollforward-passert-site into 806c53c on apache:master.

@asfbot

asfbot commented Mar 15, 2017

Copy link
Copy Markdown

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/beam_PreCommit_Java_MavenInstall/8426/
--none--

@tgroh tgroh left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM, less one comment.

} else {
throw e;
UserCodeException innermostUserCodeException = null;
for (; e.getCause() != null; e = e.getCause()) {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I'm pretty opposed to assigning over the caught Throwable. Reassigning to a local variable is preferable.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done.

@jkff
jkff force-pushed the rollforward-passert-site branch from c90fcaa to 36158f7 Compare March 15, 2017 20:40
@asfbot

asfbot commented Mar 15, 2017

Copy link
Copy Markdown

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/beam_PreCommit_Java_MavenInstall/8462/
--none--

@tgroh

tgroh commented Mar 16, 2017

Copy link
Copy Markdown
Member

retest this please

@coveralls

Copy link
Copy Markdown

Coverage Status

Changes Unknown when pulling 36158f7 on jkff:rollforward-passert-site into ** on apache:master**.

@asfbot

asfbot commented Mar 17, 2017

Copy link
Copy Markdown

@jkff

jkff commented Mar 17, 2017

Copy link
Copy Markdown
Contributor Author

The test failure is a known flake https://issues.apache.org/jira/browse/BEAM-1582

@jkff

jkff commented Mar 17, 2017

Copy link
Copy Markdown
Contributor Author

retest this please

@coveralls

Copy link
Copy Markdown

Coverage Status

Changes Unknown when pulling 36158f7 on jkff:rollforward-passert-site into ** on apache:master**.

@asfbot

asfbot commented Mar 17, 2017

Copy link
Copy Markdown

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/beam_PreCommit_Java_MavenInstall/8519/
--none--

@asfgit asfgit closed this in b672cde Mar 17, 2017
@jkff
jkff deleted the rollforward-passert-site branch March 17, 2017 16:59
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