Skip to content

Instantly share code, notes, and snippets.

@dbbaughe
Created March 30, 2022 16:21
Show Gist options
  • Select an option

  • Save dbbaughe/898d02beeb593fcf66ef97b2546a713b to your computer and use it in GitHub Desktop.

Select an option

Save dbbaughe/898d02beeb593fcf66ef97b2546a713b to your computer and use it in GitHub Desktop.
Index Management/OpenSearch 2.0.0 error
./gradlew integTest --tests "*AllocationActionIT"
> Configure project :
mixed cluster flag: false
=======================================
OpenSearch Build Hamster says Hello!
Gradle Version : 7.3.3
OS Info : Linux 5.4.181-109.354.amzn2int.x86_64 (amd64)
JDK Version : 17 (OpenJDK)
JAVA_HOME : /local/home/dbbaughe/jdk-17.0.2
Random Testing Seed : A3B545BA08102375
In FIPS 140 mode : false
=======================================
> Task :integTest FAILED
=== Standard output of node `node{::integTest-0}` ===
» ↓ errors and warnings from /local/home/dbbaughe/projects/index-management/build/testclusters/integTest-0/logs/opensearch.stdout.log ↓
» ERROR][o.o.b.OpenSearchUncaughtExceptionHandler] [integTest-0] uncaught exception in thread [main]
» org.opensearch.bootstrap.StartupException: java.lang.IllegalArgumentException: Unsupported api 589824
» at org.opensearch.bootstrap.OpenSearch.init(OpenSearch.java:182) ~[opensearch-2.0.0-alpha1-SNAPSHOT.jar:2.0.0-alpha1-SNAPSHOT]
» at org.opensearch.bootstrap.OpenSearch.execute(OpenSearch.java:169) ~[opensearch-2.0.0-alpha1-SNAPSHOT.jar:2.0.0-alpha1-SNAPSHOT]
» at org.opensearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:100) ~[opensearch-2.0.0-alpha1-SNAPSHOT.jar:2.0.0-alpha1-SNAPSHOT]
» at org.opensearch.cli.Command.mainWithoutErrorHandling(Command.java:138) ~[opensearch-cli-2.0.0-alpha1-SNAPSHOT.jar:2.0.0-alpha1-SNAPSHOT]
» at org.opensearch.cli.Command.main(Command.java:101) ~[opensearch-cli-2.0.0-alpha1-SNAPSHOT.jar:2.0.0-alpha1-SNAPSHOT]
» at org.opensearch.bootstrap.OpenSearch.main(OpenSearch.java:135) ~[opensearch-2.0.0-alpha1-SNAPSHOT.jar:2.0.0-alpha1-SNAPSHOT]
» at org.opensearch.bootstrap.OpenSearch.main(OpenSearch.java:101) ~[opensearch-2.0.0-alpha1-SNAPSHOT.jar:2.0.0-alpha1-SNAPSHOT]
» Caused by: java.lang.IllegalArgumentException: Unsupported api 589824
» at org.objectweb.asm.MethodVisitor.<init>(MethodVisitor.java:89) ~[Log4jHotPatchFat.jar:?]
» at org.objectweb.asm.commons.LocalVariablesSorter.<init>(LocalVariablesSorter.java:102) ~[?:?]
» at org.objectweb.asm.commons.GeneratorAdapter.<init>(GeneratorAdapter.java:227) ~[?:?]
» at org.objectweb.asm.commons.GeneratorAdapter.<init>(GeneratorAdapter.java:204) ~[?:?]
» at org.objectweb.asm.commons.GeneratorAdapter.<init>(GeneratorAdapter.java:245) ~[?:?]
» at org.opensearch.painless.lookup.PainlessLookupBuilder.generateBridgeMethod(PainlessLookupBuilder.java:2122) ~[?:?]
» at org.opensearch.painless.lookup.PainlessLookupBuilder.generateRuntimeMethods(PainlessLookupBuilder.java:2084) ~[?:?]
» at org.opensearch.painless.lookup.PainlessLookupBuilder.build(PainlessLookupBuilder.java:1920) ~[?:?]
» at org.opensearch.painless.lookup.PainlessLookupBuilder.buildFromWhitelists(PainlessLookupBuilder.java:219) ~[?:?]
» at org.opensearch.painless.PainlessScriptEngine.<init>(PainlessScriptEngine.java:113) ~[?:?]
» at org.opensearch.painless.PainlessPlugin.getScriptEngine(PainlessPlugin.java:127) ~[?:?]
» at org.opensearch.script.ScriptModule.<init>(ScriptModule.java:97) ~[opensearch-2.0.0-alpha1-SNAPSHOT.jar:2.0.0-alpha1-SNAPSHOT]
» at org.opensearch.node.Node.<init>(Node.java:461) ~[opensearch-2.0.0-alpha1-SNAPSHOT.jar:2.0.0-alpha1-SNAPSHOT]
» at org.opensearch.node.Node.<init>(Node.java:329) ~[opensearch-2.0.0-alpha1-SNAPSHOT.jar:2.0.0-alpha1-SNAPSHOT]
» at org.opensearch.bootstrap.Bootstrap$5.<init>(Bootstrap.java:242) ~[opensearch-2.0.0-alpha1-SNAPSHOT.jar:2.0.0-alpha1-SNAPSHOT]
» at org.opensearch.bootstrap.Bootstrap.setup(Bootstrap.java:242) ~[opensearch-2.0.0-alpha1-SNAPSHOT.jar:2.0.0-alpha1-SNAPSHOT]
» at org.opensearch.bootstrap.Bootstrap.init(Bootstrap.java:412) ~[opensearch-2.0.0-alpha1-SNAPSHOT.jar:2.0.0-alpha1-SNAPSHOT]
» at org.opensearch.bootstrap.OpenSearch.init(OpenSearch.java:178) ~[opensearch-2.0.0-alpha1-SNAPSHOT.jar:2.0.0-alpha1-SNAPSHOT]
» ... 6 more
» WARN ][stderr ] [integTest-0] java.security.AccessControlException: access denied ("java.io.FilePermission" "/local/home/dbbaughe/projects/index-management/build/testclusters/integTest-0/distro/2.0.0-ARCHIVE/local/home/dbbaughe/projects/index-management/build/jacoco/integTest.exec" "write")
» ↓ last 40 non error or warning messages from /local/home/dbbaughe/projects/index-management/build/testclusters/integTest-0/logs/opensearch.stdout.log ↓
» [2022-03-29T19:28:49.947742280Z] [BUILD] Configuring custom cluster specific distro directory: /local/home/dbbaughe/projects/index-management/build/testclusters/integTest-0/distro/2.0.0-ARCHIVE
» [2022-03-29T19:28:49.971975746Z] [BUILD] Copying additional config files from distro [/local/home/dbbaughe/projects/index-management/build/testclusters/integTest-0/distro/2.0.0-ARCHIVE/config/log4j2.properties, /local/home/dbbaughe/projects/index-management/build/testclusters/integTest-0/distro/2.0.0-ARCHIVE/config/jvm.options, /local/home/dbbaughe/projects/index-management/build/testclusters/integTest-0/distro/2.0.0-ARCHIVE/config/opensearch.yml, /local/home/dbbaughe/projects/index-management/build/testclusters/integTest-0/distro/2.0.0-ARCHIVE/config/jvm.options.d]
» [2022-03-29T19:28:49.972414822Z] [BUILD] installing 2 plugins in a single transaction
» [2022-03-29T19:28:52.516801857Z] [BUILD] installed plugins
» [2022-03-29T19:28:52.516893960Z] [BUILD] Creating opensearch keystore with password set to []
» [2022-03-29T19:28:54.361317596Z] [BUILD] Starting OpenSearch process
» [2022-03-29T19:28:58,875][INFO ][o.o.n.Node ] [integTest-0] version[2.0.0-alpha1-SNAPSHOT], pid[17272], build[tar/f1d35d028ffc807303c75ba677f4c2cff9835041/2022-03-26T00:34:53.804093637Z], OS[Linux/5.4.181-109.354.amzn2int.x86_64/amd64], JVM[Oracle Corporation/OpenJDK 64-Bit Server VM/17.0.2/17.0.2+8-86]
» [2022-03-29T19:28:58,881][INFO ][o.o.n.Node ] [integTest-0] JVM home [/local/home/dbbaughe/jdk-17.0.2], using bundled JDK [false]
» [2022-03-29T19:28:58,882][INFO ][o.o.n.Node ] [integTest-0] JVM arguments [-Xshare:auto, -Dopensearch.networkaddress.cache.ttl=60, -Dopensearch.networkaddress.cache.negative.ttl=10, -XX:+AlwaysPreTouch, -Xss1m, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djna.nosys=true, -XX:-OmitStackTraceInFastThrow, -XX:+ShowCodeDetailsInExceptionMessages, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dio.netty.allocator.numDirectArenas=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -Djava.locale.providers=SPI,COMPAT, -Xms1g, -Xmx1g, -XX:+UseG1GC, -XX:G1ReservePercent=25, -XX:InitiatingHeapOccupancyPercent=30, -Djava.io.tmpdir=/local/home/dbbaughe/projects/index-management/build/testclusters/integTest-0/tmp, -XX:+HeapDumpOnOutOfMemoryError, -XX:HeapDumpPath=logs, -XX:ErrorFile=logs/hs_err_pid%p.log, -Xlog:gc*,gc+age=trace,safepoint:file=logs/gc.log:utctime,pid,tags:filecount=32,filesize=64m, -Xms512m, -Xmx512m, -ea, -esa, -Dcom.sun.management.jmxremote.ssl=false, -Dcom.sun.management.jmxremote=true, -Dcom.sun.management.jmxremote.port=7777, -Djava.rmi.server.hostname=127.0.0.1, -Dcom.sun.management.jmxremote.authenticate=false, -javaagent:/local/home/dbbaughe/projects/index-management/build/tmp/expandedArchives/org.jacoco.agent-0.8.7.jar_3a83c50b4a016f281c4e9f3500d16b55/jacocoagent.jar=destfile=local/home/dbbaughe/projects/index-management/build/jacoco/integTest.exec,append=true,inclnolocationclasses=false,dumponexit=true,output=file,jmx=true, -XX:MaxDirectMemorySize=268435456, -Dopensearch.path.home=/local/home/dbbaughe/projects/index-management/build/testclusters/integTest-0/distro/2.0.0-ARCHIVE, -Dopensearch.path.conf=/local/home/dbbaughe/projects/index-management/build/testclusters/integTest-0/config, -Dopensearch.distribution.type=tar, -Dopensearch.bundled_jdk=true]
» [2022-03-29T19:29:00,135][INFO ][o.o.i.r.ReindexPlugin ] [integTest-0] ReindexPlugin reloadSPI called
» [2022-03-29T19:29:00,139][INFO ][o.o.i.r.ReindexPlugin ] [integTest-0] Unable to find any implementation for RemoteReindexExtension
» [2022-03-29T19:29:00,166][INFO ][o.o.j.JobSchedulerPlugin ] [integTest-0] Loaded scheduler extension: opendistro-index-management, index: .opendistro-ism-config
» [2022-03-29T19:29:00,177][INFO ][o.o.p.PluginsService ] [integTest-0] loaded module [aggs-matrix-stats]
» [2022-03-29T19:29:00,178][INFO ][o.o.p.PluginsService ] [integTest-0] loaded module [analysis-common]
» [2022-03-29T19:29:00,178][INFO ][o.o.p.PluginsService ] [integTest-0] loaded module [geo]
» [2022-03-29T19:29:00,179][INFO ][o.o.p.PluginsService ] [integTest-0] loaded module [ingest-common]
» [2022-03-29T19:29:00,179][INFO ][o.o.p.PluginsService ] [integTest-0] loaded module [ingest-geoip]
» [2022-03-29T19:29:00,180][INFO ][o.o.p.PluginsService ] [integTest-0] loaded module [ingest-user-agent]
» [2022-03-29T19:29:00,180][INFO ][o.o.p.PluginsService ] [integTest-0] loaded module [lang-expression]
» [2022-03-29T19:29:00,181][INFO ][o.o.p.PluginsService ] [integTest-0] loaded module [lang-mustache]
» [2022-03-29T19:29:00,181][INFO ][o.o.p.PluginsService ] [integTest-0] loaded module [lang-painless]
» [2022-03-29T19:29:00,182][INFO ][o.o.p.PluginsService ] [integTest-0] loaded module [mapper-extras]
» [2022-03-29T19:29:00,182][INFO ][o.o.p.PluginsService ] [integTest-0] loaded module [opensearch-dashboards]
» [2022-03-29T19:29:00,182][INFO ][o.o.p.PluginsService ] [integTest-0] loaded module [parent-join]
» [2022-03-29T19:29:00,183][INFO ][o.o.p.PluginsService ] [integTest-0] loaded module [percolator]
» [2022-03-29T19:29:00,183][INFO ][o.o.p.PluginsService ] [integTest-0] loaded module [rank-eval]
» [2022-03-29T19:29:00,183][INFO ][o.o.p.PluginsService ] [integTest-0] loaded module [reindex]
» [2022-03-29T19:29:00,184][INFO ][o.o.p.PluginsService ] [integTest-0] loaded module [repository-url]
» [2022-03-29T19:29:00,184][INFO ][o.o.p.PluginsService ] [integTest-0] loaded module [test-delayed-aggs]
» [2022-03-29T19:29:00,185][INFO ][o.o.p.PluginsService ] [integTest-0] loaded module [transport-netty4]
» [2022-03-29T19:29:00,186][INFO ][o.o.p.PluginsService ] [integTest-0] loaded plugin [opensearch-index-management]
» [2022-03-29T19:29:00,186][INFO ][o.o.p.PluginsService ] [integTest-0] loaded plugin [opensearch-job-scheduler]
» [2022-03-29T19:29:00,289][INFO ][o.o.e.NodeEnvironment ] [integTest-0] using [1] data paths, mounts [[/ (/dev/nvme0n1p1)]], net usable_space [411.6gb], net total_space [492gb], types [ext4]
» [2022-03-29T19:29:00,290][INFO ][o.o.e.NodeEnvironment ] [integTest-0] heap size [512mb], compressed ordinary object pointers [true]
» [2022-03-29T19:29:00,379][INFO ][o.o.n.Node ] [integTest-0] node name [integTest-0], node ID [3ETktU0ITs-nj49ToYngag], cluster name [integTest], roles [cluster_manager, remote_cluster_client, data, ingest]
» [2022-03-29T19:29:01.868485380Z] [BUILD] Stopping node
=== Standard error of node `node{::integTest-0}` ===
» ↓ last 40 non error or warning messages from /local/home/dbbaughe/projects/index-management/build/testclusters/integTest-0/logs/opensearch.stderr.log ↓
» WARNING: A terminally deprecated method in java.lang.System has been called
» WARNING: System::setSecurityManager has been called by org.opensearch.bootstrap.OpenSearch (file:/local/home/dbbaughe/projects/index-management/build/testclusters/integTest-0/distro/2.0.0-ARCHIVE/lib/opensearch-2.0.0-alpha1-SNAPSHOT.jar)
» WARNING: Please consider reporting this to the maintainers of org.opensearch.bootstrap.OpenSearch
» WARNING: System::setSecurityManager will be removed in a future release
» WARNING: A terminally deprecated method in java.lang.System has been called
» WARNING: System::setSecurityManager has been called by org.opensearch.bootstrap.Security (file:/local/home/dbbaughe/projects/index-management/build/testclusters/integTest-0/distro/2.0.0-ARCHIVE/lib/opensearch-2.0.0-alpha1-SNAPSHOT.jar)
» WARNING: Please consider reporting this to the maintainers of org.opensearch.bootstrap.Security
» WARNING: System::setSecurityManager will be removed in a future release
» uncaught exception in thread [main]
» java.lang.IllegalArgumentException: Unsupported api 589824
» at org.objectweb.asm.MethodVisitor.<init>(MethodVisitor.java:89)
» at org.objectweb.asm.commons.LocalVariablesSorter.<init>(LocalVariablesSorter.java:102)
» at org.objectweb.asm.commons.GeneratorAdapter.<init>(GeneratorAdapter.java:227)
» at org.objectweb.asm.commons.GeneratorAdapter.<init>(GeneratorAdapter.java:204)
» at org.objectweb.asm.commons.GeneratorAdapter.<init>(GeneratorAdapter.java:245)
» at org.opensearch.painless.lookup.PainlessLookupBuilder.generateBridgeMethod(PainlessLookupBuilder.java:2122)
» at org.opensearch.painless.lookup.PainlessLookupBuilder.generateRuntimeMethods(PainlessLookupBuilder.java:2084)
» at org.opensearch.painless.lookup.PainlessLookupBuilder.build(PainlessLookupBuilder.java:1920)
» at org.opensearch.painless.lookup.PainlessLookupBuilder.buildFromWhitelists(PainlessLookupBuilder.java:219)
» at org.opensearch.painless.PainlessScriptEngine.<init>(PainlessScriptEngine.java:113)
» at org.opensearch.painless.PainlessPlugin.getScriptEngine(PainlessPlugin.java:127)
» at org.opensearch.script.ScriptModule.<init>(ScriptModule.java:97)
» at org.opensearch.node.Node.<init>(Node.java:461)
» at org.opensearch.node.Node.<init>(Node.java:329)
» at org.opensearch.bootstrap.Bootstrap$5.<init>(Bootstrap.java:242)
» at org.opensearch.bootstrap.Bootstrap.setup(Bootstrap.java:242)
» at org.opensearch.bootstrap.Bootstrap.init(Bootstrap.java:412)
» at org.opensearch.bootstrap.OpenSearch.init(OpenSearch.java:178)
» at org.opensearch.bootstrap.OpenSearch.execute(OpenSearch.java:169)
» at org.opensearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:100)
» at org.opensearch.cli.Command.mainWithoutErrorHandling(Command.java:138)
» at org.opensearch.cli.Command.main(Command.java:101)
» at org.opensearch.bootstrap.OpenSearch.main(OpenSearch.java:135)
» at org.opensearch.bootstrap.OpenSearch.main(OpenSearch.java:101)
» For complete error details, refer to the log at /local/home/dbbaughe/projects/index-management/build/testclusters/integTest-0/logs/integTest.log
FAILURE: Build failed with an exception.
* Where:
Build file '/local/home/dbbaughe/projects/index-management/build.gradle' line: 284
* What went wrong:
Execution failed for task ':integTest'.
> process was found dead while waiting for ports files, node{::integTest-0}
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.3.3/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 18s
13 actionable tasks: 2 executed, 11 up-to-date
./gradlew integTest --tests "*AllocationActionIT"
> Configure project :
mixed cluster flag: false
=======================================
OpenSearch Build Hamster says Hello!
Gradle Version : 7.3.3
OS Info : Linux 5.4.181-109.354.amzn2int.x86_64 (amd64)
JDK Version : 17 (OpenJDK)
JAVA_HOME : /local/home/dbbaughe/jdk-17.0.2
Random Testing Seed : B4BCF0B112F9152F
In FIPS 140 mode : false
=======================================
> Task :integTest
OpenJDK 64-Bit Server VM warning: Ignoring option --illegal-access=warn; support was removed in 17.0
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.3.3/userguide/command_line_interface.html#sec:command_line_warnings
BUILD SUCCESSFUL in 43s
13 actionable tasks: 2 executed, 11 up-to-date
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment