[Searchlight][Zuul] tox failed tests at zuul check only

Trinh Nguyen dangtrinhnt at gmail.com
Fri Dec 7 16:17:29 UTC 2018


Hi again,
Just wonder how the image for searchlight test was set up? Which user is
used for running ElasticSearch? Is there any way to indicate the user that
will run the test? Can I do it with [1]? Based on the output of [2] I can
see there are some permission issue of JDK if I run the functional tests
with the stack user on my dev environment.

[1]
https://git.openstack.org/cgit/openstack/searchlight/tree/tools/test-setup.sh
[2]
https://review.openstack.org/#/c/622871/3/searchlight/tests/functional/__init__.py

Thanks,


On Fri, Dec 7, 2018 at 4:30 PM Trinh Nguyen <dangtrinhnt at gmail.com> wrote:

> Hi Clark,
>
> Outputting the exec logs does help. And, I found the problem for the
> functional tests to fail, it because ES cannot be started because of the
> way the functional sets up the new version of ES server (5.x). I'm working
> on updating it.
>
> Many thanks,
>
> On Tue, Dec 4, 2018 at 1:39 AM Clark Boylan <cboylan at sapwetik.org> wrote:
>
>> On Mon, Dec 3, 2018, at 7:28 AM, Trinh Nguyen wrote:
>> > Hello,
>> >
>> > Currently, [1] fails tox py27 tests on Zuul check for just updating the
>> log
>> > text. The tests are successful at local dev env. Just wondering there is
>> > any new change at Zuul CI?
>> >
>> > [1] https://review.openstack.org/#/c/619162/
>> >
>>
>> Reading the exceptions [2] and the test setup code [3] it appears that
>> elasticsearch isn't responding on its http port and is thus treated as
>> having not started. With the info we currently have it is hard to say why.
>> Instead of redirecting exec logs to /dev/null [4] maybe we can capture that
>> data? Also probably worth grabbing the elasticsearch daemon log as well.
>>
>> Without that information it is hard to say why this happened. I am not
>> aware of any changes in the CI system that would cause this, but we do
>> rebuild our test node images daily.
>>
>> [2]
>> http://logs.openstack.org/62/619162/5/check/openstack-tox-py27/9ce318d/job-output.txt.gz#_2018-11-27_05_32_48_854289
>> [3]
>> https://git.openstack.org/cgit/openstack/searchlight/tree/searchlight/tests/functional/__init__.py#n868
>> [4]
>> https://git.openstack.org/cgit/openstack/searchlight/tree/searchlight/tests/functional/__init__.py#n851
>>
>> Clark
>>
>>
>
> --
> *Trinh Nguyen*
> *www.edlab.xyz <https://www.edlab.xyz>*
>
>

-- 
*Trinh Nguyen*
*www.edlab.xyz <https://www.edlab.xyz>*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20181208/dedfeca6/attachment-0001.html>


More information about the openstack-discuss mailing list