After upgrading from 2.1 to 2.2, we started getting exceptions like the
following during the debci-update cron runs. Version 2.3 also has the
same exact problem:
systemd[1]: Starting debci index generator...
debci[16896]: libdist-inkt-perl kali-rolling/amd64 results received (exit code: 0, duration: 0h 3m 49s)
debci[27186]: node-d3-collection kali-dev/amd64 pass (0h 3m 22s)
debci[27186]: /usr/lib/ruby/vendor_ruby/active_record/core.rb:155:in `find': Couldn't find Debci::Job with 'run_id'=652854 (ActiveRecord::RecordNotFound)
debci[27186]: from /usr/lib/ruby/vendor_ruby/debci/job.rb:16:in `import'
debci[27186]: from /usr/share/debci/bin/debci-job:15:in `block in import'
debci[27186]: from /usr/share/debci/bin/debci-job:14:in `each'
debci[27186]: from /usr/share/debci/bin/debci-job:14:in `import'
debci[27186]: from /usr/lib/ruby/vendor_ruby/thor/command.rb:27:in `run'
debci[27186]: from /usr/lib/ruby/vendor_ruby/thor/invocation.rb:126:in `invoke_command'
debci[27186]: from /usr/lib/ruby/vendor_ruby/thor.rb:359:in `dispatch'
debci[27186]: from /usr/lib/ruby/vendor_ruby/thor/base.rb:440:in `start'
debci[27186]: from /usr/share/debci/bin/debci-job:53:in `<main>'
debci[27186]: libdbix-class-perl kali-rolling/amd64 pass (0h 7m 56s)
debci[27186]: libdbix-class-schema-config-perl kali-rolling/amd64 pass (0h 4m 20s)
debci[27186]: libdbix-class-schema-loader-perl kali-rolling/amd64 pass (0h 5m 57s)
debci[27186]: libdbix-dbstag-perl kali-rolling/amd64 fail (0h 3m 4s)
debci[27186]: libdebian-copyright-perl kali-rolling/amd64 pass (0h 3m 36s)
debci[27186]: libdevel-bt-perl kali-rolling/amd64 pass (0h 2m 52s)
debci[27186]: libdevel-ptkdb-perl kali-rolling/amd64 pass (0h 3m 19s)
debci[27186]: libdevel-repl-perl kali-rolling/amd64 pass (0h 3m 33s)
debci[27838]: libdist-inkt-role-git-perl kali-rolling/amd64 pass
debci[27838]: libdist-zilla-plugin-autometaresources-perl kali-rolling/amd64 started
debci[27186]: libdist-inkt-perl kali-rolling/amd64 pass (0h 3m 49s)
debci[27186]: node-pre-gyp kali-rolling/amd64 pass (0h 2m 16s)
debci[27186]: /usr/lib/ruby/vendor_ruby/active_record/core.rb:155:in `find': Couldn't find Debci::Job with 'run_id'=654229 (ActiveRecord::RecordNotFound)
debci[27186]: from /usr/lib/ruby/vendor_ruby/debci/job.rb:16:in `import'
debci[27186]: from /usr/share/debci/bin/debci-job:15:in `block in import'
debci[27186]: from /usr/share/debci/bin/debci-job:14:in `each'
debci[27186]: from /usr/share/debci/bin/debci-job:14:in `import'
debci[27186]: from /usr/lib/ruby/vendor_ruby/thor/command.rb:27:in `run'
debci[27186]: from /usr/lib/ruby/vendor_ruby/thor/invocation.rb:126:in `invoke_command'
debci[27186]: from /usr/lib/ruby/vendor_ruby/thor.rb:359:in `dispatch'
debci[27186]: from /usr/lib/ruby/vendor_ruby/thor/base.rb:440:in `start'
debci[27186]: from /usr/share/debci/bin/debci-job:53:in `<main>'
debci[27186]: /usr/lib/ruby/vendor_ruby/json/common.rb:156:in `parse': 740: unexpected token at '' (JSON::ParserError)
debci[27186]: from /usr/lib/ruby/vendor_ruby/json/common.rb:156:in `parse'
debci[27186]: from /usr/share/debci/bin/debci-generate-history:10:in `block (2 levels) in <main>'
debci[27186]: from /usr/share/debci/bin/debci-generate-history:10:in `open'
debci[27186]: from /usr/share/debci/bin/debci-generate-history:10:in `block in <main>'
debci[27186]: from /usr/share/debci/bin/debci-generate-history:9:in `map'
debci[27186]: from /usr/share/debci/bin/debci-generate-history:9:in `<main>'
systemd[1]: debci-update.service: Main process exited, code=exited, status=1/FAILURE
Here's a couple of observations, that may or may not be useful:
- one debci-update run always generates exactly two "Couldn't find
Debci::Job" exceptions
- those exceptions never seem to reference run_ids that led to
previous exception
- the JSON::ParserError error at the end is always the last message to
be printed before the run ends
Please let me know if you'd like some additional information about this,
as we'd be more than glad to help troubleshooting the issue.
Cheers,