LINBIT / drbd-utils

DRBD userspace utilities (for 9.x, 8.4, 8.3)
GNU General Public License v2.0
78 stars 46 forks source link

9.2.6 : make test : failure #34

Closed jtiltx closed 10 months ago

jtiltx commented 10 months ago

Hello,

I have been exploring building out the drbd stack (kernal,reactor and utils) on debian bookworm.

I have had no issues, except with the drbd-utils -- specifically with make test

Testing file events2-all-create-change.test
#13 cat events2-all-create-change.msgs | drbdsetup_events2_instrumented; echo $?
#14 cat events2-all-create-change.msgs | drbdsetup_events2_instrumented --diff; echo $?
#15 cat events2-all-create-change.msgs | drbdsetup_events2_instrumented --statistics; echo $?
#16 cat events2-all-create-change.msgs | drbdsetup_events2_instrumented --full; echo $?
#17 cat events2-all-create-change.msgs | drbdsetup_events2_instrumented --color | cat -v; echo $?
#18 cat events2-all-create-change.msgs | drbdsetup_events2_instrumented --timestamps | sed 's/....-..-..T..:..:.........+..:../TIME/'; echo $?
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[FAILED #18, line 76] cat events2-all-create-change.msgs | drbdsetup_events2_instrumented --timestamps | sed 's/....-..-..T..:..:.........+..:../TIME/'; echo $?
@@ -1,14 +1,14 @@

I have tried a few different configure params to see if anything helps, but nothing seems to avoid this error.

Anyone have any ideas, what is casuing the failed test, or even better how to correct the issue?

Version 9.2.6 (current release), also fails on 9.2.5 (havent checked any other releases) Debian Bookworm

jtiltx commented 10 months ago

For anyone whois curious, the sed command was the issue (replace plus with minus): 's/....-..-..T..:..:.........+..:../TIME/' should be 's/....-..-..T..:..:.........-..:../TIME/'