[Pkg-samba-maint] failing tevent test

Michael Tokarev mjt at tls.msk.ru
Tue Apr 12 18:37:42 BST 2022


Now this is fun.

Successful:

    dh_auto_test
	make -j2 test VERBOSE=1
make[1]: Entering directory '/builds/samba-team/tevent/debian/output/source_dir'
PYTHONHASHSEED=1 WAF_MAKE=1  `PATH=buildtools/bin:../../buildtools/bin:$PATH which waf` test
test: test_fd_tag
success: test_fd_tag
test: test_timer_tag
success: test_timer_tag
test: test_signal_tag
success: test_signal_tag
test: test_immediate_tag
success: test_immediate_tag
test: test_trace_event_fd__loop
success: test_trace_event_fd__loop
test: test_trace_event_fd__reset
success: test_trace_event_fd__reset
test: test_trace_event_fd__free


Failing:

    debian/rules override_dh_auto_test
make[1]: Entering directory '/builds/samba-team/tevent/debian/output/source_dir'
/usr/bin/make -j1 test
make[2]: Entering directory '/builds/samba-team/tevent/debian/output/source_dir'
PYTHONHASHSEED=1 WAF_MAKE=1  `PATH=buildtools/bin:../../buildtools/bin:$PATH which waf` test
test: test_fd_tag
success: test_fd_tag
test: test_timer_tag
success: test_timer_tag
test: test_signal_tag
success: test_signal_tag
test: test_immediate_tag
success: test_immediate_tag
test: test_trace_event_fd__loop
failure: test_trace_event_fd__loop [
tctx->before_handler
../../tests/test_tevent_trace.c:398: error: Failure!
]


Change:

--- a/debian/rules
+++ b/debian/rules
@@ -33,6 +33,9 @@ override_dh_auto_build: bin/config-stamp
         $(MAKE) all
         ar cr bin/libtevent.a bin/default/*.o

+override_dh_auto_test:
+       ${MAKE} -j1 test
+


I don't remember why I've choosen -j1 there. But this is fun.
I can't reproduce this failure on my machine, and it definitely
is not something which is build-dependent, it is *test*-dependent,
and does not affect the result of the build in any way...  Heh :))

/mjt



More information about the Pkg-samba-maint mailing list