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/04 03:33:15 UTC

[GitHub] [apisix] Yiyiyimu opened a new issue #3515: bug: chaos test not stable

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


   ### Issue description
   
   Sometimes route set would succeed ( return 200 ) but would not take effect. So when try to access the route, it would return 404 not found. The 404 would be kept returned in trials in the following 3 seconds, so that seems to have no relation with possible network delay
   
   See action: https://github.com/apache/apisix/runs/1827571615
   ```
   === RUN   TestGetSuccessWhenEtcdKilled
       printer.go:54: PUT http://127.0.0.1:9080/apisix/admin/routes/1
       printer.go:54: GET http://127.0.0.1:9080/hello
       reporter.go:23: 
           	Error Trace:	reporter.go:23
           	            				chain.go:21
           	            				response.go:585
           	            				response.go:151
           	            				utils.go:70
           	            				utils.go:104
           	            				kill-etcd_test.go:74
           	Error:      	
           	            	expected status equal to:
           	            	 "200 OK"
           	            	
           	            	but got:
           	            	 "404 Not Found"
           	Test:       	TestGetSuccessWhenEtcdKilled
   ```
   


----------------------------------------------------------------
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 #3515: test unstable: t/chaos/kill_etcd_test.go

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


   


----------------------------------------------------------------
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] Yiyiyimu commented on issue #3515: bug: chaos test not stable

Posted by GitBox <gi...@apache.org>.
Yiyiyimu commented on issue #3515:
URL: https://github.com/apache/apisix/issues/3515#issuecomment-773004230


   Will try to add debug log to get `/apisix/admin/routes` when 404 occurs


----------------------------------------------------------------
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 commented on issue #3515: test unstable: t/chaos/kill_etcd_test.go

Posted by GitBox <gi...@apache.org>.
spacewander commented on issue #3515:
URL: https://github.com/apache/apisix/issues/3515#issuecomment-785515732


   Consider solved


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