You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shenyu.apache.org by GitBox <gi...@apache.org> on 2022/02/08 12:20:09 UTC
[GitHub] [incubator-shenyu] lzqdename opened a new pull request #2843: [ISSUE #2836] Feat fix shell script bugFeat fix shell script bug
lzqdename opened a new pull request #2843:
URL: https://github.com/apache/incubator-shenyu/pull/2843
// Describe your PR here; eg. Fixes #issueNo
<!--
Thank you for proposing a pull request. This template will guide you through the essential steps necessary for a pull request.
-->
Make sure that:
- [ ] You have read the [contribution guidelines](https://shenyu.apache.org/community/contributor).
- [ ] You submit test cases (unit or integration tests) that back your changes.
- [ ] Your local test passed `mvn clean install -Dmaven.javadoc.skip=true`.
--
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@shenyu.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-shenyu] lahmXu commented on pull request #2843: [ISSUE #2836] Feat fix shell script bugFeat fix shell script bug
Posted by GitBox <gi...@apache.org>.
lahmXu commented on pull request #2843:
URL: https://github.com/apache/incubator-shenyu/pull/2843#issuecomment-1033374957
I tried to set
```shell
PIDS=`ps -eo pid,cmd |grep -v tail|grep -v grep|grep "$DEPLOY_DIR"|awk '{print $1}'`
```
, specify the order of PID and it worked.
--
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@shenyu.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-shenyu] codecov-commenter edited a comment on pull request #2843: [ISSUE #2836] Feat fix shell script bugFeat fix shell script bug
Posted by GitBox <gi...@apache.org>.
codecov-commenter edited a comment on pull request #2843:
URL: https://github.com/apache/incubator-shenyu/pull/2843#issuecomment-1033311013
# [Codecov](https://codecov.io/gh/apache/incubator-shenyu/pull/2843?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) Report
> Merging [#2843](https://codecov.io/gh/apache/incubator-shenyu/pull/2843?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (5b17c81) into [master](https://codecov.io/gh/apache/incubator-shenyu/commit/84fc6f6c17bc34db5bb7172efb7cce5ee2e0b301?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (84fc6f6) will **decrease** coverage by `0.05%`.
> The diff coverage is `n/a`.
[](https://codecov.io/gh/apache/incubator-shenyu/pull/2843?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
```diff
@@ Coverage Diff @@
## master #2843 +/- ##
============================================
- Coverage 60.31% 60.26% -0.06%
+ Complexity 4472 4466 -6
============================================
Files 691 691
Lines 19924 19924
Branches 1775 1775
============================================
- Hits 12017 12007 -10
- Misses 6892 6904 +12
+ Partials 1015 1013 -2
```
| [Impacted Files](https://codecov.io/gh/apache/incubator-shenyu/pull/2843?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) | Coverage Δ | |
|---|---|---|
| [...che/shenyu/sync/data/http/HttpSyncDataService.java](https://codecov.io/gh/apache/incubator-shenyu/pull/2843/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2hlbnl1LXN5bmMtZGF0YS1jZW50ZXIvc2hlbnl1LXN5bmMtZGF0YS1odHRwL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9zaGVueXUvc3luYy9kYXRhL2h0dHAvSHR0cFN5bmNEYXRhU2VydmljZS5qYXZh) | `70.37% <0.00%> (-7.41%)` | :arrow_down: |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/incubator-shenyu/pull/2843?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/incubator-shenyu/pull/2843?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation). Last update [84fc6f6...5b17c81](https://codecov.io/gh/apache/incubator-shenyu/pull/2843?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
--
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@shenyu.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-shenyu] codecov-commenter edited a comment on pull request #2843: [ISSUE #2836] Feat fix shell script bugFeat fix shell script bug
Posted by GitBox <gi...@apache.org>.
codecov-commenter edited a comment on pull request #2843:
URL: https://github.com/apache/incubator-shenyu/pull/2843#issuecomment-1033311013
# [Codecov](https://codecov.io/gh/apache/incubator-shenyu/pull/2843?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) Report
> Merging [#2843](https://codecov.io/gh/apache/incubator-shenyu/pull/2843?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (5b17c81) into [master](https://codecov.io/gh/apache/incubator-shenyu/commit/84fc6f6c17bc34db5bb7172efb7cce5ee2e0b301?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (84fc6f6) will **not change** coverage.
> The diff coverage is `n/a`.
[](https://codecov.io/gh/apache/incubator-shenyu/pull/2843?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
```diff
@@ Coverage Diff @@
## master #2843 +/- ##
=========================================
Coverage 60.31% 60.31%
+ Complexity 4472 4468 -4
=========================================
Files 691 691
Lines 19924 19924
Branches 1775 1775
=========================================
Hits 12017 12017
- Misses 6892 6893 +1
+ Partials 1015 1014 -1
```
| [Impacted Files](https://codecov.io/gh/apache/incubator-shenyu/pull/2843?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) | Coverage Δ | |
|---|---|---|
| [...che/shenyu/sync/data/http/HttpSyncDataService.java](https://codecov.io/gh/apache/incubator-shenyu/pull/2843/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2hlbnl1LXN5bmMtZGF0YS1jZW50ZXIvc2hlbnl1LXN5bmMtZGF0YS1odHRwL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9zaGVueXUvc3luYy9kYXRhL2h0dHAvSHR0cFN5bmNEYXRhU2VydmljZS5qYXZh) | `70.37% <0.00%> (-7.41%)` | :arrow_down: |
| [...henyu/admin/service/impl/UpstreamCheckService.java](https://codecov.io/gh/apache/incubator-shenyu/pull/2843/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2hlbnl1LWFkbWluL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9zaGVueXUvYWRtaW4vc2VydmljZS9pbXBsL1Vwc3RyZWFtQ2hlY2tTZXJ2aWNlLmphdmE=) | `63.49% <0.00%> (+7.93%)` | :arrow_up: |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/incubator-shenyu/pull/2843?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/incubator-shenyu/pull/2843?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation). Last update [84fc6f6...5b17c81](https://codecov.io/gh/apache/incubator-shenyu/pull/2843?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
--
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@shenyu.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-shenyu] lzqdename commented on pull request #2843: [ISSUE #2836] Feat fix shell script bugFeat fix shell script bug
Posted by GitBox <gi...@apache.org>.
lzqdename commented on pull request #2843:
URL: https://github.com/apache/incubator-shenyu/pull/2843#issuecomment-1033556490
>
there is some methods to evaluate current env using shell script
--
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@shenyu.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-shenyu] lzqdename commented on pull request #2843: [ISSUE #2836] Feat fix shell script bugFeat fix shell script bug
Posted by GitBox <gi...@apache.org>.
lzqdename commented on pull request #2843:
URL: https://github.com/apache/incubator-shenyu/pull/2843#issuecomment-1033677788
> > >
> >
> >
> > there are some methods to evaluate current env using shell script
>
> Where are they?
so, let me re pull a new PR later , then u can see whether the script works
PS:I have no docker env now ,you can verify it
--
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@shenyu.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-shenyu] lzqdename edited a comment on pull request #2843: [ISSUE #2836] Feat fix shell script bugFeat fix shell script bug
Posted by GitBox <gi...@apache.org>.
lzqdename edited a comment on pull request #2843:
URL: https://github.com/apache/incubator-shenyu/pull/2843#issuecomment-1033556490
>
there are some methods to evaluate current env using shell script
--
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@shenyu.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-shenyu] lahmXu commented on pull request #2843: [ISSUE #2836] Feat fix shell script bugFeat fix shell script bug
Posted by GitBox <gi...@apache.org>.
lahmXu commented on pull request #2843:
URL: https://github.com/apache/incubator-shenyu/pull/2843#issuecomment-1033351179
> > Change the `pgrep -f java` to` awk '{print $2}'` will make the script work in host machine but fail in container.
>
> to execute different script command based on the run env is physical machine or docker , what is your opinion?
I tried to set
PIDS=`ps -eo pid,cmd | grep -v tail | grep -v grep | grep "$DEPLOY_DIR"| awk '{print $1}'`
and it worked,Can you help test it?
--
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@shenyu.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-shenyu] tuohai666 commented on pull request #2843: [ISSUE #2836] Feat fix shell script bugFeat fix shell script bug
Posted by GitBox <gi...@apache.org>.
tuohai666 commented on pull request #2843:
URL: https://github.com/apache/incubator-shenyu/pull/2843#issuecomment-1033443373
@lzqdename
> > Change the `pgrep -f java` to` awk '{print $2}'` will make the script work in host machine but fail in container.
>
> to execute different script command based on the run env is physical machine or docker , what is your opinion?
How to execute different scripts base on different envs?
--
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@shenyu.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-shenyu] lzqdename closed pull request #2843: [ISSUE #2836] Feat fix shell script bugFeat fix shell script bug
Posted by GitBox <gi...@apache.org>.
lzqdename closed pull request #2843:
URL: https://github.com/apache/incubator-shenyu/pull/2843
--
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@shenyu.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-shenyu] lahmXu removed a comment on pull request #2843: [ISSUE #2836] Feat fix shell script bugFeat fix shell script bug
Posted by GitBox <gi...@apache.org>.
lahmXu removed a comment on pull request #2843:
URL: https://github.com/apache/incubator-shenyu/pull/2843#issuecomment-1033351179
> > Change the `pgrep -f java` to` awk '{print $2}'` will make the script work in host machine but fail in container.
>
> to execute different script command based on the run env is physical machine or docker , what is your opinion?
I tried to set
PIDS=`ps -eo pid,cmd | grep -v tail | grep -v grep | grep "$DEPLOY_DIR"| awk '{print $1}'`
and it worked,Can you help test it?
--
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@shenyu.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-shenyu] codecov-commenter commented on pull request #2843: [ISSUE #2836] Feat fix shell script bugFeat fix shell script bug
Posted by GitBox <gi...@apache.org>.
codecov-commenter commented on pull request #2843:
URL: https://github.com/apache/incubator-shenyu/pull/2843#issuecomment-1033311013
# [Codecov](https://codecov.io/gh/apache/incubator-shenyu/pull/2843?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) Report
> Merging [#2843](https://codecov.io/gh/apache/incubator-shenyu/pull/2843?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (5b17c81) into [master](https://codecov.io/gh/apache/incubator-shenyu/commit/84fc6f6c17bc34db5bb7172efb7cce5ee2e0b301?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (84fc6f6) will **decrease** coverage by `0.07%`.
> The diff coverage is `n/a`.
[](https://codecov.io/gh/apache/incubator-shenyu/pull/2843?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
```diff
@@ Coverage Diff @@
## master #2843 +/- ##
============================================
- Coverage 60.31% 60.23% -0.08%
+ Complexity 4472 4466 -6
============================================
Files 691 691
Lines 19924 19924
Branches 1775 1775
============================================
- Hits 12017 12002 -15
- Misses 6892 6908 +16
+ Partials 1015 1014 -1
```
| [Impacted Files](https://codecov.io/gh/apache/incubator-shenyu/pull/2843?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) | Coverage Δ | |
|---|---|---|
| [...che/shenyu/sync/data/http/HttpSyncDataService.java](https://codecov.io/gh/apache/incubator-shenyu/pull/2843/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2hlbnl1LXN5bmMtZGF0YS1jZW50ZXIvc2hlbnl1LXN5bmMtZGF0YS1odHRwL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9zaGVueXUvc3luYy9kYXRhL2h0dHAvSHR0cFN5bmNEYXRhU2VydmljZS5qYXZh) | `70.37% <0.00%> (-7.41%)` | :arrow_down: |
| [...henyu/plugin/grpc/resolver/ShenyuNameResolver.java](https://codecov.io/gh/apache/incubator-shenyu/pull/2843/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2hlbnl1LXBsdWdpbi9zaGVueXUtcGx1Z2luLWdycGMvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL3NoZW55dS9wbHVnaW4vZ3JwYy9yZXNvbHZlci9TaGVueXVOYW1lUmVzb2x2ZXIuamF2YQ==) | `58.51% <0.00%> (-5.32%)` | :arrow_down: |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/incubator-shenyu/pull/2843?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/incubator-shenyu/pull/2843?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation). Last update [84fc6f6...5b17c81](https://codecov.io/gh/apache/incubator-shenyu/pull/2843?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
--
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@shenyu.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-shenyu] lzqdename commented on pull request #2843: [ISSUE #2836] Feat fix shell script bugFeat fix shell script bug
Posted by GitBox <gi...@apache.org>.
lzqdename commented on pull request #2843:
URL: https://github.com/apache/incubator-shenyu/pull/2843#issuecomment-1033334741
> Change the `pgrep -f java` to` awk '{print $2}'` will make the script work in host machine but fail in container.
to execute different script command based on the run env is physical machine or docker ,
what is your opinion?
--
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@shenyu.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-shenyu] tuohai666 commented on pull request #2843: [ISSUE #2836] Feat fix shell script bugFeat fix shell script bug
Posted by GitBox <gi...@apache.org>.
tuohai666 commented on pull request #2843:
URL: https://github.com/apache/incubator-shenyu/pull/2843#issuecomment-1033563410
> >
>
> there are some methods to evaluate current env using shell script
Where are they?
--
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@shenyu.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org