[ 
https://issues.apache.org/jira/browse/BEAM-12320?focusedWorklogId=594941&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-594941
 ]

ASF GitHub Bot logged work on BEAM-12320:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 12/May/21 00:13
            Start Date: 12/May/21 00:13
    Worklog Time Spent: 10m 
      Work Description: ibzib commented on pull request #14785:
URL: https://github.com/apache/beam/pull/14785#issuecomment-839318007


   > Well I guess this can still flake with the increased timeout.
   > 
   > Perhaps there's another bug that causes the success signal to never fire? 
Maybe add some logging in the `resultSignal.signalSuccessWhen` function to see 
if it's receiving some non-matching element.
   
   I tried lowering the timeout back to 1m and ran the test with some 
additional logs. It looks like all of the right elements are produced, but 
TestPubsubSignal is never receiving the SUCCESS message. TBH I'm not sure why 
we use TestPubsubSignal instead of a regular PAssert here -- especially when 
signaling via pubsub seems like an additional source of flakiness.
   
   ```
   INFO: Entries: {3=foo}
   May 11, 2021 4:25:05 PM 
org.apache.beam.sdk.extensions.sql.meta.provider.pubsub.PubsubTableProviderIT 
lambda$testSQLSelectsArrayAttributes$43268ee4$1
   INFO: Entries: {3=foo, 5=bar}
   May 11, 2021 4:25:05 PM 
org.apache.beam.sdk.extensions.sql.meta.provider.pubsub.PubsubTableProviderIT 
lambda$testSQLSelectsArrayAttributes$43268ee4$1
   INFO: Entries: {3=foo, 5=bar, 7=baz}
   
   Did not receive signal on 
projects/apache-beam-testing/subscriptions/result-subscription-7546269619304811750
 in 60s
   ```


-- 
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: 594941)
    Time Spent: 40m  (was: 0.5h)

> PubsubTableProviderIT.testSQLSelectsArrayAttributes[0] failing in SQL 
> PostCommit
> --------------------------------------------------------------------------------
>
>                 Key: BEAM-12320
>                 URL: https://issues.apache.org/jira/browse/BEAM-12320
>             Project: Beam
>          Issue Type: Bug
>          Components: dsl-sql, test-failures
>            Reporter: Brian Hulette
>            Assignee: Kyle Weaver
>            Priority: P1
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> Failing since https://ci-beam.apache.org/job/beam_PostCommit_SQL/6260/
> {code}
> java.lang.AssertionError: Did not receive signal on 
> projects/apache-beam-testing/subscriptions/result-subscription--1731534761628855545
>  in 60s
>       at 
> org.apache.beam.sdk.io.gcp.pubsub.TestPubsubSignal.pollForResultForDuration(TestPubsubSignal.java:341)
>       at 
> org.apache.beam.sdk.io.gcp.pubsub.TestPubsubSignal.waitForSuccess(TestPubsubSignal.java:288)
>       at 
> org.apache.beam.sdk.extensions.sql.meta.provider.pubsub.PubsubTableProviderIT.testSQLSelectsArrayAttributes(PubsubTableProviderIT.java:256)
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to