[
https://issues.apache.org/jira/browse/IMPALA-10448?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17270611#comment-17270611
]
ASF subversion and git services commented on IMPALA-10448:
----------------------------------------------------------
Commit 6d4756da0123b8b4e0b49e1d7e37651dc02db7fd in impala's branch
refs/heads/master from Laszlo Gaal
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=6d4756d ]
IMPALA-10448: Build impala-profile-tool early for Docker-based tests
impala-profile-tool is a new dependency for end-to-end tests.
The tool is built together with all the other backend tests
(so the buildall.sh flag '-notests' can turn off building it), it is
actually used in the parallel phase of end-to-end tests.
This means a problem for Docker-based builds for the following reasons:
- Docker-based tests run BE, FE and various phases of the EE test in
separate Docker containers for parallel executions
- Test binaries are only built inside the container running BE tests to
cut down on the build time and the size of the Docker image that all test
containers are based on.
- This means that the EE_TEST_PARALLEL container will miss the tool
required for running test designed to test it.
The solution is to build the tool early, at the end of the build phase
running in the build container. There is already another such tool built
there (parquet-reader) for similar reason, so just add
impala-profile-tool to the same 'make' command there.
Tested by running BE_TEST and EE_TEST_PARALLEL phases in a Docker-based
build.
Change-Id: I60e78ea883f3057c59a345feca38ef08a7f6a0b8
Reviewed-on: http://gerrit.cloudera.org:8080/16965
Reviewed-by: Impala Public Jenkins <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>
> observability/test_profile_tool.py fails missing impala-profile-tool during
> Docker-based tests
> ----------------------------------------------------------------------------------------------
>
> Key: IMPALA-10448
> URL: https://issues.apache.org/jira/browse/IMPALA-10448
> Project: IMPALA
> Issue Type: Bug
> Components: Infrastructure
> Affects Versions: Impala 4.0
> Reporter: Laszlo Gaal
> Assignee: Laszlo Gaal
> Priority: Major
>
> The test executable {{impala-profile-tool}} is missing during the execution
> of the test suite EE_TEST_PARALLEL. This is specific to Docker-based tests
> (driven by docker/test-with-docker-py), because in that environment test
> executables are built only in the container execuring the suite BE_TEST. All
> other containers receive only the core Impala binaries as built by
> {code}
> buildall.sh -notests
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]