It happens on the first test sometimes, so I think it may be a rogue
process on the machine.

On Thu, Aug 24, 2023 at 11:27 PM David Smiley <david.w.smi...@gmail.com>
wrote:

> Many Bats tests seem to be failing on main branch; can't start Solr:
> > Port 8983 is already being used by another process (pid: 31806)
>
> https://ci-builds.apache.org/job/Solr/job/Solr-Check-main/
>
> Eric, you've been looking at Bats lately; do you know about this?
>
> ~ David
>
>
> ---------- Forwarded message ---------
> From: Apache Jenkins Server <jenk...@builds.apache.org>
> Date: Thu, Aug 24, 2023 at 7:35 PM
> Subject: [JENKINS] Solr » Solr-Check-main - Build # 7785 - Still Failing!
> To: <bui...@solr.apache.org>
>
>
> Build: https://ci-builds.apache.org/job/Solr/job/Solr-Check-main/7785/
>
> All tests passed
>
> Build Log:
> [...truncated 1105 lines...]
> #   ERROR: Solr is not running on url http://localhost:8983 after 1
> seconds
> # --
> #
> # 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/1-1
> # Last output:
> # 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:8983/solr]
> to [http://localhost:8983].
> #
> # ERROR: Solr is not running on url http://localhost:8983 after 1 seconds
> not ok 2 assert for cloud mode in 3487ms
> # (from function `refute_output' in file
>
> /home/jenkins/jenkins-slave/workspace/Solr/Solr-Check-main/.gradle/node/packaging/node_modules/bats-assert/src/assert.bash,
> line 360,
> #  in test file test/test_assert.bats, line 48)
> #   `refute_output --partial "ERROR"' failed
> #
> # -- output should not contain substring --
> # substring (1 lines):
> #   ERROR
> # output (2 lines):
> #
> #   ERROR: Solr is not running on url http://localhost:8983 after 1
> seconds
> # --
> #
> # Please find the SOLR_HOME snapshot for failed test #2 at:
>
> /home/jenkins/jenkins-slave/workspace/Solr/Solr-Check-main/solr/packaging/build/test-output/failure-snapshots/2-2
> # Last output:
> #
> # ERROR: Solr is not running on url http://localhost:8983 after 1 seconds
> ok 3 auth rejects blockUnknown option with invalid boolean in 2151ms
> ok 4 auth rejects updateIncludeFileOnly option with invalid boolean in
> 2120ms
> not ok 5 setup_file failed
> # (from function `setup_file' in test file test/test_bats.bats, line 26)
> #   `solr start -c -V' failed
> # Using Solr root directory:
>
> /home/jenkins/jenkins-slave/workspace/Solr/Solr-Check-main/solr/packaging/build/solr-10.0.0-SNAPSHOT
> # Using Java: /home/jenkins/tools/java/latest11/bin/java
> # openjdk version "11.0.16.1" 2022-08-12
> # OpenJDK Runtime Environment Temurin-11.0.16.1+1 (build 11.0.16.1+1)
> # OpenJDK 64-Bit Server VM Temurin-11.0.16.1+1 (build 11.0.16.1+1, mixed
> mode)
> #
> # Port 8983 is already being used by another process (pid: 31806)
> # Please choose a different port using the -p option.
> #
> not ok 6 setup_file failed
> # (from function `setup_file' in test file test/test_config.bats, line 22)
> #   `solr start -c' failed
> #
> # Port 8983 is already being used by another process (pid: 31806)
> # Please choose a different port using the -p option.
> #
> not ok 8 create for non cloud mode in 1516ms
> # (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_create.bats, line 34)
> #   `assert_output --partial "Created new core 'COLL_NAME'"' failed
> #
> # -- output does not contain substring --
> # substring (1 lines):
> #   Created new core 'COLL_NAME'
> # output (3 lines):
> #   Neither -zkHost or -solrUrl parameters provided so assuming solrUrl is
> http://localhost:8983.
> #
> #   ERROR: Server refused connection at:
> http://localhost:8983/solr/admin/info/system
> # --
> #
> # 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/8-1
> # Last output:
> # Neither -zkHost or -solrUrl parameters provided so assuming solrUrl is
> http://localhost:8983.
> #
> # ERROR: Server refused connection at:
> http://localhost:8983/solr/admin/info/system
> not ok 9 create for cloud mode in 1521ms
> # (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_create.bats, line 40)
> #   `assert_output --partial "Created collection 'COLL_NAME'"' failed
> #
> # -- output does not contain substring --
> # substring (1 lines):
> #   Created collection 'COLL_NAME'
> # output (3 lines):
> #   Neither -zkHost or -solrUrl parameters provided so assuming solrUrl is
> http://localhost:8983.
> #
> #   ERROR: Server refused connection at:
> http://localhost:8983/solr/admin/info/system
> # --
> #
> # Please find the SOLR_HOME snapshot for failed test #2 at:
>
> /home/jenkins/jenkins-slave/workspace/Solr/Solr-Check-main/solr/packaging/build/test-output/failure-snapshots/9-2
> # Last output:
> # Neither -zkHost or -solrUrl parameters provided so assuming solrUrl is
> http://localhost:8983.
> #
> # ERROR: Server refused connection at:
> http://localhost:8983/solr/admin/info/system
> not ok 10 setup_file failed
> # (from function `setup_file' in test file
> test/test_create_collection.bats, line 22)
> #   `solr start -c' failed
> #
> # Port 8983 is already being used by another process (pid: 31806)
> # Please choose a different port using the -p option.
> #
> not ok 21 setup_file failed
> # (from function `setup_file' in test file
> test/test_delete_collection.bats, line 22)
> #   `solr start -c' failed
> #
> # Port 8983 is already being used by another process (pid: 31806)
> # Please choose a different port using the -p option.
> #
> not ok 26 SOLR-16755 test works with noprompt in 1135ms
> # (in test file test/test_example_noprompt.bats, line 32)
> #   `solr start -e cloud -noprompt' failed
> #
> # Welcome to the SolrCloud example!
> #
> # Starting up 2 Solr nodes for your example SolrCloud cluster.
> #
> # Creating Solr home directory
>
> /home/jenkins/jenkins-slave/workspace/Solr/Solr-Check-main/solr/packaging/build/solr-10.0.0-SNAPSHOT/example/cloud/node1/solr
> # Cloning
>
> /home/jenkins/jenkins-slave/workspace/Solr/Solr-Check-main/solr/packaging/build/solr-10.0.0-SNAPSHOT/example/cloud/node1
> into
> #
>
> /home/jenkins/jenkins-slave/workspace/Solr/Solr-Check-main/solr/packaging/build/solr-10.0.0-SNAPSHOT/example/cloud/node2
> #
> # Starting up Solr on port 8983 using command:
> #
>
> "/home/jenkins/jenkins-slave/workspace/Solr/Solr-Check-main/solr/packaging/build/solr-10.0.0-SNAPSHOT/bin/solr"
> start -cloud -p 8983 -s
> "build/solr-10.0.0-SNAPSHOT/example/cloud/node1/solr"
> #
> #
> # Port 8983 is already being used by another process (pid: 31806)
> # Please choose a different port using the -p option.
> #
> #
> # ERROR: Failed to start Solr using command:
>
> "/home/jenkins/jenkins-slave/workspace/Solr/Solr-Check-main/solr/packaging/build/solr-10.0.0-SNAPSHOT/bin/solr"
> start -cloud -p 8983 -s
> "build/solr-10.0.0-SNAPSHOT/example/cloud/node1/solr" Exception :
> org.apache.commons.exec.ExecuteException: Process exited with an error: 1
> (Exit value: 1)
> #
> # 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/26-1
> not ok 27 Check export command in 2792ms
> # (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_export.bats, line 36)
> #   `assert_output --partial 'Export complete'' failed
> #
> # -- output does not contain substring --
> # substring (1 lines):
> #   Export complete
> # output (2 lines):
> #
> #   ERROR: Couldn't initialize a HttpClusterStateProvider (is/are the Solr
> server(s), [http://localhost:8983/solr], down?)
> # --
> #
> # 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/27-1
> # Last output:
> #
> # ERROR: Couldn't initialize a HttpClusterStateProvider (is/are the Solr
> server(s), [http://localhost:8983/solr], down?)
> ok 28 export fails on non cloud mode in 2887ms
> not ok 29 using curl to extract a single pdf file in 16682ms
> # (in test file test/test_extraction.bats, line 38)
> #   `solr start -c -Dsolr.modules=extraction' failed
> #
> # Port 8983 is already being used by another process (pid: 31806)
> # Please choose a different port using the -p option.
> #
> # 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/29-1
> # WARN  - 2023-08-24 23:31:26.992;
> org.apache.solr.common.cloud.SolrZkClient; Using default
> ZkCredentialsInjector. ZkCredentialsInjector is not secure, it creates an
> empty list of credentials which leads to 'OPEN_ACL_UNSAFE' ACLs to
> Zookeeper nodes
> #
> # ERROR: java.util.concurrent.TimeoutException: Could not connect to
> ZooKeeper localhost:9983 within 15000 ms
> #
> not ok 30 using the bin/solr post tool to extract content from pdf in
> 16676ms
> # (in test file test/test_extraction.bats, line 63)
> #   `solr start -c -Dsolr.modules=extraction' failed
> #
> # Port 8983 is already being used by another process (pid: 31806)
> # Please choose a different port using the -p option.
> #
> # Please find the SOLR_HOME snapshot for failed test #2 at:
>
> /home/jenkins/jenkins-slave/workspace/Solr/Solr-Check-main/solr/packaging/build/test-output/failure-snapshots/30-2
> # WARN  - 2023-08-24 23:31:43.693;
> org.apache.solr.common.cloud.SolrZkClient; Using default
> ZkCredentialsInjector. ZkCredentialsInjector is not secure, it creates an
> empty list of credentials which leads to 'OPEN_ACL_UNSAFE' ACLs to
> Zookeeper nodes
> #
> # ERROR: java.util.concurrent.TimeoutException: Could not connect to
> ZooKeeper localhost:9983 within 15000 ms
> #
> not ok 31 using the bin/solr post tool to crawl web site in 16662ms
> # (in test file test/test_extraction.bats, line 90)
> #   `solr start -c -Dsolr.modules=extraction' failed
> #
> # Port 8983 is already being used by another process (pid: 31806)
> # Please choose a different port using the -p option.
> #
> # 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/31-3
> # WARN  - 2023-08-24 23:32:00.373;
> org.apache.solr.common.cloud.SolrZkClient; Using default
> ZkCredentialsInjector. ZkCredentialsInjector is not secure, it creates an
> empty list of credentials which leads to 'OPEN_ACL_UNSAFE' ACLs to
> Zookeeper nodes
> #
> # ERROR: java.util.concurrent.TimeoutException: Could not connect to
> ZooKeeper localhost:9983 within 15000 ms
> #
> not ok 32 healthcheck on cloud solr in 1165ms
> # (in test file test/test_healthcheck.bats, line 32)
> #   `solr start -c -e films' failed
> # Creating Solr home directory
>
> /home/jenkins/jenkins-slave/workspace/Solr/Solr-Check-main/solr/packaging/build/solr-10.0.0-SNAPSHOT/example/films/solr
> #
> # Starting up Solr on port 8983 using command:
> #
>
> "/home/jenkins/jenkins-slave/workspace/Solr/Solr-Check-main/solr/packaging/build/solr-10.0.0-SNAPSHOT/bin/solr"
> start -cloud -p 8983 -s "build/solr-10.0.0-SNAPSHOT/example/films/solr"
> #
> #
> # Port 8983 is already being used by another process (pid: 31806)
> # Please choose a different port using the -p option.
> #
> #
> # ERROR: Failed to start Solr using command:
>
> "/home/jenkins/jenkins-slave/workspace/Solr/Solr-Check-main/solr/packaging/build/solr-10.0.0-SNAPSHOT/bin/solr"
> start -cloud -p 8983 -s "build/solr-10.0.0-SNAPSHOT/example/films/solr"
> Exception : org.apache.commons.exec.ExecuteException: Process exited with
> an error: 1 (Exit value: 1)
> #
> # 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/32-1
> not ok 33 healthcheck errors on standalone solr in 1154ms
> # (in test file test/test_healthcheck.bats, line 39)
> #   `solr start -e films' failed
> # Solr home directory
>
> /home/jenkins/jenkins-slave/workspace/Solr/Solr-Check-main/solr/packaging/build/solr-10.0.0-SNAPSHOT/example/films/solr
> already exists.
> #
> # Starting up Solr on port 8983 using command:
> #
>
> "/home/jenkins/jenkins-slave/workspace/Solr/Solr-Check-main/solr/packaging/build/solr-10.0.0-SNAPSHOT/bin/solr"
> start -p 8983 -s "build/solr-10.0.0-SNAPSHOT/example/films/solr"
> #
> #
> # Port 8983 is already being used by another process (pid: 31806)
> # Please choose a different port using the -p option.
> #
> #
> # ERROR: Failed to start Solr using command:
>
> "/home/jenkins/jenkins-slave/workspace/Solr/Solr-Check-main/solr/packaging/build/solr-10.0.0-SNAPSHOT/bin/solr"
> start -p 8983 -s "build/solr-10.0.0-SNAPSHOT/example/films/solr" Exception
> : org.apache.commons.exec.ExecuteException: Process exited with an error: 1
> (Exit value: 1)
> #
> # Please find the SOLR_HOME snapshot for failed test #2 at:
>
> /home/jenkins/jenkins-slave/workspace/Solr/Solr-Check-main/solr/packaging/build/test-output/failure-snapshots/33-2
> ok 34 solr help flag prints help in 950ms
> ok 35 solr with no flags prints help in 947ms
> ok 36 start help flag prints help in 167ms
> ok 37 start h flag prints help in 166ms
> ok 38 stop help flag prints help in 158ms
> ok 39 restart help flag prints help in 165ms
> not ok 40 status help flag prints help in 1362ms
> # (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_help.bats, line 63)
> #   `assert_output --partial 'usage: status'' failed
> #
> # -- output does not contain substring --
> # substring (1 lines):
> #   usage: status
> # output (6 lines):
> #
> #   Found 1 Solr nodes:
> #
> #   Solr process 31806 running on port 8983
> #   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:8983/solr]
> to [http://localhost:8983].
> #   Solr at http://localhost:8983 not online.
> # --
> #
> # Last output:
> #
> # Found 1 Solr nodes:
> #
> # Solr process 31806 running on port 8983
> # 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:8983/solr]
> to [http://localhost:8983].
> # Solr at http://localhost:8983 not online.
> ok 41 healthcheck help flag prints help in 915ms
> ok 42 create help flag prints help in 951ms
> ok 43 delete help flag prints help in 959ms
> ok 44 version help flag prints help in 52ms # skip Currently the version
> -help flag doesn't return nice help text!
> ok 45 zk help flag prints help in 169ms
> ok 46 auth help flag prints help in 164ms
> ok 47 assert help flag prints help in 951ms
> ok 48 post help flag prints help in 910ms
> not ok 49 SQL Module in 19125ms
> # (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_modules.bats, line 36)
> #   `assert_output --partial '"docs":'' failed
> #
> # -- output does not contain substring --
> # substring (1 lines):
> #   "docs":
> # output (2 lines):
> #
> #   ERROR: Server refused connection at:
> http://localhost:8983/solr/COLL_NAME/sql
> # --
> #
> # 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/49-1
> # WARN  - 2023-08-24 23:32:31.370;
> org.apache.solr.common.cloud.SolrZkClient; Using default
> ZkCredentialsInjector. ZkCredentialsInjector is not secure, it creates an
> empty list of credentials which leads to 'OPEN_ACL_UNSAFE' ACLs to
> Zookeeper nodes
> #
> # ERROR: java.util.concurrent.TimeoutException: Could not connect to
> ZooKeeper localhost:9983 within 15000 ms
> #
> # Last output:
> #
> # ERROR: Server refused connection at:
> http://localhost:8983/solr/COLL_NAME/sql
> not ok 50 Hadoop-Auth Module: KerberosPlugin Classloading in 16697ms
> # (in test file test/test_modules.bats, line 49)
> #   `solr start -c \' failed
> #
> # Port 8983 is already being used by another process (pid: 31806)
> # Please choose a different port using the -p option.
> #
> # Please find the SOLR_HOME snapshot for failed test #2 at:
>
> /home/jenkins/jenkins-slave/workspace/Solr/Solr-Check-main/solr/packaging/build/test-output/failure-snapshots/50-2
> # WARN  - 2023-08-24 23:32:48.089;
> org.apache.solr.common.cloud.SolrZkClient; Using default
> ZkCredentialsInjector. ZkCredentialsInjector is not secure, it creates an
> empty list of credentials which leads to 'OPEN_ACL_UNSAFE' ACLs to
> Zookeeper nodes
> #
> # ERROR: java.util.concurrent.TimeoutException: Could not connect to
> ZooKeeper localhost:9983 within 15000 ms
> #
> not ok 51 icu collation in analysis-extras module in 17915ms
> # (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_modules.bats, line 66)
> #   `assert_output --partial "Created collection 'COLL_NAME'"' failed
> #
> # -- output does not contain substring --
> # substring (1 lines):
> #   Created collection 'COLL_NAME'
> # output (3 lines):
> #   Neither -zkHost or -solrUrl parameters provided so assuming solrUrl is
> http://localhost:8983.
> #
> #   ERROR: Server refused connection at:
> http://localhost:8983/solr/admin/info/system
> # --
> #
> # 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/51-3
> # WARN  - 2023-08-24 23:33:06.029;
> org.apache.solr.common.cloud.SolrZkClient; Using default
> ZkCredentialsInjector. ZkCredentialsInjector is not secure, it creates an
> empty list of credentials which leads to 'OPEN_ACL_UNSAFE' ACLs to
> Zookeeper nodes
> #
> # ERROR: java.util.concurrent.TimeoutException: Could not connect to
> ZooKeeper localhost:9983 within 15000 ms
> #
> # Last output:
> # Neither -zkHost or -solrUrl parameters provided so assuming solrUrl is
> http://localhost:8983.
> #
> # ERROR: Server refused connection at:
> http://localhost:8983/solr/admin/info/system
> not ok 52 package detects no running solr in 1273ms
> # (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 31806 running on port 8983
> #   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/52-1
> # Last output:
> #
> # Found 1 Solr nodes:
> #
> # Solr process 31806 running on port 8983
> # 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.
> not ok 53 lifecycle of package in 3429ms
> # (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 47)
> #   `assert_output --partial "Available packages:"' failed
> #
> # -- output does not contain substring --
> # substring (1 lines):
> #   Available packages:
> # output (41 lines):
> #
> #   Found 1 Solr nodes:
> #
> #   Solr process 31806 running on port 8983
> #   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:8983/solr]
> to [http://localhost:8983].
> #   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:8983/solr]
> to [http://localhost:8983].
> #   org.apache.solr.client.solrj.SolrServerException: Server refused
> connection at: http://localhost:8983/solr/admin/info/system
> #       at
>
> org.apache.solr.client.solrj.impl.Http2SolrClient.request(Http2SolrClient.java:546)
> #       at
> org.apache.solr.client.solrj.SolrClient.request(SolrClient.java:1192)
> #       at org.apache.solr.cli.SolrCLI.getZkHost(SolrCLI.java:552)
> #       at org.apache.solr.cli.PackageTool.runImpl(PackageTool.java:81)
> #       at org.apache.solr.cli.ToolBase.runTool(ToolBase.java:52)
> #       at org.apache.solr.cli.SolrCLI.main(SolrCLI.java:151)
> #   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:427)
> #       at
> org.eclipse.jetty.http2.client.HTTP2Client.connect(HTTP2Client.java:406)
> #       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:633)
> #       at
> org.eclipse.jetty.client.HttpClient$1$1.failed(HttpClient.java:630)
> #       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.util.Promise$1.failed(Promise.java:94)
> #       at org.eclipse.jetty.io
> .ClientConnector.connectFailed(ClientConnector.java:539)
> #       at org.eclipse.jetty.io
> .ClientConnector.connect(ClientConnector.java:455)
> #       at
> org.eclipse.jetty.http2.client.HTTP2Client.connect(HTTP2Client.java:406)
> #       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:633)
> #       at
> org.eclipse.jetty.client.HttpClient$1.succeeded(HttpClient.java:610)
> #       at
> org.eclipse.jetty.client.HttpClient$1.succeeded(HttpClient.java:606)
> #       at
>
> org.eclipse.jetty.util.SocketAddressResolver$Async.lambda$resolve$1(SocketAddressResolver.java:180)
> #       at
>
> org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:289)
> #       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)
> #
> #   ERROR: Server refused connection at:
> http://localhost:8983/solr/admin/info/system
> # --
> #
> # Please find the SOLR_HOME snapshot for failed test #2 at:
>
> /home/jenkins/jenkins-slave/workspace/Solr/Solr-Check-main/solr/packaging/build/test-output/failure-snapshots/53-2
> # Last output:
> #
> # Found 1 Solr nodes:
> #
> # Solr process 31806 running on port 8983
> # 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:8983/solr]
> to [http://localhost:8983].
> # 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:8983/solr]
> to [http://localhost:8983].
> # org.apache.solr.client.solrj.SolrServerException: Server refused
> connection at: http://localhost:8983/solr/admin/info/system
> #       at
>
> org.apache.solr.client.solrj.impl.Http2SolrClient.request(Http2SolrClient.java:546)
> #       at
> org.apache.solr.client.solrj.SolrClient.request(SolrClient.java:1192)
> #       at org.apache.solr.cli.SolrCLI.getZkHost(SolrCLI.java:552)
> #       at org.apache.solr.cli.PackageTool.runImpl(PackageTool.java:81)
> #       at org.apache.solr.cli.ToolBase.runTool(ToolBase.java:52)
> #       at org.apache.solr.cli.SolrCLI.main(SolrCLI.java:151)
> # 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:427)
> #       at
> org.eclipse.jetty.http2.client.HTTP2Client.connect(HTTP2Client.java:406)
> #       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:633)
> #       at
> org.eclipse.jetty.client.HttpClient$1$1.failed(HttpClient.java:630)
> #       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.util.Promise$1.failed(Promise.java:94)
> #       at org.eclipse.jetty.io
> .ClientConnector.connectFailed(ClientConnector.java:539)
> #       at org.eclipse.jetty.io
> .ClientConnector.connect(ClientConnector.java:455)
> #       at
> org.eclipse.jetty.http2.client.HTTP2Client.connect(HTTP2Client.java:406)
> #       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:633)
> #       at
> org.eclipse.jetty.client.HttpClient$1.succeeded(HttpClient.java:610)
> #       at
> org.eclipse.jetty.client.HttpClient$1.succeeded(HttpClient.java:606)
> #       at
>
> org.eclipse.jetty.util.SocketAddressResolver$Async.lambda$resolve$1(SocketAddressResolver.java:180)
> #       at
>
> org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:289)
> #       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)
> #
> # ERROR: Server refused connection at:
> http://localhost:8983/solr/admin/info/system
> not ok 54 deploying and undeploying a collection level package in 1388ms
> # (in test file test/test_packages.bats, line 53)
> #   `solr create -c foo-1.2' failed
> # Neither -zkHost or -solrUrl parameters provided so assuming solrUrl is
> http://localhost:8983.
> #
> # ERROR: Server refused connection at:
> http://localhost:8983/solr/admin/info/system
> #
> # 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/54-3
> # Last output:
> #
> # Port 8983 is already being used by another process (pid: 31806)
> # Please choose a different port using the -p option.
> not ok 55 Affinity placement plugin using sysprop in 21863ms
> # (in test file test/test_placement_plugin.bats, line 34)
> #   `solr assert -c http://localhost:8983/solr -t 3000' failed with status
> 100
> # 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:8983/solr]
> to [http://localhost:8983].
> #
> # ERROR: Solr is not running on url http://localhost:8983 after 3 seconds
> #
> # 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/55-1
> # WARN  - 2023-08-24 23:33:34.170;
> org.apache.solr.common.cloud.SolrZkClient; Using default
> ZkCredentialsInjector. ZkCredentialsInjector is not secure, it creates an
> empty list of credentials which leads to 'OPEN_ACL_UNSAFE' ACLs to
> Zookeeper nodes
> #
> # ERROR: java.util.concurrent.TimeoutException: Could not connect to
> ZooKeeper localhost:9983 within 15000 ms
> #
> # Last output:
> #
> # Port 8983 is already being used by another process (pid: 31806)
> # Please choose a different port using the -p option.
> not ok 56 Random placement plugin using ENV in 21914ms
> # (in test file test/test_placement_plugin.bats, line 43)
> #   `solr assert -c http://localhost:8983/solr -t 3000' failed with status
> 100
> # 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:8983/solr]
> to [http://localhost:8983].
> #
> # ERROR: Solr is not running on url http://localhost:8983 after 3 seconds
> #
> # Please find the SOLR_HOME snapshot for failed test #2 at:
>
> /home/jenkins/jenkins-slave/workspace/Solr/Solr-Check-main/solr/packaging/build/test-output/failure-snapshots/56-2
> # WARN  - 2023-08-24 23:33:56.112;
> org.apache.solr.common.cloud.SolrZkClient; Using default
> ZkCredentialsInjector. ZkCredentialsInjector is not secure, it creates an
> empty list of credentials which leads to 'OPEN_ACL_UNSAFE' ACLs to
> Zookeeper nodes
> #
> # ERROR: java.util.concurrent.TimeoutException: Could not connect to
> ZooKeeper localhost:9983 within 15000 ms
> #
> # Last output:
> #
> # Port 8983 is already being used by another process (pid: 31806)
> # Please choose a different port using the -p option.
> not ok 57 setup_file failed
> # (from function `setup_file' in test file test/test_post.bats, line 22)
> #   `solr start -c -Dsolr.modules=extraction' failed
> #
> # Port 8983 is already being used by another process (pid: 31806)
> # Please choose a different port using the -p option.
> #
> not ok 65 setup_file failed
> # (from function `setup_file' in test file test/test_postlogs.bats, line
> 22)
> #   `solr start -c' failed
> #
> # Port 8983 is already being used by another process (pid: 31806)
> # Please choose a different port using the -p option.
> #
> not ok 67 allowPaths - backup in 19068ms
> # (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_security_manager.bats, line 47)
> #   `assert_output --partial '"status":0'' failed
> #
> # -- output does not contain substring --
> # substring (1 lines):
> #   "status":0
> # output (2 lines):
> #
> #   ERROR: Server refused connection at:
> http://localhost:8983/solr/admin/collections
> # --
> #
> # 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/67-1
> # WARN  - 2023-08-24 23:34:15.833;
> org.apache.solr.common.cloud.SolrZkClient; Using default
> ZkCredentialsInjector. ZkCredentialsInjector is not secure, it creates an
> empty list of credentials which leads to 'OPEN_ACL_UNSAFE' ACLs to
> Zookeeper nodes
> #
> # ERROR: java.util.concurrent.TimeoutException: Could not connect to
> ZooKeeper localhost:9983 within 15000 ms
> #
> # Last output:
> #
> # ERROR: Server refused connection at:
> http://localhost:8983/solr/admin/collections
> not ok 68 start solr with ssl in 2355ms
> # (in test file test/test_ssl.bats, line 54)
> #   `solr start -c' failed
> #
> # Port 8983 is already being used by another process (pid: 31806)
> # Please choose a different port using the -p option.
> #
> # 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/68-1
> # Last output:
> # INFO  - 2023-08-24 23:34:33.279;
> org.apache.solr.util.configuration.SSLConfigurations; Setting
> javax.net.ssl.keyStorePassword
> # INFO  - 2023-08-24 23:34:33.284;
> org.apache.solr.util.configuration.SSLConfigurations; Setting
> javax.net.ssl.trustStorePassword
> # 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 [https://localhost:8983/solr]
> to [https://localhost:8983].
> # Exception in thread "main"
> org.apache.solr.client.solrj.SolrServerException: Server refused connection
> at: https://localhost:8983/solr/admin/info/system
> #       at
>
> org.apache.solr.client.solrj.impl.Http2SolrClient.request(Http2SolrClient.java:546)
> #       at
> org.apache.solr.client.solrj.SolrClient.request(SolrClient.java:1192)
> #       at org.apache.solr.cli.SolrCLI.getZkHost(SolrCLI.java:552)
> #       at
> org.apache.solr.cli.AuthTool.clearSecurityJson(AuthTool.java:474)
> #       at org.apache.solr.cli.AuthTool.handleBasicAuth(AuthTool.java:431)
> #       at org.apache.solr.cli.AuthTool.runTool(AuthTool.java:140)
> #       at org.apache.solr.cli.SolrCLI.main(SolrCLI.java:151)
> # 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:427)
> #       at
> org.eclipse.jetty.http2.client.HTTP2Client.connect(HTTP2Client.java:406)
> #       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:633)
> #       at
> org.eclipse.jetty.client.HttpClient$1$1.failed(HttpClient.java:630)
> #       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.util.Promise$1.failed(Promise.java:94)
> #       at org.eclipse.jetty.io
> .ClientConnector.connectFailed(ClientConnector.java:539)
> #       at org.eclipse.jetty.io
> .ClientConnector.connect(ClientConnector.java:455)
> #       at
> org.eclipse.jetty.http2.client.HTTP2Client.connect(HTTP2Client.java:406)
> #       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:633)
> #       at
> org.eclipse.jetty.client.HttpClient$1.succeeded(HttpClient.java:610)
> #       at
> org.eclipse.jetty.client.HttpClient$1.succeeded(HttpClient.java:606)
> #       at
>
> org.eclipse.jetty.util.SocketAddressResolver$Async.lambda$resolve$1(SocketAddressResolver.java:180)
> #       at
>
> org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:289)
> #       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)
> not ok 69 start solr with ssl and auth in 2457ms
> # (in test file test/test_ssl.bats, line 86)
> #   `solr start -c' failed
> #
> # Port 8983 is already being used by another process (pid: 31806)
> # Please choose a different port using the -p option.
> #
> # Please find the SOLR_HOME snapshot for failed test #2 at:
>
> /home/jenkins/jenkins-slave/workspace/Solr/Solr-Check-main/solr/packaging/build/test-output/failure-snapshots/69-2
> # Last output:
> # INFO  - 2023-08-24 23:34:35.770;
> org.apache.solr.util.configuration.SSLConfigurations; Setting
> javax.net.ssl.keyStorePassword
> # INFO  - 2023-08-24 23:34:35.774;
> org.apache.solr.util.configuration.SSLConfigurations; Setting
> javax.net.ssl.trustStorePassword
> # 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 [https://localhost:8983/solr]
> to [https://localhost:8983].
> # Exception in thread "main"
> org.apache.solr.client.solrj.SolrServerException: Server refused connection
> at: https://localhost:8983/solr/admin/info/system
> #       at
>
> org.apache.solr.client.solrj.impl.Http2SolrClient.request(Http2SolrClient.java:546)
> #       at
> org.apache.solr.client.solrj.SolrClient.request(SolrClient.java:1192)
> #       at org.apache.solr.cli.SolrCLI.getZkHost(SolrCLI.java:552)
> #       at
> org.apache.solr.cli.AuthTool.clearSecurityJson(AuthTool.java:474)
> #       at org.apache.solr.cli.AuthTool.handleBasicAuth(AuthTool.java:431)
> #       at org.apache.solr.cli.AuthTool.runTool(AuthTool.java:140)
> #       at org.apache.solr.cli.SolrCLI.main(SolrCLI.java:151)
> # 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:427)
> #       at
> org.eclipse.jetty.http2.client.HTTP2Client.connect(HTTP2Client.java:406)
> #       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:633)
> #       at
> org.eclipse.jetty.client.HttpClient$1$1.failed(HttpClient.java:630)
> #       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.util.Promise$1.failed(Promise.java:94)
> #       at org.eclipse.jetty.io
> .ClientConnector.connectFailed(ClientConnector.java:539)
> #       at org.eclipse.jetty.io
> .ClientConnector.connect(ClientConnector.java:455)
> #       at
> org.eclipse.jetty.http2.client.HTTP2Client.connect(HTTP2Client.java:406)
> #       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:633)
> #       at
> org.eclipse.jetty.client.HttpClient$1.succeeded(HttpClient.java:610)
> #       at
> org.eclipse.jetty.client.HttpClient$1.succeeded(HttpClient.java:606)
> #       at
>
> org.eclipse.jetty.util.SocketAddressResolver$Async.lambda$resolve$1(SocketAddressResolver.java:180)
> #       at
>
> org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:289)
> #       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)
> not ok 70 start solr with client truststore and security manager in 10776ms
> # (in test file test/test_ssl.bats, line 150)
> #   `solr assert --started https://localhost:8983/solr --timeout 5000'
> failed with status 100
> # Certificate stored in file <solr-ssl.crt>
> # Certificate was added to keystore
> # [Storing solr-ssl.truststore.p12]
> # INFO  - 2023-08-24 23:34:39.122;
> org.apache.solr.util.configuration.SSLConfigurations; Setting
> javax.net.ssl.trustStorePassword
> #
> # ERROR: Solr is not running on url https://localhost:8983/solr after 5
> seconds
> #
> # 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/70-3
> # Last output:
> # INFO  - 2023-08-24 23:34:46.639;
> org.apache.solr.util.configuration.SSLConfigurations; Setting
> javax.net.ssl.trustStorePassword
> # 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 [https://localhost:8983/solr]
> to [https://localhost:8983].
> # Exception in thread "main"
> org.apache.solr.client.solrj.SolrServerException: Server refused connection
> at: https://localhost:8983/solr/admin/info/system
> #       at
>
> org.apache.solr.client.solrj.impl.Http2SolrClient.request(Http2SolrClient.java:546)
> #       at
> org.apache.solr.client.solrj.SolrClient.request(SolrClient.java:1192)
> #       at org.apache.solr.cli.SolrCLI.getZkHost(SolrCLI.java:552)
> #       at
> org.apache.solr.cli.AuthTool.clearSecurityJson(AuthTool.java:474)
> #       at org.apache.solr.cli.AuthTool.handleBasicAuth(AuthTool.java:431)
> #       at org.apache.solr.cli.AuthTool.runTool(AuthTool.java:140)
> #       at org.apache.solr.cli.SolrCLI.main(SolrCLI.java:151)
> # 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:427)
> #       at
> org.eclipse.jetty.http2.client.HTTP2Client.connect(HTTP2Client.java:406)
> #       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:633)
> #       at
> org.eclipse.jetty.client.HttpClient$1$1.failed(HttpClient.java:630)
> #       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.util.Promise$1.failed(Promise.java:94)
> #       at org.eclipse.jetty.io
> .ClientConnector.connectFailed(ClientConnector.java:539)
> #       at org.eclipse.jetty.io
> .ClientConnector.connect(ClientConnector.java:455)
> #       at
> org.eclipse.jetty.http2.client.HTTP2Client.connect(HTTP2Client.java:406)
> #       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:633)
> #       at
> org.eclipse.jetty.client.HttpClient$1.succeeded(HttpClient.java:610)
> #       at
> org.eclipse.jetty.client.HttpClient$1.succeeded(HttpClient.java:606)
> #       at
>
> org.eclipse.jetty.util.SocketAddressResolver$Async.lambda$resolve$1(SocketAddressResolver.java:180)
> #       at
>
> org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:289)
> #       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)
> not ok 71 SOLR-11740 check 'solr stop' connection in 235ms
> # (in test file test/test_start_solr.bats, line 32)
> #   `solr start' failed
> #
> # Port 8983 is already being used by another process (pid: 31806)
> # Please choose a different port using the -p option.
> #
> # 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/71-1
> not ok 72 status detects locally running solr in 1469ms
> # (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 (6 lines):
> #
> #   Found 1 Solr nodes:
> #
> #   Solr process 31806 running on port 8983
> #   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:8983/solr]
> to [http://localhost:8983].
> #   Solr at http://localhost:8983 not online.
> # --
> #
> # 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/72-1
> # Last output:
> #
> # Found 1 Solr nodes:
> #
> # Solr process 31806 running on port 8983
> # 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:8983/solr]
> to [http://localhost:8983].
> # Solr at http://localhost:8983 not online.
> not ok 73 status shell script ignores passed in -solrUrl cli parameter from
> user in 229ms
> # (in test file test/test_status.bats, line 44)
> #   `solr start' failed
> #
> # Port 8983 is already being used by another process (pid: 31806)
> # Please choose a different port using the -p option.
> #
> # Please find the SOLR_HOME snapshot for failed test #2 at:
>
> /home/jenkins/jenkins-slave/workspace/Solr/Solr-Check-main/solr/packaging/build/test-output/failure-snapshots/73-2
> not ok 74 status help flag outputs message highlighting not to use solrUrl.
> in 1423ms
> # (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 (6 lines):
> #
> #   Found 1 Solr nodes:
> #
> #   Solr process 31806 running on port 8983
> #   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:8983/solr]
> to [http://localhost:8983].
> #   Solr at http://localhost:8983 not online.
> # --
> #
> # 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/74-3
> # Last output:
> #
> # Found 1 Solr nodes:
> #
> # Solr process 31806 running on port 8983
> # 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:8983/solr]
> to [http://localhost:8983].
> # Solr at http://localhost:8983 not online.
> not ok 75 setup_file failed
> # (from function `setup_file' in test file test/test_zk.bats, line 22)
> #   `solr start -c' failed
> #
> # Port 8983 is already being used by another process (pid: 31806)
> # Please choose a different port using the -p option.
> #
> # bats warning: Executed 52 instead of expected 79 tests
>
> > 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: 285
>
> * 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 8.0.
>
> You can use '--warning-mode all' to show the individual deprecation
> warnings and determine if they come from your own scripts or plugins.
>
> See
>
> https://docs.gradle.org/7.6/userguide/command_line_interface.html#sec:command_line_warnings
>
> BUILD FAILED in 50m 55s
> 624 actionable tasks: 624 executed
>
> Publishing build scan...
> https://ge.apache.org/s/flped26bfu4fa
>
> 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: builds-unsubscr...@solr.apache.org
> For additional commands, e-mail: builds-h...@solr.apache.org
>

Reply via email to