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

fix: run real fedimint-ln-gateway tests #4388

Merged
merged 2 commits into from
Feb 22, 2024

Conversation

bradleystachurski
Copy link
Member

@bradleystachurski bradleystachurski commented Feb 21, 2024

🙈

dpc
dpc previously approved these changes Feb 22, 2024
@@ -44,7 +44,8 @@ function run_tests() {
-E 'package(fedimint-ln-tests)'
cargo nextest run --locked --workspace --all-targets \
${CARGO_PROFILE:+--cargo-profile ${CARGO_PROFILE}} ${CARGO_PROFILE:+--profile ${CARGO_PROFILE}} \
${TEST_ARGS_SERIALIZED} 'package(ln-gateway)'
Copy link
Contributor

Choose a reason for hiding this comment

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

So was this a no-op?

Copy link
Member Author

Choose a reason for hiding this comment

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

Correct 👍

justinmoon
justinmoon previously approved these changes Feb 22, 2024
@bradleystachurski bradleystachurski added this pull request to the merge queue Feb 22, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 22, 2024
@bradleystachurski
Copy link
Member Author

Hmm, odd this passed the PR CI but failed the merge queue

104719   │ 2024-02-22T14:07:40.2486496Z 00:05:48      Summary [  72.254s] 8/20 tests run: 7 passed, 1 failed, 0 skipped
104720   │ 2024-02-22T14:07:40.2486964Z 00:05:48         FAIL [  33.834s] fedimint-ln-gateway::gatewayd-integration-tests test_gateway_can_pay_ldk_node

More details

104635   │ 2024-02-22T14:07:40.2444588Z 00:05:21 thread 'test_gateway_can_pay_ldk_node' panicked at gateway/ln-gateway/tests/integration_tests.rs:187:13:
104636   │ 2024-02-22T14:07:40.2447898Z 00:05:21 assertion failed: `Canceled { error: OutgoingPaymentError { error_type: LightningPayError { lightning_error: FailedPayment { fail
        │ ure_reason: "FailureReasonNoRoute" } }, contract_id: bec4bb4907c5469edc8453946401ff15c6d5c80f3429967cb0662cb75dd24644, contract: Some(OutgoingContractAccount { amount:
        │  Amount { msats: 250000 }, contract: OutgoingContract { hash: e569bd88a54133c2b6901afaced1ebc4377e6969a11fff0fa93a80974f474363, gateway_key: PublicKey(18fde48e4acba6f4
        │ 0e1e6c70eaefd04c8f716ee50117968b81c5a91797ea875c1b3354bc00f8739085e4b4a8a9628dfa7b5eefd77ef063e4de0e8d32fb34870c), timelock: 758, user_key: PublicKey(25322123f8cdef54e
        │ 64ed7b5e6e7d438df45fdf4077284b0b0dd5d9661e7c51a267409a4fdd48931956c69cc9a705d84c305c4f593cbaf4ee3db3101501195bf), cancelled: false } }) } }` does not match `GatewayExt
        │ PayStates::Preimage { .. }`

@bradleystachurski bradleystachurski added this pull request to the merge queue Feb 22, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 22, 2024
@bradleystachurski
Copy link
Member Author

Yeah, this is a flakey test. Passed the 1x test but failed the 5x in merge queue.

79736   │ 2024-02-22T15:23:31.7562175Z fedimint-test-all-ci> 00:05:34      Summary [  71.880s] 8/20 tests run: 7 passed, 1 failed, 0 skipped
79737   │ 2024-02-22T15:23:31.7562655Z fedimint-test-all-ci> 00:05:34         FAIL [  33.647s] fedimint-ln-gateway::gatewayd-integration-tests test_gateway_can_pay_ldk_node

I'm going to disable that test

elsirion
elsirion previously approved these changes Feb 22, 2024
Copy link
Contributor

@elsirion elsirion left a comment

Choose a reason for hiding this comment

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

Fiat CI strikes again 🙈

@elsirion elsirion added this pull request to the merge queue Feb 22, 2024
@bradleystachurski
Copy link
Member Author

@elsirion Would be okay if we ignore test_gateway_can_pay_ldk_node so we don't have a bunch of flakes on master? We can remove the #[ignore] in #4354 before merging.

@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 22, 2024
@bradleystachurski bradleystachurski requested a review from a team as a code owner February 22, 2024 15:53
@m1sterc001guy
Copy link
Contributor

I can help debug the flaky ldk-node test

@bradleystachurski bradleystachurski added this pull request to the merge queue Feb 22, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Feb 22, 2024
@bradleystachurski
Copy link
Member Author

removed this pull request from the merge queue due to no response for status checks

We may need to increase the status check timeout: https://github.com/orgs/community/discussions/47293

Can someone with permissions try increasing?

@bradleystachurski
Copy link
Member Author

Can someone with permissions try increasing?

Actually let's hold off increasing. Seeing other PRs fail with the same no response error, so might be a clogged merge queue.

@elsirion elsirion added this pull request to the merge queue Feb 22, 2024
Merged via the queue into fedimint:master with commit bb83566 Feb 22, 2024
20 checks passed
@bradleystachurski bradleystachurski deleted the fix-ln-gateway-tests branch February 22, 2024 21:06
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.

None yet

5 participants