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

Kong 2.1.2 CE, ERROR: bin/busted:58: module 'busted.runner' not found #94

Closed
GordonMcKinney opened this issue Aug 13, 2020 · 5 comments
Closed

Comments

@GordonMcKinney
Copy link

I receive the following error:

Kong version: 2.1.2
ERROR: bin/busted:58: module 'busted.runner' not found:No LuaRocks module found for busted.runner
	no field package.preload['busted.runner']
	no file '/usr/local/openresty/site/lualib/busted/runner.ljbc'
	no file '/usr/local/openresty/site/lualib/busted/runner/init.ljbc'
	no file '/usr/local/openresty/lualib/busted/runner.ljbc'
	no file '/usr/local/openresty/lualib/busted/runner/init.ljbc'
	no file '/usr/local/openresty/site/lualib/busted/runner.lua'
	no file '/usr/local/openresty/site/lualib/busted/runner/init.lua'
	no file '/usr/local/openresty/lualib/busted/runner.lua'
	no file '/usr/local/openresty/lualib/busted/runner/init.lua'
	no file '/kong-plugin/busted/runner.lua'
	no file '/kong-plugin/busted/runner/init.lua'
	no file './busted/runner.lua'
	no file '/usr/local/openresty/luajit/share/luajit-2.1.0-beta3/busted/runner.lua'
	no file '/usr/local/share/lua/5.1/busted/runner.lua'
	no file '/usr/local/share/lua/5.1/busted/runner/init.lua'
	no file '/usr/local/openresty/luajit/share/lua/5.1/busted/runner.lua'
	no file '/usr/local/openresty/luajit/share/lua/5.1/busted/runner/init.lua'
	no file '/root/.luarocks/share/lua/5.1/busted/runner.lua'
	no file '/root/.luarocks/share/lua/5.1/busted/runner/init.lua'
	no file '/usr/local/openresty/site/lualib/busted/runner.so'
	no file '/usr/local/openresty/lualib/busted/runner.so'
	no file './busted/runner.so'
	no file '/usr/local/lib/lua/5.1/busted/runner.so'
	no file '/usr/local/openresty/luajit/lib/lua/5.1/busted/runner.so'
	no file '/usr/local/lib/lua/5.1/loadall.so'
	no file '/root/.luarocks/lib/lua/5.1/busted/runner.so'
	no file '/usr/local/openresty/site/lualib/busted.so'
	no file '/usr/local/openresty/lualib/busted.so'
	no file './busted.so'
	no file '/usr/local/lib/lua/5.1/busted.so'
	no file '/usr/local/openresty/luajit/lib/lua/5.1/busted.so'
	no file '/usr/local/lib/lua/5.1/loadall.so'
	no file '/root/.luarocks/lib/lua/5.1/busted.so'
stack traceback:
	bin/busted:58: in function 'file_gen'
	init_worker_by_lua:49: in function <init_worker_by_lua:47>
	[C]: in function 'xpcall'
	init_worker_by_lua:56: in function <init_worker_by_lua:54>
@GordonMcKinney GordonMcKinney changed the title Pongo /w Kong 2.1.2 CE: ERROR: bin/busted:58: module 'busted.runner' not found Kong 2.1.2 CE, ERROR: bin/busted:58: module 'busted.runner' not found Aug 13, 2020
@hutchic
Copy link
Contributor

hutchic commented Aug 13, 2020

2.1.2 release is imminent / currently running through CI. Could you try with 2.1.1 in the meantime KONG_VERSION=2.1.1

@GordonMcKinney
Copy link
Author

I receive pongo test failures for my unit tests with 2.1.1 and 2.1.0 but not 2.0.5. I'm hoping 2.1.2 is business as usual. I'll RCA concurrently while I wait for the release.

Can you ping this thread once 2.1.2 is available? TIA

@GordonMcKinney
Copy link
Author

I have resolved my issue. Thanks for the quick responses!

@Tieske
Copy link
Member

Tieske commented Aug 14, 2020

I removed the 2.1.1 commits and force pushed the update to master.

@GordonMcKinney how did you resolve the issue? was the problem with the 2.1.1, or was it something on your end?

@Tieske
Copy link
Member

Tieske commented Dec 20, 2021

typically this is an image build failure, see #241

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

3 participants