Page MenuHomeVyOS Platform

show system integrity broken in 1.3
Closed, ResolvedPublic

Description

vyos@vyos:~$ sh system integrity
Traceback (most recent call last):

File "/usr/libexec/vyos/op_mode/system_integrity.py", line 69, in <module>
  sys.exit( main() )
File "/usr/libexec/vyos/op_mode/system_integrity.py", line 62, in main
  pkgs = check_pkgs(dt)
File "/usr/libexec/vyos/op_mode/system_integrity.py", line 52, in check_pkgs
  if fdt > dt:

TypeError: '>' not supported between instances of 'datetime.datetime' and 'NoneType'

Details

Difficulty level
Unknown (require assessment)
Version
1.3-rolling
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible

Event Timeline

hagbard created this object in space S1 VyOS Public.
hagbard changed the task status from Open to In progress.Aug 28 2020, 5:53 PM

Fixing up the code, but it will suffer the same issue as in T2835. That build file should be the last thing in the build process, otherwise there is no other way to find out what pkg were installed during the build.

hagbard changed the task status from In progress to Needs testing.Aug 28 2020, 7:16 PM