[ https://issues.apache.org/jira/browse/BEAM-13218?focusedWorklogId=707953&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-707953 ]
ASF GitHub Bot logged work on BEAM-13218: ----------------------------------------- Author: ASF GitHub Bot Created on: 12/Jan/22 23:20 Start Date: 12/Jan/22 23:20 Worklog Time Spent: 10m Work Description: codecov[bot] edited a comment on pull request #16497: URL: https://github.com/apache/beam/pull/16497#issuecomment-1011444125 # [Codecov](https://codecov.io/gh/apache/beam/pull/16497?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) Report > Merging [#16497](https://codecov.io/gh/apache/beam/pull/16497?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (ee1c642) into [master](https://codecov.io/gh/apache/beam/commit/ab20d7a8c503197088277b222fa5083cba2cce18?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (ab20d7a) will **increase** coverage by `9.00%`. > The diff coverage is `n/a`. [![Impacted file tree graph](https://codecov.io/gh/apache/beam/pull/16497/graphs/tree.svg?width=650&height=150&src=pr&token=qcbbAh8Fj1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)](https://codecov.io/gh/apache/beam/pull/16497?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) ```diff @@ Coverage Diff @@ ## master #16497 +/- ## ========================================== + Coverage 74.59% 83.60% +9.00% ========================================== Files 653 452 -201 Lines 81681 62001 -19680 ========================================== - Hits 60928 51833 -9095 + Misses 19774 10168 -9606 + Partials 979 0 -979 ``` | [Impacted Files](https://codecov.io/gh/apache/beam/pull/16497?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) | Coverage Δ | | |---|---|---| | [sdks/python/apache\_beam/utils/interactive\_utils.py](https://codecov.io/gh/apache/beam/pull/16497/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vdXRpbHMvaW50ZXJhY3RpdmVfdXRpbHMucHk=) | `87.80% <0.00%> (-4.88%)` | :arrow_down: | | [...python/apache\_beam/internal/cloudpickle\_pickler.py](https://codecov.io/gh/apache/beam/pull/16497/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vaW50ZXJuYWwvY2xvdWRwaWNrbGVfcGlja2xlci5weQ==) | `84.31% <0.00%> (-2.05%)` | :arrow_down: | | [sdks/python/apache\_beam/runners/direct/executor.py](https://codecov.io/gh/apache/beam/pull/16497/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vcnVubmVycy9kaXJlY3QvZXhlY3V0b3IucHk=) | `96.46% <0.00%> (-0.55%)` | :arrow_down: | | [...eam/runners/interactive/interactive\_environment.py](https://codecov.io/gh/apache/beam/pull/16497/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vcnVubmVycy9pbnRlcmFjdGl2ZS9pbnRlcmFjdGl2ZV9lbnZpcm9ubWVudC5weQ==) | `91.37% <0.00%> (-0.35%)` | :arrow_down: | | [...ks/python/apache\_beam/runners/worker/sdk\_worker.py](https://codecov.io/gh/apache/beam/pull/16497/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vcnVubmVycy93b3JrZXIvc2RrX3dvcmtlci5weQ==) | `88.90% <0.00%> (-0.16%)` | :arrow_down: | | [...s/python/apache\_beam/io/gcp/bigquery\_file\_loads.py](https://codecov.io/gh/apache/beam/pull/16497/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vaW8vZ2NwL2JpZ3F1ZXJ5X2ZpbGVfbG9hZHMucHk=) | `87.70% <0.00%> (-0.03%)` | :arrow_down: | | [sdks/python/apache\_beam/examples/wordcount.py](https://codecov.io/gh/apache/beam/pull/16497/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vZXhhbXBsZXMvd29yZGNvdW50LnB5) | `93.10% <0.00%> (ø)` | | | [sdks/python/apache\_beam/internal/metrics/metric.py](https://codecov.io/gh/apache/beam/pull/16497/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vaW50ZXJuYWwvbWV0cmljcy9tZXRyaWMucHk=) | `90.00% <0.00%> (ø)` | | | [...s/python/apache\_beam/examples/wordcount\_minimal.py](https://codecov.io/gh/apache/beam/pull/16497/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vZXhhbXBsZXMvd29yZGNvdW50X21pbmltYWwucHk=) | `92.85% <0.00%> (ø)` | | | [...python/apache\_beam/examples/wordcount\_debugging.py](https://codecov.io/gh/apache/beam/pull/16497/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vZXhhbXBsZXMvd29yZGNvdW50X2RlYnVnZ2luZy5weQ==) | `95.91% <0.00%> (ø)` | | | ... and [212 more](https://codecov.io/gh/apache/beam/pull/16497/diff?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) | | ------ [Continue to review full report at Codecov](https://codecov.io/gh/apache/beam/pull/16497?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation). > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data` > Powered by [Codecov](https://codecov.io/gh/apache/beam/pull/16497?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation). Last update [ab20d7a...ee1c642](https://codecov.io/gh/apache/beam/pull/16497?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation). -- 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. To unsubscribe, e-mail: github-unsubscr...@beam.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 707953) Time Spent: 3.5h (was: 3h 20m) > apache_beam.io.gcp.pubsub_integration_test.PubSubIntegrationTest.test_streaming_with_attributes > is failing > ---------------------------------------------------------------------------------------------------------- > > Key: BEAM-13218 > URL: https://issues.apache.org/jira/browse/BEAM-13218 > Project: Beam > Issue Type: Bug > Components: test-failures > Reporter: Anand Inguva > Assignee: Andy Ye > Priority: P2 > Labels: sickbay > Time Spent: 3.5h > Remaining Estimate: 0h > > One of the integration tests is failing in {*}PostCommits{*}: > [https://ci-beam.apache.org/job/beam_PostCommit_Python37/4496/testReport/junit/apache_beam.io.gcp.pubsub_integration_test/PubSubIntegrationTest/test_streaming_with_attributes/] > > [https://ci-beam.apache.org/job/beam_PostCommit_Python38/1893/testReport/junit/apache_beam.io.gcp.pubsub_integration_test/PubSubIntegrationTest/test_streaming_with_attributes/] > {code:java} > Error MessageAssertionError: Expected: (Test pipeline expected terminated in > state: RUNNING and Expected 4 messages.) but: Expected 4 messages. Got 4 > messages. Diffs (item, count): Expected but not in actual: > dict_items([(PubsubMessage(b'data001-seen', {'processed': 'IT'}), 1), > (PubsubMessage(b'data003\xab\xac-seen', {'processed': 'IT'}), 1)]) > Unexpected: dict_items([(PubsubMessage(b'data001-seen', {'processed': 'IT', > 'timestamp': 'PubSubMessageMatcher error: expected attribute not found.'}), > 1), (PubsubMessage(b'data003\xab\xac-seen', {'processed': 'IT', 'timestamp': > 'PubSubMessageMatcher error: expected attribute not found.'}), 1)]) > Stripped attributes: ['id', 'timestamp']Stacktraceself = > <apache_beam.io.gcp.pubsub_integration_test.PubSubIntegrationTest > testMethod=test_streaming_with_attributes> > @pytest.mark.it_postcommit > def test_streaming_with_attributes(self): > > self._test_streaming(with_attributes=True) > apache_beam/io/gcp/pubsub_integration_test.py:213: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > apache_beam/io/gcp/pubsub_integration_test.py:205: in _test_streaming > timestamp_attribute=self.TIMESTAMP_ATTRIBUTE) > apache_beam/io/gcp/pubsub_it_pipeline.py:93: in run_pipeline > result = p.run() > apache_beam/pipeline.py:573: in run > return self.runner.run_pipeline(self, self._options) > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > self = <apache_beam.runners.dataflow.test_dataflow_runner.TestDataflowRunner > object at 0x7fa1d1561950> > pipeline = <apache_beam.pipeline.Pipeline object at 0x7fa1d1561750> > options = <apache_beam.options.pipeline_options.PipelineOptions object at > 0x7fa1d15614d0> > def run_pipeline(self, pipeline, options): > """Execute test pipeline and verify test matcher""" > test_options = options.view_as(TestOptions) > on_success_matcher = test_options.on_success_matcher > wait_duration = test_options.wait_until_finish_duration > is_streaming = options.view_as(StandardOptions).streaming > > # [BEAM-1889] Do not send this to remote workers also, there is no need > to > # send this option to remote executors. > test_options.on_success_matcher = None > > self.result = super().run_pipeline(pipeline, options) > if self.result.has_job: > # TODO(markflyhigh)(BEAM-1890): Use print since Nose dosen't show logs > # in some cases. > print('Worker logs: %s' % self.build_console_url(options)) > > try: > self.wait_until_in_state(PipelineState.RUNNING) > > if is_streaming and not wait_duration: > _LOGGER.warning('Waiting indefinitely for streaming job.') > self.result.wait_until_finish(duration=wait_duration) > > if on_success_matcher: > from hamcrest import assert_that as hc_assert_that > > hc_assert_that(self.result, pickler.loads(on_success_matcher)) > E AssertionError: > E Expected: (Test pipeline expected terminated in state: RUNNING and > Expected 4 messages.) > E but: Expected 4 messages. Got 4 messages. Diffs (item, count): > E Expected but not in actual: > dict_items([(PubsubMessage(b'data001-seen', {'processed': 'IT'}), 1), > (PubsubMessage(b'data003\xab\xac-seen', {'processed': 'IT'}), 1)]) > E Unexpected: dict_items([(PubsubMessage(b'data001-seen', > {'processed': 'IT', 'timestamp': 'PubSubMessageMatcher error: expected > attribute not found.'}), 1), (PubsubMessage(b'data003\xab\xac-seen', > {'processed': 'IT', 'timestamp': 'PubSubMessageMatcher error: expected > attribute not found.'}), 1)]) > E Stripped attributes: ['id', 'timestamp'] > apache_beam/runners/dataflow/test_dataflow_runner.py:68: AssertionError {code} -- This message was sent by Atlassian Jira (v8.20.1#820001)