Build: https://ci-builds.apache.org/job/Solr/job/Solr-Check-main/8916/
1 tests failed.
FAILED:
org.apache.solr.cloud.api.collections.TestLocalFSCloudBackupRestore.testRestoreFailure
Error Message:
java.lang.AssertionError: Failed collection is still in the clusterstate:
DocCollection(backuprestore_testfailure_restored//collections/backuprestore_testfailure_restored/state.json/0
)={
"pullReplicas":1,
"configName":"confFaulty",
"replicationFactor":1,
"router":{"name":"compositeId"},
"nrtReplicas":1,
"tlogReplicas":1,
"shards":{
"shard2":{
"range":"0-7fffffff",
"state":"active",
"replicas":{}},
"shard1":{
"range":"80000000-ffffffff",
"state":"active",
"replicas":{}}}}
Expected: not a collection containing "backuprestore_testfailure_restored"
but: was <[backuprestore_testfailure, backuprestore_testfailure_restored]>
Stack Trace:
java.lang.AssertionError: Failed collection is still in the clusterstate:
DocCollection(backuprestore_testfailure_restored//collections/backuprestore_testfailure_restored/state.json/0
)={
"pullReplicas":1,
"configName":"confFaulty",
"replicationFactor":1,
"router":{"name":"compositeId"},
"nrtReplicas":1,
"tlogReplicas":1,
"shards":{
"shard2":{
"range":"0-7fffffff",
"state":"active",
"replicas":{}},
"shard1":{
"range":"80000000-ffffffff",
"state":"active",
"replicas":{}}}}
Expected: not a collection containing "backuprestore_testfailure_restored"
but: was <[backuprestore_testfailure, backuprestore_testfailure_restored]>
at
__randomizedtesting.SeedInfo.seed([1233E42900B68C67:3B4F7A0C28EF8F4A]:0)
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
at
org.apache.solr.cloud.api.collections.AbstractCloudBackupRestoreTestCase.testRestoreFailure(AbstractCloudBackupRestoreTestCase.java:222)
at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at
com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1758)
at
com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:946)
at
com.carrotsearch.randomizedtesting.RandomizedRunner$9.evaluate(RandomizedRunner.java:982)
at
com.carrotsearch.randomizedtesting.RandomizedRunner$10.evaluate(RandomizedRunner.java:996)
at
com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:80)
at org.junit.rules.RunRules.evaluate(RunRules.java:20)
at
org.apache.lucene.tests.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:48)
at
org.apache.lucene.tests.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:43)
at
org.apache.lucene.tests.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:45)
at
org.apache.lucene.tests.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:60)
at
org.apache.lucene.tests.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:44)
at org.junit.rules.RunRules.evaluate(RunRules.java:20)
at
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at
com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:390)
at
com.carrotsearch.randomizedtesting.ThreadLeakControl.forkTimeoutingTask(ThreadLeakControl.java:843)
at
com.carrotsearch.randomizedtesting.ThreadLeakControl$3.evaluate(ThreadLeakControl.java:490)
at
com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:955)
at
com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:840)
at
com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:891)
at
com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:902)
at
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at
org.apache.lucene.tests.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:43)
at
com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:80)
at org.junit.rules.RunRules.evaluate(RunRules.java:20)
at
org.apache.lucene.tests.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:43)
at
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at
org.apache.lucene.tests.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:38)
at
com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:40)
at
com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:40)
at
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at
org.apache.lucene.tests.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:53)
at
org.apache.lucene.tests.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:43)
at
org.apache.lucene.tests.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:44)
at
org.apache.lucene.tests.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:60)
at
org.apache.lucene.tests.util.TestRuleIgnoreTestSuites$1.evaluate(TestRuleIgnoreTestSuites.java:47)
at org.junit.rules.RunRules.evaluate(RunRules.java:20)
at
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at
com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:390)
at
com.carrotsearch.randomizedtesting.ThreadLeakControl.lambda$forkTimeoutingTask$0(ThreadLeakControl.java:850)
at java.base/java.lang.Thread.run(Thread.java:829)
Build Log:
[...truncated 5442 lines...]
# ERROR: Solr is not running on url https://localhost:34778/solr after 5 seconds
#
# Please find the SOLR_HOME snapshot for failed test #6 at:
/home/jenkins/jenkins-slave/workspace/Solr/Solr-Check-main/solr/packaging/build/test-output/failure-snapshots/78-6
# Last output:
# INFO - 2024-03-19 05:41:42.896;
org.apache.solr.util.configuration.SSLConfigurations; Setting
javax.net.ssl.keyStorePassword
# INFO - 2024-03-19 05:41:42.900;
org.apache.solr.util.configuration.SSLConfigurations; Setting
javax.net.ssl.trustStorePassword
# Exception in thread "main"
org.apache.solr.client.solrj.impl.BaseHttpSolrClient$RemoteSolrException: Error
from server at
https://localhost:34778/solr/admin/info/system?wt=javabin&version=2: Expected
mime type in [application/octet-stream, application/vnd.apache.solr.javabin]
but got text/html. <p>
# Searching for Solr?<br/>
# You must type the correct path.<br/>
# Solr will respond.
# </p>
#
# at
org.apache.solr.client.solrj.impl.HttpSolrClientBase.checkContentType(HttpSolrClientBase.java:347)
# at
org.apache.solr.client.solrj.impl.HttpSolrClientBase.processErrorsAndResponse(HttpSolrClientBase.java:233)
# at
org.apache.solr.client.solrj.impl.Http2SolrClient.processErrorsAndResponse(Http2SolrClient.java:543)
# at
org.apache.solr.client.solrj.impl.Http2SolrClient.request(Http2SolrClient.java:499)
# at org.apache.solr.client.solrj.SolrClient.request(SolrClient.java:1194)
# at org.apache.solr.cli.SolrCLI.getZkHost(SolrCLI.java:575)
# at org.apache.solr.cli.AuthTool.clearSecurityJson(AuthTool.java:464)
# at org.apache.solr.cli.AuthTool.handleBasicAuth(AuthTool.java:421)
# at org.apache.solr.cli.AuthTool.runTool(AuthTool.java:141)
# at org.apache.solr.cli.SolrCLI.main(SolrCLI.java:162)
ok 79 test keystore reload in 75134ms
ok 80 SOLR-11740 check 'solr stop' connection in 13799ms
ok 81 stop command for single port in 17426ms
ok 82 status detects locally running solr in 8742ms
ok 83 status shell script ignores passed in -solrUrl cli parameter from user in
6966ms
ok 84 status help flag outputs message highlighting not to use solrUrl. in
1027ms
ok 85 running subcommands with zk is prevented in 179ms
ok 86 listing out files in 3024ms
ok 87 copying files around in 10708ms
ok 88 upconfig in 4153ms
ok 89 zkcli.sh gets 'solrhome' from 'solr.home' system property in 1309ms
ok 90 zkcli.sh gets 'solrhome' from 'solrhome' command line option in 1220ms
ok 91 Cleanup in 2013ms
> Task :solr:packaging:integrationTests FAILED
ERROR: The following test(s) have failed:
-
org.apache.solr.cloud.api.collections.TestLocalFSCloudBackupRestore.testRestoreFailure
(:solr:core)
Test output:
/home/jenkins/jenkins-slave/workspace/Solr/Solr-Check-main/solr/core/build/test-results/test/outputs/OUTPUT-org.apache.solr.cloud.api.collections.TestLocalFSCloudBackupRestore.txt
Reproduce with: gradlew :solr:core:test --tests
"org.apache.solr.cloud.api.collections.TestLocalFSCloudBackupRestore.testRestoreFailure"
-Ptests.jvms=4 -Ptests.haltonfailure=false
"-Ptests.jvmargs=-XX:TieredStopAtLevel=1 -XX:+UseParallelGC
-XX:ActiveProcessorCount=1 -XX:ReservedCodeCacheSize=120m"
-Ptests.seed=1233E42900B68C67 -Ptests.multiplier=2 -Ptests.badapples=false
-Ptests.file.encoding=ISO-8859-1
FAILURE: Build failed with an exception.
* Where:
Build file
'/home/jenkins/jenkins-slave/workspace/Solr/Solr-Check-main/solr/packaging/build.gradle'
line: 299
* What went wrong:
Execution failed for task ':solr:packaging:integrationTests'.
> Process 'command
> '/home/jenkins/jenkins-slave/workspace/Solr/Solr-Check-main/.gradle/node/packaging/node_modules/bats/bin/bats''
> finished with non-zero exit value 1
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Get more help at https://help.gradle.org.
Deprecated Gradle features were used in this build, making it incompatible with
Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings
and determine if they come from your own scripts or plugins.
For more on this, please refer to
https://docs.gradle.org/8.4/userguide/command_line_interface.html#sec:command_line_warnings
in the Gradle documentation.
BUILD FAILED in 1h 10m 39s
645 actionable tasks: 645 executed
Publishing build scan...
https://ge.apache.org/s/4plpmek2gzqp2
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
Archiving artifacts
Recording test results
[Checks API] No suitable checks publisher found.
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]