summaryrefslogtreecommitdiffstats
path: root/test/TEST-36-NUMAPOLICY (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #13568 from ddstreet/ubuntu-ci-blacklistsZbigniew Jędrzejewski-Szmek2019-10-091-0/+0
|\ | | | | test: add temporarily blacklisted tests
| * test: add temporarily blacklisted testsDan Streetman2019-10-031-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | This temporarily blacklists some tests when run under Ubuntu CI. This is the upstream side of the Debian 'upstream' test MR: https://salsa.debian.org/systemd-team/systemd/merge_requests/52 The tests blacklisted here should only be temporarily blacklisted until they can be fixed; the intention is that these blacklist files will be added and removed over time while debugging/fixing flaky and/or regressed tests, without causing test failure noise for other PRs.
* | test: add function to reduce copied setup boilerplateZbigniew Jędrzejewski-Szmek2019-10-081-8/+1
| | | | | | | | | | | | Many tests were also masking systemd-machined.service. But machined should only start when activated, so having it not masked shouldn't be noticable. TEST-25-IMPORT needs it.
* | test: drop redirection to tty in integration testsZbigniew Jędrzejewski-Szmek2019-10-081-3/+0
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | I *think* this was originally added to make it easier to see what was happening in tests. Later we added the functionality to print the journal on failure, so this redirection has stopped being useful. In https://github.com/systemd/systemd/pull/13719#issuecomment-539292650 @filbranden shows that grep tries to write to stdout and fails. In general, we should not assume that writing to the console it always possible. We have special code to handle this in pid1 after all: 99 19:22:10.731965 fstat(1, <unfinished ...> 99 19:22:10.731993 <... fstat resumed>{st_mode=S_IFCHR|0620, st_rdev=makedev(0x88, 0), ...}) = 0 99 19:22:10.732070 write(1, "ExecStartPost={ path=/bin/echo ; argv[]=/bin/echo ${4_four_ex} ; ignore_errors=no ; start_time=[Mon 2019-10-07 19:22:10 PDT] ; stop_time=[Mon 209-10-07 19:22:10 PDT] ; pid=97 ; code=exited ; status=0 }\n", 203) = -1 EIO (Input/output error) 99 19:22:10.732174 write(2, "grep: ", 6) = -1 EIO (Input/output error) 99 19:22:10.732226 write(2, "write error", 11) = -1 EIO (Input/output error) 99 19:22:10.732263 write(2, ": Input/output error", 20) = -1 EIO (Input/output error) 99 19:22:10.732298 write(2, "\n", 1 <unfinished ...> 99 19:22:10.732325 <... write resumed>) = -1 EIO (Input/output error) 99 19:22:10.732349 exit_group(2) = ? 99 19:22:10.732424 +++ exited with 2 +++ Removing the redirection should make the tests less flakey. Replaces #13719. While at it, also drop NotifyAccess=all. I think it was added purposefully in TEST-20-MAINPIDGAMES, and then cargo culted to newer tests.
* Merge pull request #13300 from mrc0mmand/test-execreloadZbigniew Jędrzejewski-Szmek2019-09-171-1/+2
|\ | | | | test: introduce TEST-37-EXECRELOAD
| * test: drop the missed || exit 1 expressionFrantisek Sumsal2019-08-111-1/+2
| | | | | | | | | | ...as we've already done in the rest of the testsuite, see cc469c3dfc398210f38f819d367e68646c71d8da
* | test: TEST-33 and TEST-36 should use create_empty_image_rootdirDan Streetman2019-08-171-6/+1
|/ | | | | This recently added function handles mkdir and mounting of the empty image, as well as umounting after test_setup.
* test: add a simple sanity check for systems without NUMA supportFrantisek Sumsal2019-08-051-170/+180
|
* test: give strace some time to initializeFrantisek Sumsal2019-08-051-0/+2
| | | | | | | The `coproc` implementation seems to be a little bit different in older bash versions, so the `strace` is sometimes started AFTER `systemctl daemon-reload`, which causes unexpected fails. Let's help it a little by sleeping for a bit.
* test: skip the test on systems without NUMA supportFrantisek Sumsal2019-08-051-1/+12
|
* test: make sure the strace process is indeed deadFrantisek Sumsal2019-08-052-1/+4
| | | | | It may take a few moments for the strace process to properly terminate and write all logs to the backing storage
* test: support MPOL_LOCAL matching in unpatched strace versionsFrantisek Sumsal2019-08-051-4/+8
| | | | | | The MPOL_LOCAL constant is not recognized in current strace versions. Let's match at least the numerical value of this constant until the strace patch is approved & merged.
* test: replace `tail -f` with journal cursor which should be...Frantisek Sumsal2019-08-051-6/+7
| | | | more reliable
* test: introduce TEST-36-NUMAPOLICYFrantisek Sumsal2019-08-053-0/+344