Bug 1185790 - monotone-1.1-3.fc22 FTBFS: tests fail
Summary: monotone-1.1-3.fc22 FTBFS: tests fail
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: monotone
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Thomas Moschny
QA Contact: Fedora Extras Quality Assurance
URL: http://koji.fedoraproject.org/koji/ta...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-01-26 09:58 UTC by Petr Pisar
Modified: 2015-07-17 11:29 UTC (History)
1 user (show)

Fixed In Version: monotone-1.1-7.fc23
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-06-22 08:35:49 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Pisar 2015-01-26 09:58:09 UTC
monotone-1.1-3.fc2 fails to build in Fedora 22:

make[3]: Entering directory '/builddir/build/BUILD/monotone-1.1'
{ echo '#!/bin/sh';							  	\
  echo 'export LANG=C';								  	\
  echo 'PATH="/builddir/build/BUILD/monotone-1.1/.:/builddir/build/BUILD/monotone-1.1/./test/bin:$PATH"';	  		\
  echo './test/bin/tester "./test/tester-testsuite.lua" "$@"';	\
  echo 'echo $? > ./test/tester.status';			  	  	\
  echo 'exit 0'; } > run_tester_tests && \
chmod 755 run_tester_tests
./run_tester_tests
Running tests...
  1 cleanup-1                                     ok 0:00, 0:00 on CPU
  2 cleanup-2                                     ok 0:00, 0:00 on CPU
  3 isolated-1                                    ok 0:00, 0:00 on CPU
  4 isolated-2                                    ok 0:00, 0:00 on CPU
  5 remove-unwriteable                            ok 0:00, 0:00 on CPU
  6 running_commands                              ok 0:00, 0:00 on CPU
Of 6 tests run:
	6 succeeded
	0 failed
	0 had expected failures
	0 succeeded unexpectedly
	0 were skipped
{ echo '#!/bin/sh';							  	\
  echo 'export LANG=C';								  	\
  echo 'PATH="/builddir/build/BUILD/monotone-1.1/.:/builddir/build/BUILD/monotone-1.1/./test/bin:$PATH"';	  		\
  echo './test/bin/tester "./test/unit-testsuite.lua" "$@"';	\
  echo 'echo $? > ./test/unit.status';			  	  	\
  echo 'exit 0'; } > run_unit_tests && \
chmod 755 run_unit_tests
./run_unit_tests
Running tests...
  1 _unit_tester_fail_check                       ok 0:00, 0:00 on CPU
  2 _unit_tester_fail_nothrow                     ok 0:00, 0:00 on CPU
  3 _unit_tester_fail_require                     ok 0:00, 0:00 on CPU
  4 _unit_tester_fail_throw                       ok 0:00, 0:00 on CPU
  5 _unit_tester_uncaught                         ok 0:00, 0:00 on CPU
  6 _unit_tester_uncaught_std                     ok 0:00, 0:00 on CPU
  7 _unit_tester_uncaught_std_what                ok 0:00, 0:00 on CPU
  8 basic_io_binary_transparency                  ok 0:00, 0:00 on CPU
  9 charset_idna_encoding                         ok 0:00, 0:00 on CPU
 10 charset_utf8_validation                       ok 0:00, 0:00 on CPU
 11 commands_command_complete_command             ok 0:00, 0:00 on CPU
 12 commands_command_find_command                 ok 0:00, 0:00 on CPU
 13 commands_complete_command                     ok 0:00, 0:00 on CPU
 14 commands_make_command_id                      ok 0:00, 0:00 on CPU
 15 cset_basic_csets                              ok 0:00, 0:00 on CPU
 16 cset_cset_written                             ok 0:00, 0:00 on CPU
 17 cset_invalid_csets                            ok 0:00, 0:00 on CPU
 18 cset_root_dir                                 ok 0:00, 0:00 on CPU
 19 dates_comparisons                             ok 0:00, 0:00 on CPU
 20 dates_from_string                             ok 0:00, 0:00 on CPU
 21 dates_from_unix_epoch                         ok 0:00, 0:00 on CPU
warning: [string "testlib.lua"]:1072: bad argument #2 to 'format' (number has no integer representation){ echo '#!/bin/sh';							  	\
  echo 'export LANG=C';								  	\
  echo 'PATH="/builddir/build/BUILD/monotone-1.1/.:/builddir/build/BUILD/monotone-1.1/./test/bin:$PATH"';	  		\
  echo './test/bin/tester "./test/func-testsuite.lua" "$@"';	\
  echo 'echo $? > ./test/func.status';			  	  	\
  echo 'exit 0'; } > run_func_tests && \
chmod 755 run_func_tests
REAL_BLDDIR=$PWD/.; \
(cd . && $REAL_BLDDIR/mtn --root=. automate get_base_revision_id) 2>/dev/null >src/package_revision_raw.txt \
|| (cd . && mtn --root=. automate get_base_revision_id) 2>/dev/null >src/package_revision_raw.txt \
|| rm -f src/package_revision_raw.txt
set -e; if [ -f src/package_revision_raw.txt ]; then \
  cp src/package_revision_raw.txt src/package_revision.txt; \
fi; \
if [ ! -f src/package_revision.txt -a -f ./src/package_revision.txt ]; then \
  cp ./src/package_revision.txt src/package_revision.txt; \
fi; \
[ -f src/package_revision.txt ] || echo "unknown" > src/package_revision.txt
./util/txt2c --strip-trailing package_revision src/package_revision.txt src/package_revision.cc
REAL_BLDDIR=$PWD/.; \
(cd . && $REAL_BLDDIR/mtn --root=. automate get_current_revision) 2>/dev/null >src/package_full_revision_raw.txt \
|| (cd . && mtn --root=. automate get_current_revision) 2>/dev/null >src/package_full_revision_raw.txt \
|| rm -f src/package_full_revision_raw.txt
set -e; if [ -f src/package_full_revision_raw.txt ]; then \
  cp -f src/package_full_revision_raw.txt src/package_full_revision_dist.txt \
  && (echo ''; \
      echo '  Generated from data cached in the distribution;'; \
      echo '  further changes may have been made.') >> src/package_full_revision_dist.txt; \
fi; \
if [ ! -f src/package_full_revision_dist.txt -a -f ./src/package_full_revision_dist.txt ]; then \
  cp ./src/package_full_revision_dist.txt src/package_full_revision_dist.txt; \
fi; \
[ -f src/package_full_revision_dist.txt ] || echo "unknown" > src/package_full_revision_dist.txt
rm -f src/package_full_revision.txt; \
for SRC in src/package_full_revision_raw.txt src/package_full_revision_dist.txt; do \
    ([ -f $SRC -a ! -f src/package_full_revision.txt ] && cp -f $SRC src/package_full_revision.txt) || true; \
done
./util/txt2c package_full_revision src/package_full_revision.txt src/package_full_revision.cc
./run_func_tests
Running tests...
warning: [string "testlib.lua"]:1072: bad argument #2 to 'format' (number has no integer representation){ echo '#!/bin/sh';							  	\
  echo 'export LANG=C';								  	\
  echo 'PATH="/builddir/build/BUILD/monotone-1.1/.:/builddir/build/BUILD/monotone-1.1/./test/bin:$PATH"';	  		\
  echo './test/bin/tester "./test/extra-testsuite.lua" "$@"';	\
  echo 'echo $? > ./test/extra.status';			  	  	\
  echo 'exit 0'; } > run_extra_tests && \
chmod 755 run_extra_tests
./run_extra_tests
Running tests...
  1 authorize-remote-automate                     skipped (line 1) 0:00, 0:00 on CPU
warning: [string "testlib.lua"]:1072: bad argument #2 to 'format' (number has no integer representation)============================================================
3 of 4 test suites malfunctioned
Please report to https://code.monotone.ca/p/monotone/issues/
Makefile:3040: recipe for target 'check-testers' failed
make[3]: Leaving directory '/builddir/build/BUILD/monotone-1.1'
Makefile:2706: recipe for target 'check-am' failed
make[2]: Leaving directory '/builddir/build/BUILD/monotone-1.1'
make[3]: *** [check-testers] Error 1
make[2]: *** [check-am] Error 2
make[1]: *** [check-recursive] Error 1
Makefile:2415: recipe for target 'check-recursive' failed
make[1]: Leaving directory '/builddir/build/BUILD/monotone-1.1'
Makefile:2709: recipe for target 'check' failed
make: *** [check] Error 2
+ head -n-0 test/work/extra.log test/work/func.log test/work/tester.log test/work/tests.log
==> test/work/extra.log <==
Running on Linux 3.17.8-300.fc21.x86_64 #1 SMP Thu Jan 8 23:32:49 UTC 2015 i686
check_net found at /builddir/build/BUILD/monotone-1.1/./test/bin/check_net
warning: DISABLE_NETWORK_TESTS set, skipping network server tests
mtn found at /builddir/build/BUILD/monotone-1.1/mtn
warning: DISABLE_NETWORK_TESTS set, skipping network server tests
monotone 1.1 (base revision: 81fa9664405655b13bde971bddd802de25096073)
Running on          : Linux 3.17.8-300.fc21.x86_64 #1 SMP Thu Jan 8 23:32:49 UTC 2015 i686
C++ compiler        : GNU C++ version 4.9.2 20150107 (Red Hat 4.9.2-5)
C++ standard library: GNU libstdc++ version 20150107
Boost version       : 1_55
SQLite version      : 3.8.7.4 (compiled against 3.8.7.4)
Lua version         : Lua 5.3
PCRE version        : 8.36 2014-09-26 (compiled against 8.36)
Botan version       : 1.10.8 (compiled against 1.10.8)
Changes since base revision:
format_version "1"
new_manifest [3f49ef95c9afe8094b075119cad01839c44885e3]
old_revision [81fa9664405655b13bde971bddd802de25096073]
  Generated from data cached in the distribution;
  further changes may have been made.
Running tests...
  1 authorize-remote-automate                     skipped (line 1) 0:00, 0:00 on CPU
==> test/work/func.log <==
Running on Linux 3.17.8-300.fc21.x86_64 #1 SMP Thu Jan 8 23:32:49 UTC 2015 i686
check_net found at /builddir/build/BUILD/monotone-1.1/./test/bin/check_net
warning: DISABLE_NETWORK_TESTS set, skipping network server tests
mtn found at /builddir/build/BUILD/monotone-1.1/mtn
warning: DISABLE_NETWORK_TESTS set, skipping network server tests
monotone 1.1 (base revision: 81fa9664405655b13bde971bddd802de25096073)
Running on          : Linux 3.17.8-300.fc21.x86_64 #1 SMP Thu Jan 8 23:32:49 UTC 2015 i686
C++ compiler        : GNU C++ version 4.9.2 20150107 (Red Hat 4.9.2-5)
C++ standard library: GNU libstdc++ version 20150107
Boost version       : 1_55
SQLite version      : 3.8.7.4 (compiled against 3.8.7.4)
Lua version         : Lua 5.3
PCRE version        : 8.36 2014-09-26 (compiled against 8.36)
Botan version       : 1.10.8 (compiled against 1.10.8)
Changes since base revision:
format_version "1"
new_manifest [3f49ef95c9afe8094b075119cad01839c44885e3]
old_revision [81fa9664405655b13bde971bddd802de25096073]
  Generated from data cached in the distribution;
  further changes may have been made.
Running tests...
==> test/work/tester.log <==
Running on Linux 3.17.8-300.fc21.x86_64 #1 SMP Thu Jan 8 23:32:49 UTC 2015 i686
Running tests...
  1 cleanup-1                                     ok 0:00, 0:00 on CPU
  2 cleanup-2                                     ok 0:00, 0:00 on CPU
  3 isolated-1                                    ok 0:00, 0:00 on CPU
  4 isolated-2                                    ok 0:00, 0:00 on CPU
  5 remove-unwriteable                            ok 0:00, 0:00 on CPU
  6 running_commands                              ok 0:00, 0:00 on CPU
Of 6 tests run:
	6 succeeded
	0 failed
	0 had expected failures
	0 succeeded unexpectedly
	0 were skipped
==> test/work/tests.log <==
test/bin/unit_tester found at /builddir/build/BUILD/monotone-1.1/test/bin/unit_tester
Running on Linux 3.17.8-300.fc21.x86_64 #1 SMP Thu Jan 8 23:32:49 UTC 2015 i686
mtn found at /builddir/build/BUILD/monotone-1.1/mtn
monotone 1.1 (base revision: 81fa9664405655b13bde971bddd802de25096073)
Running on          : Linux 3.17.8-300.fc21.x86_64 #1 SMP Thu Jan 8 23:32:49 UTC 2015 i686
C++ compiler        : GNU C++ version 4.9.2 20150107 (Red Hat 4.9.2-5)
C++ standard library: GNU libstdc++ version 20150107
Boost version       : 1_55
SQLite version      : 3.8.7.4 (compiled against 3.8.7.4)
Lua version         : Lua 5.3
PCRE version        : 8.36 2014-09-26 (compiled against 8.36)
Botan version       : 1.10.8 (compiled against 1.10.8)
Changes since base revision:
format_version "1"
new_manifest [3f49ef95c9afe8094b075119cad01839c44885e3]
old_revision [81fa9664405655b13bde971bddd802de25096073]
  Generated from data cached in the distribution;
  further changes may have been made.
Running tests...
  1 _unit_tester_fail_check                       ok 0:00, 0:00 on CPU
  2 _unit_tester_fail_nothrow                     ok 0:00, 0:00 on CPU
  3 _unit_tester_fail_require                     ok 0:00, 0:00 on CPU
  4 _unit_tester_fail_throw                       ok 0:00, 0:00 on CPU
  5 _unit_tester_uncaught                         ok 0:00, 0:00 on CPU
  6 _unit_tester_uncaught_std                     ok 0:00, 0:00 on CPU
  7 _unit_tester_uncaught_std_what                ok 0:00, 0:00 on CPU
  8 basic_io_binary_transparency                  ok 0:00, 0:00 on CPU
  9 charset_idna_encoding                         ok 0:00, 0:00 on CPU
 10 charset_utf8_validation                       ok 0:00, 0:00 on CPU
 11 commands_command_complete_command             ok 0:00, 0:00 on CPU
 12 commands_command_find_command                 ok 0:00, 0:00 on CPU
 13 commands_complete_command                     ok 0:00, 0:00 on CPU
 14 commands_make_command_id                      ok 0:00, 0:00 on CPU
 15 cset_basic_csets                              ok 0:00, 0:00 on CPU
 16 cset_cset_written                             ok 0:00, 0:00 on CPU
 17 cset_invalid_csets                            ok 0:00, 0:00 on CPU
 18 cset_root_dir                                 ok 0:00, 0:00 on CPU
 19 dates_comparisons                             ok 0:00, 0:00 on CPU
 20 dates_from_string                             ok 0:00, 0:00 on CPU
 21 dates_from_unix_epoch                         ok 0:00, 0:00 on CPU
RPM build errors:
+ false
error: Bad exit status from /var/tmp/rpm-tmp.UCHms1 (%check)
    Bad exit status from /var/tmp/rpm-tmp.UCHms1 (%check)

Difference between working and failing build root:

        lua-devel 	5.2.3-1.fc22 	> 	5.3.0-1.fc22
	openssl-devel 	1:1.0.1k-1.fc22 	> 	1:1.0.1k-2.fc22
	lua 	5.2.3-1.fc22 	> 	5.3.0-1.fc22
	openssl-libs 	1:1.0.1k-1.fc22 	> 	1:1.0.1k-2.fc22
	rpm-plugin-selinux 	4.12.0.1-5.fc22 	> 	4.12.0.1-6.fc22
	rpm-libs 	4.12.0.1-5.fc22 	> 	4.12.0.1-6.fc22
	rpm-build-libs 	4.12.0.1-5.fc22 	> 	4.12.0.1-6.fc22
	rpm 	4.12.0.1-5.fc22 	> 	4.12.0.1-6.fc22
	rpm-build 	4.12.0.1-5.fc22 	> 	4.12.0.1-6.fc22

Comment 1 Jaroslav Reznik 2015-03-03 16:46:01 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle.
Changing version to '22'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22

Comment 2 Thomas Moschny 2015-06-22 08:35:49 UTC
Fixed.

http://koji.fedoraproject.org/koji/taskinfo?taskID=10175861


Note You need to log in before you can comment on or make changes to this bug.