You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/09/19 06:24:32 UTC
[GitHub] [apisix] adugeek opened a new issue #5102: request help: Set environment variable failed
adugeek opened a new issue #5102:
URL: https://github.com/apache/apisix/issues/5102
### Issue description
In this pr: https://github.com/apache/apisix/pull/4880/
I had set environment variable
+ KUBERNETES_CLIENT_TOKEN
+ KUBERNETES_CLIENT_TOKEN_FILE
in test file BEGIN
and ,It's work fine but [**CI Centos7 / run ci on centos7**](https://github.com/apache/apisix/pull/4880/checks?check_run_id=3643480740)
error message is
```text
2021-09-19T05:51:56.3501884Z # Failed test 'TEST 3: use specify parameters - pattern "[error]" should not match any line in error.log but matches line "2021/09/19 05:51:55 [error] 20603#20603: init_worker_by_lua error: /apisix/apisix/discovery/k8s.lua:698: not found environment variable KUBERNETES_CLIENT_TOKEN" (req 0)
```
Someone can help ? TKS
### Environment
- apisix version (cmd: `apisix version`):
- OS (cmd: `uname -a`):
- OpenResty / Nginx version (cmd: `nginx -V` or `openresty -V`):
- etcd version, if have (cmd: run `curl http://127.0.0.1:9090/v1/server_info` to get the info from server-info API):
- apisix-dashboard version, if have:
- the plugin runner version, if the issue is about a plugin runner (cmd: depended on the kind of runner):
- luarocks version, if the issue is about installation (cmd: `luarocks --version`):
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] adugeek closed issue #5102: request help: Set environment variable failed
Posted by GitBox <gi...@apache.org>.
adugeek closed issue #5102:
URL: https://github.com/apache/apisix/issues/5102
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] adugeek commented on issue #5102: request help: Set environment variable failed
Posted by GitBox <gi...@apache.org>.
adugeek commented on issue #5102:
URL: https://github.com/apache/apisix/issues/5102#issuecomment-922464195
TKS.
I had update CenOS Ci Workflow and mount /tmp:/tmp into docker. It's work fine.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] spacewander commented on issue #5102: request help: Set environment variable failed
Posted by GitBox <gi...@apache.org>.
spacewander commented on issue #5102:
URL: https://github.com/apache/apisix/issues/5102#issuecomment-922458012
The CentOS CI runs tests inside a docker. So it can't access the token file.
Maybe we can skip the test when it is running inside CentOS? We can do it like this: https://github.com/apache/apisix/blob/46cabd6b9e1e76baf27c1f153e02ad9127894abe/t/plugin/gzip.t#L23
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org