Page MenuHomeFreeBSD

Fix test timeout: common.funcs.t_dtrace_contrib.tst_cleanpath_d
ClosedPublic

Authored by lwhsu on Jul 20 2017, 6:41 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Apr 19, 12:19 PM
Unknown Object (File)
Dec 22 2023, 10:48 PM
Unknown Object (File)
Aug 31 2023, 9:47 AM
Unknown Object (File)
Jul 8 2023, 5:10 PM
Unknown Object (File)
May 27 2023, 8:01 PM
Unknown Object (File)
Apr 8 2023, 12:46 AM
Unknown Object (File)
Jan 18 2023, 7:23 AM
Unknown Object (File)
Jan 6 2023, 5:15 AM
Subscribers

Details

Summary

We added too many variable assignments in BEGIN block, and out of default auto
configured variable buffer space. The test VM has 4G RAM which should be enough
for most cases so it's reasonable to increase limitation to these cases.

Test Plan

cd /usr/tests/cddl/usr.sbin/dtrace && kyua debug common/funcs/t_dtrace_contrib:tst_cleanpath_d

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

LGTM at least, but markj might have some input that needs to be considered here.

Sorry for being picky, but could you paste the output of this test without the change?

Sorry for being picky, but could you paste the output of this test without the change?

There is nothing out stdout, the error messages from kyua are as following:

lwhsu@FreeBSD-12-t:/usr/tests/cddl/usr.sbin/dtrace/common/funcs > sudo kyua debug t_dtrace_contrib:tst_cleanpath_d
Executing command [ /usr/tests/cddl/usr.sbin/dtrace/common/funcs/../../dtest /usr/tests/cddl/usr.sbin/dtrace/common/funcs/tst.cleanpath.d ]
Files left in work directory after failure: check.yRFnvD, tmp.aqs1o8zp, tmp.gL6Bm0MG
t_dtrace_contrib:tst_cleanpath_d  ->  broken: Test case body timed out

If we execute tst.cleanpath.d directly:

lwhsu@FreeBSD-12-t:/usr/tests/cddl/usr.sbin/dtrace/common/funcs > sudo dtrace -C -s tst.cleanpath.d
dtrace: buffer size lowered to 2m
dtrace: 1 dynamic variable drop
(hangs)

Sorry for being picky, but could you paste the output of this test without the change?

There is nothing out stdout, the error messages from kyua are as following:

Thanks. This is a bit surprising. How many CPUs does the system have?

Thanks. This is a bit surprising. How many CPUs does the system have?

Two: https://github.com/freebsd/freebsd-ci/blob/master/jobs/FreeBSD-head-amd64-dtrace_test/build.sh#L25

And I am thinking changing to 1 to make more room for other jobs in the future.

This revision is now accepted and ready to land.Jul 25 2017, 10:25 AM
This revision was automatically updated to reflect the committed changes.