You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Jinchul Kim (JIRA)" <ji...@apache.org> on 2017/11/21 15:22:00 UTC

[jira] [Created] (IMPALA-6229) A different test results between test/run-tests.py and impala-py.test

Jinchul Kim created IMPALA-6229:
-----------------------------------

             Summary: A different test results between test/run-tests.py and impala-py.test
                 Key: IMPALA-6229
                 URL: https://issues.apache.org/jira/browse/IMPALA-6229
             Project: IMPALA
          Issue Type: Bug
          Components: Infrastructure
            Reporter: Jinchul Kim
            Priority: Minor


I copied from dev mailing list because this might be a infra issue.

I am trying to look into the build error:
https://jenkins.impala.io/job/gerrit-verify-dryrun/1472/
(The relevant code change: https://gerrit.cloudera.org/#/c/8355/13). You can reproduce the issue using the patch set.

There was a test failure at "TestAllocFail.test_alloc_fail_init". I ran the
following command but it always passed on my change: ./tests/run-tests.py
tests/custom_cluster/test_alloc_fail.py

The command below with "run-tests.py"
looks fine to me because it shows tests are finished successfully. I guess
it shows false positive error. If "tests/custom_cluster/test_alloc_fail.py"
cannot run with "run-tests.py", test should be finished with an error due
to incompatibility case. Would you please check two things?
1. The false positive error
2. Does "tests/custom_cluster/test_alloc_fail.py" run with "run-tests.py"?

$ ./tests/run-tests.py tests/custom_cluster/test_alloc_fail.py
...
=============================================================================================================================================================================
test session starts
==============================================================================================================================================================================
platform linux2 -- Python 2.7.12, pytest-2.9.2, py-1.4.32, pluggy-0.3.1 --
/home/jinchulkim/Impala/bin/../infra/python/env/bin/python
cachedir: .cache
rootdir: /home/jinchulkim/Impala/tests, inifile: pytest.ini
plugins: xdist-1.15.0, random-0.2
collected 2 items

verifiers/test_verify_metrics.py::TestValidateMetrics::test_metrics_are_zero
PASSED
verifiers/test_verify_metrics.py::TestValidateMetrics::test_num_unused_buffers
PASSED
===========================================================================================================================================================================
2 passed in 0.11 seconds
===========================================================================================================================================================================




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)