← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1799511] [NEW] cloud-init analyze show - IndexError: pop from empty list

 

Public bug reported:

When testing a new 18.10 minimal image on Azure I was gathering boot
speed data and ran into the following error when trying to run `cloud-
init analyze show` or `cloud-init analyze blame`. `cloud-init analyze
dump` did not raise an exception.


The cloud-init version in use is cloud-init 18.4-7-g4652b196-0ubuntu1

'''
Traceback (most recent call last):
  File "/usr/bin/cloud-init", line 11, in <module>
    load_entry_point('cloud-init==18.4', 'console_scripts', 'cloud-init')()
  File "/usr/lib/python3/dist-packages/cloudinit/cmd/main.py", line 904, in main
    get_uptime=True, func=functor, args=(name, args))
  File "/usr/lib/python3/dist-packages/cloudinit/util.py", line 2519, in log_time
    ret = func(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/cloudinit/analyze/__main__.py", line 104, in analyze_show
    args.print_format)):
  File "/usr/lib/python3/dist-packages/cloudinit/analyze/show.py", line 192, in show_events
    return generate_records(events, print_format=print_format)
  File "/usr/lib/python3/dist-packages/cloudinit/analyze/show.py", line 175, in generate_records
    prev_evt = unprocessed.pop()
IndexError: pop from empty list
'''

I have attached the archive from `sudo cloud-init collect-logs`

** Affects: cloud-init
     Importance: Undecided
         Status: New

** Attachment added: "archive from `sudo cloud-init collect-logs`"
   https://bugs.launchpad.net/bugs/1799511/+attachment/5204583/+files/iraeNg2aengoo-vm-imagedebug-cloud-init-collect-logs.tar.gz

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1799511

Title:
  cloud-init analyze show - IndexError: pop from empty list

Status in cloud-init:
  New

Bug description:
  When testing a new 18.10 minimal image on Azure I was gathering boot
  speed data and ran into the following error when trying to run `cloud-
  init analyze show` or `cloud-init analyze blame`. `cloud-init analyze
  dump` did not raise an exception.

  
  The cloud-init version in use is cloud-init 18.4-7-g4652b196-0ubuntu1

  '''
  Traceback (most recent call last):
    File "/usr/bin/cloud-init", line 11, in <module>
      load_entry_point('cloud-init==18.4', 'console_scripts', 'cloud-init')()
    File "/usr/lib/python3/dist-packages/cloudinit/cmd/main.py", line 904, in main
      get_uptime=True, func=functor, args=(name, args))
    File "/usr/lib/python3/dist-packages/cloudinit/util.py", line 2519, in log_time
      ret = func(*args, **kwargs)
    File "/usr/lib/python3/dist-packages/cloudinit/analyze/__main__.py", line 104, in analyze_show
      args.print_format)):
    File "/usr/lib/python3/dist-packages/cloudinit/analyze/show.py", line 192, in show_events
      return generate_records(events, print_format=print_format)
    File "/usr/lib/python3/dist-packages/cloudinit/analyze/show.py", line 175, in generate_records
      prev_evt = unprocessed.pop()
  IndexError: pop from empty list
  '''

  I have attached the archive from `sudo cloud-init collect-logs`

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1799511/+subscriptions


Follow ups