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

bug: nwaku does not relay lightpush message with peers in the mesh #3369

Open
weboko opened this issue Apr 11, 2025 · 0 comments
Open

bug: nwaku does not relay lightpush message with peers in the mesh #3369

weboko opened this issue Apr 11, 2025 · 0 comments
Labels
bug Something isn't working effort/days Estimated to be completed in a few days, less than a week

Comments

@weboko
Copy link
Contributor

weboko commented Apr 11, 2025

Problem

In interop tests case for pushing 30 messages has hight flakiness due to nwaku

Impact

This most likely has impact on users as if we have random messages being rejected for no reason.
And of course it makes interop not stable.

To reproduce

  1. Checkout in js-waku to weboko/interop-lightpush-bug
  2. Run npm run build
  3. Run cd packages/tests
  4. Run npm run test:node > tmp.log or WAKUNODE_IMAGE="harbor.status.im/wakuorg/nwaku:latest" npm run test:node > tmp.log
  5. Open packages/tests/tmp.log
  6. Find log line DEBUG(core): lightpush failure response - not_published_to_any_peer
  7. Find log line DEBUG(test-cause): nwaku logs with path to logs, located in packages/tests.

OR download logs from waku-org/js-waku#2348

Expected behavior

nwaku must accept LightPush message when has at least one Relay peer.

Screenshots/logs

Logs
DEBUG(test-case): initiating new test case
DEBUG(node-setup): nwaku has peers [
  {
    multiaddr: '/ip4/172.18.243.126/tcp/10802/p2p/16Uiu2HAmPfV3hNoyicFzQVoQkZNw5x2psrRwptKBriiZ4cZ1XXGJ',
    protocols: [ [Object], [Object], [Object], [Object], [Object] ],
    origin: 'UnknownOrigin'
  }
]
DEBUG(node-setup): nwaku has peers [
  {
    multiaddr: '/ip4/172.18.227.39/tcp/53000/p2p/16Uiu2HAky76453UXRHuGNWVpu2Qwj8Up2qXUkfNQ7XNCsdQmF9Xu',
    protocols: [ [Object], [Object], [Object], [Object], [Object] ],
    origin: 'UnknownOrigin'
  }
]
DEBUG(test-case): pushed to  failures:   successes:  16Uiu2HAky76453UXRHuGNWVpu2Qwj8Up2qXUkfNQ7XNCsdQmF9Xu,16Uiu2HAmPfV3hNoyicFzQVoQkZNw5x2psrRwptKBriiZ4cZ1XXGJ  expected successes: 2
DEBUG(test-case): pushed to  failures:   successes:  16Uiu2HAky76453UXRHuGNWVpu2Qwj8Up2qXUkfNQ7XNCsdQmF9Xu,16Uiu2HAmPfV3hNoyicFzQVoQkZNw5x2psrRwptKBriiZ4cZ1XXGJ  expected successes: 2
DEBUG(test-case): pushed to  failures:   successes:  16Uiu2HAky76453UXRHuGNWVpu2Qwj8Up2qXUkfNQ7XNCsdQmF9Xu,16Uiu2HAmPfV3hNoyicFzQVoQkZNw5x2psrRwptKBriiZ4cZ1XXGJ  expected successes: 2
DEBUG(test-case): pushed to  failures:   successes:  16Uiu2HAky76453UXRHuGNWVpu2Qwj8Up2qXUkfNQ7XNCsdQmF9Xu,16Uiu2HAmPfV3hNoyicFzQVoQkZNw5x2psrRwptKBriiZ4cZ1XXGJ  expected successes: 2
DEBUG(test-case): pushed to  failures:   successes:  16Uiu2HAky76453UXRHuGNWVpu2Qwj8Up2qXUkfNQ7XNCsdQmF9Xu,16Uiu2HAmPfV3hNoyicFzQVoQkZNw5x2psrRwptKBriiZ4cZ1XXGJ  expected successes: 2
DEBUG(test-case): pushed to  failures:   successes:  16Uiu2HAky76453UXRHuGNWVpu2Qwj8Up2qXUkfNQ7XNCsdQmF9Xu,16Uiu2HAmPfV3hNoyicFzQVoQkZNw5x2psrRwptKBriiZ4cZ1XXGJ  expected successes: 2
DEBUG(test-case): pushed to  failures:   successes:  16Uiu2HAky76453UXRHuGNWVpu2Qwj8Up2qXUkfNQ7XNCsdQmF9Xu,16Uiu2HAmPfV3hNoyicFzQVoQkZNw5x2psrRwptKBriiZ4cZ1XXGJ  expected successes: 2
DEBUG(test-case): pushed to  failures:   successes:  16Uiu2HAky76453UXRHuGNWVpu2Qwj8Up2qXUkfNQ7XNCsdQmF9Xu,16Uiu2HAmPfV3hNoyicFzQVoQkZNw5x2psrRwptKBriiZ4cZ1XXGJ  expected successes: 2
DEBUG(test-case): pushed to  failures:   successes:  16Uiu2HAky76453UXRHuGNWVpu2Qwj8Up2qXUkfNQ7XNCsdQmF9Xu,16Uiu2HAmPfV3hNoyicFzQVoQkZNw5x2psrRwptKBriiZ4cZ1XXGJ  expected successes: 2
DEBUG(test-case): pushed to  failures:   successes:  16Uiu2HAky76453UXRHuGNWVpu2Qwj8Up2qXUkfNQ7XNCsdQmF9Xu,16Uiu2HAmPfV3hNoyicFzQVoQkZNw5x2psrRwptKBriiZ4cZ1XXGJ  expected successes: 2
DEBUG(test-case): pushed to  failures:   successes:  16Uiu2HAky76453UXRHuGNWVpu2Qwj8Up2qXUkfNQ7XNCsdQmF9Xu,16Uiu2HAmPfV3hNoyicFzQVoQkZNw5x2psrRwptKBriiZ4cZ1XXGJ  expected successes: 2
DEBUG(test-case): pushed to  failures:   successes:  16Uiu2HAky76453UXRHuGNWVpu2Qwj8Up2qXUkfNQ7XNCsdQmF9Xu,16Uiu2HAmPfV3hNoyicFzQVoQkZNw5x2psrRwptKBriiZ4cZ1XXGJ  expected successes: 2
DEBUG(test-case): pushed to  failures:   successes:  16Uiu2HAky76453UXRHuGNWVpu2Qwj8Up2qXUkfNQ7XNCsdQmF9Xu,16Uiu2HAmPfV3hNoyicFzQVoQkZNw5x2psrRwptKBriiZ4cZ1XXGJ  expected successes: 2
DEBUG(test-case): pushed to  failures:   successes:  16Uiu2HAky76453UXRHuGNWVpu2Qwj8Up2qXUkfNQ7XNCsdQmF9Xu,16Uiu2HAmPfV3hNoyicFzQVoQkZNw5x2psrRwptKBriiZ4cZ1XXGJ  expected successes: 2
DEBUG(test-case): pushed to  failures:   successes:  16Uiu2HAky76453UXRHuGNWVpu2Qwj8Up2qXUkfNQ7XNCsdQmF9Xu,16Uiu2HAmPfV3hNoyicFzQVoQkZNw5x2psrRwptKBriiZ4cZ1XXGJ  expected successes: 2
DEBUG(test-case): pushed to  failures:   successes:  16Uiu2HAky76453UXRHuGNWVpu2Qwj8Up2qXUkfNQ7XNCsdQmF9Xu,16Uiu2HAmPfV3hNoyicFzQVoQkZNw5x2psrRwptKBriiZ4cZ1XXGJ  expected successes: 2
DEBUG(test-case): pushed to  failures:   successes:  16Uiu2HAky76453UXRHuGNWVpu2Qwj8Up2qXUkfNQ7XNCsdQmF9Xu,16Uiu2HAmPfV3hNoyicFzQVoQkZNw5x2psrRwptKBriiZ4cZ1XXGJ  expected successes: 2
DEBUG(test-case): pushed to  failures:   successes:  16Uiu2HAky76453UXRHuGNWVpu2Qwj8Up2qXUkfNQ7XNCsdQmF9Xu,16Uiu2HAmPfV3hNoyicFzQVoQkZNw5x2psrRwptKBriiZ4cZ1XXGJ  expected successes: 2
DEBUG(test-case): pushed to  failures:   successes:  16Uiu2HAky76453UXRHuGNWVpu2Qwj8Up2qXUkfNQ7XNCsdQmF9Xu,16Uiu2HAmPfV3hNoyicFzQVoQkZNw5x2psrRwptKBriiZ4cZ1XXGJ  expected successes: 2
DEBUG(test-case): pushed to  failures:   successes:  16Uiu2HAky76453UXRHuGNWVpu2Qwj8Up2qXUkfNQ7XNCsdQmF9Xu,16Uiu2HAmPfV3hNoyicFzQVoQkZNw5x2psrRwptKBriiZ4cZ1XXGJ  expected successes: 2
DEBUG(test-case): pushed to  failures:   successes:  16Uiu2HAky76453UXRHuGNWVpu2Qwj8Up2qXUkfNQ7XNCsdQmF9Xu,16Uiu2HAmPfV3hNoyicFzQVoQkZNw5x2psrRwptKBriiZ4cZ1XXGJ  expected successes: 2
DEBUG(test-case): pushed to  failures:   successes:  16Uiu2HAky76453UXRHuGNWVpu2Qwj8Up2qXUkfNQ7XNCsdQmF9Xu,16Uiu2HAmPfV3hNoyicFzQVoQkZNw5x2psrRwptKBriiZ4cZ1XXGJ  expected successes: 2
DEBUG(test-case): pushed to  failures:   successes:  16Uiu2HAky76453UXRHuGNWVpu2Qwj8Up2qXUkfNQ7XNCsdQmF9Xu,16Uiu2HAmPfV3hNoyicFzQVoQkZNw5x2psrRwptKBriiZ4cZ1XXGJ  expected successes: 2
DEBUG(test-case): pushed to  failures:   successes:  16Uiu2HAky76453UXRHuGNWVpu2Qwj8Up2qXUkfNQ7XNCsdQmF9Xu,16Uiu2HAmPfV3hNoyicFzQVoQkZNw5x2psrRwptKBriiZ4cZ1XXGJ  expected successes: 2
DEBUG(test-case): pushed to  failures:   successes:  16Uiu2HAky76453UXRHuGNWVpu2Qwj8Up2qXUkfNQ7XNCsdQmF9Xu,16Uiu2HAmPfV3hNoyicFzQVoQkZNw5x2psrRwptKBriiZ4cZ1XXGJ  expected successes: 2
DEBUG(core): lightpush failure response -  not_published_to_any_peer
DEBUG(test-case): pushed to  failures: [object Object]  successes:  16Uiu2HAky76453UXRHuGNWVpu2Qwj8Up2qXUkfNQ7XNCsdQmF9Xu  expected successes: 2
DEBUG(test-cause): nwaku has peers [
  {
    multiaddr: '/ip4/172.18.243.126/tcp/10802/p2p/16Uiu2HAmPfV3hNoyicFzQVoQkZNw5x2psrRwptKBriiZ4cZ1XXGJ',
    protocols: [ [Object], [Object], [Object], [Object], [Object] ],
    origin: 'UnknownOrigin'
  }
]
DEBUG(test-cause): nwaku has peers [
  {
    multiaddr: '/ip4/172.18.227.39/tcp/53000/p2p/16Uiu2HAky76453UXRHuGNWVpu2Qwj8Up2qXUkfNQ7XNCsdQmF9Xu',
    protocols: [ [Object], [Object], [Object], [Object], [Object] ],
    origin: 'UnknownOrigin'
  }
]
DEBUG(test-case): initiating new test case

nwaku version/commit hash

nwaku master - https://github.com/waku-org/nwaku/commits/master/

Additional context

N/A

@weboko weboko added the bug Something isn't working label Apr 11, 2025
@Ivansete-status Ivansete-status moved this to Priority in Waku Apr 11, 2025
@Ivansete-status Ivansete-status added the effort/days Estimated to be completed in a few days, less than a week label Apr 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working effort/days Estimated to be completed in a few days, less than a week
Projects
Status: Priority
Development

No branches or pull requests

2 participants