diff options
author | Charles Baylis <charles.baylis@linaro.org> | 2017-02-22 12:39:29 +0000 |
---|---|---|
committer | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2017-02-22 19:00:37 +0000 |
commit | 43e86773ce14a54a8a5f02d9e12d9cd26937d90e (patch) | |
tree | f24958504c074e4418650095066975caa85fe9d2 /tcwg-validate-abetests.yaml | |
parent | 167bd209a3dd9beb45c398b2768f29c27be2a719 (diff) |
Remove workaround for /dev/pts unmount bug.
This patch removes an incorrect workaround for a bug which prevented
schroot sessions from closing correctly. The bug was solved by
a schroot configuration change (not bindmounting /dev and /dev/pts).
Change-Id: I458b0774ec90af6b3c0cdd64924cac6edba804dc
Diffstat (limited to 'tcwg-validate-abetests.yaml')
-rw-r--r-- | tcwg-validate-abetests.yaml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tcwg-validate-abetests.yaml b/tcwg-validate-abetests.yaml index 50bdaec371..b423fdd495 100644 --- a/tcwg-validate-abetests.yaml +++ b/tcwg-validate-abetests.yaml @@ -83,9 +83,8 @@ BUILD_SHELL="schroot -r -c session:$session_id --preserve-environment -- bash" $BUILD_SHELL -c "echo \"Build session is up; ulimit config:\"; ulimit -a" - # Sometimes /dev/pts can't get unmounted on the first try. - # Workaround by retrying. - trap "schroot -f -e -c session:$session_id || { sleep 60 ; schroot -f -e -c session:$session_id; } || true" 0 1 2 3 5 9 13 15 + # Remove schroot session on exit + trap "schroot -f -e -c session:$session_id" 0 1 2 3 5 9 13 15 case "$test" in abe-tests) |