Zoltan Martonka has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/21282 )

Change subject: [CMakeLists] Make kudu_test_main static
......................................................................


Patch Set 1:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/21282/1//COMMIT_MSG
Commit Message:

http://gerrit.cloudera.org:8080/#/c/21282/1//COMMIT_MSG@14
PS1, Line 14: This happens in ubuntu 22.04 test runs
> Thank you for the update.
It was reproducible on a public aws arm container in August, so it can't be 
caused by any recent commits. Steps were if I remember correctly:
+ Start a new machine.
+ clone kudu.
+ Install python3 by hand and do a python->python3 symlink.
+ Run the 3 bootstrap script from the docker library (commenting out the python 
install)
+ ./thirdparty/build-if-necessary.sh
+ mkdir build/debug && cd build/debug
+ ../thirdparty/installed/common/bin/cmake -GNinja -DKUDU_LINK=dynamic 
-DCMAKE_BUILD_TYPE=Debug ../..


No other steps were needed. Back in august I even started a new instance, just 
to check if it is wrong an a clean environment.  (I left the issue in august, 
when Cloudera provided an ubuntu20 arm image. I was testing ubuntu22 on aws 
using personal funds. (just wanted to take a look how bad it is)).
The same steps result in the problematic behaviour if I start a clean 
ubuntu22.04 docker image on my desktop machine.

Also impala found the issue much earlier (2022 october), and it seem they could 
reproduce it on ubuntu18 and 20:

https://github.com/apache/impala/commit/97480c3e3259777c27e37b830fbf14e27b4f4d89


I don't understand all the factors that decide the "library search order", but 
after some rebuild, it started to put libkudu_util before glibc and the issue 
disappeared, and even clearing the ld cache did not help. Only starting a new 
aws instance / docker image helped.



--
To view, visit http://gerrit.cloudera.org:8080/21282
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I0dfeb1fa04ed91e95fd1f8d789f020dd44289fea
Gerrit-Change-Number: 21282
Gerrit-PatchSet: 1
Gerrit-Owner: Ádám Bakai <aba...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <ale...@apache.org>
Gerrit-Reviewer: Attila Bukor <abu...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Zoltan Martonka <zmarto...@cloudera.com>
Gerrit-Reviewer: Ádám Bakai <aba...@cloudera.com>
Gerrit-Comment-Date: Fri, 19 Apr 2024 07:28:55 +0000
Gerrit-HasComments: Yes

Reply via email to