Git Product home page Git Product logo

cern-rpmverify's People

Contributors

feandil avatar le4ker avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

armuk

cern-rpmverify's Issues

AttributeError: 'Process' object has no attribute 'set_nice'

We are observing regular crash with the following report [1]:
Could this be a bug ?

[1]
reason: cern-rpmverify:50:renice:AttributeError: 'Process' object has no attribute 'set_nice'
cmdline: python /usr/bin/cern-rpmverify
executable: /usr/bin/cern-rpmverify
package: cern-rpmverify-4.1-4.el7.cern
component: cern-rpmverify
pid: 25583
hostname: p05614920e58551.cern.ch
count: 165
abrt_version: 2.1.11
analyzer: Python
architecture: x86_64
duphash: d1aecd3175412cc2edd620ab5c815d74332aa79e
kernel: 3.10.0-862.3.2.el7.x86_64
last_occurrence: 1597608782
os_release: CentOS Linux release 7.7.1908 (Core)
pkg_arch: noarch
pkg_epoch: 0
pkg_fingerprint: 5E03 FDE5 1D1E 034B
pkg_name: cern-rpmverify
pkg_release: 4.el7.cern
pkg_vendor: CERN
pkg_version: 4.1
time: Thu 05 Mar 2020 10:13:02 PM CET
type: Python
uid: 0
username: root
uuid: d1aecd3175412cc2edd620ab5c815d74332aa79e

backtrace:
:cern-rpmverify:50:renice:AttributeError: 'Process' object has no attribute 'set_nice'
:
:Traceback (most recent call last):
: File "/usr/bin/cern-rpmverify", line 317, in
: main()
: File "/usr/bin/cern-rpmverify", line 307, in main
: do_it(conf)
: File "/usr/bin/cern-rpmverify", line 280, in do_it
: ioclass=conf.ioclass, iovalue=(conf.ionice - conf.priority_diff))
: File "/usr/bin/cern-rpmverify", line 50, in renice
: process.set_nice(nice)
:AttributeError: 'Process' object has no attribute 'set_nice'
:
:Local variables in innermost frame:
:process: psutil.Process(pid=25583, name='python', started='22:13:00')
:iovalue: 6
:process_id: 25583
:ioclass: 2
:nice: 18
environ:
:LANG=en_US.UTF-8
:SHELL=/bin/sh
:XDG_RUNTIME_DIR=/run/user/0
:SHLVL=1
:PWD=/root
:LOGNAME=root
:USER=root
:HOME=/root
:PATH=/usr/bin:/bin
:XDG_SESSION_ID=48142
:_=/usr/bin/ionice
os_info:
:NAME="CentOS Linux"
:VERSION="7 (Core)"
:ID="centos"
:ID_LIKE="rhel fedora"
:VERSION_ID="7"
:PRETTY_NAME="CentOS Linux 7 (Core)"
:ANSI_COLOR="0;31"
:CPE_NAME="cpe:/o:centos:centos:7"
:HOME_URL="http://cern.ch/linux/"
:BUG_REPORT_URL="http://cern.ch/linux/"
:
:CENTOS_MANTISBT_PROJECT="CentOS-7"
:CENTOS_MANTISBT_PROJECT_VERSION="7"
:REDHAT_SUPPORT_PRODUCT="centos"
:REDHAT_SUPPORT_PRODUCT_VERSION="7"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.