Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add systemd docker for rpm service test #1958

Merged

Conversation

peterzhuamazon
Copy link
Member

Description

Add systemd docker for rpm service test

Issues Resolved

Part of #1555

Check List

  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@peterzhuamazon
Copy link
Member Author

@zelinh
Copy link
Member

zelinh commented Apr 12, 2022

Successfully running this docker image.

~ docker run --privileged -it -v /sys/fs/cgroup:/sys/fs/cgroup:ro 3870e4d20da3
systemd 219 running in system mode. (+PAM +AUDIT +SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 -SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
Detected virtualization docker.
Detected architecture x86-64.

Welcome to CentOS Linux 7 (Core)!

Set hostname to <0ac16d0953db>.
[  OK  ] Reached target Local File Systems.
[  OK  ] Reached target Swap.
[  OK  ] Reached target Paths.
[  OK  ] Created slice Root Slice.
[  OK  ] Listening on Delayed Shutdown Socket.
[  OK  ] Listening on Journal Socket.
[  OK  ] Created slice System Slice.
[  OK  ] Reached target Slices.
         Starting Create Volatile Files and Directories...
         Starting Journal Service...
[  OK  ] Started Create Volatile Files and Directories.
[ INFO ] Update UTMP about System Boot/Shutdown is not active.
[DEPEND] Dependency failed for Update UTMP about System Runlevel Changes.
Job systemd-update-utmp-runlevel.service/start failed with result 'dependency'.
[  OK  ] Started Journal Service.
[  OK  ] Reached target System Initialization.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
[  OK  ] Reached target Multi-User System.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Timers.

Tested with systemctl command:

[root@0ac16d0953db /]# systemctl restart opensearch
[root@0ac16d0953db /]# systemctl status opensearch
● opensearch.service - OpenSearch
   Loaded: loaded (/usr/lib/systemd/system/opensearch.service; disabled; vendor preset: disabled)
   Active: active (running) since Tue 2022-04-12 21:18:17 UTC; 6s ago
     Docs: https://opensearch.org/

Copy link
Member

@zelinh zelinh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks.

@peterzhuamazon peterzhuamazon merged commit 19754ad into opensearch-project:main Apr 12, 2022
prudhvigodithi pushed a commit to prudhvigodithi/opensearch-build that referenced this pull request Apr 13, 2022
…arch-project#1947)

Signed-off-by: Sagar Upadhyaya <[email protected]>

Adding code block for maven plugin zips

Signed-off-by: pgodithi <[email protected]>

Adding code block for maven plugin zips

Signed-off-by: pgodithi <[email protected]>

zip maven publish

Signed-off-by: pgodithi <[email protected]>

added zipsmaven dir check

Signed-off-by: pgodithi <[email protected]>

Adding better gradle project dir

Signed-off-by: pgodithi <[email protected]>

test maven snapshots

Signed-off-by: pgodithi <[email protected]>

test maven snapshots

Signed-off-by: pgodithi <[email protected]>

test maven snapshots

Signed-off-by: pgodithi <[email protected]>

test maven snapshots

Signed-off-by: pgodithi <[email protected]>

test maven snapshots

Signed-off-by: pgodithi <[email protected]>

test maven snapshots

Signed-off-by: pgodithi <[email protected]>

test snapshot build

Signed-off-by: pgodithi <[email protected]>

test snapshot build

Signed-off-by: pgodithi <[email protected]>

test snapshot build

Signed-off-by: pgodithi <[email protected]>

test snapshot build

Signed-off-by: pgodithi <[email protected]>

test snapshot build

Signed-off-by: pgodithi <[email protected]>

test snapshot build

Signed-off-by: pgodithi <[email protected]>

test snapshot build

Signed-off-by: pgodithi <[email protected]>

Removing build script for PA (opensearch-project#1952)

Signed-off-by: Sagar Upadhyaya <[email protected]>

update release issue with steps to update ansible and helm (opensearch-project#1942)

* update release issue with steps to update ansible and helm

Signed-off-by: Abhinav Gupta <[email protected]>

* updated test as sample PR

Signed-off-by: Abhinav Gupta <[email protected]>

* adding periods

Signed-off-by: Abhinav Gupta <[email protected]>

Fix the path for maven sign and staging job (opensearch-project#1954)

* Fix the path for staging maven

Signed-off-by: Zelin Hao <[email protected]>

* Add the distribution folder tar to the artifact path and update test

Signed-off-by: Zelin Hao <[email protected]>

[OSD][2.0.0] use rc1 qualifier (opensearch-project#1949)

Signed-off-by: Kawika Avilla <[email protected]>

install createrepo in docker image for RPM yum repo support (opensearch-project#1955)

* install createrepo in docker image for RPM yum repo support

Signed-off-by: Tianle Huang <[email protected]>

* fix

Signed-off-by: Tianle Huang <[email protected]>

* update opensearch to use new image

Signed-off-by: Tianle Huang <[email protected]>

Add systemd docker for rpm service test (opensearch-project#1958)

* Add systemd based image for yum install testing and more

Signed-off-by: Peter Zhu <[email protected]>

* More packages to add to the images

Signed-off-by: Peter Zhu <[email protected]>

lower freq for build for 1.3.1 opensearch-dashboards (opensearch-project#1941)

* lower freq for build for 1.3.1 opensearch-dashboards

Signed-off-by: Abhinav Gupta <[email protected]>

* removed build for 1.2.x and 1.3.1

Signed-off-by: Abhinav Gupta <[email protected]>

test snapshot build

Signed-off-by: pgodithi <[email protected]>

test snapshot build

Signed-off-by: pgodithi <[email protected]>

test snapshot build

Signed-off-by: pgodithi <[email protected]>

test snapshot build

Signed-off-by: pgodithi <[email protected]>

test snapshot build

Signed-off-by: pgodithi <[email protected]>

Added notifications-core and notifications to 2.0 and add integTest manifest (opensearch-project#1957)

* Added notifications-core and notifications to 2.0.

Signed-off-by: dblock <[email protected]>

* Remove scripts from opensearch-build.

Signed-off-by: dblock <[email protected]>

* Remove dashboards notifications scripts to use the default one

Signed-off-by: Peter Zhu <[email protected]>

* Remove CI checks for lack of gradlew.

Signed-off-by: dblock <[email protected]>

* Fix the second subfolder location after core

Signed-off-by: Peter Zhu <[email protected]>

* Add notifications related build scripts to build repo

Signed-off-by: Peter Zhu <[email protected]>

* Tweak build scripts to correctly move the zips

Signed-off-by: Peter Zhu <[email protected]>

Co-authored-by: Peter Zhu <[email protected]>

Make sure notifications is built correctly while passing ci checks (opensearch-project#1959)

Signed-off-by: Peter Zhu <[email protected]>

test snapshot build

Signed-off-by: pgodithi <[email protected]>

test snapshot build

Signed-off-by: pgodithi <[email protected]>

test snapshot build

Signed-off-by: pgodithi <[email protected]>

test snapshot build

Signed-off-by: pgodithi <[email protected]>
@peterzhuamazon peterzhuamazon deleted the opensearch-rpm-ci-runner branch May 16, 2022 18:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants