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/02/08 14:29:50 UTC

[GitHub] [apisix] Yiyiyimu opened a new issue #3561: bug: test case unstable: t/plugin/prometheus.t

Yiyiyimu opened a new issue #3561:
URL: https://github.com/apache/apisix/issues/3561


   ### Issue description
   
   Test failed in CI.
   
   ```
   Error: led test 'TEST 45: set route with key-auth enabled for consumer metrics - pattern "[error]" should not match any line in error.log but matches line "2021/02/08 13:52:26 [error] 21196#21196: *3795 [lua] config_yaml.lua:66: failed to fetch /home/runner/work/apisix/apisix/t/servroot/conf/apisix.yaml attributes: cannot obtain information from file '/home/runner/work/apisix/apisix/t/servroot/conf/apisix.yaml': No such file or directory, context: ngx.timer" (req 0)
   # 2021/02/08 13:52:26 [error] 21195#21195: *3798 [lua] config_yaml.lua:66: failed to fetch /home/runner/work/apisix/apisix/t/servroot/conf/apisix.yaml attributes: cannot obtain information from file '/home/runner/work/apisix/apisix/t/servroot/conf/apisix.yaml': No such file or directory, context: ngx.timer
   # 2021/02/08 13:52:26 [info] 21253#21253: *3781 [lua] plugin.lua:547: checker(): check plugin schema, name: prometheus, configurations: {}, context: ngx.timer
   # 2021/02/08 13:52:26 [info] 21253#21253: *3781 [lua] service.lua:88: filter(): filter service: {"value":{"update_time":1612792326,"plugins":{"prometheus":{}},"upstream":{"parent":{"value":"table: 0x7f0dbfc7bc90","clean_handlers":{},"modifiedIndex":8392,"has_domain":false,"key":"\/apisix\/services\/1","createdIndex":8392},"type":"roundrobin","hash_on":"vars","scheme":"http","nodes":[{"host":"127.0.0.1","port":1980,"weight":1}],"pass_host":"pass"},"id":"1","create_time":1612792326},"clean_handlers":"table: 0x7f0dbf867e98","modifiedIndex":8392,"has_domain":false,"key":"\/apisix\/services\/1","createdIndex":8392}, context: ngx.timer
   # 2021/02/08 13:52:26 [info] 21253#21253: *3779 [lua] plugin.lua:547: checker(): check plugin schema, name: prometheus, configurations: {}, context: ngx.timer
   # 2021/02/08 13:52:26 [info] 21253#21253: *3783 [lua] v3.lua:34: _request_uri(): v3 request uri: http://127.0.0.1:2379/v3/kv/put, timeout: 30, context: ngx.timer
   # 2021/02/08 13:52:26 [info] 21253#21253: *3775 [lua] v3.lua:563: request_chunk(): http request method: POST path: /v3/watch body: {"create_request":{"range_end":"L2FwaXNpeC9yb3V0ZXQ=","start_revision":8459,"key":"L2FwaXNpeC9yb3V0ZXM="}} query: nil, context: ngx.timer
   # 2021/02/08 13:52:26 [info] 21253#21253: *3789 [lua] v3.lua:563: request_chunk(): http request method: POST path: /v3/watch body: {"create_request":{"range_end":"L2FwaXNpeC9jb25zdW1lcnQ=","start_revision":8459,"key":"L2FwaXNpeC9jb25zdW1lcnM="}} query: nil, context: ngx.timer
   # 2021/02/08 13:52:26 [info] 21253#21253: *3787 [lua] v3.lua:563: request_chunk(): http request method: POST path: /v3/watch body: {"create_request":{"range_end":"L2FwaXNpeC9wbHVnaW5fbWV0YWRhdGI=","start_revision":8459,"key":"L2FwaXNpeC9wbHVnaW5fbWV0YWRhdGE="}} query: nil, context: ngx.timer
   # 2021/02/08 13:52:26 [info] 21253#21253: *3777 [lua] v3.lua:563: request_chunk(): http request method: POST path: /v3/watch body: {"create_request":{"range_end":"L2FwaXNpeC9zc20=","start_revision":8459,"key":"L2FwaXNpeC9zc2w="}} query: nil, context: ngx.timer
   # '
   #   at /home/runner/work/apisix/apisix/test-nginx/lib/Test/Nginx/Socket.pm line 1280.
   ```
   
   ### Environment
   
   * apisix version (cmd: `apisix version`): master
   * OS (cmd: `uname -a`): ubunt-18.04
   * OpenResty / Nginx version (cmd: `nginx -V` or `openresty -V`): 1.15
   * 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:
   
   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] spacewander closed issue #3561: test unstable: t/plugin/prometheus.t

Posted by GitBox <gi...@apache.org>.
spacewander closed issue #3561:
URL: https://github.com/apache/apisix/issues/3561


   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org