[
https://issues.apache.org/jira/browse/SOLR-18026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18044233#comment-18044233
]
Chris M. Hostetter commented on SOLR-18026:
-------------------------------------------
Seed doesn't seem to matter, problem can be reproduced with something like...
{noformat}
export RUNTIME_JAVA_HOME=/opt/jdk/25/latest/
./gradlew -p solr/core test --tests TestSolrCLIRunExample
{noformat}
[~epugh] [~dsmiley] - can you guys try take a look at this and see if you can
reproduce these failures with a {{RUNTIME_JAVA_HOME}} set to a jdk25?
Given that the problem happens only on some (newer) JDKs, and given the nature
of the commit identified by git bisect, I'm concerned that this problem might
affect either the client or the server when running with jdk25 (ie: not just a
bad test)
But FWIW: when i attempt to compile & run solr examples (on {{{}main{}}}, using
the {{-p}} option) using jdk25, i can't trigger the same problems.
{noformat}
$ git bisect log
# bad: [43de1f99c4fefd5e57c8a7c33e00c946866b5681] Update OTEL dependencies
(#3884)
# good: [de7f11d0bfc0cba8ce227dcdc6add390da8f5c2d] Fix repeated phrase in
config-sets.adoc (#3688)
git bisect start '43de1f99c4fefd5e57c8a7c33e00c946866b5681'
'de7f11d0bfc0cba8ce227dcdc6add390da8f5c2d'
# good: [b1c249726547598cc65504f35791524152e274c8] SOLR-17952: Stream decorator
test refactoring - use underscore rather than dot in aliases (#3761)
git bisect good b1c249726547598cc65504f35791524152e274c8
# good: [85d84ae46942ac86c1804d5ba12b9dff2cb742a7] SOLR-17619 Move SOLR-17760
changelog to unreleased folder
git bisect good 85d84ae46942ac86c1804d5ba12b9dff2cb742a7
# bad: [616c7d670d42b66e3bac58a40657c3aae9ca0342] SOLR-17984: Create a Solr
MergePolicyFactory for MergeOnFlushMergePolicy (#3848)
git bisect bad 616c7d670d42b66e3bac58a40657c3aae9ca0342
# good: [eda0a1b5ba3bfdfc75b241f299fcc5bd9e9a7c67] SOLR-17979 Fix
smokeTestRelease.py - not require 'help' folder - expect 'changelog' folder
git bisect good eda0a1b5ba3bfdfc75b241f299fcc5bd9e9a7c67
# bad: [92aff6361c0a7b3d5a15f361675e84ade37e570e] SOLR-17938: Switch to maven
central for getting the cuVS artifacts (#3844)
git bisect bad 92aff6361c0a7b3d5a15f361675e84ade37e570e
# bad: [7f635a9f3114fe380d8eb736d4d2b3b727e49a16] SOLR-15442: Sync up Solr
(Jetty) host and ports variable naming (#3814)
git bisect bad 7f635a9f3114fe380d8eb736d4d2b3b727e49a16
# good: [5c342fa5ac502c53278fa84bf8b89b085b5ed243] Copilot/check typos and
grammar in *.adoc files (#3832)
git bisect good 5c342fa5ac502c53278fa84bf8b89b085b5ed243
# first bad commit: [7f635a9f3114fe380d8eb736d4d2b3b727e49a16] SOLR-15442: Sync
up Solr (Jetty) host and ports variable naming (#3814)
{noformat}
>From a a recent jenkins build...
{noformat}
2> 19538 INFO (jetty-launcher-409-thread-1) [n:116.202.157.254:46179_solr c:
s: r: x: t:] o.e.j.e.s.ServletContextHandler Started
oeje10s.ServletContextHandler@4b624453{/solr,/solr,b=file:///home/jenkins/workspace/Solr-main-Linux/solr/core/build/tmp/tests-cwd/,a=AVAILABLE,h=oeje10s.SessionHandler@435bfd89{STARTED}}
2> 19538 INFO (jetty-launcher-409-thread-1) [n:116.202.157.254:46179_solr c:
s: r: x: t:] o.e.j.s.AbstractConnector Started
ServerConnector@b338c83{HTTP/1.1, (http/1.1, h2c)}{127.0.0.1:46179}
2> 19538 INFO (jetty-launcher-409-thread-1) [n:116.202.157.254:46179_solr c:
s: r: x: t:] o.e.j.s.Server Started
oejs.Server@306d92cf{STARTING}[12.0.27,sto=15000] @19544ms
2> 19539 WARN
(TEST-TestSolrCLIRunExample.testTechproductsExample-seed#[19400A359B0EA3BC])
[n: c: s: r: x: t:] o.a.s.c.c.SolrZkClient Using default ZkCredentialsInjector.
ZkCredentialsInjector is not secure, it creates an empty list of credentials
which leads to 'OPEN_ACL_UNSAFE' ACLs to Zookeeper nodes
2> 19539 WARN
(TEST-TestSolrCLIRunExample.testTechproductsExample-seed#[19400A359B0EA3BC])
[n: c: s: r: x: t:] o.a.s.c.c.SolrZkClient Using default ZkACLProvider.
DefaultZkACLProvider is not secure, it creates 'OPEN_ACL_UNSAFE' ACLs to
Zookeeper nodes
2> 19575 WARN
(TEST-TestSolrCLIRunExample.testTechproductsExample-seed#[19400A359B0EA3BC])
[n: c: s: r: x: t:] o.a.s.c.c.SolrZkClient Using default ZkCredentialsInjector.
ZkCredentialsInjector is not secure, it creates an empty list of credentials
which leads to 'OPEN_ACL_UNSAFE' ACLs to Zookeeper nodes
2> 19575 WARN
(TEST-TestSolrCLIRunExample.testTechproductsExample-seed#[19400A359B0EA3BC])
[n: c: s: r: x: t:] o.a.s.c.c.SolrZkClient Using default ZkACLProvider.
DefaultZkACLProvider is not secure, it creates 'OPEN_ACL_UNSAFE' ACLs to
Zookeeper nodes
2>
2> ERROR: Failed to create collection 'techproducts' due to: No live
SolrServers available to handle this request
2>
2>
2> ERROR: Failed to create techproducts using command: [--name, techproducts,
--shards, 1, --replication-factor, 1, --conf-name, techproducts, --conf-dir,
sample_techproducts_configs, --solr-url, http://localhost:46179]
2>
2> 19816 INFO (jetty-closer-452-thread-1) [n: c: s: r: x: t:] o.e.j.s.Server
Stopped oejs.Server@306d92cf{STOPPING}[12.0.27,sto=15000]
2> 19816 INFO (jetty-closer-452-thread-1) [n: c: s: r: x: t:] o.e.j.s.Server
Shutdown oejs.Server@306d92cf{STOPPING}[12.0.27,sto=15000]
...
> java.lang.AssertionError: it should be ok
org.apache.solr.cli.RunExampleTool@440727bc [-e, techproducts, --server-dir,
/home/jenkins/workspace/Solr-main-Linux/solr/server, --solr-home,
/home/jenkins/workspace/Solr-main-Linux/build/tmp/tests-tmp/org.apache.solr.cli.TestSolrCLIRunExample_19400A359B0EA3BC-001/tempDir-001,
-p, 46179, ] expected:<0> but was:<1>
> at
__randomizedtesting.SeedInfo.seed([19400A359B0EA3BC:9397DA8D81EC9B23]:0)
> at org.junit.Assert.fail(Assert.java:89)
> at org.junit.Assert.failNotEquals(Assert.java:835)
> at org.junit.Assert.assertEquals(Assert.java:647)
> at
org.apache.solr.cli.TestSolrCLIRunExample.testExample(TestSolrCLIRunExample.java:371)
> at
org.apache.solr.cli.TestSolrCLIRunExample.testTechproductsExample(TestSolrCLIRunExample.java:306)
> at
java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
> at java.base/java.lang.reflect.Method.invoke(Method.java:565)
...
2> NOTE: reproduce with: gradlew test --tests
TestSolrCLIRunExample.testTechproductsExample -Dtests.seed=19400A359B0EA3BC
-Dtests.multiplier=3 -Dtests.locale=en-PW -Dtests.timezone=Africa/Lusaka
-Dtests.asserts=true -Dtests.file.encoding=UTF-8
{noformat}
> TestSolrCLIRunExample fails on jdk25 (and jdk24?)
> -------------------------------------------------
>
> Key: SOLR-18026
> URL: https://issues.apache.org/jira/browse/SOLR-18026
> Project: Solr
> Issue Type: Bug
> Reporter: Chris M. Hostetter
> Assignee: Eric Pugh
> Priority: Major
>
> We've recently seen a high number (44%) of jenkins failures from all 4 tests
> methods in TestSolrCLIRunExample.
> These failure seem to be exclusive to Uwe's jenkins box and based on a quick
> skim of the job descriptions that pass (vs the ones that fail) they only seem
> to fail when an (alt) jdk > 23 is used.
> I can reproduce these failures when setting my {{RUNTIME_JAVA_HOME}} env var
> to point to jdk25.
> Git bisect indicates that the failure was introduced by SOLR-15442 (which was
> a while ago -- the recency of the jenkins failures may be due to recent
> changes in how often Uwe's box runs Solr tests with alt jdks)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]