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

TestVerificationSAS js/js flake #109

Closed
kegsay opened this issue Jul 8, 2024 · 2 comments
Closed

TestVerificationSAS js/js flake #109

kegsay opened this issue Jul 8, 2024 · 2 comments

Comments

@kegsay
Copy link
Member

kegsay commented Jul 8, 2024

It looks like it never transitions to a new stage, timing out after 5s.

Run:

      verification_test.go:80: Verifier (SENDER) js JHERMJOZME
      verification_test.go:81: Verifiee (RECEIVER) js OTHER_DEVICE
      verification_test.go:89: [RECEIVER] VerificationStageRequestedReceiver: {TxnID:62cdb927beae43e68f2806fa924103fe SenderUserID:@user-384-alice:hs1 SenderDeviceID:JHERMJOZME ReceiverUserID:@user-384-alice:hs1 ReceiverDeviceID:OTHER_DEVICE}
      verification_test.go:117: [SENDER]   VerificationStageRequested: {TxnID:62cdb927beae43e68f2806fa924103fe SenderUserID:@user-384-alice:hs1 SenderDeviceID: ReceiverUserID:@user-384-alice:hs1 ReceiverDeviceID:JHERMJOZME}
      verification_test.go:92: [RECEIVER] VerificationStageRequested: {TxnID:62cdb927beae43e68f2806fa924103fe SenderUserID:@user-384-alice:hs1 SenderDeviceID:JHERMJOZME ReceiverUserID:@user-384-alice:hs1 ReceiverDeviceID:OTHER_DEVICE}
      verification_test.go:94: [RECEIVER] VerificationStageReady
      verification_test.go:139: timed out after 5s

Another:

       verification_test.go:80: Verifier (SENDER) js TBGJXVERGM
      verification_test.go:81: Verifiee (RECEIVER) js OTHER_DEVICE
      verification_test.go:89: [RECEIVER] VerificationStageRequestedReceiver: {TxnID:e41d7cd3e04f4d128667a0f6b4bdada8 SenderUserID:@user-158-alice:hs1 SenderDeviceID:TBGJXVERGM ReceiverUserID:@user-158-alice:hs1 ReceiverDeviceID:OTHER_DEVICE}
      verification_test.go:92: [RECEIVER] VerificationStageRequested: {TxnID:e41d7cd3e04f4d128667a0f6b4bdada8 SenderUserID:@user-158-alice:hs1 SenderDeviceID:TBGJXVERGM ReceiverUserID:@user-158-alice:hs1 ReceiverDeviceID:OTHER_DEVICE}
      verification_test.go:94: [RECEIVER] VerificationStageReady
      verification_test.go:117: [SENDER]   VerificationStageRequested: {TxnID:e41d7cd3e04f4d128667a0f6b4bdada8 SenderUserID:@user-158-alice:hs1 SenderDeviceID: ReceiverUserID:@user-158-alice:hs1 ReceiverDeviceID:TBGJXVERGM}
      verification_test.go:139: timed out after 5s

Intended:

      verification_test.go:80: Verifier (SENDER) js HKWKUZTMQO
      verification_test.go:81: Verifiee (RECEIVER) js OTHER_DEVICE
      verification_test.go:117: [SENDER]   VerificationStageRequested: {TxnID:0ba80edc9ae5492ea561185db4433481 SenderUserID:@user-158-alice:hs1 SenderDeviceID: ReceiverUserID:@user-158-alice:hs1 ReceiverDeviceID:HKWKUZTMQO}
      verification_test.go:89: [RECEIVER] VerificationStageRequestedReceiver: {TxnID:0ba80edc9ae5492ea561185db4433481 SenderUserID:@user-158-alice:hs1 SenderDeviceID:HKWKUZTMQO ReceiverUserID:@user-158-alice:hs1 ReceiverDeviceID:OTHER_DEVICE}
      verification_test.go:92: [RECEIVER] VerificationStageRequested: {TxnID:0ba80edc9ae5492ea561185db4433481 SenderUserID:@user-158-alice:hs1 SenderDeviceID:HKWKUZTMQO ReceiverUserID:@user-158-alice:hs1 ReceiverDeviceID:OTHER_DEVICE}
      verification_test.go:94: [RECEIVER] VerificationStageReady
      verification_test.go:119: [SENDER]   VerificationStageReady: starting m.sas.v1
      verification_test.go:128: [SENDER]   VerificationStageStart
      verification_test.go:102: [RECEIVER] VerificationStageStart
      verification_test.go:96: [RECEIVER] VerificationStageTransitioned
      verification_test.go:122: [SENDER]   VerificationStageTransitioned
      verification_test.go:45: [SENDER]   [⏰ 💡 ✈️ ⏰ 🔑 🎅 ✈️]
      verification_test.go:46: [RECEIVER] [⏰ 💡 ✈️ ⏰ 🔑 🎅 ✈️]
      verification_test.go:48: ...it's a match!
      verification_test.go:131: [SENDER]   VerificationStageDone
      verification_test.go:131: [SENDER]   VerificationStageDone
      verification_test.go:105: [RECEIVER] VerificationStageDone

Logs show no to-device msg arriving.

@kegsay
Copy link
Member Author

kegsay commented Jul 9, 2024

Only seen on the tab PR so possibly another form of #111 ?

@kegsay
Copy link
Member Author

kegsay commented Jul 9, 2024

Closing for #111 on the assumption it is.

@kegsay kegsay closed this as completed Jul 9, 2024
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

No branches or pull requests

1 participant