peakmem_tracker crashes with "Failure listing processes locking memory: [Errno 3] No such process"

Bug #1815604 reported by Matt Riedemann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack-Gate
Confirmed
Undecided
Unassigned

Bug Description

http://logs.openstack.org/67/634767/3/check/tempest-slow-py3/5fce2fb/controller/logs/screen-peakmem_tracker.txt.gz#_Feb_12_09_11_55_052651

Feb 12 09:11:55.052651 ubuntu-bionic-rax-iad-0002510465 memory_tracker.sh[27526]: Failure listing processes locking memory: [Errno 3] No such process
Feb 12 09:11:55.052651 ubuntu-bionic-rax-iad-0002510465 memory_tracker.sh[27526]: Traceback (most recent call last):
Feb 12 09:11:55.052651 ubuntu-bionic-rax-iad-0002510465 memory_tracker.sh[27526]: File "/opt/stack/devstack/tools/mlock_report.py", line 53, in <module>
Feb 12 09:11:55.052651 ubuntu-bionic-rax-iad-0002510465 memory_tracker.sh[27526]: main()
Feb 12 09:11:55.052651 ubuntu-bionic-rax-iad-0002510465 memory_tracker.sh[27526]: File "/opt/stack/devstack/tools/mlock_report.py", line 16, in main
Feb 12 09:11:55.053208 ubuntu-bionic-rax-iad-0002510465 memory_tracker.sh[27526]: print(_get_report())
Feb 12 09:11:55.053208 ubuntu-bionic-rax-iad-0002510465 memory_tracker.sh[27526]: File "/opt/stack/devstack/tools/mlock_report.py", line 32, in _get_report
Feb 12 09:11:55.053208 ubuntu-bionic-rax-iad-0002510465 memory_tracker.sh[27526]: for line in s:
Feb 12 09:11:55.053208 ubuntu-bionic-rax-iad-0002510465 memory_tracker.sh[27526]: IOError: [Errno 3] No such process
Feb 12 09:11:55.057440 ubuntu-bionic-rax-iad-0002510465 systemd[1]: devstack@peakmem_tracker.service: Main process exited, code=exited, status=1/FAILURE
Feb 12 09:11:55.057462 ubuntu-bionic-rax-iad-0002510465 systemd[1]: devstack@peakmem_tracker.service: Failed with result 'exit-code'.

I don't think that file is indexed in logstash but the error in the devstack logs is:

http://logstash.openstack.org/#dashboard/file/logstash.json?query=message%3A%5C%22systemd%5B1%5D%3A%20devstack%40peakmem_tracker.service%3A%20Main%20process%20exited%2C%20code%3Dexited%2C%20status%3D1%2FFAILURE%5C%22%20AND%20tags%3A%5C%22console%5C%22&from=7d

7 hits in 7 days.

Matt Riedemann (mriedem)
Changed in openstack-gate:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.