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

Module busted.runner not found for KONG_VERSION=2.5.0 #188

Closed
dzmitry-kankalovich opened this issue Aug 10, 2021 · 8 comments
Closed

Module busted.runner not found for KONG_VERSION=2.5.0 #188

dzmitry-kankalovich opened this issue Aug 10, 2021 · 8 comments

Comments

@dzmitry-kankalovich
Copy link

Exactly the same as in #94 but for version 2.5.0:

Creating kong-pongo_kong_run ... done

Stopping after installing dependencies for kong-plugin-myplugin 0.1.0-1

Kong version: 2.5.0
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:47: in function <init_worker_by_lua:45>
        [C]: in function 'xpcall'
        init_worker_by_lua:54: in function <init_worker_by_lua:52>
ERROR: 1
@dzmitry-kankalovich
Copy link
Author

Workaround so far:

KONG_VERSION="2.4.x" pongo run

@dzmitry-kankalovich dzmitry-kankalovich changed the title Module busted.runner not found Module busted.runner not found for KONG_VERSION=2.5.0 Aug 10, 2021
@Tieske
Copy link
Member

Tieske commented Aug 11, 2021

It works for me locally? What environment are you using? OS, Docker version, etc

@dzmitry-kankalovich
Copy link
Author

macOS Big Sur 11.2.3 with

% docker --version
Docker version 20.10.7, build f0df350

Not sure what else to think about, my understanding was that pongo run does everything in docker, so my env shouldn't matter that much?

@Tieske
Copy link
Member

Tieske commented Aug 12, 2021

there's a difference between "should" and "reality" unfortunately.

If you clear the cached images and rebuild it, are there any errors in the build log?

@Tieske
Copy link
Member

Tieske commented Aug 20, 2021

@dzmitry-kankalovich any update? anything in the build log/output?

@dzmitry-kankalovich
Copy link
Author

@Tieske sorry, I've just moved forward with the workaround, since 2.5.0 is not essential for what I need.

@Tieske
Copy link
Member

Tieske commented Aug 27, 2021

@dzmitry-kankalovich any chance you can run again on 2.5 and share the build logs?

@Tieske
Copy link
Member

Tieske commented Dec 20, 2021

typically this is an image build failure, see #241

@Tieske Tieske closed this as completed Dec 20, 2021
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

2 participants