← Back to team overview

sts-sponsors team mailing list archive

[Bug 2019864] Re: simplestreams FTBFS: dh_auto_test fails because of expired test gpg key

 

*** This bug is a duplicate of bug 2013081 ***
    https://bugs.launchpad.net/bugs/2013081

** This bug has been marked a duplicate of bug 2013081
   Autopkgtest/build fails, because example gpg key is expired

-- 
You received this bug notification because you are a member of MAAS
Maintainers, which is subscribed to simplestreams in Ubuntu.
https://bugs.launchpad.net/bugs/2019864

Title:
  simplestreams FTBFS: dh_auto_test fails because of expired test gpg
  key

Status in simplestreams package in Ubuntu:
  Triaged
Status in simplestreams source package in Bionic:
  Triaged
Status in simplestreams source package in Focal:
  Triaged
Status in simplestreams source package in Jammy:
  Triaged
Status in simplestreams source package in Kinetic:
  Triaged
Status in simplestreams source package in Lunar:
  Triaged

Bug description:
  amd64 build of simplestreams failed to build on lcy02-amd64-042
  Clicking 'Retry this build' did not help

  Full build log:
  https://launchpadlibrarian.net/666455388/buildlog_ubuntu-bionic-
  amd64.simplestreams_0.1.0~bzr460-0ubuntu1.2~ppa1_BUILDING.txt.gz

  In there you see:
  …
  dh_auto_test: Compatibility levels before 9 are deprecated (level 7 in use)
  	make -j1 test
  make[1]: Entering directory '/<<PKGBUILDDIR>>'
  ./tools/create-gpgdir
  creating GNUPGHOME dir in /<<PKGBUILDDIR>>/gnupg.
    pubkey '/<<PKGBUILDDIR>>/examples/keys/example.pub'
    secret '/<<PKGBUILDDIR>>/examples/keys/example.sec'
    pubkeys: /<<PKGBUILDDIR>>/examples/keys/example.pub
  imported secret key /<<PKGBUILDDIR>>/examples/keys/example.sec
  imported pubkey /<<PKGBUILDDIR>>/examples/keys/example.pub
  ./tools/tenv ./tools/sign-examples
  Traceback (most recent call last):
    File "/<<PKGBUILDDIR>>/tools/js2signed", line 53, in <module>
      main()
    File "/<<PKGBUILDDIR>>/tools/js2signed", line 41, in main
      signjson_file(path, force=force)
    File "/<<PKGBUILDDIR>>/tools/sign_helper.py", line 25, in signjson_file
      util.sign_file(fname, inline=False)
    File "/<<PKGBUILDDIR>>/simplestreams/util.py", line 546, in sign_file
      return subp(get_sign_cmd(path=fname, output=outfile, inline=inline))[0]
    File "/<<PKGBUILDDIR>>/simplestreams/util.py", line 458, in subp
      raise subprocess.CalledProcessError(rc, args, output=(out, err))
  subprocess.CalledProcessError: Command '['gpg', '--batch', '--output', '/<<PKGBUILDDIR>>/examples/cirros/streams/v1/index.json.gpg', '--armor', '--detach-sign', '/<<PKGBUILDDIR>>/examples/cirros/streams/v1/index.json']' returned non-zero exit status 2
  Makefile:39: recipe for target 'examples-sign' failed
  make[1]: *** [examples-sign] Error 1
  …

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/simplestreams/+bug/2019864/+subscriptions



References