Skip to content

Flaky test in the CI #1414

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

Closed
rodrigo-o opened this issue Apr 1, 2025 · 1 comment
Closed

Flaky test in the CI #1414

rodrigo-o opened this issue Apr 1, 2025 · 1 comment
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@rodrigo-o
Copy link
Collaborator

We have a flaky test in the CI related to a - operation that recieves nil some of the times.

Error: 18:16:46.021 [error] GenServer LambdaEthereumConsensus.Libp2pPort terminating
** (ArithmeticError) bad argument in arithmetic expression
    (erts 14.2) :erlang.-(nil, 1743531405)
    lib/lambda_ethereum_consensus/fork_choice/fork_choice.ex:323: Patch.Mock.Original.For.LambdaEthereumConsensus.ForkChoice.compute_current_slot/2
    (patch 0.15.0) lib/patch/mock/server.ex:99: Patch.Mock.Server.delegate/3
    (lambda_ethereum_consensus 0.1.0) lib/lambda_ethereum_consensus/fork_choice/handlers.ex:43: LambdaEthereumConsensus.ForkChoice.Handlers.on_tick/2
    lib/lambda_ethereum_consensus/fork_choice/fork_choice.ex:116: Patch.Mock.Original.For.LambdaEthereumConsensus.ForkChoice.on_tick/2
    (patch 0.15.0) lib/patch/mock/server.ex:99: Patch.Mock.Server.delegate/3
    (lambda_ethereum_consensus 0.1.0) lib/libp2p_port.ex:819: LambdaEthereumConsensus.Libp2pPort.on_tick/2
    (lambda_ethereum_consensus 0.1.0) lib/libp2p_port.ex:527: LambdaEthereumConsensus.Libp2pPort.handle_info/2
    (stdlib 5.2) gen_server.erl:1095: :gen_server.try_handle_info/3
    (stdlib 5.2) gen_server.erl:1183: :gen_server.handle_msg/6
    (stdlib 5.2) proc_lib.erl:241: :proc_lib.init_p_do_apply/3
Last message: :on_tick

Here is an example run: https://github.com/lambdaclass/lambda_ethereum_consensus/actions/runs/14202677885/attempts/2

@rodrigo-o rodrigo-o added bug Something isn't working good first issue Good for newcomers labels Apr 1, 2025
@rodrigo-o
Copy link
Collaborator Author

This didn't happened for quite a while. I'm going to close it and monitor if it happens again to repon the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
Development

No branches or pull requests

1 participant