You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The packaging tests use Vagrant virtual machines to verify that installing and running OpenSearch distributions work in supported operating systems.
Currently packaging tests are failing for OpenSearch distributions.
To Reproduce
Make sure Vagrant is installed
Run ./gradlew packagingTest
Or run a specific individual packaging test
packaging tests for tarball distribution on Centos 7 ./gradlew :qa:os:centos-7:distroTest.linux-archive gives error
Task :qa:os:centos-7:distroTest.linux-archive FAILED
java.lang.AssertionError:
Expected: "file/directory: "<File> with owner "opensearch" with group "opensearch" with
posix permissions [<OWNER_READ>,<OWNER_WRITE>,<GROUP_READ>,<OTHERS_READ>]
but: path </tmp/opensearch/README.asciidoc>Does not exist
at __randomizedtesting.SeedInfo.seed([73D7A3A711594ACB:9F8DAF5F4DC9F591]:0)
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:18)
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)
at org.opensearch.packaging.util.Archives.lambda$verifyOssInstallation$5(Archives.java:204)
...
#569 fixes rest of the packaging tests failures and all of the distro tests pass for all supported operating systems except centos-6 which can be reproduced with
packaging test fails for :qa:os:centos-6:distroTest.linux-archive-aarch64
org.gradle.api.tasks.TaskExecutionException: Execution failed for
task ':qa:os:centos-6:distroTest.linux-archive-aarch64'.
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.lambda$executeIfValid$1
(ExecuteActionsTaskExecuter.java:208)
at org.gradle.internal.Try$Failure.ifSuccessfulOrElse(Try.java:263)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid
(ExecuteActionsTaskExecuter.java:206)
....
Expected behavior
Tests should pass i.e. we should be able to verify the installation of the OpenSearch distributions on supported operating systems.
Describe the bug
The packaging tests use Vagrant virtual machines to verify that installing and running OpenSearch distributions work in supported operating systems.
Currently packaging tests are failing for OpenSearch distributions.
To Reproduce
Make sure Vagrant is installed
Run
./gradlew packagingTestOr run a specific individual packaging test
packaging tests for tarball distribution on Centos 7
./gradlew :qa:os:centos-7:distroTest.linux-archivegives error#541 fixes the above
#569 fixes rest of the packaging tests failures and all of the distro tests pass for all supported operating systems except
centos-6which can be reproduced with:qa:os:centos-6:distroTest.linux-archive-aarch64Expected behavior
Tests should pass i.e. we should be able to verify the installation of the OpenSearch distributions on supported operating systems.