Open jaki opened 4 years ago
Could not reproduce this on my CentOS dev server on 9ce19409c using
./yb_build.sh --java-test TestPgRegressPgMisc -n 1000 --tp 1 -- --skip-log-compression
Not a single iteration failed
I've been seeing the NoClassDefFound a lot more often these days on local runs. One recent example is org.yb.pgsql.TestPgRegressIndex#testPgRegressIndex
.
Seeing something similar on my mac with a clang based debug build -
[ERROR] ~/code/yugabyte-db/java/yb-cql/src/test/java/org/yb/cql/TestSystemTables.java:[193,54] cannot access MiniYBClusterParameters
[ERROR] class file for MiniYBClusterParameters not found
[ERROR] -> [Help 1]
This happens even with a clean build
As a workaround, try using everything on top of this commit - 9d20f92e50e0de999a64e8be3bfcb3f8946761d8
Jira Link: DB-2416 Running on CentOS dev server, I sometimes see failures with log messages saying
NoClassDefFoundError
orNoSuchMethodError
.~/logs/repeat_unit_test/yb-pgsql/org.yb.pgsql.TestPgRegressPgMisc/2020-08-26T16_52_12/30.reports_combined_logs.txt.gz
:I found one old internal build log (also centos, debug, gcc):
Here's the NoClassDefFound one:
~/logs/repeat_unit_test/yb-pgsql/org.yb.pgsql.TestPgRegressJoin/2020-08-26T15_58_29/22.reports_combined_logs.txt.gz
:I did not find this
NoClassDefFoundError
in old internal build logs (for centos, debug, gcc).Since these errors are particularly rare for internal builds yet somewhat common for my centos dev server, I'm inclined to think it is a dev server problem. More data points would help.