-
Notifications
You must be signed in to change notification settings - Fork 913
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[KYUUBI #6449] Fix Gluten CI ClassNotFoundException: io.glutenproject.GlutenPlugin #6449
Changes from 14 commits
dd2a75e
5d7ad1b
4d70a5d
f7aa0ba
7626c1e
532e86c
e7ea815
028c947
fc0b991
0251720
20bb171
1ea91e9
2c8a1f1
6391c4d
4f1f34b
738065f
a8fd720
af090c2
706e920
a551244
a3415c8
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,6 +20,10 @@ name: Gluten CI | |
on: | ||
schedule: | ||
- cron: 0 4 * * * | ||
pull_request: | ||
branches: | ||
- master | ||
workflow_dispatch: | ||
|
||
env: | ||
MVN_OPT: -Dmaven.javadoc.skip=true -Drat.skip=true -Dscalastyle.skip=true -Dspotless.check.skip -Dorg.slf4j.simpleLogger.defaultLogLevel=warn -Pjdbc-shaded,gen-policy -Dmaven.plugin.download.cache.path=/tmp/engine-archives | ||
|
@@ -64,6 +68,18 @@ jobs: | |
git clone https://github.com/oap-project/gluten.git | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this repo should be updated. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Updated. |
||
cd gluten | ||
./dev/buildbundle-veloxbe.sh | ||
THIRDPARTY_LIB="./package/target/thirdparty-lib" | ||
LINUX_OS=$(. /etc/os-release && echo ${ID}) | ||
VERSION=$(. /etc/os-release && echo ${VERSION_ID}) | ||
ARCH=`uname -m` | ||
mkdir -p $THIRDPARTY_LIB | ||
cp /usr/lib/${ARCH}-linux-gnu/{libre2.so.9,libdouble-conversion.so.3,libidn.so.12,\ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. why should we do such copy? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Build and test are run in different vm. Libraries only exists in build vm. |
||
libglog.so.0,libgflags.so.2.2,libevent-2.1.so.7,libsnappy.so.1,libunwind.so.8,\ | ||
libcurl.so.4,libxml2.so.2,libgsasl.so.7,libicui18n.so.70,libicuuc.so.70,libnghttp2.so.14,\ | ||
libldap-2.5.so.0,liblber-2.5.so.0,libntlm.so.0,librtmp.so.1,libsasl2.so.2,libssh.so.4,\ | ||
libicudata.so.70,libthrift-0.16.0.so} $THIRDPARTY_LIB/ | ||
cp /usr/local/lib/{libprotobuf.so.32,libboost_context.so.1.84.0,\ | ||
libboost_regex.so.1.84.0} $THIRDPARTY_LIB/ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can we send a pr to gluten to make package.sh support collect libraries only ? So that we can use that script directly. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. OK. Let me try. |
||
fi | ||
- uses: actions/cache@v3 | ||
if: steps.gluten-cache.outputs.cache-hit != 'true' | ||
|
@@ -115,6 +131,7 @@ jobs: | |
- name: Run Gluten Integration TPC-H/DS Test | ||
run: | | ||
TEST_MODULES="integration-tests/kyuubi-gluten-it" | ||
export LD_LIBRARY_PATH=$(pwd)/gluten/package/target/thirdparty-lib | ||
./build/mvn ${MVN_OPT} -Pgluten-it -Pspark-${{ matrix.spark }} -pl ${TEST_MODULES} -am clean install -DskipTests | ||
./build/mvn ${MVN_OPT} -Pgluten-it -Pspark-${{ matrix.spark }} -pl ${TEST_MODULES} test | ||
- name: Upload test logs | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove this before merge