-
Notifications
You must be signed in to change notification settings - Fork 301
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
DAOS-16585 tests: Fix NLT handling of __fxstat detection #15150
base: master
Are you sure you want to change the base?
Changes from all commits
ad18961
b5d2047
6660ef1
8bd1379
1472202
274a319
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,6 +57,7 @@ dnf --nodocs install \ | |
python3-devel \ | ||
scons \ | ||
sg3_utils \ | ||
strace \ | ||
sudo \ | ||
valgrind-devel \ | ||
which \ | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,6 +14,13 @@ set -e | |
|
||
arch=$(uname -i) | ||
|
||
# hack to install 24.04's golang-go on 22.04: | ||
apt-get install -y software-properties-common | ||
add-apt-repository "deb http://archive.ubuntu.com/ubuntu noble main" | ||
apt-get update | ||
apt-get install -y golang-go | ||
add-apt-repository -r "deb http://archive.ubuntu.com/ubuntu noble main" | ||
|
||
Comment on lines
+17
to
+23
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. Is this a part of the fix or something else? 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.
there was a recent change that made it such that made go 1.22 a requirement and ubuntu 22 has 1.18. Not sure why the builds didn't fail on that patch. 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. This would probably be better landing as part of #15174 where the go developers can review it. That said, this script normally just installs packages, https://github.com/daos-stack/daos/blob/master/utils/docker/Dockerfile.ubuntu would be a better place for this code, or perhaps a |
||
apt-get install \ | ||
autoconf \ | ||
build-essential \ | ||
|
@@ -52,6 +59,7 @@ apt-get install \ | |
pkg-config \ | ||
python3-dev \ | ||
python3-venv \ | ||
strace \ | ||
uuid-dev \ | ||
valgrind \ | ||
yasm | ||
|
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.
This would be called for every il_cmd invocation and there are probably dozens so it could/should be saved in
conf
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.
I thought about that and wanted to not assume different executables ended up using the same libraries. And, I don't think it's going to affect overall runtime to just do this every time. Do you feel differently?
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.
I'd missed that it was running the actual command rather than just a generic unix command here. This means the command has to be idempotent and perform the same operations on subsequent invocations but looking at the places where this is called it seems it probably is.