-
Notifications
You must be signed in to change notification settings - Fork 347
SRE-3703 ci: Fault injection testing stage on VM/bare metal #17953
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
base: master
Are you sure you want to change the base?
Changes from 27 commits
4da5ee3
56b5b72
51bd85c
d21036d
ec43c03
2c6c9f7
015e4e4
af5d3fe
26a8c50
29ef865
855a046
e0de010
da2d5fa
3d148d5
e26506b
8d94534
1d559fe
c7b1d07
9d48314
97ca76e
14bfc4e
6af6041
81a40f5
8caf3ca
a82e340
b0435f3
5587a42
68a39cf
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -13,7 +13,7 @@ mydir="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)" | |
| # Copy over the install tree and some of the build tree. | ||
| rsync -rlpt -z -e "ssh $SSH_KEY_ARGS" .build_vars* opt-daos.tar utils requirements-utest.txt jenkins@"$NODE":build/ | ||
|
|
||
| # shellcheck disable=SC2029 | ||
| ssh -tt "$SSH_KEY_ARGS" jenkins@"$NODE" "DAOS_HTTPS_PROXY=\"${DAOS_HTTPS_PROXY:-}\" \ | ||
| DAOS_NO_PROXY=\"${DAOS_NO_PROXY:-}\" \ | ||
| $(cat "$mydir/test_nlt_node.sh")" | ||
| ssh -T "$SSH_KEY_ARGS" jenkins@"$NODE" \ | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm not familiar with
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No impact from end results perspective
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| "DAOS_HTTPS_PROXY=\"${DAOS_HTTPS_PROXY:-}\" \ | ||
| DAOS_NO_PROXY=\"${DAOS_NO_PROXY:-}\" \ | ||
| bash -s -- $*" < "$mydir/test_nlt_node.sh" | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,7 +6,6 @@ | |
| set -uex | ||
|
|
||
| sudo bash -c 'echo 1 > /proc/sys/kernel/sysrq' | ||
| sudo mkdir -p /mnt/daos | ||
| # using mmap()'ed ULT stacks requires to bump system default | ||
| if [ "$(sudo sysctl -n vm.max_map_count)" -lt "1000000" ] ; then | ||
| sudo sysctl vm.max_map_count=1000000 | ||
|
|
@@ -46,7 +45,11 @@ pip install /opt/daos/lib/daos/python/ | |
| sudo prlimit --nofile=1024:262144 --pid $$ | ||
| prlimit -n | ||
|
|
||
| HTTPS_PROXY="${DAOS_HTTPS_PROXY:-}" \ | ||
| mkdir -p nlt_logs | ||
| sudo mount -t tmpfs tmpfs nlt_logs | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Maybe put a size on how much memory the tmpfs will use and some error handling around the mount, in case in case it fails.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done: a0c0a2c |
||
| sudo chown jenkins:jenkins nlt_logs | ||
|
|
||
| TMPDIR="$(pwd)/nlt_logs" \ | ||
| HTTPS_PROXY="${DAOS_HTTPS_PROXY:-}" \ | ||
| NO_PROXY="${DAOS_NO_PROXY:-}" \ | ||
| ./utils/node_local_test.py --max-log-size 1950MiB \ | ||
| --dfuse-dir /localhome/jenkins/ --log-usage-save nltir.xml --log-usage-export nltr.json all | ||
| exec ./utils/node_local_test.py "$@" | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To be removed before landing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.