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 2020/07/18 15:03:11 UTC

[GitHub] [incubator-apisix] Yiyiyimu opened a new issue #1866: request help: all $ENV{TEST_NGINX_USE_HUP} hang up in test file

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


   ### Issue description
   When running `make test`, each test file with head of 
   ```
   BEGIN {
       if ($ENV{TEST_NGINX_CHECK_LEAK}) {
           $SkipReason = "unavailable for the hup tests";
   
       } else {
           $ENV{TEST_NGINX_USE_HUP} = 1;
           undef $ENV{TEST_NGINX_USE_STAP};
       }
   }
   ```
   would hang up and show
   ```
   TEST 2: wrong type of integer - waiting 0.675 sec for nginx to reload the configuration
   TEST 2: wrong type of integer - waiting 0.825 sec for nginx to reload the configuration
   TEST 2: wrong type of integer - waiting 0.99 sec for nginx to reload the configuration
   TEST 2: wrong type of integer - waiting 1 sec for nginx to reload the configuration
   TEST 2: wrong type of integer - waiting 1 sec for nginx to reload the configuration
   TEST 2: wrong type of integer - waiting 1 sec for nginx to reload the configuration
   ```
   
   It shows there is something wrong when nginx server reloading its configurations without a full restart, but how could I know which place could cause this issue?
   
   Also, I wondered for what kind of test files do we need to test if it could work fine without full restart? I failed to find clues on this problem.
   
   ### Environment
   
   * apisix version: master
   * OS: Ubuntu on Windows (WSL2)
   


----------------------------------------------------------------
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] [incubator-apisix] Yiyiyimu commented on issue #1866: request help: all $ENV{TEST_NGINX_USE_HUP} hang up in test file

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


   Thank you I'll raise the issue under test-nginx repo.


----------------------------------------------------------------
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] [incubator-apisix] membphis commented on issue #1866: request help: all $ENV{TEST_NGINX_USE_HUP} hang up in test file

Posted by GitBox <gi...@apache.org>.
membphis commented on issue #1866:
URL: https://github.com/apache/incubator-apisix/issues/1866#issuecomment-660567927


   It's fine, you can just ignore the warning message "waiting 1 sec for nginx to reload the configuration" .


----------------------------------------------------------------
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] [incubator-apisix] Yiyiyimu closed issue #1866: request help: all $ENV{TEST_NGINX_USE_HUP} hang up in test file

Posted by GitBox <gi...@apache.org>.
Yiyiyimu closed issue #1866:
URL: https://github.com/apache/incubator-apisix/issues/1866


   


----------------------------------------------------------------
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] [incubator-apisix] membphis commented on issue #1866: request help: all $ENV{TEST_NGINX_USE_HUP} hang up in test file

Posted by GitBox <gi...@apache.org>.
membphis commented on issue #1866:
URL: https://github.com/apache/incubator-apisix/issues/1866#issuecomment-660642542


   Which specific use case do you have a problem with?
   
   The current test cases are all passed, and there is a problem with your environment.


----------------------------------------------------------------
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] [incubator-apisix] Yiyiyimu commented on issue #1866: request help: all $ENV{TEST_NGINX_USE_HUP} hang up in test file

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


   > It's fine, you can just ignore the warning message "waiting 1 sec for nginx to reload the configuration" .
   
   Thank you @membphis for your reply!
   
   But the thing is the whole test process would hang up there, keep printing "waiting 1 sec" and refuse to continue. Is there any method to prevent it printing this kind of warning, besides removing the TEST_NGINX_USE_HUP part?


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