Univention Bugzilla – Bug 45964
10_ldap/44replication_binary fails
Last modified: 2018-03-14 14:38:09 CET
(2017-12-28 16:24:49.705489) 44replication_binary: Zeile 113: /usr/sbin/udm-test: Die Argumentliste ist zu lang (2017-12-28 16:24:49.706599) error 2017-12-28 16:24:49 *** Check failed (1), but this might be caused by the error above *** # wc -c b64 172301 b64 # /bin/echo "$(cat b64)" -bash: /bin/echo: Argument list too long # getconf ARG_MAX 2097152 https://unix.stackexchange.com/questions/120642/what-defines-the-maximum-size-for-a-command-single-argument What should we do here? * Workaround the test script and lower the size of the image? But then we don't test what the test case wants to test anymore. * Add something in UDM that one can pass filenames instead of the content directly? * Adjust our ARG_MAX limits?
> And as additional limit since 2.6.23, one argument must not be longer than MAX_ARG_STRLEN (131072) # grep MAX_ARG_STRLEN /usr/include/linux/binfmts.h #define MAX_ARG_STRLEN (PAGE_SIZE * 32) 9a571533ef Bug #45964 test: Fix tests/10_ldap/4{2replication_ldiff,4replication_binary} Package: ucs-test Version: 8.0.10-1A~4.3.0.201801121643 Branch: ucs_4.3-0
http://jenkins.knut.univention.de:8080/job/UCS-4.3/job/UCS-4.3-0/job/AutotestJoin/lastCompletedBuild/SambaVersion=s4,Systemrolle=master/testReport/10_ldap/44replication_binary/test/ (2018-01-14 19:57:26.902171) /tmp/tmp.7Z3aIc0ivN/00000001: Zeile 1: rm -rf '/tmp/tmp.8cY2YiUphg': Datei oder Verzeichnis nicht gefunden Might be the old ucs-test version.
OK, looks good.
UCS 4.3 has been released: https://docs.software-univention.de/release-notes-4.3-0-en.html https://docs.software-univention.de/release-notes-4.3-0-de.html If this error occurs again, please use "Clone This Bug".