Source: impass
Version: 0.13.1-1
Severity: serious
Tags: ftbfs
Justification: FTBFS

Dear maintainer,

During a test rebuild, impass failed to rebuild.

-------------------------------------------------------------------------------
[...]
    func(args)
  File "/<<PKGBUILDDIR>>/impass/__main__.py", line 261, in add
    db.save()
  File "/<<PKGBUILDDIR>>/impass/db.py", line 249, in save
    encdata = self._encrypt_db(cleardata, keyid)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/impass/db.py", line 139, in _encrypt_db
    encdata, _, _ = self._gpg.encrypt(
                    ^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/gpg/core.py", line 339, in encrypt
    raise e
  File "/usr/lib/python3/dist-packages/gpg/core.py", line 316, in encrypt
    self.op_encrypt_sign(recipients, flags, plaintext, ciphertext)
  File "/usr/lib/python3/dist-packages/gpg/core.py", line 171, in wrapper
    return _funcwrap(self, *args)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/gpg/core.py", line 147, in _funcwrap
    return errorcheck(result, name)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/gpg/errors.py", line 129, in errorcheck
    raise GPGMEError(retval, extradata)
gpg.errors.GPGMEError: gpgme_op_encrypt_sign: GnuPG: No agent running
 FAIL   add second entry
        impass add 'baz asdf Dokw okb 32438uoijdf'
Auto-generating password...
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/<<PKGBUILDDIR>>/impass/__main__.py", line 771, in <module>
    main()
  File "/<<PKGBUILDDIR>>/impass/__main__.py", line 767, in main
    func(args)
  File "/<<PKGBUILDDIR>>/impass/__main__.py", line 261, in add
    db.save()
  File "/<<PKGBUILDDIR>>/impass/db.py", line 249, in save
    encdata = self._encrypt_db(cleardata, keyid)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/impass/db.py", line 139, in _encrypt_db
    encdata, _, _ = self._gpg.encrypt(
                    ^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/gpg/core.py", line 339, in encrypt
    raise e
  File "/usr/lib/python3/dist-packages/gpg/core.py", line 316, in encrypt
    self.op_encrypt_sign(recipients, flags, plaintext, ciphertext)
  File "/usr/lib/python3/dist-packages/gpg/core.py", line 171, in wrapper
    return _funcwrap(self, *args)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/gpg/core.py", line 147, in _funcwrap
    return errorcheck(result, name)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/gpg/errors.py", line 129, in errorcheck
    raise GPGMEError(retval, extradata)
gpg.errors.GPGMEError: gpgme_op_encrypt_sign: GnuPG: No agent running
 FAIL   2
        add existing context impass add foo@bar
Auto-generating password...
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/<<PKGBUILDDIR>>/impass/__main__.py", line 771, in <module>
    main()
  File "/<<PKGBUILDDIR>>/impass/__main__.py", line 767, in main
    func(args)
  File "/<<PKGBUILDDIR>>/impass/__main__.py", line 261, in add
    db.save()
  File "/<<PKGBUILDDIR>>/impass/db.py", line 249, in save
    encdata = self._encrypt_db(cleardata, keyid)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/impass/db.py", line 139, in _encrypt_db
    encdata, _, _ = self._gpg.encrypt(
                    ^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/gpg/core.py", line 339, in encrypt
    raise e
  File "/usr/lib/python3/dist-packages/gpg/core.py", line 316, in encrypt
    self.op_encrypt_sign(recipients, flags, plaintext, ciphertext)
  File "/usr/lib/python3/dist-packages/gpg/core.py", line 171, in wrapper
    return _funcwrap(self, *args)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/gpg/core.py", line 147, in _funcwrap
    return errorcheck(result, name)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/gpg/errors.py", line 129, in errorcheck
    raise GPGMEError(retval, extradata)
gpg.errors.GPGMEError: gpgme_op_encrypt_sign: GnuPG: No agent running
 FAIL   dump all entries
        --- cli.5.expected      2024-09-07 16:10:16.336000000 +0000
        +++ cli.5.output        2024-09-07 16:10:16.332000000 +0000
        @@ -1,8 +1,3 @@
        -{
        -  "baz asdf Dokw okb 32438uoijdf": {
        -    FOO
        -  },
        -  "foo@bar": {
        -    FOO
        -  }
        -}
        +Impass database does not exist.
        +To add an entry to the database use 'impass add'.
        +See 'impass help' for more information.
 FAIL   dump search 0
        --- cli.6.expected      2024-09-07 16:10:16.512000000 +0000
        +++ cli.6.output        2024-09-07 16:10:16.508000000 +0000
        @@ -1,5 +1,3 @@
        -{
        -  "foo@bar": {
        -    FOO
        -  }
        -}
        +Impass database does not exist.
        +To add an entry to the database use 'impass add'.
        +See 'impass help' for more information.
 FAIL   dump search 1
        --- cli.7.expected      2024-09-07 16:10:16.696000000 +0000
        +++ cli.7.output        2024-09-07 16:10:16.696000000 +0000
        @@ -1,5 +1,3 @@
        -{
        -  "baz asdf Dokw okb 32438uoijdf": {
        -    FOO
        -  }
        -}
        +Impass database does not exist.
        +To add an entry to the database use 'impass add'.
        +See 'impass help' for more information.
 FAIL   dump search 2
        --- cli.8.expected      2024-09-07 16:10:16.880000000 +0000
        +++ cli.8.output        2024-09-07 16:10:16.880000000 +0000
        @@ -1,8 +1,3 @@
        -{
        -  "baz asdf Dokw okb 32438uoijdf": {
        -    FOO
        -  },
        -  "foo@bar": {
        -    FOO
        -  }
        -}
        +Impass database does not exist.
        +To add an entry to the database use 'impass add'.
        +See 'impass help' for more information.
 FAIL   2
        add existing context impass add foo@bar
Auto-generating password...
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/<<PKGBUILDDIR>>/impass/__main__.py", line 771, in <module>
    main()
  File "/<<PKGBUILDDIR>>/impass/__main__.py", line 767, in main
    func(args)
  File "/<<PKGBUILDDIR>>/impass/__main__.py", line 261, in add
    db.save()
  File "/<<PKGBUILDDIR>>/impass/db.py", line 249, in save
    encdata = self._encrypt_db(cleardata, keyid)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/impass/db.py", line 139, in _encrypt_db
    encdata, _, _ = self._gpg.encrypt(
                    ^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/gpg/core.py", line 339, in encrypt
    raise e
  File "/usr/lib/python3/dist-packages/gpg/core.py", line 316, in encrypt
    self.op_encrypt_sign(recipients, flags, plaintext, ciphertext)
  File "/usr/lib/python3/dist-packages/gpg/core.py", line 171, in wrapper
    return _funcwrap(self, *args)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/gpg/core.py", line 147, in _funcwrap
    return errorcheck(result, name)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/gpg/errors.py", line 129, in errorcheck
    raise GPGMEError(retval, extradata)
gpg.errors.GPGMEError: gpgme_op_encrypt_sign: GnuPG: No agent running
 FAIL   2
        replace non-existing context impass replace aaaa
Impass database does not exist.
To add an entry to the database use 'impass add'.
See 'impass help' for more information.
 FAIL   2
        update non-existing context impass update aaaa
Impass database does not exist.
To add an entry to the database use 'impass add'.
See 'impass help' for more information.
 FAIL   update entry
        --- cli.12.expected     2024-09-07 16:10:17.780000000 +0000
        +++ cli.12.output       2024-09-07 16:10:17.776000000 +0000
        @@ -1,5 +1,3 @@
        -{
        -  "foo@example": {
        -    FOO
        -  }
        -}
        +Impass database does not exist.
        +To add an entry to the database use 'impass add'.
        +See 'impass help' for more information.
Impass database does not exist.
To add an entry to the database use 'impass add'.
See 'impass help' for more information.
 FAIL   2
        remove non-existant entry impass remove aaaa
Impass database does not exist.
To add an entry to the database use 'impass add'.
See 'impass help' for more information.
 FAIL   remove entry
        --- cli.14.expected     2024-09-07 16:10:18.296000000 +0000
        +++ cli.14.output       2024-09-07 16:10:18.292000000 +0000
        @@ -1,5 +1,3 @@
        -{
        -  "baz asdf Dokw okb 32438uoijdf": {
        -    FOO
        -  }
        -}
        +Impass database does not exist.
        +To add an entry to the database use 'impass add'.
        +See 'impass help' for more information.
Impass database does not exist.
To add an entry to the database use 'impass add'.
See 'impass help' for more information.


Test suite complete.
10/31 tests passed.
21 tests failed.
make[2]: *** [Makefile:11: test] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [debian/rules:11: override_dh_auto_test] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:7: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2024-09-07T16:10:18Z

-------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here (for the next 30 days):
https://debusine.debian.net/artifact/611781/

About the archive rebuild: The build was made on debusine.debian.net,
on arm64 using sbuild.

You can find the build task here:
https://debusine.debian.net/work-request/20687/

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

Thanks,

Stefano

Reply via email to