Test cleanup failure due to permissions issues

Bug #797349 reported by dobey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu One Client
Status tracked in Trunk
Stable-1-6
Fix Released
Medium
dobey
Trunk
Fix Released
High
dobey

Bug Description

Some tests are not cleaning up properly now, causing permissions issues when removing files under _trial_temp. Below is the log from one branch trying to land. It appears this is a result of fixing issues in devtools, which expose problems with setUp/tearDown and inheritence in some of the syncdaemon tests.

rm: cannot remove `_trial_temp/tmp/tests.platform.linux.test_tools/TestToolsBasic/test_subscribe_share/shares_dir/share_name': Permission denied
rm: cannot remove `_trial_temp/tmp/tests.platform.linux.test_tools/TestToolsBasic/test_accept_share/shares_dir/share': Permission denied
rm: cannot remove `_trial_temp/tmp/tests.platform.linux.test_dbus/ShareTests/test_subscribe/shares_dir/share': Permission denied
rm: cannot remove `_trial_temp/tmp/tests.platform.linux.test_dbus/ShareTests/test_unsubscribe/shares_dir/share': Permission denied
rm: cannot remove `_trial_temp/tmp/tests.platform.linux.test_dbus/DBusInterfaceTests/test_get_metadata_and_quick_tree/shares_dir/share_symlink': Permission denied
rm: cannot remove `_trial_temp/tmp/tests.platform.linux.test_dbus/DBusInterfaceTests/test_get_metadata_and_quick_tree/shares_dir/share': Permission denied
rm: cannot remove `_trial_temp/tmp/tests.platform.linux.test_dbus/DBusInterfaceTests/test_accept_share/shares_dir/share': Permission denied
rm: cannot remove `_trial_temp/tmp/tests.platform.linux.test_dbus/DBusInterfaceTests/test_get_metadata_path_symlink/shares_dir/share_symlink': Permission denied
rm: cannot remove `_trial_temp/tmp/tests.platform.linux.test_dbus/DBusInterfaceTests/test_get_metadata_path_symlink/shares_dir/share': Permission denied
make: *** [test] Error 1

Related branches

Changed in ubuntuone-client:
status: In Progress → Fix Committed
Revision history for this message
Javier Ampudia (ampudia1987) wrote : Re: [Bug 797349] Re: Test cleanup failure due to permissions issues
Download full text (3.2 KiB)

Como se sale uno de esto ? Alguien que me saque
Sent from my BlackBerry® wireless device

-----Original Message-----
From: Rodney Dawes <email address hidden>
Sender: <email address hidden>
Date: Mon, 25 Jul 2011 17:10:12
To: <email address hidden>
Reply-To: Bug 797349 <email address hidden>
Subject: [Bug 797349] Re: Test cleanup failure due to permissions issues

** Also affects: ubuntuone-client/stable-1-6
   Importance: Undecided
       Status: New

** Also affects: ubuntuone-client/trunk
   Importance: High
     Assignee: Rodney Dawes (dobey)
       Status: Fix Committed

** Changed in: ubuntuone-client/trunk
       Status: Fix Committed => Fix Released

** Changed in: ubuntuone-client/stable-1-6
   Importance: Undecided => Medium

** Changed in: ubuntuone-client/stable-1-6
       Status: New => Confirmed

** Changed in: ubuntuone-client/stable-1-6
    Milestone: None => 1.6.3

** Changed in: ubuntuone-client/stable-1-6
     Assignee: (unassigned) => Rodney Dawes (dobey)

--
You received this bug notification because you are subscribed to Ubuntu
One Client.
https://bugs.launchpad.net/bugs/797349

Title:
  Test cleanup failure due to permissions issues

Status in Ubuntu One Client:
  Fix Released
Status in Ubuntu One Client stable-1-6 series:
  Confirmed
Status in Ubuntu One Client trunk series:
  Fix Released

Bug description:
  Some tests are not cleaning up properly now, causing permissions
  issues when removing files under_trial_temp. Below is the log from
  one branch trying to land. It appears this is a result of fixing
  issues in devtools, which expose problems with setUp/tearDown and
  inheritence in some of the syncdaemon tests.

  rm: cannot remove `_trial_temp/tmp/tests.platform.linux.test_tools/TestToolsBasic/test_subscribe_share/shares_dir/share_name': Permission denied
  rm: cannot remove `_trial_temp/tmp/tests.platform.linux.test_tools/TestToolsBasic/test_accept_share/shares_dir/share': Permission denied
  rm: cannot remove `_trial_temp/tmp/tests.platform.linux.test_dbus/ShareTests/test_subscribe/shares_dir/share': Permission denied
  rm: cannot remove `_trial_temp/tmp/tests.platform.linux.test_dbus/ShareTests/test_unsubscribe/shares_dir/share': Permission denied
  rm: cannot remove `_trial_temp/tmp/tests.platform.linux.test_dbus/DBusInterfaceTests/test_get_metadata_and_quick_tree/shares_dir/share_symlink': Permission denied
  rm: cannot remove `_trial_temp/tmp/tests.platform.linux.test_dbus/DBusInterfaceTests/test_get_metadata_and_quick_tree/shares_dir/share': Permission denied
  rm: cannot remove `_trial_temp/tmp/tests.platform.linux.test_dbus/DBusInterfaceTests/test_accept_share/shares_dir/share': Permission denied
  rm: cannot remove `_trial_temp/tmp/tests.platform.linux.test_dbus/DBusInterfaceTests/test_get_metadata_path_symlink/shares_dir/share_symlink': Permission denied
  rm: cannot remove `_trial_temp/tmp/tests.platform.linux.test_dbus/DBusInterfaceTests/test_get_metadata_path_symlink/shares_dir/share': Permission denied
  make: *** [test] Error 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntuone-cli...

Read more...

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.