Bug 38924 - Fix quoting and call convention errors in ucs-test framework
Fix quoting and call convention errors in ucs-test framework
Status: CLOSED FIXED
Product: UCS Test
Classification: Unclassified
Component: Framework
unspecified
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-07-15 16:18 CEST by Philipp Hahn
Modified: 2023-03-25 06:42 CET (History)
1 user (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments
decoded test error (6.16 KB, text/plain)
2015-07-15 16:18 CEST, Philipp Hahn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Hahn univentionstaff 2015-07-15 16:18:18 CEST
Created attachment 7028 [details]
decoded test error

Several test fail since ~1 week on S4-Slave only:

10_ldap/50ppolicy_account_lockout
10_ldap/55slapd-crash-1270
10_ldap/60failedldif
10_ldap/62check_ldap_group_to_file
10_ldap/62ldap_group_to_file_hook
10_ldap/73schema_registration_twice

<http://jenkins.knut.univention.de:8080/job/UCS-4.0/job/UCS-4.0-2/job/Autotest%20MultiEnv/lastCompletedBuild/SambaVersion=s4,Systemrolle=slave/#showFailuresLink>

The output contains binary data, it must be hex-decoded, for example by piping through "xxd -p -r".

Looks like there is some `ls` output from "/usr/lib/ucs-test/10ldap/" or some unquoted "*" included?

FYI: The following warnings are caused by missing schema definitions according to <http://www.openldap.org/lists/openldap-software/200705/msg00282.html>:
> UNKNOWN attributeDescription "PWDFAILURETIME�" inserted.
> UNKNOWN attributeDescription "PWDACCOUNTLOCKEDTIME" inserted.
Comment 1 Philipp Hahn univentionstaff 2015-07-15 16:44:56 CEST
r62137 | Bug #38924 test: Fix undo.sh
r62136 | Bug #38924 test: Fix ucs.sh usage
r62135 | Bug #38924 test: lint
 Found and fixed a potential quoting error

Package: ucs-test
Version: 5.0.152-3.1087.201507151634
Branch: ucs_4.0-0
Scope: errata4.0-2

TODO: Check run next night
TODO: Forward-port to UCS-4.1 branch
Comment 2 Arvid Requate univentionstaff 2015-07-15 16:48:30 CEST
> UNKNOWN attributeDescription "PWDFAILURETIME�" inserted.
> UNKNOWN attributeDescription "PWDACCOUNTLOCKEDTIME" inserted.

FYI:
These are attributes from the ppolicy overlay schema (see Bug 31907 Comment 9 and Bug 31907 Comment 11). They are "operational", i.e. builtin into the overlay itself and get filtered out during schema replication (Bug 36353), but the attributes are replicated anyway. In case a server unloads the overlay, the attribute names are shown in uppercase on that server.
SDB documentation about this is here: http://sdb.univention.de/1291
Comment 3 Philipp Hahn univentionstaff 2015-07-16 12:44:11 CEST
(In reply to Philipp Hahn from comment #1)
> r62137 | Bug #38924 test: Fix undo.sh
> r62136 | Bug #38924 test: Fix ucs.sh usage
> r62135 | Bug #38924 test: lint
>  Found and fixed a potential quoting error

Didn't help.

r62154 | Bug #38924 test: Fix call of fail_test
 Fixed another bug while investigating 01_base.47faillog-timed.test

> TODO: Forward-port to UCS-4.1 branch
Comment 4 Philipp Hahn univentionstaff 2015-09-17 15:53:53 CEST
I've never seen that bug again.
For now I'm closing this bug as "RESOLVED", as some changes were applied to ucs-test (in 4.0-2 onward)
Comment 5 Stefan Gohmann univentionstaff 2016-10-12 07:48:29 CEST
For this bug is no separate QA needed.