Skip to contentSkip to conversation

Revert "Revert "tests: start script/race test only when --force specified""

PATCH In review Matthias Brugger 3 participants 4 messages Mar 8, 2016 – Mar 14, 2016 Util-Linux package

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Revert "Revert "tests: start script/race test only when --force specified""

This reverts commit bd84241de3f20afef5446ab3f3bbb0245a520faa.

Addresses: https://github.com/karelzak/util-linux/issues/296

---

The problem also occurs on v2.27-rc2, so it should probably be backported.

 tests/ts/script/race | 3 +++
 1 file changed, 3 insertions(+)
tests/ts/script/race +3 -0
index 4bdbe95..65d48e2 100755
@@ -19,6 +19,9 @@
 TS_TOPDIR="${0%/*}/../.."
 TS_DESC="race conditions"
 
+# Don't execute this test by default, --force required
+TS_OPTIONAL="yes"
+
 . $TS_TOPDIR/functions.sh
 ts_init "$*"
 
Signature · 1 line
2.6.2
maintainer
#1 lore raw

tests/ts/script/race line 23

Quoted 2 lines · Matthias Brugger
tests/ts/script/race +2 -0
+# Don't execute this test by default, --force required
+TS_OPTIONAL="yes"

I have marked the test by

TS_KNOWN_FAIL="yes

it seems better than disable the test.

Karel

Signature · 2 lines
 Karel Zak  <[email protected]>
 http://karelzak.blogspot.com
#2 lore raw
Quoted 9 lines · Karel Zak

tests/ts/script/race line 23

Quoted 2 lines · Matthias Brugger
tests/ts/script/race +2 -0
+# Don't execute this test by default, --force required
+TS_OPTIONAL="yes"

I have marked the test by

TS_KNOWN_FAIL="yes

it seems better than disable the test.

While we are at it, IMO we should finally disable libmount/lock too (TS_OPTIONAL).

It can be very slow and often fails. Last week I was waiting 2 hours for a failure on qemu/ppc. The whole system was unusable during the test. Don't know if this can be fixed in a better way.

Since I've never seen failures on travis we could force this test there.

cu,
Rudi

maintainer
#3 lore raw
Quoted 7 lines · Ruediger Meier
Quoted 6 lines · Karel Zak

tests/ts/script/race line 23

Quoted 2 lines · Matthias Brugger
tests/ts/script/race +2 -0
+# Don't execute this test by default, --force required
+TS_OPTIONAL="yes"

I have marked the test by

Quoted 6 lines
Quoted 3 lines

TS_KNOWN_FAIL="yes

it seems better than disable the test.

While we are at it, IMO we should finally disable libmount/lock too (TS_OPTIONAL).

Done. It's probably to aggressive...

Karel

Signature · 2 lines
 Karel Zak  <[email protected]>
 http://karelzak.blogspot.com