You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@mesos.apache.org by Dong Zhu <dz...@d2iq.com> on 2020/07/27 09:34:38 UTC
Review Request 72709: Fixed the tests warning messages.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/72709/
-----------------------------------------------------------
Review request for mesos and Benjamin Mahler.
Repository: mesos
Description
-------
Remove unnecessary codes which lead to the following warnning
messages while performing tests:
...mesos/build/src/colors.sh: No such file or directory
...mesos/build/src/atexit.sh: No such file or directory
Diffs
-----
src/tests/balloon_framework_test.sh 7d0a4fee200577a5f7b2edbb3b310a07678879dd
src/tests/disk_full_framework_test.sh 62e62cb90ffb5c05f0db1517409179d5b38518e8
src/tests/dynamic_reservation_framework_test.sh c094ed1464c61b6acf647549f1fd83117b135358
src/tests/no_executor_framework_test.sh df282cab6e91645d19d0aa09867e6b45adaf2508
src/tests/persistent_volume_framework_test.sh 6488656c4bd8ad0c6f25a367cf7de2f926dbecf0
src/tests/test_framework_test.sh 8782e01edc5be3833760fc45e2b545fce100547b
src/tests/test_http_framework_test.sh 256655dfd7697071547f755e8941822b6d51f8a8
Diff: https://reviews.apache.org/r/72709/diff/1/
Testing
-------
make tests
Thanks,
Dong Zhu
Re: Review Request 72709: Fixed the tests warning messages.
Posted by Mesos Reviewbot <re...@mesos.apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/72709/#review221380
-----------------------------------------------------------
Patch looks great!
Reviews applied: [72709]
Passed command: export OS='ubuntu:16.04' BUILDTOOL='autotools' COMPILER='gcc' CONFIGURATION='--verbose --disable-libtool-wrappers --disable-parallel-test-execution' ENVIRONMENT='GLOG_v=1 MESOS_VERBOSE=1'; ./support/jenkins/buildbot.sh
- Mesos Reviewbot
On July 27, 2020, 9:34 a.m., Dong Zhu wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/72709/
> -----------------------------------------------------------
>
> (Updated July 27, 2020, 9:34 a.m.)
>
>
> Review request for mesos and Benjamin Mahler.
>
>
> Repository: mesos
>
>
> Description
> -------
>
> Remove unnecessary codes which lead to the following warnning
> messages while performing tests:
>
> ...mesos/build/src/colors.sh: No such file or directory
> ...mesos/build/src/atexit.sh: No such file or directory
>
>
> Diffs
> -----
>
> src/tests/balloon_framework_test.sh 7d0a4fee200577a5f7b2edbb3b310a07678879dd
> src/tests/disk_full_framework_test.sh 62e62cb90ffb5c05f0db1517409179d5b38518e8
> src/tests/dynamic_reservation_framework_test.sh c094ed1464c61b6acf647549f1fd83117b135358
> src/tests/no_executor_framework_test.sh df282cab6e91645d19d0aa09867e6b45adaf2508
> src/tests/persistent_volume_framework_test.sh 6488656c4bd8ad0c6f25a367cf7de2f926dbecf0
> src/tests/test_framework_test.sh 8782e01edc5be3833760fc45e2b545fce100547b
> src/tests/test_http_framework_test.sh 256655dfd7697071547f755e8941822b6d51f8a8
>
>
> Diff: https://reviews.apache.org/r/72709/diff/1/
>
>
> Testing
> -------
>
> make tests
>
>
> Thanks,
>
> Dong Zhu
>
>
Re: Review Request 72709: Fixed the tests warning messages.
Posted by Dong Zhu <dz...@d2iq.com>.
> On July 28, 2020, 1:12 a.m., Benjamin Mahler wrote:
> > Hm.. it seems this was done to support running the tests from an installation?
> >
> > https://github.com/apache/mesos/commit/6cca8c8071e4b863d951a1631141f861c47826d1
Yes. But this issue exists even from an installation without this fix unless specified option `--build_dir=/none` explicitly:
```
$PREFIX/libexec/mesos/tests/mesos-tests/mesos-tests --gtest_filter="ContainerizerTest.ROOT_CGROUPS_BalloonFramework" --verbose
/root/mesos-development/mesos/src/tests/balloon_framework_test.sh: line 8: /root/mesos-development/mesos/build/src/colors.sh: No such file or directory
/root/mesos-development/mesos/src/tests/balloon_framework_test.sh: line 9: /root/mesos-development/mesos/build/src/atexit.sh: No such file or directory
```
If user leave the `--source_dir=/nowhere` options as default or specify an valid path this patch works with the both circumstances.
If use specify both `--source_dir=/nowhere` **(invalid path)** and `--build_dir=/none` explicitly, there will be following error show up:
```
/usr/local/mesos-develop/libexec/mesos/tests/balloon_framework_test.sh: line 6: /nowhere/support/colors.sh: No such file or directory
/usr/local/mesos-develop/libexec/mesos/tests/balloon_framework_test.sh: line 7: /nowhere/support/atexit.sh: No such file or directory
```
I suppose it is confusing users therefore it is necessary to fix it and there are two methods here:
1. use the original commit I submitted
2. add checks for the source `${MESOS_SOURCE_DIR}/support/colors.sh` to prevent the `No such file or directory` showing up:
```
FILE="${MESOS_SOURCE_DIR}/support/colors.sh" && test -f $FILE && source $FILE
FILE="${MESOS_SOURCE_DIR}/support/atexit.sh" && test -f $FILE && source $FILE
FILE="${MESOS_HELPER_DIR}/colors.sh" && test -f $FILE && source $FILE
FILE="${MESOS_HELPER_DIR}/atexit.sh" && test -f $FILE && source $FILE
```
What's your opinon here and which method will you prefer ?
- Dong
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/72709/#review221383
-----------------------------------------------------------
On July 27, 2020, 5:34 p.m., Dong Zhu wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/72709/
> -----------------------------------------------------------
>
> (Updated July 27, 2020, 5:34 p.m.)
>
>
> Review request for mesos and Benjamin Mahler.
>
>
> Repository: mesos
>
>
> Description
> -------
>
> Remove unnecessary codes which lead to the following warnning
> messages while performing tests:
>
> ...mesos/build/src/colors.sh: No such file or directory
> ...mesos/build/src/atexit.sh: No such file or directory
>
>
> Diffs
> -----
>
> src/tests/balloon_framework_test.sh 7d0a4fee200577a5f7b2edbb3b310a07678879dd
> src/tests/disk_full_framework_test.sh 62e62cb90ffb5c05f0db1517409179d5b38518e8
> src/tests/dynamic_reservation_framework_test.sh c094ed1464c61b6acf647549f1fd83117b135358
> src/tests/no_executor_framework_test.sh df282cab6e91645d19d0aa09867e6b45adaf2508
> src/tests/persistent_volume_framework_test.sh 6488656c4bd8ad0c6f25a367cf7de2f926dbecf0
> src/tests/test_framework_test.sh 8782e01edc5be3833760fc45e2b545fce100547b
> src/tests/test_http_framework_test.sh 256655dfd7697071547f755e8941822b6d51f8a8
>
>
> Diff: https://reviews.apache.org/r/72709/diff/1/
>
>
> Testing
> -------
>
> make tests
>
>
> Thanks,
>
> Dong Zhu
>
>
Re: Review Request 72709: Fixed the tests warning messages.
Posted by Benjamin Mahler <bm...@apache.org>.
> On July 27, 2020, 5:12 p.m., Benjamin Mahler wrote:
> > Hm.. it seems this was done to support running the tests from an installation?
> >
> > https://github.com/apache/mesos/commit/6cca8c8071e4b863d951a1631141f861c47826d1
>
> Dong Zhu wrote:
> Yes. But this issue exists even from an installation without this fix unless specified option `--build_dir=/none` explicitly:
>
> ```
> $PREFIX/libexec/mesos/tests/mesos-tests/mesos-tests --gtest_filter="ContainerizerTest.ROOT_CGROUPS_BalloonFramework" --verbose
> /root/mesos-development/mesos/src/tests/balloon_framework_test.sh: line 8: /root/mesos-development/mesos/build/src/colors.sh: No such file or directory
> /root/mesos-development/mesos/src/tests/balloon_framework_test.sh: line 9: /root/mesos-development/mesos/build/src/atexit.sh: No such file or directory
> ```
>
> If user leave the `--source_dir=/nowhere` options as default or specify an valid path this patch works with the both circumstances.
> If use specify both `--source_dir=/nowhere` **(invalid path)** and `--build_dir=/none` explicitly, there will be following error show up:
>
> ```
> /usr/local/mesos-develop/libexec/mesos/tests/balloon_framework_test.sh: line 6: /nowhere/support/colors.sh: No such file or directory
> /usr/local/mesos-develop/libexec/mesos/tests/balloon_framework_test.sh: line 7: /nowhere/support/atexit.sh: No such file or directory
> ```
>
> I suppose it is confusing users therefore it is necessary to fix it and there are two methods here:
> 1. use the original commit I submitted
> 2. add checks for the source `${MESOS_SOURCE_DIR}/support/colors.sh` to prevent the `No such file or directory` showing up:
> ```
> FILE="${MESOS_SOURCE_DIR}/support/colors.sh" && test -f $FILE && source $FILE
> FILE="${MESOS_SOURCE_DIR}/support/atexit.sh" && test -f $FILE && source $FILE
> FILE="${MESOS_HELPER_DIR}/colors.sh" && test -f $FILE && source $FILE
> FILE="${MESOS_HELPER_DIR}/atexit.sh" && test -f $FILE && source $FILE
> ```
>
> What's your opinon here and which method will you prefer ?
>
> Dong Zhu wrote:
> Hi Ben, any comments here ?
Hm.. I suppose option 2 with an explanation of why we check both locations would be ok.
- Benjamin
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/72709/#review221383
-----------------------------------------------------------
On July 27, 2020, 9:34 a.m., Dong Zhu wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/72709/
> -----------------------------------------------------------
>
> (Updated July 27, 2020, 9:34 a.m.)
>
>
> Review request for mesos and Benjamin Mahler.
>
>
> Repository: mesos
>
>
> Description
> -------
>
> Remove unnecessary codes which lead to the following warnning
> messages while performing tests:
>
> ...mesos/build/src/colors.sh: No such file or directory
> ...mesos/build/src/atexit.sh: No such file or directory
>
>
> Diffs
> -----
>
> src/tests/balloon_framework_test.sh 7d0a4fee200577a5f7b2edbb3b310a07678879dd
> src/tests/disk_full_framework_test.sh 62e62cb90ffb5c05f0db1517409179d5b38518e8
> src/tests/dynamic_reservation_framework_test.sh c094ed1464c61b6acf647549f1fd83117b135358
> src/tests/no_executor_framework_test.sh df282cab6e91645d19d0aa09867e6b45adaf2508
> src/tests/persistent_volume_framework_test.sh 6488656c4bd8ad0c6f25a367cf7de2f926dbecf0
> src/tests/test_framework_test.sh 8782e01edc5be3833760fc45e2b545fce100547b
> src/tests/test_http_framework_test.sh 256655dfd7697071547f755e8941822b6d51f8a8
>
>
> Diff: https://reviews.apache.org/r/72709/diff/1/
>
>
> Testing
> -------
>
> make tests
>
>
> Thanks,
>
> Dong Zhu
>
>
Re: Review Request 72709: Fixed the tests warning messages.
Posted by Dong Zhu <dz...@d2iq.com>.
> On July 28, 2020, 1:12 a.m., Benjamin Mahler wrote:
> > Hm.. it seems this was done to support running the tests from an installation?
> >
> > https://github.com/apache/mesos/commit/6cca8c8071e4b863d951a1631141f861c47826d1
>
> Dong Zhu wrote:
> Yes. But this issue exists even from an installation without this fix unless specified option `--build_dir=/none` explicitly:
>
> ```
> $PREFIX/libexec/mesos/tests/mesos-tests/mesos-tests --gtest_filter="ContainerizerTest.ROOT_CGROUPS_BalloonFramework" --verbose
> /root/mesos-development/mesos/src/tests/balloon_framework_test.sh: line 8: /root/mesos-development/mesos/build/src/colors.sh: No such file or directory
> /root/mesos-development/mesos/src/tests/balloon_framework_test.sh: line 9: /root/mesos-development/mesos/build/src/atexit.sh: No such file or directory
> ```
>
> If user leave the `--source_dir=/nowhere` options as default or specify an valid path this patch works with the both circumstances.
> If use specify both `--source_dir=/nowhere` **(invalid path)** and `--build_dir=/none` explicitly, there will be following error show up:
>
> ```
> /usr/local/mesos-develop/libexec/mesos/tests/balloon_framework_test.sh: line 6: /nowhere/support/colors.sh: No such file or directory
> /usr/local/mesos-develop/libexec/mesos/tests/balloon_framework_test.sh: line 7: /nowhere/support/atexit.sh: No such file or directory
> ```
>
> I suppose it is confusing users therefore it is necessary to fix it and there are two methods here:
> 1. use the original commit I submitted
> 2. add checks for the source `${MESOS_SOURCE_DIR}/support/colors.sh` to prevent the `No such file or directory` showing up:
> ```
> FILE="${MESOS_SOURCE_DIR}/support/colors.sh" && test -f $FILE && source $FILE
> FILE="${MESOS_SOURCE_DIR}/support/atexit.sh" && test -f $FILE && source $FILE
> FILE="${MESOS_HELPER_DIR}/colors.sh" && test -f $FILE && source $FILE
> FILE="${MESOS_HELPER_DIR}/atexit.sh" && test -f $FILE && source $FILE
> ```
>
> What's your opinon here and which method will you prefer ?
>
> Dong Zhu wrote:
> Hi Ben, any comments here ?
>
> Benjamin Mahler wrote:
> Hm.. I suppose option 2 with an explanation of why we check both locations would be ok.
I have updated the patch, please review it again, thanks !
- Dong
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/72709/#review221383
-----------------------------------------------------------
On Aug. 4, 2020, 12:24 p.m., Dong Zhu wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/72709/
> -----------------------------------------------------------
>
> (Updated Aug. 4, 2020, 12:24 p.m.)
>
>
> Review request for mesos and Benjamin Mahler.
>
>
> Repository: mesos
>
>
> Description
> -------
>
> Remove unnecessary codes which lead to the following warnning
> messages while performing tests:
>
> ...mesos/build/src/colors.sh: No such file or directory
> ...mesos/build/src/atexit.sh: No such file or directory
>
>
> Diffs
> -----
>
> src/tests/balloon_framework_test.sh 7d0a4fee200577a5f7b2edbb3b310a07678879dd
> src/tests/disk_full_framework_test.sh 62e62cb90ffb5c05f0db1517409179d5b38518e8
> src/tests/dynamic_reservation_framework_test.sh c094ed1464c61b6acf647549f1fd83117b135358
> src/tests/no_executor_framework_test.sh df282cab6e91645d19d0aa09867e6b45adaf2508
> src/tests/persistent_volume_framework_test.sh 6488656c4bd8ad0c6f25a367cf7de2f926dbecf0
> src/tests/test_framework_test.sh 8782e01edc5be3833760fc45e2b545fce100547b
> src/tests/test_http_framework_test.sh 256655dfd7697071547f755e8941822b6d51f8a8
>
>
> Diff: https://reviews.apache.org/r/72709/diff/2/
>
>
> Testing
> -------
>
> make tests
>
>
> Thanks,
>
> Dong Zhu
>
>
Re: Review Request 72709: Fixed the tests warning messages.
Posted by Dong Zhu <dz...@d2iq.com>.
> On July 28, 2020, 1:12 a.m., Benjamin Mahler wrote:
> > Hm.. it seems this was done to support running the tests from an installation?
> >
> > https://github.com/apache/mesos/commit/6cca8c8071e4b863d951a1631141f861c47826d1
>
> Dong Zhu wrote:
> Yes. But this issue exists even from an installation without this fix unless specified option `--build_dir=/none` explicitly:
>
> ```
> $PREFIX/libexec/mesos/tests/mesos-tests/mesos-tests --gtest_filter="ContainerizerTest.ROOT_CGROUPS_BalloonFramework" --verbose
> /root/mesos-development/mesos/src/tests/balloon_framework_test.sh: line 8: /root/mesos-development/mesos/build/src/colors.sh: No such file or directory
> /root/mesos-development/mesos/src/tests/balloon_framework_test.sh: line 9: /root/mesos-development/mesos/build/src/atexit.sh: No such file or directory
> ```
>
> If user leave the `--source_dir=/nowhere` options as default or specify an valid path this patch works with the both circumstances.
> If use specify both `--source_dir=/nowhere` **(invalid path)** and `--build_dir=/none` explicitly, there will be following error show up:
>
> ```
> /usr/local/mesos-develop/libexec/mesos/tests/balloon_framework_test.sh: line 6: /nowhere/support/colors.sh: No such file or directory
> /usr/local/mesos-develop/libexec/mesos/tests/balloon_framework_test.sh: line 7: /nowhere/support/atexit.sh: No such file or directory
> ```
>
> I suppose it is confusing users therefore it is necessary to fix it and there are two methods here:
> 1. use the original commit I submitted
> 2. add checks for the source `${MESOS_SOURCE_DIR}/support/colors.sh` to prevent the `No such file or directory` showing up:
> ```
> FILE="${MESOS_SOURCE_DIR}/support/colors.sh" && test -f $FILE && source $FILE
> FILE="${MESOS_SOURCE_DIR}/support/atexit.sh" && test -f $FILE && source $FILE
> FILE="${MESOS_HELPER_DIR}/colors.sh" && test -f $FILE && source $FILE
> FILE="${MESOS_HELPER_DIR}/atexit.sh" && test -f $FILE && source $FILE
> ```
>
> What's your opinon here and which method will you prefer ?
>
> Dong Zhu wrote:
> Hi Ben, any comments here ?
>
> Benjamin Mahler wrote:
> Hm.. I suppose option 2 with an explanation of why we check both locations would be ok.
>
> Dong Zhu wrote:
> I have updated the patch, please review it again, thanks !
>
> Dong Zhu wrote:
> Any comments here ?
@bmahler, could you please take a look at it ?
- Dong
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/72709/#review221383
-----------------------------------------------------------
On Aug. 4, 2020, 12:30 p.m., Dong Zhu wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/72709/
> -----------------------------------------------------------
>
> (Updated Aug. 4, 2020, 12:30 p.m.)
>
>
> Review request for mesos and Benjamin Mahler.
>
>
> Repository: mesos
>
>
> Description
> -------
>
> Remove unnecessary codes which lead to the following warnning
> messages while performing tests:
>
> ...mesos/build/src/colors.sh: No such file or directory
> ...mesos/build/src/atexit.sh: No such file or directory
>
>
> Diffs
> -----
>
> src/tests/balloon_framework_test.sh 7d0a4fee200577a5f7b2edbb3b310a07678879dd
> src/tests/disk_full_framework_test.sh 62e62cb90ffb5c05f0db1517409179d5b38518e8
> src/tests/dynamic_reservation_framework_test.sh c094ed1464c61b6acf647549f1fd83117b135358
> src/tests/no_executor_framework_test.sh df282cab6e91645d19d0aa09867e6b45adaf2508
> src/tests/persistent_volume_framework_test.sh 6488656c4bd8ad0c6f25a367cf7de2f926dbecf0
> src/tests/test_framework_test.sh 8782e01edc5be3833760fc45e2b545fce100547b
> src/tests/test_http_framework_test.sh 256655dfd7697071547f755e8941822b6d51f8a8
>
>
> Diff: https://reviews.apache.org/r/72709/diff/3/
>
>
> Testing
> -------
>
> make tests
>
>
> Thanks,
>
> Dong Zhu
>
>
Re: Review Request 72709: Fixed the tests warning messages.
Posted by Dong Zhu <dz...@d2iq.com>.
> On July 28, 2020, 1:12 a.m., Benjamin Mahler wrote:
> > Hm.. it seems this was done to support running the tests from an installation?
> >
> > https://github.com/apache/mesos/commit/6cca8c8071e4b863d951a1631141f861c47826d1
>
> Dong Zhu wrote:
> Yes. But this issue exists even from an installation without this fix unless specified option `--build_dir=/none` explicitly:
>
> ```
> $PREFIX/libexec/mesos/tests/mesos-tests/mesos-tests --gtest_filter="ContainerizerTest.ROOT_CGROUPS_BalloonFramework" --verbose
> /root/mesos-development/mesos/src/tests/balloon_framework_test.sh: line 8: /root/mesos-development/mesos/build/src/colors.sh: No such file or directory
> /root/mesos-development/mesos/src/tests/balloon_framework_test.sh: line 9: /root/mesos-development/mesos/build/src/atexit.sh: No such file or directory
> ```
>
> If user leave the `--source_dir=/nowhere` options as default or specify an valid path this patch works with the both circumstances.
> If use specify both `--source_dir=/nowhere` **(invalid path)** and `--build_dir=/none` explicitly, there will be following error show up:
>
> ```
> /usr/local/mesos-develop/libexec/mesos/tests/balloon_framework_test.sh: line 6: /nowhere/support/colors.sh: No such file or directory
> /usr/local/mesos-develop/libexec/mesos/tests/balloon_framework_test.sh: line 7: /nowhere/support/atexit.sh: No such file or directory
> ```
>
> I suppose it is confusing users therefore it is necessary to fix it and there are two methods here:
> 1. use the original commit I submitted
> 2. add checks for the source `${MESOS_SOURCE_DIR}/support/colors.sh` to prevent the `No such file or directory` showing up:
> ```
> FILE="${MESOS_SOURCE_DIR}/support/colors.sh" && test -f $FILE && source $FILE
> FILE="${MESOS_SOURCE_DIR}/support/atexit.sh" && test -f $FILE && source $FILE
> FILE="${MESOS_HELPER_DIR}/colors.sh" && test -f $FILE && source $FILE
> FILE="${MESOS_HELPER_DIR}/atexit.sh" && test -f $FILE && source $FILE
> ```
>
> What's your opinon here and which method will you prefer ?
>
> Dong Zhu wrote:
> Hi Ben, any comments here ?
>
> Benjamin Mahler wrote:
> Hm.. I suppose option 2 with an explanation of why we check both locations would be ok.
>
> Dong Zhu wrote:
> I have updated the patch, please review it again, thanks !
Any comments here ?
- Dong
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/72709/#review221383
-----------------------------------------------------------
On Aug. 4, 2020, 12:30 p.m., Dong Zhu wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/72709/
> -----------------------------------------------------------
>
> (Updated Aug. 4, 2020, 12:30 p.m.)
>
>
> Review request for mesos and Benjamin Mahler.
>
>
> Repository: mesos
>
>
> Description
> -------
>
> Remove unnecessary codes which lead to the following warnning
> messages while performing tests:
>
> ...mesos/build/src/colors.sh: No such file or directory
> ...mesos/build/src/atexit.sh: No such file or directory
>
>
> Diffs
> -----
>
> src/tests/balloon_framework_test.sh 7d0a4fee200577a5f7b2edbb3b310a07678879dd
> src/tests/disk_full_framework_test.sh 62e62cb90ffb5c05f0db1517409179d5b38518e8
> src/tests/dynamic_reservation_framework_test.sh c094ed1464c61b6acf647549f1fd83117b135358
> src/tests/no_executor_framework_test.sh df282cab6e91645d19d0aa09867e6b45adaf2508
> src/tests/persistent_volume_framework_test.sh 6488656c4bd8ad0c6f25a367cf7de2f926dbecf0
> src/tests/test_framework_test.sh 8782e01edc5be3833760fc45e2b545fce100547b
> src/tests/test_http_framework_test.sh 256655dfd7697071547f755e8941822b6d51f8a8
>
>
> Diff: https://reviews.apache.org/r/72709/diff/3/
>
>
> Testing
> -------
>
> make tests
>
>
> Thanks,
>
> Dong Zhu
>
>
Re: Review Request 72709: Fixed the tests warning messages.
Posted by Dong Zhu <dz...@d2iq.com>.
> On July 28, 2020, 1:12 a.m., Benjamin Mahler wrote:
> > Hm.. it seems this was done to support running the tests from an installation?
> >
> > https://github.com/apache/mesos/commit/6cca8c8071e4b863d951a1631141f861c47826d1
>
> Dong Zhu wrote:
> Yes. But this issue exists even from an installation without this fix unless specified option `--build_dir=/none` explicitly:
>
> ```
> $PREFIX/libexec/mesos/tests/mesos-tests/mesos-tests --gtest_filter="ContainerizerTest.ROOT_CGROUPS_BalloonFramework" --verbose
> /root/mesos-development/mesos/src/tests/balloon_framework_test.sh: line 8: /root/mesos-development/mesos/build/src/colors.sh: No such file or directory
> /root/mesos-development/mesos/src/tests/balloon_framework_test.sh: line 9: /root/mesos-development/mesos/build/src/atexit.sh: No such file or directory
> ```
>
> If user leave the `--source_dir=/nowhere` options as default or specify an valid path this patch works with the both circumstances.
> If use specify both `--source_dir=/nowhere` **(invalid path)** and `--build_dir=/none` explicitly, there will be following error show up:
>
> ```
> /usr/local/mesos-develop/libexec/mesos/tests/balloon_framework_test.sh: line 6: /nowhere/support/colors.sh: No such file or directory
> /usr/local/mesos-develop/libexec/mesos/tests/balloon_framework_test.sh: line 7: /nowhere/support/atexit.sh: No such file or directory
> ```
>
> I suppose it is confusing users therefore it is necessary to fix it and there are two methods here:
> 1. use the original commit I submitted
> 2. add checks for the source `${MESOS_SOURCE_DIR}/support/colors.sh` to prevent the `No such file or directory` showing up:
> ```
> FILE="${MESOS_SOURCE_DIR}/support/colors.sh" && test -f $FILE && source $FILE
> FILE="${MESOS_SOURCE_DIR}/support/atexit.sh" && test -f $FILE && source $FILE
> FILE="${MESOS_HELPER_DIR}/colors.sh" && test -f $FILE && source $FILE
> FILE="${MESOS_HELPER_DIR}/atexit.sh" && test -f $FILE && source $FILE
> ```
>
> What's your opinon here and which method will you prefer ?
Hi Ben, any comments here ?
- Dong
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/72709/#review221383
-----------------------------------------------------------
On July 27, 2020, 5:34 p.m., Dong Zhu wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/72709/
> -----------------------------------------------------------
>
> (Updated July 27, 2020, 5:34 p.m.)
>
>
> Review request for mesos and Benjamin Mahler.
>
>
> Repository: mesos
>
>
> Description
> -------
>
> Remove unnecessary codes which lead to the following warnning
> messages while performing tests:
>
> ...mesos/build/src/colors.sh: No such file or directory
> ...mesos/build/src/atexit.sh: No such file or directory
>
>
> Diffs
> -----
>
> src/tests/balloon_framework_test.sh 7d0a4fee200577a5f7b2edbb3b310a07678879dd
> src/tests/disk_full_framework_test.sh 62e62cb90ffb5c05f0db1517409179d5b38518e8
> src/tests/dynamic_reservation_framework_test.sh c094ed1464c61b6acf647549f1fd83117b135358
> src/tests/no_executor_framework_test.sh df282cab6e91645d19d0aa09867e6b45adaf2508
> src/tests/persistent_volume_framework_test.sh 6488656c4bd8ad0c6f25a367cf7de2f926dbecf0
> src/tests/test_framework_test.sh 8782e01edc5be3833760fc45e2b545fce100547b
> src/tests/test_http_framework_test.sh 256655dfd7697071547f755e8941822b6d51f8a8
>
>
> Diff: https://reviews.apache.org/r/72709/diff/1/
>
>
> Testing
> -------
>
> make tests
>
>
> Thanks,
>
> Dong Zhu
>
>
Re: Review Request 72709: Fixed the tests warning messages.
Posted by Benjamin Mahler <bm...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/72709/#review221383
-----------------------------------------------------------
Hm.. it seems this was done to support running the tests from an installation?
https://github.com/apache/mesos/commit/6cca8c8071e4b863d951a1631141f861c47826d1
- Benjamin Mahler
On July 27, 2020, 9:34 a.m., Dong Zhu wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/72709/
> -----------------------------------------------------------
>
> (Updated July 27, 2020, 9:34 a.m.)
>
>
> Review request for mesos and Benjamin Mahler.
>
>
> Repository: mesos
>
>
> Description
> -------
>
> Remove unnecessary codes which lead to the following warnning
> messages while performing tests:
>
> ...mesos/build/src/colors.sh: No such file or directory
> ...mesos/build/src/atexit.sh: No such file or directory
>
>
> Diffs
> -----
>
> src/tests/balloon_framework_test.sh 7d0a4fee200577a5f7b2edbb3b310a07678879dd
> src/tests/disk_full_framework_test.sh 62e62cb90ffb5c05f0db1517409179d5b38518e8
> src/tests/dynamic_reservation_framework_test.sh c094ed1464c61b6acf647549f1fd83117b135358
> src/tests/no_executor_framework_test.sh df282cab6e91645d19d0aa09867e6b45adaf2508
> src/tests/persistent_volume_framework_test.sh 6488656c4bd8ad0c6f25a367cf7de2f926dbecf0
> src/tests/test_framework_test.sh 8782e01edc5be3833760fc45e2b545fce100547b
> src/tests/test_http_framework_test.sh 256655dfd7697071547f755e8941822b6d51f8a8
>
>
> Diff: https://reviews.apache.org/r/72709/diff/1/
>
>
> Testing
> -------
>
> make tests
>
>
> Thanks,
>
> Dong Zhu
>
>
Re: Review Request 72709: Fixed the tests warning messages.
Posted by Benjamin Mahler <bm...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/72709/#review222064
-----------------------------------------------------------
Ship it!
Ship It!
- Benjamin Mahler
On Aug. 4, 2020, 4:30 a.m., Dong Zhu wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/72709/
> -----------------------------------------------------------
>
> (Updated Aug. 4, 2020, 4:30 a.m.)
>
>
> Review request for mesos and Benjamin Mahler.
>
>
> Repository: mesos
>
>
> Description
> -------
>
> Remove unnecessary codes which lead to the following warnning
> messages while performing tests:
>
> ...mesos/build/src/colors.sh: No such file or directory
> ...mesos/build/src/atexit.sh: No such file or directory
>
>
> Diffs
> -----
>
> src/tests/balloon_framework_test.sh 7d0a4fee200577a5f7b2edbb3b310a07678879dd
> src/tests/disk_full_framework_test.sh 62e62cb90ffb5c05f0db1517409179d5b38518e8
> src/tests/dynamic_reservation_framework_test.sh c094ed1464c61b6acf647549f1fd83117b135358
> src/tests/no_executor_framework_test.sh df282cab6e91645d19d0aa09867e6b45adaf2508
> src/tests/persistent_volume_framework_test.sh 6488656c4bd8ad0c6f25a367cf7de2f926dbecf0
> src/tests/test_framework_test.sh 8782e01edc5be3833760fc45e2b545fce100547b
> src/tests/test_http_framework_test.sh 256655dfd7697071547f755e8941822b6d51f8a8
>
>
> Diff: https://reviews.apache.org/r/72709/diff/3/
>
>
> Testing
> -------
>
> make tests
>
>
> Thanks,
>
> Dong Zhu
>
>
Re: Review Request 72709: Fixed the tests warning messages.
Posted by Mesos Reviewbot <re...@mesos.apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/72709/#review221462
-----------------------------------------------------------
Patch looks great!
Reviews applied: [72709]
Passed command: export OS='ubuntu:16.04' BUILDTOOL='autotools' COMPILER='gcc' CONFIGURATION='--verbose --disable-libtool-wrappers --disable-parallel-test-execution' ENVIRONMENT='GLOG_v=1 MESOS_VERBOSE=1'; ./support/jenkins/buildbot.sh
- Mesos Reviewbot
On Aug. 4, 2020, 12:30 p.m., Dong Zhu wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/72709/
> -----------------------------------------------------------
>
> (Updated Aug. 4, 2020, 12:30 p.m.)
>
>
> Review request for mesos and Benjamin Mahler.
>
>
> Repository: mesos
>
>
> Description
> -------
>
> Remove unnecessary codes which lead to the following warnning
> messages while performing tests:
>
> ...mesos/build/src/colors.sh: No such file or directory
> ...mesos/build/src/atexit.sh: No such file or directory
>
>
> Diffs
> -----
>
> src/tests/balloon_framework_test.sh 7d0a4fee200577a5f7b2edbb3b310a07678879dd
> src/tests/disk_full_framework_test.sh 62e62cb90ffb5c05f0db1517409179d5b38518e8
> src/tests/dynamic_reservation_framework_test.sh c094ed1464c61b6acf647549f1fd83117b135358
> src/tests/no_executor_framework_test.sh df282cab6e91645d19d0aa09867e6b45adaf2508
> src/tests/persistent_volume_framework_test.sh 6488656c4bd8ad0c6f25a367cf7de2f926dbecf0
> src/tests/test_framework_test.sh 8782e01edc5be3833760fc45e2b545fce100547b
> src/tests/test_http_framework_test.sh 256655dfd7697071547f755e8941822b6d51f8a8
>
>
> Diff: https://reviews.apache.org/r/72709/diff/3/
>
>
> Testing
> -------
>
> make tests
>
>
> Thanks,
>
> Dong Zhu
>
>
Re: Review Request 72709: Fixed the tests warning messages.
Posted by Dong Zhu <dz...@d2iq.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/72709/
-----------------------------------------------------------
(Updated Aug. 4, 2020, 12:30 p.m.)
Review request for mesos and Benjamin Mahler.
Repository: mesos
Description
-------
Remove unnecessary codes which lead to the following warnning
messages while performing tests:
...mesos/build/src/colors.sh: No such file or directory
...mesos/build/src/atexit.sh: No such file or directory
Diffs (updated)
-----
src/tests/balloon_framework_test.sh 7d0a4fee200577a5f7b2edbb3b310a07678879dd
src/tests/disk_full_framework_test.sh 62e62cb90ffb5c05f0db1517409179d5b38518e8
src/tests/dynamic_reservation_framework_test.sh c094ed1464c61b6acf647549f1fd83117b135358
src/tests/no_executor_framework_test.sh df282cab6e91645d19d0aa09867e6b45adaf2508
src/tests/persistent_volume_framework_test.sh 6488656c4bd8ad0c6f25a367cf7de2f926dbecf0
src/tests/test_framework_test.sh 8782e01edc5be3833760fc45e2b545fce100547b
src/tests/test_http_framework_test.sh 256655dfd7697071547f755e8941822b6d51f8a8
Diff: https://reviews.apache.org/r/72709/diff/3/
Changes: https://reviews.apache.org/r/72709/diff/2-3/
Testing
-------
make tests
Thanks,
Dong Zhu
Re: Review Request 72709: Fixed the tests warning messages.
Posted by Dong Zhu <dz...@d2iq.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/72709/
-----------------------------------------------------------
(Updated Aug. 4, 2020, 12:24 p.m.)
Review request for mesos and Benjamin Mahler.
Repository: mesos
Description
-------
Remove unnecessary codes which lead to the following warnning
messages while performing tests:
...mesos/build/src/colors.sh: No such file or directory
...mesos/build/src/atexit.sh: No such file or directory
Diffs (updated)
-----
src/tests/balloon_framework_test.sh 7d0a4fee200577a5f7b2edbb3b310a07678879dd
src/tests/disk_full_framework_test.sh 62e62cb90ffb5c05f0db1517409179d5b38518e8
src/tests/dynamic_reservation_framework_test.sh c094ed1464c61b6acf647549f1fd83117b135358
src/tests/no_executor_framework_test.sh df282cab6e91645d19d0aa09867e6b45adaf2508
src/tests/persistent_volume_framework_test.sh 6488656c4bd8ad0c6f25a367cf7de2f926dbecf0
src/tests/test_framework_test.sh 8782e01edc5be3833760fc45e2b545fce100547b
src/tests/test_http_framework_test.sh 256655dfd7697071547f755e8941822b6d51f8a8
Diff: https://reviews.apache.org/r/72709/diff/2/
Changes: https://reviews.apache.org/r/72709/diff/1-2/
Testing
-------
make tests
Thanks,
Dong Zhu