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
Collecting systemd units execution times in NixOS tests #47883
Conversation
d38914a
to
56a3d1c
Compare
Sounds useful too me. |
Hmm, it seems I have to work on the image sizes I load at |
56a3d1c
to
2fd72b3
Compare
@Mic92 I've rebased it onto staging since all NixOS tests will be rebuilt... |
We can merge it. @GrahamcOfBorg test boot postgresql.postgresql100 |
Failure on aarch64-linux (full log) Attempted: tests.boot, tests.postgresql.postgresql100 Partial log (click to expand)
|
Failure on x86_64-linux (full log) Attempted: tests.boot, tests.postgresql.postgresql100 Partial log (click to expand)
|
At the end of the NixOS test, exection times of all systemd units are collected. This is implemented by using the `systemd-analyze blame` command. A new section is added to the log.html file. This section contains, for each VM, the list of running units ordered by time to init.
2fd72b3
to
0094fca
Compare
@GrahamcOfBorg test boot postgresql.postgresql100 |
Success on x86_64-linux (full log) Attempted: tests.boot The following builds were skipped because they don't evaluate on x86_64-linux: tests.postgresql.postgresql100 Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: tests.boot The following builds were skipped because they don't evaluate on aarch64-linux: tests.postgresql.postgresql100 Partial log (click to expand)
|
oarf, staging seems to be broken again:/ |
@Synthetica9 it seems the commit 320c9c1 you introduce in staging break the evaluation of test
Note this is just the result of a |
No, that does sound like an error introduced by that commit. I'll see what I can do to fix it. |
Are there any updates on this pull request, please? |
Thank you for your contributions.
|
We are about the to deprecate the perl driver. Please re-implement for the python one if you still want this feature. |
At the end of the NixOS test, exection times of all systemd units
are collected. This is implemented by using the
systemd-analyze blame
command.A new section is added to the log.html file. This section contains,
for each VM, the list of running units ordered by time to init.
Motivation for this change
This is to know why some of my tests are too slow:/
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)