wg / wrk

Modern HTTP benchmarking tool
Other
38.12k stars 2.95k forks source link

wrk 4.2.0 regression test failed with luajit 2.1.0-beta3-20230416.4 #516

Open chenrui333 opened 1 year ago

chenrui333 commented 1 year ago

👋 while trying to upgrade luajit to the latest, 2.1.0-beta3-20230416.4, we found out some regression test failure with wrk 4.2.0

  ==> Testing wrk
  ==> /home/linuxbrew/.linuxbrew/Cellar/wrk/4.2.0/bin/wrk -c 1 -t 1 -d 1 https://example.com/
  PANIC: unprotected error in call to Lua API ([string "wrk"]:0: attempt to call field 'lookup' (a nil value))

relates to https://github.com/Homebrew/homebrew-core/pull/128536

carlocab commented 1 year ago

For reference, this is LuaJIT built from commit LuaJIT/LuaJIT@1c279127050e86e99970100e9c42e0f09cd54ab7.

We didn’t see this error with LuaJIT/LuaJIT@505e2c03de35e2718eef0d2d3660712e06dadf1f.

JekRock commented 1 year ago

I'm getting the same error on MacOS

wjiec commented 1 year ago

Any progress? same problem

gerhard commented 1 year ago

FWIW, brew reinstall luajit fixed it for me.