Package: debci
Version: 2.3
Severity: normal
User: de...@kali.org
Usertags: origin-kali

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,

-- 
Seb

-- System Information:
Debian Release: 9.11
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable'), (50, 'unstable'), 
(1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.185-xxxx-std-ipv6-64 (SMP w/16 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set 
to en_US.UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages debci depends on:
ii  adduser                     3.115
ii  amqp-tools                  0.8.0-1+b3
ii  bsdmainutils                9.0.12+nmu1
ii  curl                        7.52.1-5+deb9u9
ii  dctrl-tools                 2.24-2+b1
ii  debian-archive-keyring      2017.5+deb9u1
ii  debootstrap                 1.0.110~bpo9+1
ii  devscripts                  2.17.6+deb9u2
ii  distro-info                 0.14
ii  fonts-font-awesome          4.7.0~dfsg-1
ii  jq                          1.5+dfsg-1.3
ii  libjs-bootstrap             3.3.7+dfsg-2+deb9u2
ii  libjs-jquery                3.1.1-2+deb9u1
ii  libjs-jquery-flot           0.8.3+dfsg-1
ii  moreutils                   0.60-1
ii  netcat-traditional          1.10-41+b1
ii  patchutils                  0.3.4-2
ii  rsync                       3.1.2-1+deb9u2
ii  ruby                        1:2.3.3
ii  ruby-activerecord           2:4.2.7.1-1+deb9u1
ii  ruby-bunny                  2.6.1-2
ii  ruby-kaminari-activerecord  1.0.1-4~bpo9+1
ii  ruby-pg                     0.18.4-2
ii  ruby-sinatra                1.4.7-5
ii  ruby-sinatra-contrib        1.4.7-1
ii  ruby-sqlite3                1.3.11-2
ii  ruby-thor                   0.19.1-3
ii  sudo                        1.8.19p1-2.1

Versions of packages debci recommends:
pn  ntp | time-daemon  <none>

Versions of packages debci suggests:
pn  apt-cacher-ng  <none>

-- no debconf information

Reply via email to