Project

General

Profile

Actions

Bug #42433

closed

qa: error: error renaming temp state file /var/lib/logrotate/logrotate.status.tmp

Added by Patrick Donnelly over 4 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
Normal
Category:
-
Target version:
% Done:

0%

Source:
Q/A
Tags:
Backport:
octopus,nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

2019-10-19T18:07:01.369 INFO:teuthology.orchestra.run.smithi179:> sudo logrotate /etc/logrotate.d/ceph-test.conf
2019-10-19T18:07:01.378 INFO:teuthology.orchestra.run.smithi202:Running:
2019-10-19T18:07:01.378 INFO:teuthology.orchestra.run.smithi202:> sudo logrotate /etc/logrotate.d/ceph-test.conf
2019-10-19T18:07:01.524 INFO:teuthology.orchestra.run.smithi179.stderr:error: error renaming temp state file /var/lib/logrotate/logrotate.status.tmp
2019-10-19T18:07:01.526 DEBUG:teuthology.orchestra.run:got remote process result: 1
2019-10-19T18:07:01.527 ERROR:teuthology:Uncaught exception (Hub)
Traceback (most recent call last):
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/virtualenv/local/lib/python2.7/site-packages/gevent/greenlet.py", line 536, in run
    result = self._run(*self.args, **self.kwargs)
  File "/home/teuthworker/src/git.ceph.com_ceph-c_wip-pdonnell-testing-20191019.054359/qa/tasks/ceph.py", line 161, in invoke_logrotate
    wait=False,
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/run.py", line 461, in wait
    proc.wait()
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/run.py", line 162, in wait
    self._raise_for_status()
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/run.py", line 184, in _raise_for_status
    node=self.hostname, label=self.label
CommandFailedError: Command failed on smithi179 with status 1: 'sudo logrotate /etc/logrotate.d/ceph-test.conf'

/ceph/teuthology-archive/pdonnell-2019-10-19_09:46:38-fs-wip-pdonnell-testing-20191019.054359-distro-basic-smithi/4425537/teuthology.log

Error is vague. Not sure yet what the cause could be.


Related issues 3 (0 open3 closed)

Related to Ceph - Bug #47677: qa: AttributeError: 'list' object has no attribute 'stderr'ResolvedPatrick Donnelly

Actions
Copied to Ceph - Backport #47659: octopus: qa: error: error renaming temp state file /var/lib/logrotate/logrotate.status.tmpResolvedNathan CutlerActions
Copied to Ceph - Backport #47660: nautilus: qa: error: error renaming temp state file /var/lib/logrotate/logrotate.status.tmpRejectedNathan CutlerActions
Actions #1

Updated by Kyrylo Shatskyy over 4 years ago

is it still reproducible?

Actions #2

Updated by Patrick Donnelly over 4 years ago

Not recently.

Actions #3

Updated by Patrick Donnelly over 4 years ago

2019-11-28T08:24:59.421 INFO:tasks.workunit.client.0.smithi090.stdout:  CC      drivers/acpi/acpica/rsmisc.o
2019-11-28T08:25:01.091 INFO:tasks.workunit.client.0.smithi090.stdout:  CC      fs/nfs/nfs4super.o
2019-11-28T08:25:01.213 INFO:tasks.workunit.client.0.smithi090.stdout:  CC      fs/nfs/nfs4file.o
2019-11-28T08:25:01.629 INFO:tasks.workunit.client.0.smithi090.stdout:  CC      kernel/groups.o
2019-11-28T08:25:01.903 INFO:teuthology.orchestra.run.smithi029:> sudo logrotate /etc/logrotate.d/ceph-test.conf
2019-11-28T08:25:01.908 INFO:teuthology.orchestra.run.smithi090:> sudo logrotate /etc/logrotate.d/ceph-test.conf
2019-11-28T08:25:02.022 INFO:teuthology.orchestra.run.smithi090.stderr:error: error renaming temp state file /var/lib/logrotate/logrotate.status.tmp
2019-11-28T08:25:02.024 DEBUG:teuthology.orchestra.run:got remote process result: 1
2019-11-28T08:25:02.025 ERROR:teuthology:Uncaught exception (Hub)
Traceback (most recent call last):
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/virtualenv/local/lib/python2.7/site-packages/gevent/greenlet.py", line 536, in run
    result = self._run(*self.args, **self.kwargs)
  File "/home/teuthworker/src/git.ceph.com_ceph-c_wip-pdonnell-testing-20191127.175901/qa/tasks/ceph.py", line 161, in invoke_logrotate
    wait=False,
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/run.py", line 457, in wait
    proc.wait()
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/run.py", line 158, in wait
    self._raise_for_status()
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/run.py", line 180, in _raise_for_status
    node=self.hostname, label=self.label
CommandFailedError: Command failed on smithi090 with status 1: 'sudo logrotate /etc/logrotate.d/ceph-test.conf'

/ceph/teuthology-archive/pdonnell-2019-11-27_23:31:21-fs-wip-pdonnell-testing-20191127.175901-distro-basic-smithi/4548111/teuthology.log

Actions #4

Updated by Patrick Donnelly over 4 years ago

/ceph/teuthology-archive/pdonnell-2020-01-23_00:39:49-kcephfs-wip-pdonnell-testing-20200122.210533-distro-basic-smithi/4695462/teuthology.log

Actions #5

Updated by Patrick Donnelly over 3 years ago

  • Project changed from teuthology to Ceph
  • Status changed from New to In Progress
  • Assignee set to Patrick Donnelly
  • Target version set to v16.0.0
  • Source set to Q/A

/ceph/teuthology-archive/pdonnell-2020-09-20_07:10:11-fs-wip-pdonnell-testing-20200920.040823-distro-basic-smithi/5451225/teuthology.log

Actions #6

Updated by Patrick Donnelly over 3 years ago

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 37266
Actions #7

Updated by Patrick Donnelly over 3 years ago

  • Status changed from Fix Under Review to Pending Backport
  • Backport set to octopus,nautilus
Actions #8

Updated by Nathan Cutler over 3 years ago

  • Copied to Backport #47659: octopus: qa: error: error renaming temp state file /var/lib/logrotate/logrotate.status.tmp added
Actions #9

Updated by Nathan Cutler over 3 years ago

  • Copied to Backport #47660: nautilus: qa: error: error renaming temp state file /var/lib/logrotate/logrotate.status.tmp added
Actions #10

Updated by Patrick Donnelly over 3 years ago

  • Related to Bug #47677: qa: AttributeError: 'list' object has no attribute 'stderr' added
Actions #11

Updated by Loïc Dachary almost 3 years ago

  • Status changed from Pending Backport to Resolved

While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".

Actions

Also available in: Atom PDF