[
https://issues.apache.org/jira/browse/BEAM-12096?focusedWorklogId=577283&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-577283
]
ASF GitHub Bot logged work on BEAM-12096:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 06/Apr/21 02:48
Start Date: 06/Apr/21 02:48
Worklog Time Spent: 10m
Work Description: codecov[bot] edited a comment on pull request #14437:
URL: https://github.com/apache/beam/pull/14437#issuecomment-813711950
# [Codecov](https://codecov.io/gh/apache/beam/pull/14437?src=pr&el=h1) Report
> Merging
[#14437](https://codecov.io/gh/apache/beam/pull/14437?src=pr&el=desc) (5b27bc8)
into
[master](https://codecov.io/gh/apache/beam/commit/abbe14f721327d51cce02876324e7feba98581e2?el=desc)
(abbe14f) will **increase** coverage by `0.00%`.
> The diff coverage is `n/a`.
[](https://codecov.io/gh/apache/beam/pull/14437?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #14437 +/- ##
=======================================
Coverage 83.43% 83.43%
=======================================
Files 463 463
Lines 59013 59015 +2
=======================================
+ Hits 49235 49238 +3
+ Misses 9778 9777 -1
```
| [Impacted
Files](https://codecov.io/gh/apache/beam/pull/14437?src=pr&el=tree) | Coverage
Δ | |
|---|---|---|
|
[...build/srcs/sdks/python/apache\_beam/utils/plugin.py](https://codecov.io/gh/apache/beam/pull/14437/diff?src=pr&el=tree#diff-YmVhbV9QcmVDb21taXRfUHl0aG9uX0Nyb24vc3JjL3Nka3MvcHl0aG9uL3Rlc3Qtc3VpdGVzL3RveC9weTM4L2J1aWxkL3NyY3Mvc2Rrcy9weXRob24vYXBhY2hlX2JlYW0vdXRpbHMvcGx1Z2luLnB5)
| | |
|
[...sdks/python/apache\_beam/examples/flink/\_\_init\_\_.py](https://codecov.io/gh/apache/beam/pull/14437/diff?src=pr&el=tree#diff-YmVhbV9QcmVDb21taXRfUHl0aG9uX0Nyb24vc3JjL3Nka3MvcHl0aG9uL3Rlc3Qtc3VpdGVzL3RveC9weTM4L2J1aWxkL3NyY3Mvc2Rrcy9weXRob24vYXBhY2hlX2JlYW0vZXhhbXBsZXMvZmxpbmsvX19pbml0X18ucHk=)
| | |
|
[...e\_beam/examples/complete/game/hourly\_team\_score.py](https://codecov.io/gh/apache/beam/pull/14437/diff?src=pr&el=tree#diff-YmVhbV9QcmVDb21taXRfUHl0aG9uX0Nyb24vc3JjL3Nka3MvcHl0aG9uL3Rlc3Qtc3VpdGVzL3RveC9weTM4L2J1aWxkL3NyY3Mvc2Rrcy9weXRob24vYXBhY2hlX2JlYW0vZXhhbXBsZXMvY29tcGxldGUvZ2FtZS9ob3VybHlfdGVhbV9zY29yZS5weQ==)
| | |
|
[...thon/apache\_beam/runners/portability/job\_server.py](https://codecov.io/gh/apache/beam/pull/14437/diff?src=pr&el=tree#diff-YmVhbV9QcmVDb21taXRfUHl0aG9uX0Nyb24vc3JjL3Nka3MvcHl0aG9uL3Rlc3Qtc3VpdGVzL3RveC9weTM4L2J1aWxkL3NyY3Mvc2Rrcy9weXRob24vYXBhY2hlX2JlYW0vcnVubmVycy9wb3J0YWJpbGl0eS9qb2Jfc2VydmVyLnB5)
| | |
|
[...examples/snippets/transforms/aggregation/sample.py](https://codecov.io/gh/apache/beam/pull/14437/diff?src=pr&el=tree#diff-YmVhbV9QcmVDb21taXRfUHl0aG9uX0Nyb24vc3JjL3Nka3MvcHl0aG9uL3Rlc3Qtc3VpdGVzL3RveC9weTM4L2J1aWxkL3NyY3Mvc2Rrcy9weXRob24vYXBhY2hlX2JlYW0vZXhhbXBsZXMvc25pcHBldHMvdHJhbnNmb3Jtcy9hZ2dyZWdhdGlvbi9zYW1wbGUucHk=)
| | |
|
[...cs/sdks/python/apache\_beam/runners/job/\_\_init\_\_.py](https://codecov.io/gh/apache/beam/pull/14437/diff?src=pr&el=tree#diff-YmVhbV9QcmVDb21taXRfUHl0aG9uX0Nyb24vc3JjL3Nka3MvcHl0aG9uL3Rlc3Qtc3VpdGVzL3RveC9weTM4L2J1aWxkL3NyY3Mvc2Rrcy9weXRob24vYXBhY2hlX2JlYW0vcnVubmVycy9qb2IvX19pbml0X18ucHk=)
| | |
|
[...\_beam/testing/benchmarks/nexmark/queries/query7.py](https://codecov.io/gh/apache/beam/pull/14437/diff?src=pr&el=tree#diff-YmVhbV9QcmVDb21taXRfUHl0aG9uX0Nyb24vc3JjL3Nka3MvcHl0aG9uL3Rlc3Qtc3VpdGVzL3RveC9weTM4L2J1aWxkL3NyY3Mvc2Rrcy9weXRob24vYXBhY2hlX2JlYW0vdGVzdGluZy9iZW5jaG1hcmtzL25leG1hcmsvcXVlcmllcy9xdWVyeTcucHk=)
| | |
|
[...py38/build/srcs/sdks/python/apache\_beam/io/jdbc.py](https://codecov.io/gh/apache/beam/pull/14437/diff?src=pr&el=tree#diff-YmVhbV9QcmVDb21taXRfUHl0aG9uX0Nyb24vc3JjL3Nka3MvcHl0aG9uL3Rlc3Qtc3VpdGVzL3RveC9weTM4L2J1aWxkL3NyY3Mvc2Rrcy9weXRob24vYXBhY2hlX2JlYW0vaW8vamRiYy5weQ==)
| | |
|
[.../srcs/sdks/python/apache\_beam/coders/coder\_impl.py](https://codecov.io/gh/apache/beam/pull/14437/diff?src=pr&el=tree#diff-YmVhbV9QcmVDb21taXRfUHl0aG9uX0Nyb24vc3JjL3Nka3MvcHl0aG9uL3Rlc3Qtc3VpdGVzL3RveC9weTM4L2J1aWxkL3NyY3Mvc2Rrcy9weXRob24vYXBhY2hlX2JlYW0vY29kZXJzL2NvZGVyX2ltcGwucHk=)
| | |
|
[...d/srcs/sdks/python/apache\_beam/transforms/stats.py](https://codecov.io/gh/apache/beam/pull/14437/diff?src=pr&el=tree#diff-YmVhbV9QcmVDb21taXRfUHl0aG9uX0Nyb24vc3JjL3Nka3MvcHl0aG9uL3Rlc3Qtc3VpdGVzL3RveC9weTM4L2J1aWxkL3NyY3Mvc2Rrcy9weXRob24vYXBhY2hlX2JlYW0vdHJhbnNmb3Jtcy9zdGF0cy5weQ==)
| | |
| ... and [916
more](https://codecov.io/gh/apache/beam/pull/14437/diff?src=pr&el=tree-more) | |
------
[Continue to review full report at
Codecov](https://codecov.io/gh/apache/beam/pull/14437?src=pr&el=continue).
> **Legend** - [Click here to learn
more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by
[Codecov](https://codecov.io/gh/apache/beam/pull/14437?src=pr&el=footer). Last
update
[312c6eb...5b27bc8](https://codecov.io/gh/apache/beam/pull/14437?src=pr&el=lastupdated).
Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 577283)
Time Spent: 2.5h (was: 2h 20m)
> Flake: test_progress_in_HTML_JS_when_in_notebook
> ------------------------------------------------
>
> Key: BEAM-12096
> URL: https://issues.apache.org/jira/browse/BEAM-12096
> Project: Beam
> Issue Type: Bug
> Components: test-failures
> Reporter: Kyle Weaver
> Assignee: Ning Kang
> Priority: P1
> Labels: flaky-test
> Time Spent: 2.5h
> Remaining Estimate: 0h
>
> *
> https://ci-beam.apache.org/job/beam_PreCommit_Python_Commit/18008/testReport/junit/apache_beam.runners.interactive.utils_test/ProgressIndicatorTest/test_progress_in_HTML_JS_when_in_notebook/
> self = <apache_beam.runners.interactive.utils_test.ProgressIndicatorTest
> testMethod=test_progress_in_HTML_JS_when_in_notebook> def
> test_progress_in_HTML_JS_when_in_notebook(self):
> ie.current_env()._is_in_notebook = True pi_path =
> 'apache_beam.runners.interactive.utils.ProgressIndicator' with
> patch('IPython.core.display.HTML') as mocked_html, \
> patch('IPython.core.display.Javascript') as mocked_javascript, \
> patch(pi_path + '.spinner_template') as enter_template, \ patch(pi_path +
> '.spinner_removal_template') as exit_template:
> enter_template.format.return_value = 'enter'
> exit_template.format.return_value = 'exit' @utils.progress_indicated def
> progress_indicated_dummy(): mocked_html.assert_any_call('enter') >
> progress_indicated_dummy() apache_beam/runners/interactive/utils_test.py:217:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _ apache_beam/runners/interactive/utils.py:235: in
> run_within_progress_indicator return func(*args, **kwargs)
> apache_beam/runners/interactive/utils_test.py:215: in
> progress_indicated_dummy mocked_html.assert_any_call('enter') _ _ _ _ _ _ _ _
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =
> <MagicMock name='HTML' id='140195651256392'>, args = ('enter',) kwargs = {},
> expected = (('enter',), {}) actual = [call('\n <link rel="stylesheet" href="
> [https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min..."|https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min...]
> >You have limited Interactive Beam features since your ipython kernel is not
> >connected any notebook frontend.</div>')] cause = None, expected_string =
> >"HTML('enter')" def assert_any_call(self, *args, **kwargs): """assert the
> >mock has been called with the specified arguments. The assert passes if the
> >mock has *ever* been called, unlike `assert_called_with` and
> >`assert_called_once_with` that only pass if the call is the most recent
> >one.""" expected = self._call_matcher((args, kwargs)) actual =
> >[self._call_matcher(c) for c in self.call_args_list] if expected not in
> >actual: cause = expected if isinstance(expected, Exception) else None
> >expected_string = self._format_mock_call_signature(args, kwargs) raise
> >AssertionError( '%s call not found' % expected_string > ) from cause E
> >AssertionError: HTML('enter') call not found
> >/usr/lib/python3.7/unittest/mock.py:891: AssertionError
--
This message was sent by Atlassian Jira
(v8.3.4#803005)