[Bug]: All integration tests for RPM, Debian and Windows are failing
gaiksaya opened this issue · 13 comments
Describe the bug
Note: This is an observation for OpenSearch only. OSD might be a different story
Recently so many changes went in related to security plugin as well as in general. We enabled integration testing to be triggered via distribution pipeline for all distributions. (Earlier it was just running for tarball)
To reproduce
All windows failed: https://build.ci.opensearch.org/blue/organizations/jenkins/integ-test/detail/integ-test/7136/pipeline
All debian failed: https://build.ci.opensearch.org/blue/organizations/jenkins/integ-test/detail/integ-test/7135/pipeline
All RPM failed: https://build.ci.opensearch.org/blue/organizations/jenkins/integ-test/detail/integ-test/7134/pipeline
Expected behavior
All tests should run. The infrastructure and test set up should be fixed.
Screenshots
If applicable, add screenshots to help explain your problem.
Host / Environment
No response
Additional context
No response
Relevant log output
No response
Will check soon, most likely the deb/rpm is due to sudo permission not added to the ci-runner images.
PRs:
k-NN: Test with @junqiu-lei on tar for concurrent search, resolved opensearch-project/k-NN#1419.
Resolve rpm:
2024-01-26 23:15:19 INFO rpm installation requires sudo, script will exit if current user does not have sudo access
LANG=C.UTF-8
HOSTNAME=1c85fa7fa882
TERM=xterm
MAIL=/var/mail/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin
LOGNAME=root
USER=root
HOME=/root
SHELL=/bin/bash
SUDO_COMMAND=/bin/env OPENSEARCH_INITIAL_ADMIN_PASSWORD=myStrongPassword123!
SUDO_USER=ci-runner
SUDO_UID=1000
SUDO_GID=1000
XDG_SESSION_ID=c1
XDG_RUNTIME_DIR=/run/user/0
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/0/bus
OPENSEARCH_INITIAL_ADMIN_PASSWORD=myStrongPassword123!
No match for argument: opensearch
No packages marked for removal.
Dependencies resolved.
Nothing to do.
Complete!
Rocky Linux 8 - AppStream 7.1 MB/s | 10 MB 00:01
Rocky Linux 8 - BaseOS 4.6 MB/s | 5.1 MB 00:01
Rocky Linux 8 - Extras 29 kB/s | 14 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 8.6 MB/s | 16 MB 00:01
packages for the GitHub CLI 15 kB/s | 2.6 kB 00:00
Dependencies resolved.
============================================================================================================================================================================================================================================================================================================================
Package Architecture Version Repository Size
============================================================================================================================================================================================================================================================================================================================
Installing:
opensearch x86_64 2.12.0-1 @commandline 660 M
Transaction Summary
============================================================================================================================================================================================================================================================================================================================
Install 1 Package
Total size: 660 M
Installed size: 931 M
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Removed:
opensearch-2.12.0-1.x86_64
Complete!
2024-01-26 23:33:17 INFO Recording component test results for geospatial at /home/ci-runner/opensearch-build/test-results/57995af2c3444c6d86f67ce3fbad526e/integ-test/geospatial/with-security
2024-01-26 23:33:17 INFO Walking tree from /home/ci-runner/opensearch-build/test-results/57995af2c3444c6d86f67ce3fbad526e/integ-test/geospatial/with-security
2024-01-26 23:33:17 INFO Recording component test results for geospatial at /home/ci-runner/opensearch-build/test-results/57995af2c3444c6d86f67ce3fbad526e/integ-test/geospatial/without-security
2024-01-26 23:33:17 INFO Walking tree from /home/ci-runner/opensearch-build/test-results/57995af2c3444c6d86f67ce3fbad526e/integ-test/geospatial/without-security
2024-01-26 23:33:17 INFO Skipping ml-commons
2024-01-26 23:33:17 INFO Skipping neural-search
2024-01-26 23:33:17 INFO Skipping notifications-core
2024-01-26 23:33:17 INFO Skipping notifications
2024-01-26 23:33:17 INFO Skipping opensearch-observability
2024-01-26 23:33:17 INFO Skipping anomaly-detection
2024-01-26 23:33:17 INFO Skipping alerting
2024-01-26 23:33:17 INFO Skipping security-analytics
2024-01-26 23:33:17 INFO Skipping index-management
2024-01-26 23:33:17 INFO Skipping flow-framework
2024-01-26 23:33:17 INFO Removing /tmp/tmpun19ylg0
2024-01-26 23:33:17 INFO | geospatial | with-security | PASS |
2024-01-26 23:33:17 INFO | geospatial | without-security | PASS |
Looks like debian is fixed: https://build.ci.opensearch.org/blue/organizations/jenkins/integ-test/detail/integ-test/7376/pipeline
RPM too: https://build.ci.opensearch.org/blue/organizations/jenkins/integ-test/detail/integ-test/7375/pipeline
Windows not yet: https://build.ci.opensearch.org/blue/organizations/jenkins/integ-test/detail/integ-test/7371/pipeline
Thanks @peterzhuamazon