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
1.1.9: test suite issue: axfer/test -> container-test loops forever #19
Comments
Above was when I had installed alsa-lib 1.1.8. If alsa-utils depends on exact version of the alsa-libs (using pkg-config) autoconf should fail not able to find exact version of the alsa-lib. |
@kloczek Against your expectation, these tests require a long time to finish. Please refer to this post. [alsa-devel] alsa-utils 1.1.8: axfer tests take ages tu run. Sorry for your inconvenience, but I'd like to leave them as is because at present I have no plan for further work, at least recent 6 months. |
I think that I know how to dramatically speedup that test :) [tkloczko@barrel test]$ time ./container-test.sh /tmp/container-test.YrZP5 real 9m4.616s user 0m19.684s sys 8m35.583s And here is the POC script: [tkloczko@barrel test]$ cat ./container-test.sh #!/bin/sh tmp_dir=$(mktemp -d /tmp/container-test.XXXXX) cur_dir=$(pwd) echo ${tmp_dir} cd ${tmp_dir} ${cur_dir}/container-test cd ${cur_dir} rm -rf ${tmp_dir} All what it does is change current directory to tmpfs and then fire container-test :) |
Sorry have no time now to finish this today (I must go :)).
It would be good as well print on the stdout some progress output showing how much already has been done :) |
@kloczek Any patch is always welcome ;) |
I'm still afk and will be busy in next week as Friday I just started new contract. |
I note that in some distributions; e.g. Debian/Ubuntu, tmpfs is not mounted to |
Instead of usage of |
BugLink: #19 Signed-off-by: Jaroslav Kysela <perex@perex.cz>
It's easier to do this setup in the shell script. I added run-test-in-tmpdir.sh (e1551de). |
@perexg Thanks for your care. I note that |
It's easy to redefine this TMPDIR environment variable, so the script might receive an override. On Fedora: # mount | grep /tmp tmpfs on /tmp type tmpfs (rw,nosuid,nodev,seclabel,size=16303124k,nr_inodes=409600,inode64) |
The patchset to reduce test time by 1/28 is now applied. In detail, please refer to my post to alsa-devel: https://mailman.alsa-project.org/pipermail/alsa-devel/2021-March/181947.html |
BugLink: alsa-project#19 Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Looks like it is some issue with axfer/test -> container-test.
This test cannot finishe and looks like it is looping and cannot finish.
Just in case: nothing is written on stdout/stderr or container-test.log. axfer/test/hoge file is constantly written and deleted.
The text was updated successfully, but these errors were encountered: