oath-convert-timestep-counter failed self test
I'm working from the tip of master on Kubuntu 22.04, x86_64, fully patched. According to git log
master is 64a75f148fa9aec745bda60c4d4608b24c51c3af
.
Running make test
results in one failure:
$ make test
Running tests...
Test project /home/jwalton/keysmith/build
Start 1: appstreamtest
1/42 Test #1: appstreamtest ................................. Passed 0.01 sec
Start 2: base32-base32-decode
2/42 Test #2: base32-base32-decode .......................... Passed 0.01 sec
Start 3: base32-base32-coding-decoding
3/42 Test #3: base32-base32-coding-decoding ................. Passed 0.02 sec
Start 4: base32-base32-validate
4/42 Test #4: base32-base32-validate ........................ Passed 0.00 sec
Start 5: uri-percent-encoding
5/42 Test #5: uri-percent-encoding .......................... Passed 0.00 sec
Start 6: uri-qr-parsing
6/42 Test #6: uri-qr-parsing ................................ Passed 0.00 sec
Start 7: hmac-hmac-samples
7/42 Test #7: hmac-hmac-samples ............................. Passed 0.00 sec
Start 8: hmac-hmac-validate-keysize
8/42 Test #8: hmac-hmac-validate-keysize .................... Passed 0.00 sec
Start 9: oath-luhn-checksum
9/42 Test #9: oath-luhn-checksum ............................ Passed 0.00 sec
Start 10: oath-count-timesteps
10/42 Test #10: oath-count-timesteps .......................... Passed 0.00 sec
Start 11: oath-convert-timestep-counter
11/42 Test #11: oath-convert-timestep-counter .................***Failed 0.00 sec
Start 12: oath-encode-token-defaults
12/42 Test #12: oath-encode-token-defaults .................... Passed 0.00 sec
Start 13: oath-hotp-algorithm
13/42 Test #13: oath-hotp-algorithm ........................... Passed 0.00 sec
Start 14: oath-totp-algorithm
14/42 Test #14: oath-totp-algorithm ........................... Passed 0.00 sec
Start 15: secrets-encrypt-decrypt-rt
15/42 Test #15: secrets-encrypt-decrypt-rt .................... Passed 0.62 sec
Start 16: secrets-key-derivation
16/42 Test #16: secrets-key-derivation ........................ Passed 0.63 sec
Start 17: account-jobs-dispatcher-dispatch
17/42 Test #17: account-jobs-dispatcher-dispatch .............. Passed 0.00 sec
Start 18: account-jobs-dispatcher-next
18/42 Test #18: account-jobs-dispatcher-next .................. Passed 0.00 sec
Start 19: account-account-validation
19/42 Test #19: account-account-validation .................... Passed 0.00 sec
Start 20: account-jobs-compute-hotp
20/42 Test #20: account-jobs-compute-hotp ..................... Passed 0.00 sec
Start 21: account-jobs-compute-totp
21/42 Test #21: account-jobs-compute-totp ..................... Passed 0.01 sec
Start 22: account-jobs-load-accounts
22/42 Test #22: account-jobs-load-accounts .................... Passed 0.01 sec
Start 23: account-jobs-delete-accounts
23/42 Test #23: account-jobs-delete-accounts .................. Passed 0.05 sec
Start 24: account-jobs-save-hotp
24/42 Test #24: account-jobs-save-hotp ........................ Passed 0.02 sec
Start 25: account-jobs-save-totp
25/42 Test #25: account-jobs-save-totp ........................ Passed 0.02 sec
Start 26: account-jobs-request-account-password
26/42 Test #26: account-jobs-request-account-password ......... Passed 0.34 sec
Start 27: account-secret-account-secret-password-flow
27/42 Test #27: account-secret-account-secret-password-flow ... Passed 0.00 sec
Start 28: account-storage-object-lifecycles
28/42 Test #28: account-storage-object-lifecycles ............. Passed 0.02 sec
Start 29: account-storage-default-lifecycle
29/42 Test #29: account-storage-default-lifecycle ............. Passed 0.01 sec
Start 30: account-storage-aborted-lifecycle
30/42 Test #30: account-storage-aborted-lifecycle ............. Passed 0.01 sec
Start 31: account-storage-hotp-counter-update
31/42 Test #31: account-storage-hotp-counter-update ........... Passed 0.02 sec
Start 32: model-milliseconds-left-for-token
32/42 Test #32: model-milliseconds-left-for-token ............. Passed 0.02 sec
Start 33: model-qr-input
33/42 Test #33: model-qr-input ................................ Passed 0.01 sec
Start 34: validators-base32-validator
34/42 Test #34: validators-base32-validator ................... Passed 0.01 sec
Start 35: validators-datetime-parsing
35/42 Test #35: validators-datetime-parsing ................... Passed 0.01 sec
Start 36: validators-epoch-validator
36/42 Test #36: validators-epoch-validator .................... Passed 0.01 sec
Start 37: validators-name-validator
37/42 Test #37: validators-name-validator ..................... Passed 0.01 sec
Start 38: validators-issuer-validator
38/42 Test #38: validators-issuer-validator ................... Passed 0.01 sec
Start 39: validators-unsigned-long-validator
39/42 Test #39: validators-unsigned-long-validator ............ Passed 0.01 sec
Start 40: validators-unsigned-long-parsing
40/42 Test #40: validators-unsigned-long-parsing .............. Passed 0.00 sec
Start 41: app-commandline-account-job
41/42 Test #41: app-commandline-account-job ................... Passed 0.01 sec
Start 42: app-commandline-options
42/42 Test #42: app-commandline-options ....................... Passed 0.01 sec
98% tests passed, 1 tests failed out of 42
Total Test time (real) = 1.94 sec
The following tests FAILED:
11 - oath-convert-timestep-counter (Failed)
Errors while running CTest
Edited by Jeffrey Walton