>>> pass-otp: Building community/pass-otp 1.2.0-r0 (using abuild 3.9.0_rc2-r1) started Thu, 21 Oct 2021 16:58:29 +0000 >>> pass-otp: Checking sanity of /home/buildozer/aports/community/pass-otp/APKBUILD... >>> pass-otp: Analyzing dependencies... >>> pass-otp: Installing for build: build-base pass libqrencode oath-toolkit-oathtool git expect (1/24) Installing readline (8.1.1-r0) (2/24) Installing bash (5.1.8-r0) Executing bash-5.1.8-r0.post-install (3/24) Installing skalibs (2.11.0.0-r0) (4/24) Installing s6-ipcserver (2.11.0.0-r0) (5/24) Installing utmps (0.1.0.3-r0) Executing utmps-0.1.0.3-r0.pre-install (6/24) Installing coreutils (9.0-r2) (7/24) Installing tree (1.8.0-r0) (8/24) Installing libgpg-error (1.42-r1) (9/24) Installing libassuan (2.5.5-r0) (10/24) Installing libcap (2.59-r0) (11/24) Installing pinentry (1.2.0-r0) Executing pinentry-1.2.0-r0.post-install (12/24) Installing libgcrypt (1.9.4-r0) (13/24) Installing gnupg-gpgconf (2.2.31-r0) (14/24) Installing sqlite-libs (3.36.0-r0) (15/24) Installing gpg (2.2.31-r0) (16/24) Installing pass (1.7.4-r0) (17/24) Installing libpng (1.6.37-r1) (18/24) Installing libqrencode (4.1.1-r0) (19/24) Installing oath-toolkit-liboath (2.6.7-r1) (20/24) Installing oath-toolkit-oathtool (2.6.7-r1) (21/24) Installing tcl (8.6.11-r0) (22/24) Installing expect (5.45.4-r2) (23/24) Installing .makedepends-pass-otp (20211021.165838) (24/24) Installing utmps-openrc (0.1.0.3-r0) Executing busybox-1.34.1-r1.trigger OK: 360 MiB in 119 packages >>> pass-otp: Cleaning up srcdir >>> pass-otp: Cleaning up pkgdir >>> pass-otp: Fetching https://distfiles.alpinelinux.org/distfiles/v3.15/pass-otp-1.2.0.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> pass-otp: Fetching pass-otp-1.2.0.tar.gz::https://github.com/tadfisher/pass-otp/archive/v1.2.0.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 126 100 126 0 0 565 0 --:--:-- --:--:-- --:--:-- 565 100 46789 0 46789 0 0 99746 0 --:--:-- --:--:-- --:--:-- 99746 >>> pass-otp: Fetching https://distfiles.alpinelinux.org/distfiles/v3.15/pass-otp-1.2.0.tar.gz >>> pass-otp: Checking sha512sums... pass-otp-1.2.0.tar.gz: OK >>> pass-otp: Unpacking /var/cache/distfiles/v3.15/pass-otp-1.2.0.tar.gz... make -C test make[1]: Entering directory '/home/buildozer/aports/community/pass-otp/src/pass-otp-1.2.0/test' rm -f -r test-results make aggregate-results-and-cleanup make[2]: Entering directory '/home/buildozer/aports/community/pass-otp/src/pass-otp-1.2.0/test' make aggregate-results make[3]: Entering directory '/home/buildozer/aports/community/pass-otp/src/pass-otp-1.2.0/test' *** append.t *** *** code.t *** *** insert.t *** *** uri.t *** *** validate.t *** ok 1 - Parses a basic TOTP URI ok 2 - Parses a complex TOTP URI ok 3 - Parses a basic HOTP URI ok 1 - Fails for missing secret ok 4 - Fails for bogus URL ok 5 - Fails for missing secret not ok 1 - Shows key URI in single-line passfile # # uri="otpauth://totp/Example:alice@google.com?secret=JBSWY3DPEHPK3PXP&issuer=Example" # # test_pass_init && # "$PASS" otp insert passfile <<< "$uri" && # [[ $("$PASS" otp uri passfile) == "$uri" ]] # ok 6 - Fails for missing counter not ok 1 - Reads non-terminal input # # uri="otpauth://totp/Example:alice@google.com?secret=JBSWY3DPEHPK3PXP&issuer=Example" # # test_pass_init && # "$PASS" otp insert passfile <<< "$uri" && # [[ $("$PASS" show passfile) == "$uri" ]] # # passed all 6 test(s) 1..6 not ok 1 - Reads non-terminal input # # existing="foo bar baz" # uri="otpauth://totp/Example:alice@google.com?secret=JBSWY3DPEHPK3PXP&issuer=Foo" # # test_pass_init && # "$PASS" insert -e passfile <<< "$existing" && # "$PASS" otp append -e passfile <<< "$uri" && # [[ $("$PASS" otp uri passfile) == "$uri" ]] # not ok 2 - Generates TOTP code # # uri="otpauth://totp/Example:alice@google.com?secret=JBSWY3DPEHPK3PXP&issuer=Example" # # test_pass_init && # "$PASS" otp insert passfile <<< "$uri" && # code=$("$PASS" otp passfile) && # [[ ${#code} -eq 6 ]] # not ok 2 - Shows key URI in multi-line passfile # # uri="otpauth://totp/Example:alice@google.com?secret=JBSWY3DPEHPK3PXP&issuer=Example" # # test_pass_init && # "$PASS" insert -m passfile < <(echo -e "password\nfoo\n$uri\nbar") && # [[ $("$PASS" otp uri passfile) == "$uri" ]] # # failed 2 among 2 test(s) 1..2 make[3]: *** [Makefile:43: uri.t] Error 1 make[3]: *** Waiting for unfinished jobs.... not ok 2 - Reads terminal input in noecho mode # # uri="otpauth://totp/Example:alice@google.com?secret=JBSWY3DPEHPK3PXP&issuer=Example" # # test_pass_init # expect <>> ERROR: pass-otp: check failed >>> pass-otp: Uninstalling dependencies... (1/24) Purging .makedepends-pass-otp (20211021.165838) (2/24) Purging pass (1.7.4-r0) (3/24) Purging bash (5.1.8-r0) Executing bash-5.1.8-r0.pre-deinstall (4/24) Purging coreutils (9.0-r2) Executing coreutils-9.0-r2.post-deinstall (5/24) Purging tree (1.8.0-r0) (6/24) Purging libqrencode (4.1.1-r0) (7/24) Purging oath-toolkit-oathtool (2.6.7-r1) (8/24) Purging expect (5.45.4-r2) (9/24) Purging utmps-openrc (0.1.0.3-r0) (10/24) Purging readline (8.1.1-r0) (11/24) Purging utmps (0.1.0.3-r0) (12/24) Purging s6-ipcserver (2.11.0.0-r0) (13/24) Purging skalibs (2.11.0.0-r0) (14/24) Purging gpg (2.2.31-r0) (15/24) Purging gnupg-gpgconf (2.2.31-r0) (16/24) Purging pinentry (1.2.0-r0) (17/24) Purging libassuan (2.5.5-r0) (18/24) Purging libgcrypt (1.9.4-r0) (19/24) Purging libgpg-error (1.42-r1) (20/24) Purging libcap (2.59-r0) (21/24) Purging sqlite-libs (3.36.0-r0) (22/24) Purging libpng (1.6.37-r1) (23/24) Purging oath-toolkit-liboath (2.6.7-r1) (24/24) Purging tcl (8.6.11-r0) Executing busybox-1.34.1-r1.trigger OK: 344 MiB in 95 packages