Open rkazak opened 2 years ago
I cannot reproduce. I ran pongo run
from the template plugin repo (https://github.com/Kong/kong-plugin)
This is on OSX. What environment are you using?
Yes I am on OSX Intel(12.2.1). I am using Rancher Desktop with the Docker under pinnings.
Same here. Looks like something changed in kong
image in version 2.5.0. Steps to reproduce:
kong-pongo
master (or 1.0.0
tag, doesn't matter)KONG_VERSION=2.4.1 ./pongo.sh build
- no error (version 2.4.1
)KONG_VERSION=2.5.0 ./pongo.sh build
- error as in description (version 2.5.0
)
If you add python3-dev
in Dockerfile
- error dissapearsI am experiencing this behaviour as well. Intel, MacOS 12.3.1, using Rancher Desktop, using the template plugin repo (as well as my project repo, which had worked in its currently state within the past couple of weeks).
I have tried with different versions of kong as suggested above but it does not change the behaviour for me.
here's a branch: https://github.com/Kong/kong-pongo/pull/283 that fixes the python issue (which also caused httpie
not to be installed)
wrt the cqueues
warnings; those are notorious. But have never lead to any issues afaik.
I cannot reproduce the test failures reported, and they look like a permissions issue. So maybe try fix that?
@dmitrysleptsov @rdrimmie-miovision do you both also have issues running tests, or just get the warnings in the logs? Could you try the linked branch?
@Tieske I also have issues running tests. Just integration tests, unit tests pass fine, same behaviour and permission issue as described in the original post.
I can confirm that the debug branch fixes the python issue in my environment. I see no change in the integration test behaviour.
I tried chmod -r 777 ./servroot
in the project root to address the permissions issue but that had no effect. I'm somewhat new to using kong and plugins for it, so it's entirely likely that was naive. I'll keep digging at it later today or early next week, and if there are any basic "turn it off and on again" type things that come to mind and you can share I'll give those a try too.
Thanks for the help and quick response!
Editing to add a couple troubleshooting details:
pongo down
and pongo clean
before running pongo run
in the kong-plugin projectI presume its permissions, but I frankly suck at unix permissions... so any helkp is appreciated
I was unable to hone in on a specific cause or resolution. As a workaround a colleague sorted out a Vagrant box running Ubuntu in which to run the tests. Near as we can figure, pongo strongly prefers the native linux docker driver, so the quickest path to us moving forward was to do the work in the vm.
pongo strongly prefers the native linux docker driver,
@rdrimmie-miovision what were you using that failed?
2.3 GHz 8-Core Intel Core i9, MacOS 12.3.1, using Rancher Desktop. Reproduced with a fresh clone of the template plugin repo. My setup sounds very similar to yours.
I've never used Rancher myself. But we've seen other problems with claimed docker compatibility before, iirc RHEL uses another container runtime again. Yet in the details that compatibility then fails.
I see the following errors during the initial setup, not sure if these are already addressed?
We do see
However next we see