You are viewing a plain text version of this content. The canonical link for it is here.
Posted to builds@solr.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2024/06/05 08:35:49 UTC
[JENKINS] Solr » Solr-Check-main - Build # 9117 - Still Failing!
Build: https://ci-builds.apache.org/job/Solr/job/Solr-Check-main/9117/
All tests passed
Build Log:
[...truncated 1553 lines...]
# ERROR: Error from server at http://localhost:38603/solr/admin/info/system?wt=javabin&version=2: Expected mime type in [application/vnd.apache.solr.javabin, application/octet-stream] but got text/html. <html>
# <head>
# <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
# <title>Error 401 Authentication failed, Response code: 401</title>
# </head>
# <body><h2>HTTP ERROR 401 Authentication failed, Response code: 401</h2>
# <table>
# <tr><th>URI:</th><td>/solr/admin/info/system</td></tr>
# <tr><th>STATUS:</th><td>401</td></tr>
# <tr><th>MESSAGE:</th><td>Authentication failed, Response code: 401</td></tr>
# <tr><th>SERVLET:</th><td>default</td></tr>
# </table>
#
# </body>
# </html>
# --
#
# Last output:
#
# Found 1 Solr nodes:
#
# Solr process 9052 running on port 38603
# WARNING: URLs provided to this tool needn't include Solr's context-root (e.g. "/solr"). Such URLs are deprecated and support for them will be removed in a future release. Correcting from [http://localhost:38603/solr] to [http://localhost:38603].
#
# ERROR: Error from server at http://localhost:38603/solr/admin/info/system?wt=javabin&version=2: Expected mime type in [application/vnd.apache.solr.javabin, application/octet-stream] but got text/html. <html>
# <head>
# <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
# <title>Error 401 Authentication failed, Response code: 401</title>
# </head>
# <body><h2>HTTP ERROR 401 Authentication failed, Response code: 401</h2>
# <table>
# <tr><th>URI:</th><td>/solr/admin/info/system</td></tr>
# <tr><th>STATUS:</th><td>401</td></tr>
# <tr><th>MESSAGE:</th><td>Authentication failed, Response code: 401</td></tr>
# <tr><th>SERVLET:</th><td>default</td></tr>
# </table>
#
# </body>
# </html>
ok 46 healthcheck help flag prints help in 871ms
ok 47 create help flag prints help in 850ms
ok 48 delete help flag prints help in 865ms
ok 49 version help flag prints help in 50ms # skip Currently the version -help flag doesn't return nice help text!
ok 50 zk help flag prints help in 164ms
ok 51 auth help flag prints help in 158ms
ok 52 assert help flag prints help in 858ms
ok 53 post help flag prints help in 887ms
ok 54 SQL Module in 17745ms
ok 55 Hadoop-Auth Module: KerberosPlugin Classloading in 22275ms
ok 56 icu collation in analysis-extras module in 12288ms
not ok 57 package detects no running solr in 1215ms
# (from function `assert_output' in file /home/jenkins/jenkins-slave/workspace/Solr/Solr-Check-main/.gradle/node/packaging/node_modules/bats-assert/src/assert.bash, line 247,
# in test file test/test_packages.bats, line 34)
# `assert_output --partial "No Solr nodes are running."' failed
#
# -- output does not contain substring --
# substring (1 lines):
# No Solr nodes are running.
# output (39 lines):
#
# Found 1 Solr nodes:
#
# Solr process 9052 running on port 38603
# Package Manager
# ---------------
# [32m./solr package add-repo <repository-name> <repository-url>[0m
# Add a repository to Solr.
#
# [32m./solr package add-key <file-containing-trusted-key>[0m
# Add a trusted key to Solr.
#
# [32m./solr package install <package-name>[:<version>] [0m
# Install a package into Solr. This copies over the artifacts from the repository into Solr's internal package store and sets up classloader for this package to be used.
#
# [32m./solr package deploy <package-name>[:<version>] [-y] [--update] -collections <comma-separated-collections> [-p <param1>=<val1> -p <param2>=<val2> ...] [0m
# Bootstraps a previously installed package into the specified collections. It the package accepts parameters for its setup commands, they can be specified (as per package documentation).
#
# [32m./solr package list-installed[0m
# Print a list of packages installed in Solr.
#
# [32m./solr package list-available[0m
# Print a list of packages available in the repositories.
#
# [32m./solr package list-deployed -c <collection>[0m
# Print a list of packages deployed on a given collection.
#
# [32m./solr package list-deployed <package-name>[0m
# Print a list of collections on which a given package has been deployed.
#
# [32m./solr package undeploy <package-name> -collections <comma-separated-collections>[0m
# Undeploy a package from specified collection(s)
#
# [32m./solr package uninstall <package-name>:<version>[0m
# Uninstall an unused package with specified version from Solr. Both package name and version are required.
#
#
# Note: (a) Please add '-solrUrl http://host:port' parameter if needed (usually on Windows).
# (b) Please make sure that all Solr nodes are started with '-Denable.packages=true' parameter.
# --
#
# Please find the SOLR_HOME snapshot for failed test #1 at: /home/jenkins/jenkins-slave/workspace/Solr/Solr-Check-main/solr/packaging/build/test-output/failure-snapshots/57-1
# Last output:
#
# Found 1 Solr nodes:
#
# Solr process 9052 running on port 38603
# Package Manager
# ---------------
# [32m./solr package add-repo <repository-name> <repository-url>[0m
# Add a repository to Solr.
#
# [32m./solr package add-key <file-containing-trusted-key>[0m
# Add a trusted key to Solr.
#
# [32m./solr package install <package-name>[:<version>] [0m
# Install a package into Solr. This copies over the artifacts from the repository into Solr's internal package store and sets up classloader for this package to be used.
#
# [32m./solr package deploy <package-name>[:<version>] [-y] [--update] -collections <comma-separated-collections> [-p <param1>=<val1> -p <param2>=<val2> ...] [0m
# Bootstraps a previously installed package into the specified collections. It the package accepts parameters for its setup commands, they can be specified (as per package documentation).
#
# [32m./solr package list-installed[0m
# Print a list of packages installed in Solr.
#
# [32m./solr package list-available[0m
# Print a list of packages available in the repositories.
#
# [32m./solr package list-deployed -c <collection>[0m
# Print a list of packages deployed on a given collection.
#
# [32m./solr package list-deployed <package-name>[0m
# Print a list of collections on which a given package has been deployed.
#
# [32m./solr package undeploy <package-name> -collections <comma-separated-collections>[0m
# Undeploy a package from specified collection(s)
#
# [32m./solr package uninstall <package-name>:<version>[0m
# Uninstall an unused package with specified version from Solr. Both package name and version are required.
#
#
# Note: (a) Please add '-solrUrl http://host:port' parameter if needed (usually on Windows).
# (b) Please make sure that all Solr nodes are started with '-Denable.packages=true' parameter.
ok 58 lifecycle of package in 9563ms
ok 59 deploying and undeploying a collection level package in 13737ms
ok 60 Affinity placement plugin using sysprop in 17323ms
ok 61 Random placement plugin using ENV in 15708ms
ok 62 Check help command in 4390ms
ok 63 basic post with a type specified in 6393ms
ok 64 basic post with collection instead of url parameter in 4541ms
ok 65 basic post WITHOUT a type specified in 12471ms
ok 66 crawling a directory as a dry-run in 938ms
ok 67 crawling a directory in 4813ms
ok 68 crawling a web site in 4619ms
ok 69 skipcommit and optimize and delete in 4203ms
ok 70 args mode in 7862ms
ok 71 stdin mode in 3740ms
ok 72 post solr log into solr via cli in 11086ms
# starting solr-exporter on 37527
ok 73 should start solr prometheus exporter that scrapes solr for metrics in 14635ms
ok 74 allowPaths - backup in 18190ms
ok 75 start solr with ssl in 19023ms
ok 76 use different hostname when not checking peer-name in 32303ms
not ok 77 start solr with ssl and auth in 12660ms
# (in test file test/test_ssl.bats, line 156)
# `solr auth enable -type basicAuth -credentials name:password' failed
# Waiting up to 180 seconds to see Solr running on port 37427 [|] [/] [-] [\] [|]
# Started Solr server on port 37427 (pid=22295). Happy searching!
#
# INFO - 2024-06-05 08:30:43.890; org.apache.solr.util.configuration.SSLConfigurations; Setting javax.net.ssl.keyStorePassword
# INFO - 2024-06-05 08:30:43.893; org.apache.solr.util.configuration.SSLConfigurations; Setting javax.net.ssl.trustStorePassword
# INFO - 2024-06-05 08:30:44.336; org.eclipse.jetty.util.ssl.SslContextFactory; x509=X509@716a7124(solr-ssl,h=[localhost],a=[/127.0.0.1],w=[]) for Client@3d08f3f5[provider=null,keyStore=file:///tmp/bats-run-jJbs28/test/77/ssl/solr-ssl.keystore.p12,trustStore=file:///tmp/bats-run-jJbs28/test/77/ssl/solr-ssl.keystore.p12]
# INFO - 2024-06-05 08:30:47.754; org.apache.solr.util.configuration.SSLConfigurations; Setting javax.net.ssl.keyStorePassword
# INFO - 2024-06-05 08:30:47.758; org.apache.solr.util.configuration.SSLConfigurations; Setting javax.net.ssl.trustStorePassword
# Couldn't get ZooKeeper host. Please make sure Solr is running in cloud mode, or a zkHost has been passed in.
# Please find the SOLR_HOME snapshot for failed test #3 at: /home/jenkins/jenkins-slave/workspace/Solr/Solr-Check-main/solr/packaging/build/test-output/failure-snapshots/77-3
# Last output:
# INFO - 2024-06-05 08:30:49.159; org.apache.solr.util.configuration.SSLConfigurations; Setting javax.net.ssl.keyStorePassword
# INFO - 2024-06-05 08:30:49.162; org.apache.solr.util.configuration.SSLConfigurations; Setting javax.net.ssl.trustStorePassword
# Exception in thread "main" org.apache.solr.client.solrj.SolrServerException: Server refused connection at: https://localhost:38603/solr/admin/info/system
# at org.apache.solr.client.solrj.impl.Http2SolrClient.request(Http2SolrClient.java:517)
# at org.apache.solr.client.solrj.SolrClient.request(SolrClient.java:1194)
# at org.apache.solr.cli.SolrCLI.getZkHost(SolrCLI.java:593)
# at org.apache.solr.cli.AuthTool.clearSecurityJson(AuthTool.java:444)
# at org.apache.solr.cli.AuthTool.handleBasicAuth(AuthTool.java:401)
# at org.apache.solr.cli.AuthTool.runTool(AuthTool.java:139)
# at org.apache.solr.cli.SolrCLI.main(SolrCLI.java:164)
# Caused by: java.net.ConnectException: Connection refused
# at java.base/sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
# at java.base/sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:774)
# at java.base/sun.nio.ch.SocketAdaptor.connect(SocketAdaptor.java:120)
# at org.eclipse.jetty.io.ClientConnector.connect(ClientConnector.java:428)
# at org.eclipse.jetty.http2.client.HTTP2Client.connect(HTTP2Client.java:461)
# at org.eclipse.jetty.http2.client.http.HttpClientTransportOverHTTP2.connect(HttpClientTransportOverHTTP2.java:146)
# at org.eclipse.jetty.http2.client.http.HttpClientTransportOverHTTP2.connect(HttpClientTransportOverHTTP2.java:135)
# at org.eclipse.jetty.client.HttpClient$1.connect(HttpClient.java:583)
# at org.eclipse.jetty.client.HttpClient$1$1.failed(HttpClient.java:580)
# at org.eclipse.jetty.http2.client.http.HTTPSessionListenerPromise.failConnectionPromise(HTTPSessionListenerPromise.java:136)
# at org.eclipse.jetty.http2.client.http.HTTPSessionListenerPromise.failed(HTTPSessionListenerPromise.java:51)
# at org.eclipse.jetty.http2.client.HTTP2ClientConnectionFactory$HTTP2ClientConnection.failed(HTTP2ClientConnectionFactory.java:181)
# at org.eclipse.jetty.util.Callback$Nested.failed(Callback.java:405)
# at org.eclipse.jetty.util.CountingCallback.failed(CountingCallback.java:83)
# at org.eclipse.jetty.util.Callback$Nested.failed(Callback.java:405)
# at org.eclipse.jetty.http2.HTTP2Flusher$Entry.failed(HTTP2Flusher.java:459)
# at org.eclipse.jetty.http2.HTTP2Flusher.lambda$onCompleteFailure$1(HTTP2Flusher.java:373)
# at java.base/java.lang.Iterable.forEach(Iterable.java:75)
# at org.eclipse.jetty.http2.HTTP2Flusher.onCompleteFailure(HTTP2Flusher.java:373)
# at org.eclipse.jetty.util.IteratingCallback.processing(IteratingCallback.java:328)
# at org.eclipse.jetty.util.IteratingCallback.iterate(IteratingCallback.java:224)
# at org.eclipse.jetty.http2.HTTP2Session.frame(HTTP2Session.java:821)
# at org.eclipse.jetty.http2.HTTP2Session.frames(HTTP2Session.java:793)
# at org.eclipse.jetty.http2.client.HTTP2ClientConnectionFactory$HTTP2ClientConnection.onOpen(HTTP2ClientConnectionFactory.java:161)
# at org.eclipse.jetty.io.AbstractEndPoint.upgrade(AbstractEndPoint.java:451)
# at org.eclipse.jetty.io.NegotiatingClientConnection.replaceConnection(NegotiatingClientConnection.java:117)
# at org.eclipse.jetty.io.NegotiatingClientConnection.onFillable(NegotiatingClientConnection.java:87)
# at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:314)
# at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:100)
# at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:558)
# at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:379)
# at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:146)
# at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:100)
# at org.eclipse.jetty.io.SelectableChannelEndPoint$1.run(SelectableChannelEndPoint.java:53)
# at org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:363)
# at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
# at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
# at java.base/java.lang.Thread.run(Thread.java:829)
ok 78 start solr with client truststore and security manager in 19043ms
ok 79 start solr with mTLS needed in 63839ms
ok 80 start solr with mTLS wanted in 47749ms
ok 81 test keystore reload in 70645ms
ok 82 SOLR-11740 check 'solr stop' connection in 14946ms
ok 83 stop command for single port in 16845ms
not ok 84 status detects locally running solr in 1480ms
# (from function `assert_output' in file /home/jenkins/jenkins-slave/workspace/Solr/Solr-Check-main/.gradle/node/packaging/node_modules/bats-assert/src/assert.bash, line 247,
# in test file test/test_status.bats, line 33)
# `assert_output --partial "No Solr nodes are running."' failed
#
# -- output does not contain substring --
# substring (1 lines):
# No Solr nodes are running.
# output (21 lines):
#
# Found 1 Solr nodes:
#
# Solr process 9052 running on port 38603
# WARNING: URLs provided to this tool needn't include Solr's context-root (e.g. "/solr"). Such URLs are deprecated and support for them will be removed in a future release. Correcting from [http://localhost:38603/solr] to [http://localhost:38603].
#
# ERROR: Error from server at http://localhost:38603/solr/admin/info/system?wt=javabin&version=2: Expected mime type in [application/octet-stream, application/vnd.apache.solr.javabin] but got text/html. <html>
# <head>
# <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
# <title>Error 401 Authentication failed, Response code: 401</title>
# </head>
# <body><h2>HTTP ERROR 401 Authentication failed, Response code: 401</h2>
# <table>
# <tr><th>URI:</th><td>/solr/admin/info/system</td></tr>
# <tr><th>STATUS:</th><td>401</td></tr>
# <tr><th>MESSAGE:</th><td>Authentication failed, Response code: 401</td></tr>
# <tr><th>SERVLET:</th><td>default</td></tr>
# </table>
#
# </body>
# </html>
# --
#
# Please find the SOLR_HOME snapshot for failed test #1 at: /home/jenkins/jenkins-slave/workspace/Solr/Solr-Check-main/solr/packaging/build/test-output/failure-snapshots/84-1
# Last output:
#
# Found 1 Solr nodes:
#
# Solr process 9052 running on port 38603
# WARNING: URLs provided to this tool needn't include Solr's context-root (e.g. "/solr"). Such URLs are deprecated and support for them will be removed in a future release. Correcting from [http://localhost:38603/solr] to [http://localhost:38603].
#
# ERROR: Error from server at http://localhost:38603/solr/admin/info/system?wt=javabin&version=2: Expected mime type in [application/octet-stream, application/vnd.apache.solr.javabin] but got text/html. <html>
# <head>
# <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
# <title>Error 401 Authentication failed, Response code: 401</title>
# </head>
# <body><h2>HTTP ERROR 401 Authentication failed, Response code: 401</h2>
# <table>
# <tr><th>URI:</th><td>/solr/admin/info/system</td></tr>
# <tr><th>STATUS:</th><td>401</td></tr>
# <tr><th>MESSAGE:</th><td>Authentication failed, Response code: 401</td></tr>
# <tr><th>SERVLET:</th><td>default</td></tr>
# </table>
#
# </body>
# </html>
ok 85 status shell script ignores passed in -solrUrl cli parameter from user in 6688ms
not ok 86 status help flag outputs message highlighting not to use solrUrl. in 1510ms
# (from function `assert_output' in file /home/jenkins/jenkins-slave/workspace/Solr/Solr-Check-main/.gradle/node/packaging/node_modules/bats-assert/src/assert.bash, line 247,
# in test file test/test_status.bats, line 53)
# `assert_output --partial 'usage: status'' failed
#
# -- output does not contain substring --
# substring (1 lines):
# usage: status
# output (21 lines):
#
# Found 1 Solr nodes:
#
# Solr process 9052 running on port 38603
# WARNING: URLs provided to this tool needn't include Solr's context-root (e.g. "/solr"). Such URLs are deprecated and support for them will be removed in a future release. Correcting from [http://localhost:38603/solr] to [http://localhost:38603].
#
# ERROR: Error from server at http://localhost:38603/solr/admin/info/system?wt=javabin&version=2: Expected mime type in [application/octet-stream, application/vnd.apache.solr.javabin] but got text/html. <html>
# <head>
# <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
# <title>Error 401 Authentication failed, Response code: 401</title>
# </head>
# <body><h2>HTTP ERROR 401 Authentication failed, Response code: 401</h2>
# <table>
# <tr><th>URI:</th><td>/solr/admin/info/system</td></tr>
# <tr><th>STATUS:</th><td>401</td></tr>
# <tr><th>MESSAGE:</th><td>Authentication failed, Response code: 401</td></tr>
# <tr><th>SERVLET:</th><td>default</td></tr>
# </table>
#
# </body>
# </html>
# --
#
# Please find the SOLR_HOME snapshot for failed test #3 at: /home/jenkins/jenkins-slave/workspace/Solr/Solr-Check-main/solr/packaging/build/test-output/failure-snapshots/86-3
# Last output:
#
# Found 1 Solr nodes:
#
# Solr process 9052 running on port 38603
# WARNING: URLs provided to this tool needn't include Solr's context-root (e.g. "/solr"). Such URLs are deprecated and support for them will be removed in a future release. Correcting from [http://localhost:38603/solr] to [http://localhost:38603].
#
# ERROR: Error from server at http://localhost:38603/solr/admin/info/system?wt=javabin&version=2: Expected mime type in [application/octet-stream, application/vnd.apache.solr.javabin] but got text/html. <html>
# <head>
# <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
# <title>Error 401 Authentication failed, Response code: 401</title>
# </head>
# <body><h2>HTTP ERROR 401 Authentication failed, Response code: 401</h2>
# <table>
# <tr><th>URI:</th><td>/solr/admin/info/system</td></tr>
# <tr><th>STATUS:</th><td>401</td></tr>
# <tr><th>MESSAGE:</th><td>Authentication failed, Response code: 401</td></tr>
# <tr><th>SERVLET:</th><td>default</td></tr>
# </table>
#
# </body>
# </html>
ok 87 running subcommands with zk is prevented in 146ms
ok 88 listing out files in 2678ms
ok 89 get zk host using solr url in 2560ms
ok 90 copying files around in 15235ms
ok 91 upconfig in 5103ms
ok 92 bin/solr zk cp gets 'solrhome' from '--solr-home' command line option in 5887ms
not ok 93 Cleanup in 2485ms
# (from function `assert_output' in file /home/jenkins/jenkins-slave/workspace/Solr/Solr-Check-main/.gradle/node/packaging/node_modules/bats-assert/src/assert.bash, line 247,
# in test file test/test_zz_cleanup.bats, line 36)
# `assert_output --partial "No Solr nodes are running"' failed
#
# -- output does not contain substring --
# substring (1 lines):
# No Solr nodes are running
# output (21 lines):
#
# Found 1 Solr nodes:
#
# Solr process 9052 running on port 38603
# WARNING: URLs provided to this tool needn't include Solr's context-root (e.g. "/solr"). Such URLs are deprecated and support for them will be removed in a future release. Correcting from [http://localhost:38603/solr] to [http://localhost:38603].
#
# ERROR: Error from server at http://localhost:38603/solr/admin/info/system?wt=javabin&version=2: Expected mime type in [application/octet-stream, application/vnd.apache.solr.javabin] but got text/html. <html>
# <head>
# <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
# <title>Error 401 Authentication failed, Response code: 401</title>
# </head>
# <body><h2>HTTP ERROR 401 Authentication failed, Response code: 401</h2>
# <table>
# <tr><th>URI:</th><td>/solr/admin/info/system</td></tr>
# <tr><th>STATUS:</th><td>401</td></tr>
# <tr><th>MESSAGE:</th><td>Authentication failed, Response code: 401</td></tr>
# <tr><th>SERVLET:</th><td>default</td></tr>
# </table>
#
# </body>
# </html>
# --
#
# Last output:
#
# Found 1 Solr nodes:
#
# Solr process 9052 running on port 38603
# WARNING: URLs provided to this tool needn't include Solr's context-root (e.g. "/solr"). Such URLs are deprecated and support for them will be removed in a future release. Correcting from [http://localhost:38603/solr] to [http://localhost:38603].
#
# ERROR: Error from server at http://localhost:38603/solr/admin/info/system?wt=javabin&version=2: Expected mime type in [application/octet-stream, application/vnd.apache.solr.javabin] but got text/html. <html>
# <head>
# <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
# <title>Error 401 Authentication failed, Response code: 401</title>
# </head>
# <body><h2>HTTP ERROR 401 Authentication failed, Response code: 401</h2>
# <table>
# <tr><th>URI:</th><td>/solr/admin/info/system</td></tr>
# <tr><th>STATUS:</th><td>401</td></tr>
# <tr><th>MESSAGE:</th><td>Authentication failed, Response code: 401</td></tr>
# <tr><th>SERVLET:</th><td>default</td></tr>
# </table>
#
# </body>
# </html>
> Task :solr:packaging:integrationTests FAILED
FAILURE: Build failed with an exception.
* Where:
Build file '/home/jenkins/jenkins-slave/workspace/Solr/Solr-Check-main/solr/packaging/build.gradle' line: 300
* 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 8m 26s
645 actionable tasks: 645 executed
Publishing build scan...
https://ge.apache.org/s/vyfd6imto6u5w
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
[JENKINS] Solr » Solr-Check-main - Build # 9119 - Still Failing!
Posted by Apache Jenkins Server <je...@builds.apache.org>.
Build: https://ci-builds.apache.org/job/Solr/job/Solr-Check-main/9119/
All tests passed
Build Log:
[...truncated 1566 lines...]
# ERROR: Error from server at http://localhost:38603/solr/admin/info/system?wt=javabin&version=2: Expected mime type in [application/octet-stream, application/vnd.apache.solr.javabin] but got text/html. <html>
# <head>
# <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
# <title>Error 401 Authentication failed, Response code: 401</title>
# </head>
# <body><h2>HTTP ERROR 401 Authentication failed, Response code: 401</h2>
# <table>
# <tr><th>URI:</th><td>/solr/admin/info/system</td></tr>
# <tr><th>STATUS:</th><td>401</td></tr>
# <tr><th>MESSAGE:</th><td>Authentication failed, Response code: 401</td></tr>
# <tr><th>SERVLET:</th><td>default</td></tr>
# </table>
#
# </body>
# </html>
# --
#
# Last output:
#
# Found 1 Solr nodes:
#
# Solr process 9052 running on port 38603
# WARNING: URLs provided to this tool needn't include Solr's context-root (e.g. "/solr"). Such URLs are deprecated and support for them will be removed in a future release. Correcting from [http://localhost:38603/solr] to [http://localhost:38603].
#
# ERROR: Error from server at http://localhost:38603/solr/admin/info/system?wt=javabin&version=2: Expected mime type in [application/octet-stream, application/vnd.apache.solr.javabin] but got text/html. <html>
# <head>
# <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
# <title>Error 401 Authentication failed, Response code: 401</title>
# </head>
# <body><h2>HTTP ERROR 401 Authentication failed, Response code: 401</h2>
# <table>
# <tr><th>URI:</th><td>/solr/admin/info/system</td></tr>
# <tr><th>STATUS:</th><td>401</td></tr>
# <tr><th>MESSAGE:</th><td>Authentication failed, Response code: 401</td></tr>
# <tr><th>SERVLET:</th><td>default</td></tr>
# </table>
#
# </body>
# </html>
ok 46 healthcheck help flag prints help in 839ms
ok 47 create help flag prints help in 839ms
ok 48 delete help flag prints help in 822ms
ok 49 version help flag prints help in 50ms # skip Currently the version -help flag doesn't return nice help text!
ok 50 zk help flag prints help in 160ms
ok 51 auth help flag prints help in 174ms
ok 52 assert help flag prints help in 826ms
ok 53 post help flag prints help in 818ms
ok 54 SQL Module in 17486ms
ok 55 Hadoop-Auth Module: KerberosPlugin Classloading in 19255ms
ok 56 icu collation in analysis-extras module in 13021ms
not ok 57 package detects no running solr in 1186ms
# (from function `assert_output' in file /home/jenkins/jenkins-slave/workspace/Solr/Solr-Check-main/.gradle/node/packaging/node_modules/bats-assert/src/assert.bash, line 247,
# in test file test/test_packages.bats, line 34)
# `assert_output --partial "No Solr nodes are running."' failed
#
# -- output does not contain substring --
# substring (1 lines):
# No Solr nodes are running.
# output (39 lines):
#
# Found 1 Solr nodes:
#
# Solr process 9052 running on port 38603
# Package Manager
# ---------------
# [32m./solr package add-repo <repository-name> <repository-url>[0m
# Add a repository to Solr.
#
# [32m./solr package add-key <file-containing-trusted-key>[0m
# Add a trusted key to Solr.
#
# [32m./solr package install <package-name>[:<version>] [0m
# Install a package into Solr. This copies over the artifacts from the repository into Solr's internal package store and sets up classloader for this package to be used.
#
# [32m./solr package deploy <package-name>[:<version>] [-y] [--update] -collections <comma-separated-collections> [-p <param1>=<val1> -p <param2>=<val2> ...] [0m
# Bootstraps a previously installed package into the specified collections. It the package accepts parameters for its setup commands, they can be specified (as per package documentation).
#
# [32m./solr package list-installed[0m
# Print a list of packages installed in Solr.
#
# [32m./solr package list-available[0m
# Print a list of packages available in the repositories.
#
# [32m./solr package list-deployed -c <collection>[0m
# Print a list of packages deployed on a given collection.
#
# [32m./solr package list-deployed <package-name>[0m
# Print a list of collections on which a given package has been deployed.
#
# [32m./solr package undeploy <package-name> -collections <comma-separated-collections>[0m
# Undeploy a package from specified collection(s)
#
# [32m./solr package uninstall <package-name>:<version>[0m
# Uninstall an unused package with specified version from Solr. Both package name and version are required.
#
#
# Note: (a) Please add '-solrUrl http://host:port' parameter if needed (usually on Windows).
# (b) Please make sure that all Solr nodes are started with '-Denable.packages=true' parameter.
# --
#
# Please find the SOLR_HOME snapshot for failed test #1 at: /home/jenkins/jenkins-slave/workspace/Solr/Solr-Check-main/solr/packaging/build/test-output/failure-snapshots/57-1
# Last output:
#
# Found 1 Solr nodes:
#
# Solr process 9052 running on port 38603
# Package Manager
# ---------------
# [32m./solr package add-repo <repository-name> <repository-url>[0m
# Add a repository to Solr.
#
# [32m./solr package add-key <file-containing-trusted-key>[0m
# Add a trusted key to Solr.
#
# [32m./solr package install <package-name>[:<version>] [0m
# Install a package into Solr. This copies over the artifacts from the repository into Solr's internal package store and sets up classloader for this package to be used.
#
# [32m./solr package deploy <package-name>[:<version>] [-y] [--update] -collections <comma-separated-collections> [-p <param1>=<val1> -p <param2>=<val2> ...] [0m
# Bootstraps a previously installed package into the specified collections. It the package accepts parameters for its setup commands, they can be specified (as per package documentation).
#
# [32m./solr package list-installed[0m
# Print a list of packages installed in Solr.
#
# [32m./solr package list-available[0m
# Print a list of packages available in the repositories.
#
# [32m./solr package list-deployed -c <collection>[0m
# Print a list of packages deployed on a given collection.
#
# [32m./solr package list-deployed <package-name>[0m
# Print a list of collections on which a given package has been deployed.
#
# [32m./solr package undeploy <package-name> -collections <comma-separated-collections>[0m
# Undeploy a package from specified collection(s)
#
# [32m./solr package uninstall <package-name>:<version>[0m
# Uninstall an unused package with specified version from Solr. Both package name and version are required.
#
#
# Note: (a) Please add '-solrUrl http://host:port' parameter if needed (usually on Windows).
# (b) Please make sure that all Solr nodes are started with '-Denable.packages=true' parameter.
ok 58 lifecycle of package in 9231ms
ok 59 deploying and undeploying a collection level package in 13727ms
ok 60 Affinity placement plugin using sysprop in 20091ms
ok 61 Random placement plugin using ENV in 17294ms
ok 62 Check help command in 3556ms
ok 63 basic post with a type specified in 6225ms
ok 64 basic post with collection instead of url parameter in 4170ms
ok 65 basic post WITHOUT a type specified in 11908ms
ok 66 crawling a directory as a dry-run in 893ms
ok 67 crawling a directory in 4555ms
ok 68 crawling a web site in 4536ms
ok 69 skipcommit and optimize and delete in 4213ms
ok 70 args mode in 7228ms
ok 71 stdin mode in 3552ms
ok 72 post solr log into solr via cli in 12106ms
# starting solr-exporter on 37263
ok 73 should start solr prometheus exporter that scrapes solr for metrics in 14234ms
ok 74 allowPaths - backup in 16032ms
ok 75 start solr with ssl in 18402ms
ok 76 use different hostname when not checking peer-name in 29604ms
not ok 77 start solr with ssl and auth in 13197ms
# (in test file test/test_ssl.bats, line 156)
# `solr auth enable -type basicAuth -credentials name:password' failed
# Waiting up to 180 seconds to see Solr running on port 37163 [|] [/] [-] [\] [|]
# Started Solr server on port 37163 (pid=16744). Happy searching!
#
# INFO - 2024-06-07 20:35:01.371; org.apache.solr.util.configuration.SSLConfigurations; Setting javax.net.ssl.keyStorePassword
# INFO - 2024-06-07 20:35:01.376; org.apache.solr.util.configuration.SSLConfigurations; Setting javax.net.ssl.trustStorePassword
# INFO - 2024-06-07 20:35:02.540; org.eclipse.jetty.util.ssl.SslContextFactory; x509=X509@226642a5(solr-ssl,h=[localhost],a=[/127.0.0.1],w=[]) for Client@1a1da881[provider=null,keyStore=file:///tmp/bats-run-SyJRlN/test/77/ssl/solr-ssl.keystore.p12,trustStore=file:///tmp/bats-run-SyJRlN/test/77/ssl/solr-ssl.keystore.p12]
# INFO - 2024-06-07 20:35:05.527; org.apache.solr.util.configuration.SSLConfigurations; Setting javax.net.ssl.keyStorePassword
# INFO - 2024-06-07 20:35:05.531; org.apache.solr.util.configuration.SSLConfigurations; Setting javax.net.ssl.trustStorePassword
# Couldn't get ZooKeeper host. Please make sure Solr is running in cloud mode, or a zkHost has been passed in.
# Please find the SOLR_HOME snapshot for failed test #3 at: /home/jenkins/jenkins-slave/workspace/Solr/Solr-Check-main/solr/packaging/build/test-output/failure-snapshots/77-3
# Last output:
# INFO - 2024-06-07 20:35:07.102; org.apache.solr.util.configuration.SSLConfigurations; Setting javax.net.ssl.keyStorePassword
# INFO - 2024-06-07 20:35:07.106; org.apache.solr.util.configuration.SSLConfigurations; Setting javax.net.ssl.trustStorePassword
# Exception in thread "main" org.apache.solr.client.solrj.SolrServerException: Server refused connection at: https://localhost:38603/solr/admin/info/system
# at org.apache.solr.client.solrj.impl.Http2SolrClient.request(Http2SolrClient.java:517)
# at org.apache.solr.client.solrj.SolrClient.request(SolrClient.java:1194)
# at org.apache.solr.cli.SolrCLI.getZkHost(SolrCLI.java:593)
# at org.apache.solr.cli.AuthTool.clearSecurityJson(AuthTool.java:444)
# at org.apache.solr.cli.AuthTool.handleBasicAuth(AuthTool.java:401)
# at org.apache.solr.cli.AuthTool.runTool(AuthTool.java:139)
# at org.apache.solr.cli.SolrCLI.main(SolrCLI.java:164)
# Caused by: java.net.ConnectException: Connection refused
# at java.base/sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
# at java.base/sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:774)
# at java.base/sun.nio.ch.SocketAdaptor.connect(SocketAdaptor.java:120)
# at org.eclipse.jetty.io.ClientConnector.connect(ClientConnector.java:428)
# at org.eclipse.jetty.http2.client.HTTP2Client.connect(HTTP2Client.java:461)
# at org.eclipse.jetty.http2.client.http.HttpClientTransportOverHTTP2.connect(HttpClientTransportOverHTTP2.java:146)
# at org.eclipse.jetty.http2.client.http.HttpClientTransportOverHTTP2.connect(HttpClientTransportOverHTTP2.java:135)
# at org.eclipse.jetty.client.HttpClient$1.connect(HttpClient.java:583)
# at org.eclipse.jetty.client.HttpClient$1$1.failed(HttpClient.java:580)
# at org.eclipse.jetty.http2.client.http.HTTPSessionListenerPromise.failConnectionPromise(HTTPSessionListenerPromise.java:136)
# at org.eclipse.jetty.http2.client.http.HTTPSessionListenerPromise.failed(HTTPSessionListenerPromise.java:51)
# at org.eclipse.jetty.http2.client.HTTP2ClientConnectionFactory$HTTP2ClientConnection.failed(HTTP2ClientConnectionFactory.java:181)
# at org.eclipse.jetty.util.Callback$Nested.failed(Callback.java:405)
# at org.eclipse.jetty.util.CountingCallback.failed(CountingCallback.java:83)
# at org.eclipse.jetty.util.Callback$Nested.failed(Callback.java:405)
# at org.eclipse.jetty.http2.HTTP2Flusher$Entry.failed(HTTP2Flusher.java:459)
# at org.eclipse.jetty.http2.HTTP2Flusher.lambda$onCompleteFailure$1(HTTP2Flusher.java:373)
# at java.base/java.lang.Iterable.forEach(Iterable.java:75)
# at org.eclipse.jetty.http2.HTTP2Flusher.onCompleteFailure(HTTP2Flusher.java:373)
# at org.eclipse.jetty.util.IteratingCallback.processing(IteratingCallback.java:328)
# at org.eclipse.jetty.util.IteratingCallback.iterate(IteratingCallback.java:224)
# at org.eclipse.jetty.http2.HTTP2Session.frame(HTTP2Session.java:821)
# at org.eclipse.jetty.http2.HTTP2Session.frames(HTTP2Session.java:793)
# at org.eclipse.jetty.http2.client.HTTP2ClientConnectionFactory$HTTP2ClientConnection.onOpen(HTTP2ClientConnectionFactory.java:161)
# at org.eclipse.jetty.io.AbstractEndPoint.upgrade(AbstractEndPoint.java:451)
# at org.eclipse.jetty.io.NegotiatingClientConnection.replaceConnection(NegotiatingClientConnection.java:117)
# at org.eclipse.jetty.io.NegotiatingClientConnection.onFillable(NegotiatingClientConnection.java:87)
# at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:314)
# at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:100)
# at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:558)
# at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:379)
# at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:146)
# at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:100)
# at org.eclipse.jetty.io.SelectableChannelEndPoint$1.run(SelectableChannelEndPoint.java:53)
# at org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:363)
# at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
# at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
# at java.base/java.lang.Thread.run(Thread.java:829)
ok 78 start solr with client truststore and security manager in 19253ms
ok 79 start solr with mTLS needed in 58747ms
ok 80 start solr with mTLS wanted in 46723ms
ok 81 test keystore reload in 68007ms
ok 82 SOLR-11740 check 'solr stop' connection in 15688ms
ok 83 stop command for single port in 16224ms
not ok 84 status detects locally running solr in 1415ms
# (from function `assert_output' in file /home/jenkins/jenkins-slave/workspace/Solr/Solr-Check-main/.gradle/node/packaging/node_modules/bats-assert/src/assert.bash, line 247,
# in test file test/test_status.bats, line 33)
# `assert_output --partial "No Solr nodes are running."' failed
#
# -- output does not contain substring --
# substring (1 lines):
# No Solr nodes are running.
# output (21 lines):
#
# Found 1 Solr nodes:
#
# Solr process 9052 running on port 38603
# WARNING: URLs provided to this tool needn't include Solr's context-root (e.g. "/solr"). Such URLs are deprecated and support for them will be removed in a future release. Correcting from [http://localhost:38603/solr] to [http://localhost:38603].
#
# ERROR: Error from server at http://localhost:38603/solr/admin/info/system?wt=javabin&version=2: Expected mime type in [application/vnd.apache.solr.javabin, application/octet-stream] but got text/html. <html>
# <head>
# <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
# <title>Error 401 Authentication failed, Response code: 401</title>
# </head>
# <body><h2>HTTP ERROR 401 Authentication failed, Response code: 401</h2>
# <table>
# <tr><th>URI:</th><td>/solr/admin/info/system</td></tr>
# <tr><th>STATUS:</th><td>401</td></tr>
# <tr><th>MESSAGE:</th><td>Authentication failed, Response code: 401</td></tr>
# <tr><th>SERVLET:</th><td>default</td></tr>
# </table>
#
# </body>
# </html>
# --
#
# Please find the SOLR_HOME snapshot for failed test #1 at: /home/jenkins/jenkins-slave/workspace/Solr/Solr-Check-main/solr/packaging/build/test-output/failure-snapshots/84-1
# Last output:
#
# Found 1 Solr nodes:
#
# Solr process 9052 running on port 38603
# WARNING: URLs provided to this tool needn't include Solr's context-root (e.g. "/solr"). Such URLs are deprecated and support for them will be removed in a future release. Correcting from [http://localhost:38603/solr] to [http://localhost:38603].
#
# ERROR: Error from server at http://localhost:38603/solr/admin/info/system?wt=javabin&version=2: Expected mime type in [application/vnd.apache.solr.javabin, application/octet-stream] but got text/html. <html>
# <head>
# <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
# <title>Error 401 Authentication failed, Response code: 401</title>
# </head>
# <body><h2>HTTP ERROR 401 Authentication failed, Response code: 401</h2>
# <table>
# <tr><th>URI:</th><td>/solr/admin/info/system</td></tr>
# <tr><th>STATUS:</th><td>401</td></tr>
# <tr><th>MESSAGE:</th><td>Authentication failed, Response code: 401</td></tr>
# <tr><th>SERVLET:</th><td>default</td></tr>
# </table>
#
# </body>
# </html>
ok 85 status shell script ignores passed in -solrUrl cli parameter from user in 6742ms
not ok 86 status help flag outputs message highlighting not to use solrUrl. in 1424ms
# (from function `assert_output' in file /home/jenkins/jenkins-slave/workspace/Solr/Solr-Check-main/.gradle/node/packaging/node_modules/bats-assert/src/assert.bash, line 247,
# in test file test/test_status.bats, line 53)
# `assert_output --partial 'usage: status'' failed
#
# -- output does not contain substring --
# substring (1 lines):
# usage: status
# output (21 lines):
#
# Found 1 Solr nodes:
#
# Solr process 9052 running on port 38603
# WARNING: URLs provided to this tool needn't include Solr's context-root (e.g. "/solr"). Such URLs are deprecated and support for them will be removed in a future release. Correcting from [http://localhost:38603/solr] to [http://localhost:38603].
#
# ERROR: Error from server at http://localhost:38603/solr/admin/info/system?wt=javabin&version=2: Expected mime type in [application/vnd.apache.solr.javabin, application/octet-stream] but got text/html. <html>
# <head>
# <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
# <title>Error 401 Authentication failed, Response code: 401</title>
# </head>
# <body><h2>HTTP ERROR 401 Authentication failed, Response code: 401</h2>
# <table>
# <tr><th>URI:</th><td>/solr/admin/info/system</td></tr>
# <tr><th>STATUS:</th><td>401</td></tr>
# <tr><th>MESSAGE:</th><td>Authentication failed, Response code: 401</td></tr>
# <tr><th>SERVLET:</th><td>default</td></tr>
# </table>
#
# </body>
# </html>
# --
#
# Please find the SOLR_HOME snapshot for failed test #3 at: /home/jenkins/jenkins-slave/workspace/Solr/Solr-Check-main/solr/packaging/build/test-output/failure-snapshots/86-3
# Last output:
#
# Found 1 Solr nodes:
#
# Solr process 9052 running on port 38603
# WARNING: URLs provided to this tool needn't include Solr's context-root (e.g. "/solr"). Such URLs are deprecated and support for them will be removed in a future release. Correcting from [http://localhost:38603/solr] to [http://localhost:38603].
#
# ERROR: Error from server at http://localhost:38603/solr/admin/info/system?wt=javabin&version=2: Expected mime type in [application/vnd.apache.solr.javabin, application/octet-stream] but got text/html. <html>
# <head>
# <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
# <title>Error 401 Authentication failed, Response code: 401</title>
# </head>
# <body><h2>HTTP ERROR 401 Authentication failed, Response code: 401</h2>
# <table>
# <tr><th>URI:</th><td>/solr/admin/info/system</td></tr>
# <tr><th>STATUS:</th><td>401</td></tr>
# <tr><th>MESSAGE:</th><td>Authentication failed, Response code: 401</td></tr>
# <tr><th>SERVLET:</th><td>default</td></tr>
# </table>
#
# </body>
# </html>
ok 87 running subcommands with zk is prevented in 141ms
ok 88 listing out files in 2656ms
ok 89 get zk host using solr url in 2503ms
ok 90 copying files around in 18317ms
ok 91 upconfig in 3809ms
ok 92 bin/solr zk cp gets 'solrhome' from '--solr-home' command line option in 1420ms
not ok 93 Cleanup in 2449ms
# (from function `assert_output' in file /home/jenkins/jenkins-slave/workspace/Solr/Solr-Check-main/.gradle/node/packaging/node_modules/bats-assert/src/assert.bash, line 247,
# in test file test/test_zz_cleanup.bats, line 36)
# `assert_output --partial "No Solr nodes are running"' failed
#
# -- output does not contain substring --
# substring (1 lines):
# No Solr nodes are running
# output (21 lines):
#
# Found 1 Solr nodes:
#
# Solr process 9052 running on port 38603
# WARNING: URLs provided to this tool needn't include Solr's context-root (e.g. "/solr"). Such URLs are deprecated and support for them will be removed in a future release. Correcting from [http://localhost:38603/solr] to [http://localhost:38603].
#
# ERROR: Error from server at http://localhost:38603/solr/admin/info/system?wt=javabin&version=2: Expected mime type in [application/octet-stream, application/vnd.apache.solr.javabin] but got text/html. <html>
# <head>
# <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
# <title>Error 401 Authentication failed, Response code: 401</title>
# </head>
# <body><h2>HTTP ERROR 401 Authentication failed, Response code: 401</h2>
# <table>
# <tr><th>URI:</th><td>/solr/admin/info/system</td></tr>
# <tr><th>STATUS:</th><td>401</td></tr>
# <tr><th>MESSAGE:</th><td>Authentication failed, Response code: 401</td></tr>
# <tr><th>SERVLET:</th><td>default</td></tr>
# </table>
#
# </body>
# </html>
# --
#
# Last output:
#
# Found 1 Solr nodes:
#
# Solr process 9052 running on port 38603
# WARNING: URLs provided to this tool needn't include Solr's context-root (e.g. "/solr"). Such URLs are deprecated and support for them will be removed in a future release. Correcting from [http://localhost:38603/solr] to [http://localhost:38603].
#
# ERROR: Error from server at http://localhost:38603/solr/admin/info/system?wt=javabin&version=2: Expected mime type in [application/octet-stream, application/vnd.apache.solr.javabin] but got text/html. <html>
# <head>
# <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
# <title>Error 401 Authentication failed, Response code: 401</title>
# </head>
# <body><h2>HTTP ERROR 401 Authentication failed, Response code: 401</h2>
# <table>
# <tr><th>URI:</th><td>/solr/admin/info/system</td></tr>
# <tr><th>STATUS:</th><td>401</td></tr>
# <tr><th>MESSAGE:</th><td>Authentication failed, Response code: 401</td></tr>
# <tr><th>SERVLET:</th><td>default</td></tr>
# </table>
#
# </body>
# </html>
> Task :solr:packaging:integrationTests FAILED
FAILURE: Build failed with an exception.
* Where:
Build file '/home/jenkins/jenkins-slave/workspace/Solr/Solr-Check-main/solr/packaging/build.gradle' line: 300
* 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 7m 30s
645 actionable tasks: 645 executed
Publishing build scan...
https://ge.apache.org/s/vfe6bxp5mgg6e
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
[JENKINS] Solr » Solr-Check-main - Build # 9118 - Still Failing!
Posted by Apache Jenkins Server <je...@builds.apache.org>.
Build: https://ci-builds.apache.org/job/Solr/job/Solr-Check-main/9118/
2 tests failed.
FAILED: org.apache.solr.cloud.overseer.ZkStateReaderTest.testStateWatcherRaceCondition
Error Message:
java.lang.AssertionError: expected:<10> but was:<8>
Stack Trace:
java.lang.AssertionError: expected:<10> but was:<8>
at __randomizedtesting.SeedInfo.seed([9930E7125A2C6BAC:260E01BAA2E7EA18]: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.junit.Assert.assertEquals(Assert.java:633)
at org.apache.solr.cloud.overseer.ZkStateReaderTest.testStateWatcherRaceCondition(ZkStateReaderTest.java:768)
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)
FAILED: org.apache.solr.search.TestThinCache.testSimple
Error Message:
java.lang.AssertionError: expected:<0> but was:<1>
Stack Trace:
java.lang.AssertionError: expected:<0> but was:<1>
at __randomizedtesting.SeedInfo.seed([9930E7125A2C6BAC:A183C3EC7DDFBF7D]:0)
at org.junit.Assert.fail(Assert.java:89)
at org.junit.Assert.failNotEquals(Assert.java:835)
at org.junit.Assert.assertEquals(Assert.java:120)
at org.junit.Assert.assertEquals(Assert.java:146)
at org.apache.solr.search.TestThinCache.testSimple(TestThinCache.java:139)
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 org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54)
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 2512 lines...]
# ERROR: Error from server at http://localhost:38603/solr/admin/info/system?wt=javabin&version=2: Expected mime type in [application/vnd.apache.solr.javabin, application/octet-stream] but got text/html. <html>
# <head>
# <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
# <title>Error 401 Authentication failed, Response code: 401</title>
# </head>
# <body><h2>HTTP ERROR 401 Authentication failed, Response code: 401</h2>
# <table>
# <tr><th>URI:</th><td>/solr/admin/info/system</td></tr>
# <tr><th>STATUS:</th><td>401</td></tr>
# <tr><th>MESSAGE:</th><td>Authentication failed, Response code: 401</td></tr>
# <tr><th>SERVLET:</th><td>default</td></tr>
# </table>
#
# </body>
# </html>
# --
#
# Last output:
#
# Found 1 Solr nodes:
#
# Solr process 9052 running on port 38603
# WARNING: URLs provided to this tool needn't include Solr's context-root (e.g. "/solr"). Such URLs are deprecated and support for them will be removed in a future release. Correcting from [http://localhost:38603/solr] to [http://localhost:38603].
#
# ERROR: Error from server at http://localhost:38603/solr/admin/info/system?wt=javabin&version=2: Expected mime type in [application/vnd.apache.solr.javabin, application/octet-stream] but got text/html. <html>
# <head>
# <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
# <title>Error 401 Authentication failed, Response code: 401</title>
# </head>
# <body><h2>HTTP ERROR 401 Authentication failed, Response code: 401</h2>
# <table>
# <tr><th>URI:</th><td>/solr/admin/info/system</td></tr>
# <tr><th>STATUS:</th><td>401</td></tr>
# <tr><th>MESSAGE:</th><td>Authentication failed, Response code: 401</td></tr>
# <tr><th>SERVLET:</th><td>default</td></tr>
# </table>
#
# </body>
# </html>
ok 46 healthcheck help flag prints help in 829ms
ok 47 create help flag prints help in 844ms
ok 48 delete help flag prints help in 829ms
ok 49 version help flag prints help in 50ms # skip Currently the version -help flag doesn't return nice help text!
ok 50 zk help flag prints help in 162ms
ok 51 auth help flag prints help in 162ms
ok 52 assert help flag prints help in 821ms
ok 53 post help flag prints help in 827ms
ok 54 SQL Module in 17528ms
ok 55 Hadoop-Auth Module: KerberosPlugin Classloading in 22257ms
ok 56 icu collation in analysis-extras module in 11877ms
not ok 57 package detects no running solr in 1187ms
# (from function `assert_output' in file /home/jenkins/jenkins-slave/workspace/Solr/Solr-Check-main/.gradle/node/packaging/node_modules/bats-assert/src/assert.bash, line 247,
# in test file test/test_packages.bats, line 34)
# `assert_output --partial "No Solr nodes are running."' failed
#
# -- output does not contain substring --
# substring (1 lines):
# No Solr nodes are running.
# output (39 lines):
#
# Found 1 Solr nodes:
#
# Solr process 9052 running on port 38603
# Package Manager
# ---------------
# [32m./solr package add-repo <repository-name> <repository-url>[0m
# Add a repository to Solr.
#
# [32m./solr package add-key <file-containing-trusted-key>[0m
# Add a trusted key to Solr.
#
# [32m./solr package install <package-name>[:<version>] [0m
# Install a package into Solr. This copies over the artifacts from the repository into Solr's internal package store and sets up classloader for this package to be used.
#
# [32m./solr package deploy <package-name>[:<version>] [-y] [--update] -collections <comma-separated-collections> [-p <param1>=<val1> -p <param2>=<val2> ...] [0m
# Bootstraps a previously installed package into the specified collections. It the package accepts parameters for its setup commands, they can be specified (as per package documentation).
#
# [32m./solr package list-installed[0m
# Print a list of packages installed in Solr.
#
# [32m./solr package list-available[0m
# Print a list of packages available in the repositories.
#
# [32m./solr package list-deployed -c <collection>[0m
# Print a list of packages deployed on a given collection.
#
# [32m./solr package list-deployed <package-name>[0m
# Print a list of collections on which a given package has been deployed.
#
# [32m./solr package undeploy <package-name> -collections <comma-separated-collections>[0m
# Undeploy a package from specified collection(s)
#
# [32m./solr package uninstall <package-name>:<version>[0m
# Uninstall an unused package with specified version from Solr. Both package name and version are required.
#
#
# Note: (a) Please add '-solrUrl http://host:port' parameter if needed (usually on Windows).
# (b) Please make sure that all Solr nodes are started with '-Denable.packages=true' parameter.
# --
#
# Please find the SOLR_HOME snapshot for failed test #1 at: /home/jenkins/jenkins-slave/workspace/Solr/Solr-Check-main/solr/packaging/build/test-output/failure-snapshots/57-1
# Last output:
#
# Found 1 Solr nodes:
#
# Solr process 9052 running on port 38603
# Package Manager
# ---------------
# [32m./solr package add-repo <repository-name> <repository-url>[0m
# Add a repository to Solr.
#
# [32m./solr package add-key <file-containing-trusted-key>[0m
# Add a trusted key to Solr.
#
# [32m./solr package install <package-name>[:<version>] [0m
# Install a package into Solr. This copies over the artifacts from the repository into Solr's internal package store and sets up classloader for this package to be used.
#
# [32m./solr package deploy <package-name>[:<version>] [-y] [--update] -collections <comma-separated-collections> [-p <param1>=<val1> -p <param2>=<val2> ...] [0m
# Bootstraps a previously installed package into the specified collections. It the package accepts parameters for its setup commands, they can be specified (as per package documentation).
#
# [32m./solr package list-installed[0m
# Print a list of packages installed in Solr.
#
# [32m./solr package list-available[0m
# Print a list of packages available in the repositories.
#
# [32m./solr package list-deployed -c <collection>[0m
# Print a list of packages deployed on a given collection.
#
# [32m./solr package list-deployed <package-name>[0m
# Print a list of collections on which a given package has been deployed.
#
# [32m./solr package undeploy <package-name> -collections <comma-separated-collections>[0m
# Undeploy a package from specified collection(s)
#
# [32m./solr package uninstall <package-name>:<version>[0m
# Uninstall an unused package with specified version from Solr. Both package name and version are required.
#
#
# Note: (a) Please add '-solrUrl http://host:port' parameter if needed (usually on Windows).
# (b) Please make sure that all Solr nodes are started with '-Denable.packages=true' parameter.
ok 58 lifecycle of package in 9869ms
ok 59 deploying and undeploying a collection level package in 13439ms
ok 60 Affinity placement plugin using sysprop in 22295ms
ok 61 Random placement plugin using ENV in 18221ms
ok 62 Check help command in 3185ms
ok 63 basic post with a type specified in 6493ms
ok 64 basic post with collection instead of url parameter in 4257ms
ok 65 basic post WITHOUT a type specified in 11990ms
ok 66 crawling a directory as a dry-run in 880ms
ok 67 crawling a directory in 4439ms
ok 68 crawling a web site in 4882ms
ok 69 skipcommit and optimize and delete in 4022ms
ok 70 args mode in 7439ms
ok 71 stdin mode in 3405ms
ok 72 post solr log into solr via cli in 10346ms
# starting solr-exporter on 42423
ok 73 should start solr prometheus exporter that scrapes solr for metrics in 15195ms
ok 74 allowPaths - backup in 15535ms
ok 75 start solr with ssl in 18750ms
ok 76 use different hostname when not checking peer-name in 29680ms
not ok 77 start solr with ssl and auth in 13198ms
# (in test file test/test_ssl.bats, line 156)
# `solr auth enable -type basicAuth -credentials name:password' failed
# Waiting up to 180 seconds to see Solr running on port 42323 [|] [/] [-] [\] [|]
# Started Solr server on port 42323 (pid=2981). Happy searching!
#
# INFO - 2024-06-06 14:37:02.748; org.apache.solr.util.configuration.SSLConfigurations; Setting javax.net.ssl.keyStorePassword
# INFO - 2024-06-06 14:37:02.752; org.apache.solr.util.configuration.SSLConfigurations; Setting javax.net.ssl.trustStorePassword
# INFO - 2024-06-06 14:37:03.603; org.eclipse.jetty.util.ssl.SslContextFactory; x509=X509@5b970f7(solr-ssl,h=[localhost],a=[/127.0.0.1],w=[]) for Client@30ea8c23[provider=null,keyStore=file:///tmp/bats-run-rTN6B1/test/77/ssl/solr-ssl.keystore.p12,trustStore=file:///tmp/bats-run-rTN6B1/test/77/ssl/solr-ssl.keystore.p12]
# INFO - 2024-06-06 14:37:06.812; org.apache.solr.util.configuration.SSLConfigurations; Setting javax.net.ssl.keyStorePassword
# INFO - 2024-06-06 14:37:06.816; org.apache.solr.util.configuration.SSLConfigurations; Setting javax.net.ssl.trustStorePassword
# Couldn't get ZooKeeper host. Please make sure Solr is running in cloud mode, or a zkHost has been passed in.
# Please find the SOLR_HOME snapshot for failed test #3 at: /home/jenkins/jenkins-slave/workspace/Solr/Solr-Check-main/solr/packaging/build/test-output/failure-snapshots/77-3
# Last output:
# INFO - 2024-06-06 14:37:08.701; org.apache.solr.util.configuration.SSLConfigurations; Setting javax.net.ssl.keyStorePassword
# INFO - 2024-06-06 14:37:08.704; org.apache.solr.util.configuration.SSLConfigurations; Setting javax.net.ssl.trustStorePassword
# Exception in thread "main" org.apache.solr.client.solrj.SolrServerException: Server refused connection at: https://localhost:38603/solr/admin/info/system
# at org.apache.solr.client.solrj.impl.Http2SolrClient.request(Http2SolrClient.java:517)
# at org.apache.solr.client.solrj.SolrClient.request(SolrClient.java:1194)
# at org.apache.solr.cli.SolrCLI.getZkHost(SolrCLI.java:593)
# at org.apache.solr.cli.AuthTool.clearSecurityJson(AuthTool.java:444)
# at org.apache.solr.cli.AuthTool.handleBasicAuth(AuthTool.java:401)
# at org.apache.solr.cli.AuthTool.runTool(AuthTool.java:139)
# at org.apache.solr.cli.SolrCLI.main(SolrCLI.java:164)
# Caused by: java.net.ConnectException: Connection refused
# at java.base/sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
# at java.base/sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:774)
# at java.base/sun.nio.ch.SocketAdaptor.connect(SocketAdaptor.java:120)
# at org.eclipse.jetty.io.ClientConnector.connect(ClientConnector.java:428)
# at org.eclipse.jetty.http2.client.HTTP2Client.connect(HTTP2Client.java:461)
# at org.eclipse.jetty.http2.client.http.HttpClientTransportOverHTTP2.connect(HttpClientTransportOverHTTP2.java:146)
# at org.eclipse.jetty.http2.client.http.HttpClientTransportOverHTTP2.connect(HttpClientTransportOverHTTP2.java:135)
# at org.eclipse.jetty.client.HttpClient$1.connect(HttpClient.java:583)
# at org.eclipse.jetty.client.HttpClient$1$1.failed(HttpClient.java:580)
# at org.eclipse.jetty.http2.client.http.HTTPSessionListenerPromise.failConnectionPromise(HTTPSessionListenerPromise.java:136)
# at org.eclipse.jetty.http2.client.http.HTTPSessionListenerPromise.failed(HTTPSessionListenerPromise.java:51)
# at org.eclipse.jetty.http2.client.HTTP2ClientConnectionFactory$HTTP2ClientConnection.failed(HTTP2ClientConnectionFactory.java:181)
# at org.eclipse.jetty.util.Callback$Nested.failed(Callback.java:405)
# at org.eclipse.jetty.util.CountingCallback.failed(CountingCallback.java:83)
# at org.eclipse.jetty.util.Callback$Nested.failed(Callback.java:405)
# at org.eclipse.jetty.http2.HTTP2Flusher$Entry.failed(HTTP2Flusher.java:459)
# at org.eclipse.jetty.http2.HTTP2Flusher.lambda$onCompleteFailure$1(HTTP2Flusher.java:373)
# at java.base/java.lang.Iterable.forEach(Iterable.java:75)
# at org.eclipse.jetty.http2.HTTP2Flusher.onCompleteFailure(HTTP2Flusher.java:373)
# at org.eclipse.jetty.util.IteratingCallback.processing(IteratingCallback.java:328)
# at org.eclipse.jetty.util.IteratingCallback.iterate(IteratingCallback.java:224)
# at org.eclipse.jetty.http2.HTTP2Session.frame(HTTP2Session.java:821)
# at org.eclipse.jetty.http2.HTTP2Session.frames(HTTP2Session.java:793)
# at org.eclipse.jetty.http2.client.HTTP2ClientConnectionFactory$HTTP2ClientConnection.onOpen(HTTP2ClientConnectionFactory.java:161)
# at org.eclipse.jetty.io.AbstractEndPoint.upgrade(AbstractEndPoint.java:451)
# at org.eclipse.jetty.io.NegotiatingClientConnection.replaceConnection(NegotiatingClientConnection.java:117)
# at org.eclipse.jetty.io.NegotiatingClientConnection.onFillable(NegotiatingClientConnection.java:87)
# at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:314)
# at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:100)
# at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:558)
# at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:379)
# at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:146)
# at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:100)
# at org.eclipse.jetty.io.SelectableChannelEndPoint$1.run(SelectableChannelEndPoint.java:53)
# at org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:363)
# at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
# at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
# at java.base/java.lang.Thread.run(Thread.java:829)
ok 78 start solr with client truststore and security manager in 19237ms
ok 79 start solr with mTLS needed in 64785ms
ok 80 start solr with mTLS wanted in 49271ms
ok 81 test keystore reload in 73426ms
ok 82 SOLR-11740 check 'solr stop' connection in 14031ms
ok 83 stop command for single port in 17446ms
not ok 84 status detects locally running solr in 1458ms
# (from function `assert_output' in file /home/jenkins/jenkins-slave/workspace/Solr/Solr-Check-main/.gradle/node/packaging/node_modules/bats-assert/src/assert.bash, line 247,
# in test file test/test_status.bats, line 33)
# `assert_output --partial "No Solr nodes are running."' failed
#
# -- output does not contain substring --
# substring (1 lines):
# No Solr nodes are running.
# output (21 lines):
#
# Found 1 Solr nodes:
#
# Solr process 9052 running on port 38603
# WARNING: URLs provided to this tool needn't include Solr's context-root (e.g. "/solr"). Such URLs are deprecated and support for them will be removed in a future release. Correcting from [http://localhost:38603/solr] to [http://localhost:38603].
#
# ERROR: Error from server at http://localhost:38603/solr/admin/info/system?wt=javabin&version=2: Expected mime type in [application/octet-stream, application/vnd.apache.solr.javabin] but got text/html. <html>
# <head>
# <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
# <title>Error 401 Authentication failed, Response code: 401</title>
# </head>
# <body><h2>HTTP ERROR 401 Authentication failed, Response code: 401</h2>
# <table>
# <tr><th>URI:</th><td>/solr/admin/info/system</td></tr>
# <tr><th>STATUS:</th><td>401</td></tr>
# <tr><th>MESSAGE:</th><td>Authentication failed, Response code: 401</td></tr>
# <tr><th>SERVLET:</th><td>default</td></tr>
# </table>
#
# </body>
# </html>
# --
#
# Please find the SOLR_HOME snapshot for failed test #1 at: /home/jenkins/jenkins-slave/workspace/Solr/Solr-Check-main/solr/packaging/build/test-output/failure-snapshots/84-1
# Last output:
#
# Found 1 Solr nodes:
#
# Solr process 9052 running on port 38603
# WARNING: URLs provided to this tool needn't include Solr's context-root (e.g. "/solr"). Such URLs are deprecated and support for them will be removed in a future release. Correcting from [http://localhost:38603/solr] to [http://localhost:38603].
#
# ERROR: Error from server at http://localhost:38603/solr/admin/info/system?wt=javabin&version=2: Expected mime type in [application/octet-stream, application/vnd.apache.solr.javabin] but got text/html. <html>
# <head>
# <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
# <title>Error 401 Authentication failed, Response code: 401</title>
# </head>
# <body><h2>HTTP ERROR 401 Authentication failed, Response code: 401</h2>
# <table>
# <tr><th>URI:</th><td>/solr/admin/info/system</td></tr>
# <tr><th>STATUS:</th><td>401</td></tr>
# <tr><th>MESSAGE:</th><td>Authentication failed, Response code: 401</td></tr>
# <tr><th>SERVLET:</th><td>default</td></tr>
# </table>
#
# </body>
# </html>
ok 85 status shell script ignores passed in -solrUrl cli parameter from user in 7283ms
not ok 86 status help flag outputs message highlighting not to use solrUrl. in 1434ms
# (from function `assert_output' in file /home/jenkins/jenkins-slave/workspace/Solr/Solr-Check-main/.gradle/node/packaging/node_modules/bats-assert/src/assert.bash, line 247,
# in test file test/test_status.bats, line 53)
# `assert_output --partial 'usage: status'' failed
#
# -- output does not contain substring --
# substring (1 lines):
# usage: status
# output (21 lines):
#
# Found 1 Solr nodes:
#
# Solr process 9052 running on port 38603
# WARNING: URLs provided to this tool needn't include Solr's context-root (e.g. "/solr"). Such URLs are deprecated and support for them will be removed in a future release. Correcting from [http://localhost:38603/solr] to [http://localhost:38603].
#
# ERROR: Error from server at http://localhost:38603/solr/admin/info/system?wt=javabin&version=2: Expected mime type in [application/octet-stream, application/vnd.apache.solr.javabin] but got text/html. <html>
# <head>
# <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
# <title>Error 401 Authentication failed, Response code: 401</title>
# </head>
# <body><h2>HTTP ERROR 401 Authentication failed, Response code: 401</h2>
# <table>
# <tr><th>URI:</th><td>/solr/admin/info/system</td></tr>
# <tr><th>STATUS:</th><td>401</td></tr>
# <tr><th>MESSAGE:</th><td>Authentication failed, Response code: 401</td></tr>
# <tr><th>SERVLET:</th><td>default</td></tr>
# </table>
#
# </body>
# </html>
# --
#
# Please find the SOLR_HOME snapshot for failed test #3 at: /home/jenkins/jenkins-slave/workspace/Solr/Solr-Check-main/solr/packaging/build/test-output/failure-snapshots/86-3
# Last output:
#
# Found 1 Solr nodes:
#
# Solr process 9052 running on port 38603
# WARNING: URLs provided to this tool needn't include Solr's context-root (e.g. "/solr"). Such URLs are deprecated and support for them will be removed in a future release. Correcting from [http://localhost:38603/solr] to [http://localhost:38603].
#
# ERROR: Error from server at http://localhost:38603/solr/admin/info/system?wt=javabin&version=2: Expected mime type in [application/octet-stream, application/vnd.apache.solr.javabin] but got text/html. <html>
# <head>
# <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
# <title>Error 401 Authentication failed, Response code: 401</title>
# </head>
# <body><h2>HTTP ERROR 401 Authentication failed, Response code: 401</h2>
# <table>
# <tr><th>URI:</th><td>/solr/admin/info/system</td></tr>
# <tr><th>STATUS:</th><td>401</td></tr>
# <tr><th>MESSAGE:</th><td>Authentication failed, Response code: 401</td></tr>
# <tr><th>SERVLET:</th><td>default</td></tr>
# </table>
#
# </body>
# </html>
ok 87 running subcommands with zk is prevented in 173ms
ok 88 listing out files in 4698ms
ok 89 get zk host using solr url in 2557ms
ok 90 copying files around in 15021ms
ok 91 upconfig in 3790ms
ok 92 bin/solr zk cp gets 'solrhome' from '--solr-home' command line option in 3668ms
not ok 93 Cleanup in 2447ms
# (from function `assert_output' in file /home/jenkins/jenkins-slave/workspace/Solr/Solr-Check-main/.gradle/node/packaging/node_modules/bats-assert/src/assert.bash, line 247,
# in test file test/test_zz_cleanup.bats, line 36)
# `assert_output --partial "No Solr nodes are running"' failed
#
# -- output does not contain substring --
# substring (1 lines):
# No Solr nodes are running
# output (21 lines):
#
# Found 1 Solr nodes:
#
# Solr process 9052 running on port 38603
# WARNING: URLs provided to this tool needn't include Solr's context-root (e.g. "/solr"). Such URLs are deprecated and support for them will be removed in a future release. Correcting from [http://localhost:38603/solr] to [http://localhost:38603].
#
# ERROR: Error from server at http://localhost:38603/solr/admin/info/system?wt=javabin&version=2: Expected mime type in [application/octet-stream, application/vnd.apache.solr.javabin] but got text/html. <html>
# <head>
# <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
# <title>Error 401 Authentication failed, Response code: 401</title>
# </head>
# <body><h2>HTTP ERROR 401 Authentication failed, Response code: 401</h2>
# <table>
# <tr><th>URI:</th><td>/solr/admin/info/system</td></tr>
# <tr><th>STATUS:</th><td>401</td></tr>
# <tr><th>MESSAGE:</th><td>Authentication failed, Response code: 401</td></tr>
# <tr><th>SERVLET:</th><td>default</td></tr>
# </table>
#
# </body>
# </html>
# --
#
# Last output:
#
# Found 1 Solr nodes:
#
# Solr process 9052 running on port 38603
# WARNING: URLs provided to this tool needn't include Solr's context-root (e.g. "/solr"). Such URLs are deprecated and support for them will be removed in a future release. Correcting from [http://localhost:38603/solr] to [http://localhost:38603].
#
# ERROR: Error from server at http://localhost:38603/solr/admin/info/system?wt=javabin&version=2: Expected mime type in [application/octet-stream, application/vnd.apache.solr.javabin] but got text/html. <html>
# <head>
# <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
# <title>Error 401 Authentication failed, Response code: 401</title>
# </head>
# <body><h2>HTTP ERROR 401 Authentication failed, Response code: 401</h2>
# <table>
# <tr><th>URI:</th><td>/solr/admin/info/system</td></tr>
# <tr><th>STATUS:</th><td>401</td></tr>
# <tr><th>MESSAGE:</th><td>Authentication failed, Response code: 401</td></tr>
# <tr><th>SERVLET:</th><td>default</td></tr>
# </table>
#
# </body>
# </html>
> Task :solr:packaging:integrationTests FAILED
ERROR: The following test(s) have failed:
- org.apache.solr.cloud.overseer.ZkStateReaderTest.testStateWatcherRaceCondition (:solr:core)
Test history: https://ge.apache.org/scans/tests?search.rootProjectNames=solr-root&tests.container=org.apache.solr.cloud.overseer.ZkStateReaderTest&tests.test=testStateWatcherRaceCondition http://fucit.org/solr-jenkins-reports/history-trend-of-recent-failures.html#series/org.apache.solr.cloud.overseer.ZkStateReaderTest.testStateWatcherRaceCondition
Test output: /home/jenkins/jenkins-slave/workspace/Solr/Solr-Check-main/solr/core/build/test-results/test/outputs/OUTPUT-org.apache.solr.cloud.overseer.ZkStateReaderTest.txt
Reproduce with: ./gradlew :solr:core:test --tests "org.apache.solr.cloud.overseer.ZkStateReaderTest.testStateWatcherRaceCondition" -Ptests.jvms=4 -Ptests.haltonfailure=false "-Ptests.jvmargs=-XX:TieredStopAtLevel=1 -XX:+UseParallelGC -XX:ActiveProcessorCount=1 -XX:ReservedCodeCacheSize=120m" -Ptests.seed=9930E7125A2C6BAC -Ptests.multiplier=2 -Ptests.badapples=false -Ptests.file.encoding=UTF-8
- org.apache.solr.search.TestThinCache.testSimple (:solr:core)
Test history: https://ge.apache.org/scans/tests?search.rootProjectNames=solr-root&tests.container=org.apache.solr.search.TestThinCache&tests.test=testSimple http://fucit.org/solr-jenkins-reports/history-trend-of-recent-failures.html#series/org.apache.solr.search.TestThinCache.testSimple
Test output: /home/jenkins/jenkins-slave/workspace/Solr/Solr-Check-main/solr/core/build/test-results/test/outputs/OUTPUT-org.apache.solr.search.TestThinCache.txt
Reproduce with: ./gradlew :solr:core:test --tests "org.apache.solr.search.TestThinCache.testSimple" -Ptests.jvms=4 -Ptests.haltonfailure=false "-Ptests.jvmargs=-XX:TieredStopAtLevel=1 -XX:+UseParallelGC -XX:ActiveProcessorCount=1 -XX:ReservedCodeCacheSize=120m" -Ptests.seed=9930E7125A2C6BAC -Ptests.multiplier=2 -Ptests.badapples=false -Ptests.file.encoding=UTF-8
FAILURE: Build failed with an exception.
* Where:
Build file '/home/jenkins/jenkins-slave/workspace/Solr/Solr-Check-main/solr/packaging/build.gradle' line: 300
* 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 7m 22s
645 actionable tasks: 645 executed
Publishing build scan...
https://ge.apache.org/s/732iyvmmo7mdg
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