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/10/30 04:48:08 UTC

[GitHub] [apisix] moonming opened a new issue #2573: request help: support centos 7, centos 8 in CI

moonming opened a new issue #2573:
URL: https://github.com/apache/apisix/issues/2573


   ### Issue description
   
   
   ### Environment
   
   * apisix version (cmd: `apisix version`):
   * OS:


----------------------------------------------------------------
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] moonming commented on issue #2573: request help: support centos 7, centos 8 in CI

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


   @idbeta any update?


----------------------------------------------------------------
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] membphis commented on issue #2573: request help: support centos 7, centos 8 in CI

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


    Okay, I got it. I have changed the milestone to the 2.2.


----------------------------------------------------------------
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] idbeta commented on issue #2573: request help: support centos 7, centos 8 in CI

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


   Sorry, I think I can not finish it this week. @moonming @membphis 


----------------------------------------------------------------
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] idbeta commented on issue #2573: request help: support centos 7, centos 8 in CI

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


   Hello @gxthrj @nic-chen, I have two questions, need your help.  
   1. I deployed Centos7 by using a docker container in the CI server, deployed APISIX in it, and executed all cases, some succeeded, like:
   ```
   /admin/*.t
   /config-center-yaml/*.t
   /debug/*.t
   /router/*.t
   /script/*.t
   /stream-node/*.t
   /stream-plugin/*.t
   /utils/*.t
   ```
   but some cases failed for strange reasons. Do you know the reason? 
   ```
   Cannot detect source of 't/certs/*.t'! at /usr/share/perl5/vendor_perl/TAP/Parser/IteratorFactory.pm line 263.
   	TAP::Parser::IteratorFactory::detect_source('TAP::Parser::IteratorFactory=HASH(0x1559df0)', 'TAP::Parser::Source=HASH(0x144fec0)') called at /usr/share/perl5/vendor_perl/TAP/Parser/IteratorFactory.pm line 213
   	TAP::Parser::IteratorFactory::make_iterator('TAP::Parser::IteratorFactory=HASH(0x1559df0)', 'TAP::Parser::Source=HASH(0x144fec0)') called at /usr/share/perl5/vendor_perl/TAP/Parser.pm line 469
   	TAP::Parser::_initialize('TAP::Parser=HASH(0x154ecd0)', 'HASH(0x10e5638)') called at /usr/share/perl5/vendor_perl/TAP/Object.pm line 58
   ```
   2. Because some plugins cases need to deploy docker containers (like zookeeper, kafka etc.), I don’t know how to combine Centos7 containers with these containers, can you give some advice?
   
   here is my workflow file:
   ```
   jobs:     
     test_apisix:
       name: test_apisix
       runs-on: ubuntu-latest
       container: docker.io/centos:7
       steps:
       - uses: actions/checkout@v2
    
       - name: intall deps
         run: |
           yum install -y wget tar gcc automake autoconf libtool make
           wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
           rpm -ivh epel-release-latest-7.noarch.rpm
           yum install -y curl git luarocks lua-devel which
           wget https://github.com/etcd-io/etcd/releases/download/v3.4.13/etcd-v3.4.13-linux-amd64.tar.gz
           tar -xvf etcd-v3.4.13-linux-amd64.tar.gz && cd etcd-v3.4.13-linux-amd64 && cp -a etcd etcdctl /usr/bin/
           cd ..
           etcd &
           yum install -y yum-utils
           yum-config-manager --add-repo https://openresty.org/package/centos/openresty.repo
           yum install -y openresty-debug
           yum install -y openresty
           PATH=$PATH:/usr/local/openresty/luajit/bin:/usr/local/openresty/nginx/sbin:/usr/local/openresty/bin
   
       - name: run test
         run: |
           git clone https://github.com/apache/apisix.git
           cd apisix
           make deps
   
           export PERL5LIB=.:$PERL5LIB
           export OPENRESTY_PREFIX="/usr/local/openresty-debug"
           export PATH=$OPENRESTY_PREFIX/nginx/sbin:$OPENRESTY_PREFIX/luajit/bin:$OPENRESTY_PREFIX/bin:$PATH
   
           yum install -y cpanminus build-essential libncurses5-dev libreadline-dev libssl-dev perl
           cpanm --notest Test::Nginx IPC::Run > build.log 2>&1 || (cat build.log && exit 1)
           make test
   ```


----------------------------------------------------------------
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] nic-chen edited a comment on issue #2573: request help: support centos 7, centos 8 in CI

Posted by GitBox <gi...@apache.org>.
nic-chen edited a comment on issue #2573:
URL: https://github.com/apache/apisix/issues/2573#issuecomment-738842604


   > t/certs/*.t
   
   t/certs/ has no test file at all.


----------------------------------------------------------------
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] idbeta edited a comment on issue #2573: request help: support centos 7, centos 8 in CI

Posted by GitBox <gi...@apache.org>.
idbeta edited a comment on issue #2573:
URL: https://github.com/apache/apisix/issues/2573#issuecomment-738703201


   Hello @gxthrj @nic-chen, I have two questions, need your help.  
   1. I deployed Centos7 by using a docker container in the CI server, deployed APISIX in it, and executed all cases, some succeeded, like:
   ```
   /admin/*.t
   /config-center-yaml/*.t
   /debug/*.t
   /router/*.t
   /script/*.t
   /stream-node/*.t
   /stream-plugin/*.t
   /utils/*.t
   ```
   <del>but some cases failed for strange reasons. Do you know the reason? </del>
   not a problem at all
   
   2. Because some plugins cases need to deploy docker containers (like zookeeper, kafka etc.), I don’t know how to combine Centos7 containers with these containers, can you give some advice?
   
   here is my workflow file:
   ```
   jobs:     
     test_apisix:
       name: test_apisix
       runs-on: ubuntu-latest
       container: docker.io/centos:7
       steps:
       - uses: actions/checkout@v2
    
       - name: intall deps
         run: |
           yum install -y wget tar gcc automake autoconf libtool make
           wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
           rpm -ivh epel-release-latest-7.noarch.rpm
           yum install -y curl git luarocks lua-devel which
           wget https://github.com/etcd-io/etcd/releases/download/v3.4.13/etcd-v3.4.13-linux-amd64.tar.gz
           tar -xvf etcd-v3.4.13-linux-amd64.tar.gz && cd etcd-v3.4.13-linux-amd64 && cp -a etcd etcdctl /usr/bin/
           cd ..
           etcd &
           yum install -y yum-utils
           yum-config-manager --add-repo https://openresty.org/package/centos/openresty.repo
           yum install -y openresty-debug
           yum install -y openresty
           PATH=$PATH:/usr/local/openresty/luajit/bin:/usr/local/openresty/nginx/sbin:/usr/local/openresty/bin
   
       - name: run test
         run: |
           git clone https://github.com/apache/apisix.git
           cd apisix
           make deps
   
           export PERL5LIB=.:$PERL5LIB
           export OPENRESTY_PREFIX="/usr/local/openresty-debug"
           export PATH=$OPENRESTY_PREFIX/nginx/sbin:$OPENRESTY_PREFIX/luajit/bin:$OPENRESTY_PREFIX/bin:$PATH
   
           yum install -y cpanminus build-essential libncurses5-dev libreadline-dev libssl-dev perl
           cpanm --notest Test::Nginx IPC::Run > build.log 2>&1 || (cat build.log && exit 1)
           make test
   ```


----------------------------------------------------------------
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] membphis commented on issue #2573: request help: support centos 7, centos 8 in CI

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


   > 1. I don’t know how to combine Centos7 containers with these containers
   
   `--net=host`


----------------------------------------------------------------
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] membphis closed issue #2573: request help: support centos 7, centos 8 in CI

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


   


----------------------------------------------------------------
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] idbeta edited a comment on issue #2573: request help: support centos 7, centos 8 in CI

Posted by GitBox <gi...@apache.org>.
idbeta edited a comment on issue #2573:
URL: https://github.com/apache/apisix/issues/2573#issuecomment-738703201


   Hello @gxthrj @nic-chen, I have two questions, need your help.  
   1. I deployed Centos7 by using a docker container in the CI server, deployed APISIX in it, and executed all cases, some succeeded, like:
   ```
   /admin/*.t
   /config-center-yaml/*.t
   /debug/*.t
   /router/*.t
   /script/*.t
   /stream-node/*.t
   /stream-plugin/*.t
   /utils/*.t
   ```
   ~~but some cases failed for strange reasons. Do you know the reason? ~~not a problem at all
   
   2. Because some plugins cases need to deploy docker containers (like zookeeper, kafka etc.), I don’t know how to combine Centos7 containers with these containers, can you give some advice?
   
   here is my workflow file:
   ```
   jobs:     
     test_apisix:
       name: test_apisix
       runs-on: ubuntu-latest
       container: docker.io/centos:7
       steps:
       - uses: actions/checkout@v2
    
       - name: intall deps
         run: |
           yum install -y wget tar gcc automake autoconf libtool make
           wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
           rpm -ivh epel-release-latest-7.noarch.rpm
           yum install -y curl git luarocks lua-devel which
           wget https://github.com/etcd-io/etcd/releases/download/v3.4.13/etcd-v3.4.13-linux-amd64.tar.gz
           tar -xvf etcd-v3.4.13-linux-amd64.tar.gz && cd etcd-v3.4.13-linux-amd64 && cp -a etcd etcdctl /usr/bin/
           cd ..
           etcd &
           yum install -y yum-utils
           yum-config-manager --add-repo https://openresty.org/package/centos/openresty.repo
           yum install -y openresty-debug
           yum install -y openresty
           PATH=$PATH:/usr/local/openresty/luajit/bin:/usr/local/openresty/nginx/sbin:/usr/local/openresty/bin
   
       - name: run test
         run: |
           git clone https://github.com/apache/apisix.git
           cd apisix
           make deps
   
           export PERL5LIB=.:$PERL5LIB
           export OPENRESTY_PREFIX="/usr/local/openresty-debug"
           export PATH=$OPENRESTY_PREFIX/nginx/sbin:$OPENRESTY_PREFIX/luajit/bin:$OPENRESTY_PREFIX/bin:$PATH
   
           yum install -y cpanminus build-essential libncurses5-dev libreadline-dev libssl-dev perl
           cpanm --notest Test::Nginx IPC::Run > build.log 2>&1 || (cat build.log && exit 1)
           make test
   ```


----------------------------------------------------------------
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] moonming commented on issue #2573: request help: support centos 7, centos 8 in CI

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


   @idbeta this issue blocked 2.1 release


----------------------------------------------------------------
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] idbeta commented on issue #2573: request help: support centos 7, centos 8 in CI

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


   > > t/certs/*.t
   > 
   > t/certs/ has no test file at all.
   
   Ok, I was cheated.


----------------------------------------------------------------
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] nic-chen commented on issue #2573: request help: support centos 7, centos 8 in CI

Posted by GitBox <gi...@apache.org>.
nic-chen commented on issue #2573:
URL: https://github.com/apache/apisix/issues/2573#issuecomment-738842604


   > t/certs/*.t
   t/certs/ has no test file at all.


----------------------------------------------------------------
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] idbeta commented on issue #2573: request help: support centos 7, centos 8 in CI

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


   I will start this thing as soon as possible.


----------------------------------------------------------------
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] nic-chen commented on issue #2573: request help: support centos 7, centos 8 in CI

Posted by GitBox <gi...@apache.org>.
nic-chen commented on issue #2573:
URL: https://github.com/apache/apisix/issues/2573#issuecomment-738841503


   > 2. Because some plugins cases need to deploy docker containers (like zookeeper, kafka etc.), I don’t know how to combine Centos7 containers with these containers, can you give some advice?
   
   I think service is good for that:
   https://docs.github.com/en/free-pro-team@latest/actions/guides/about-service-containers
   


----------------------------------------------------------------
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] membphis commented on issue #2573: request help: support centos 7, centos 8 in CI

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


   @idbeta please confirm you finish this job in this week. if not, we change this `Milestone` to `2.2`


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