Project

General

Profile

Bug #45817

qa: Command failed with status 2: ['sudo', 'bash', '-c', 'ip addr add 192.168.255.254/16 brd 192.168.255.255 dev ceph-brx']

Added by Xiubo Li 6 months ago. Updated 4 months ago.

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

0%

Source:
Development
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
fs
Component(FS):
qa-suite
Labels (FS):
qa
Pull request ID:
Crash signature:

Description

2020-06-02 10:17:09,596.596 INFO:__main__:Ready to start LocalFuseMount...
2020-06-02 10:17:09,597.597 INFO:tasks.cephfs.mount:Setting the 'None' netns for '/tmp/tmpwkdchfka/mnt.0'
2020-06-02 10:17:09,597.597 INFO:__main__:Running ['ip', 'addr']
2020-06-02 10:17:09,617.617 INFO:tasks.cephfs.mount:Setuping the 'ceph-brx' with 192.168.255.254/16
2020-06-02 10:17:09,617.617 INFO:__main__:Running ['sudo', 'bash', '-c', 'ip link add name ceph-brx type bridge']
2020-06-02 10:17:09,668.668 INFO:__main__:Running ['sudo', 'bash', '-c', 'ip link set ceph-brx up']
2020-06-02 10:17:09,719.719 INFO:__main__:Running ['sudo', 'bash', '-c', 'ip addr add 192.168.255.254/16 brd 192.168.255.255 dev ceph-brx']
RTNETLINK answers: File exists
2020-06-02 10:17:09,768.768 INFO:__main__:test_scrub_backtrace (tasks.cephfs.test_scrub.TestScrub) ... ERROR
2020-06-02 10:17:09,769.769 INFO:__main__:Stopped test: test_scrub_backtrace (tasks.cephfs.test_scrub.TestScrub) in 19.455156s
2020-06-02 10:17:09,769.769 INFO:__main__:
2020-06-02 10:17:09,770.770 INFO:__main__:======================================================================
2020-06-02 10:17:09,770.770 INFO:__main__:ERROR: test_scrub_backtrace (tasks.cephfs.test_scrub.TestScrub)
2020-06-02 10:17:09,770.770 INFO:__main__:----------------------------------------------------------------------
2020-06-02 10:17:09,770.770 INFO:__main__:Traceback (most recent call last):
2020-06-02 10:17:09,771.771 INFO:__main__:  File "/data/ceph/qa/tasks/cephfs/test_scrub.py", line 114, in setUp
2020-06-02 10:17:09,771.771 INFO:__main__:    super().setUp()
2020-06-02 10:17:09,771.771 INFO:__main__:  File "/data/ceph/qa/tasks/cephfs/cephfs_test_case.py", line 145, in setUp
2020-06-02 10:17:09,771.771 INFO:__main__:    self.mounts[i].mount_wait()
2020-06-02 10:17:09,771.771 INFO:__main__:  File "/data/ceph/qa/tasks/cephfs/mount.py", line 340, in mount_wait
2020-06-02 10:17:09,772.772 INFO:__main__:    mount_options=mount_options)
2020-06-02 10:17:09,772.772 INFO:__main__:  File "../qa/tasks/vstart_runner.py", line 711, in mount
2020-06-02 10:17:09,772.772 INFO:__main__:    self.setup_netns()
2020-06-02 10:17:09,772.772 INFO:__main__:  File "/data/ceph/qa/tasks/cephfs/mount.py", line 298, in setup_netns
2020-06-02 10:17:09,772.772 INFO:__main__:    self._setup_brx_and_nat()
2020-06-02 10:17:09,773.773 INFO:__main__:  File "/data/ceph/qa/tasks/cephfs/mount.py", line 120, in _setup_brx_and_nat
2020-06-02 10:17:09,773.773 INFO:__main__:    self.client_remote.run(args=args, timeout=(5*60))
2020-06-02 10:17:09,773.773 INFO:__main__:  File "../qa/tasks/vstart_runner.py", line 357, in run
2020-06-02 10:17:09,773.773 INFO:__main__:    return self._do_run(**kwargs)
2020-06-02 10:17:09,773.773 INFO:__main__:  File "../qa/tasks/vstart_runner.py", line 421, in _do_run
2020-06-02 10:17:09,774.774 INFO:__main__:    proc.wait()
2020-06-02 10:17:09,774.774 INFO:__main__:  File "../qa/tasks/vstart_runner.py", line 204, in wait
2020-06-02 10:17:09,774.774 INFO:__main__:    raise CommandFailedError(self.args, self.exitstatus)
2020-06-02 10:17:09,774.774 INFO:__main__:teuthology.exceptions.CommandFailedError: Command failed with status 2: ['sudo', 'bash', '-c', 'ip addr add 192.168.255.254/16 brd 192.168.255.255 dev ceph-brx']
2020-06-02 10:17:09,774.774 INFO:__main__:
2020-06-02 10:17:09,775.775 INFO:__main__:----------------------------------------------------------------------
2020-06-02 10:17:09,775.775 INFO:__main__:Ran 1 test in 19.456s
2020-06-02 10:17:09,775.775 INFO:__main__:
2020-06-02 10:17:09,775.775 INFO:__main__:FAILED (errors=1)
2020-06-02 10:17:09,775.775 INFO:__main__:
2020-06-02 10:17:09,775.775 INFO:__main__:======================================================================
2020-06-02 10:17:09,775.775 INFO:__main__:ERROR: test_scrub_backtrace (tasks.cephfs.test_scrub.TestScrub)
2020-06-02 10:17:09,776.776 INFO:__main__:----------------------------------------------------------------------
2020-06-02 10:17:09,776.776 INFO:__main__:Traceback (most recent call last):
2020-06-02 10:17:09,776.776 INFO:__main__:  File "/data/ceph/qa/tasks/cephfs/test_scrub.py", line 114, in setUp
2020-06-02 10:17:09,776.776 INFO:__main__:    super().setUp()
2020-06-02 10:17:09,776.776 INFO:__main__:  File "/data/ceph/qa/tasks/cephfs/cephfs_test_case.py", line 145, in setUp
2020-06-02 10:17:09,776.776 INFO:__main__:    self.mounts[i].mount_wait()
2020-06-02 10:17:09,776.776 INFO:__main__:  File "/data/ceph/qa/tasks/cephfs/mount.py", line 340, in mount_wait
2020-06-02 10:17:09,776.776 INFO:__main__:    mount_options=mount_options)
2020-06-02 10:17:09,776.776 INFO:__main__:  File "../qa/tasks/vstart_runner.py", line 711, in mount
2020-06-02 10:17:09,776.776 INFO:__main__:    self.setup_netns()
2020-06-02 10:17:09,776.776 INFO:__main__:  File "/data/ceph/qa/tasks/cephfs/mount.py", line 298, in setup_netns
2020-06-02 10:17:09,776.776 INFO:__main__:    self._setup_brx_and_nat()
2020-06-02 10:17:09,777.777 INFO:__main__:  File "/data/ceph/qa/tasks/cephfs/mount.py", line 120, in _setup_brx_and_nat
2020-06-02 10:17:09,777.777 INFO:__main__:    self.client_remote.run(args=args, timeout=(5*60))
2020-06-02 10:17:09,777.777 INFO:__main__:  File "../qa/tasks/vstart_runner.py", line 357, in run
2020-06-02 10:17:09,777.777 INFO:__main__:    return self._do_run(**kwargs)
2020-06-02 10:17:09,777.777 INFO:__main__:  File "../qa/tasks/vstart_runner.py", line 421, in _do_run
2020-06-02 10:17:09,777.777 INFO:__main__:    proc.wait()
2020-06-02 10:17:09,777.777 INFO:__main__:  File "../qa/tasks/vstart_runner.py", line 204, in wait
2020-06-02 10:17:09,777.777 INFO:__main__:    raise CommandFailedError(self.args, self.exitstatus)
2020-06-02 10:17:09,777.777 INFO:__main__:teuthology.exceptions.CommandFailedError: Command failed with status 2: ['sudo', 'bash', '-c', 'ip addr add 192.168.255.254/16 brd 192.168.255.255 dev ceph-brx']
2020-06-02 10:17:09,777.777 INFO:__main__:

History

#1 Updated by Patrick Donnelly 6 months ago

  • Status changed from New to Fix Under Review
  • Target version set to v16.0.0
  • Source set to Development
  • Pull request ID set to 35283

#2 Updated by Patrick Donnelly 4 months ago

  • Status changed from Fix Under Review to Resolved
  • Pull request ID changed from 35283 to 35944

Also available in: Atom PDF