/srv/irclogs.ubuntu.com/2015/01/23/#ubuntu-kernel.txt

=== hugbot is now known as sowrdsmanz
=== gerald is now known as Guest57402
=== sowrdsmanz is now known as swordsmanz
Odd_BlokeI fixed the permissions error I was seeing running the tests with: http://paste.ubuntu.com/9832685/10:14
Odd_BlokeThat copies the files to a temporary location before doing the permission munging.10:14
apwOdd_Bloke, i don't htink i get why that helps any10:30
apwOdd_Bloke, unless ... you arn't running as "USER"10:30
apw$USER10:30
Odd_Blokeapw: My best guess is that something is modifying the contents/permissions of self.autotest_results_root after the chown call happens; my code effectively takes a snapshot which avoids that happening.12:05
Odd_BlokeBut I'm not sure I would recommend it for inclusion upstream.12:05
apwOdd_Bloke, the window between the chown and the cp is like near immediate, i just don't buy that12:13
apwOdd_Bloke, can we check we are running as $USER there, as if $USER was something other than the name of the user we are, then we'd not be able to read them, the extra copy may be adding permissing to them or something12:14
Odd_Blokeapw: Sure, will do.12:16
Odd_Blokeuser there ends up as 'ubuntu', as expected. :(12:23
apwOdd_Bloke, so what was the actual errror from the copy as "ubuntu"12:27
Odd_Blokeapw: "[Errno 13] Permission denied: 'autotest/client/results/default/ubuntu_qrt_kernel_panic.test-kernel-panic.py/debug/crash.amd64_killer.24949/report'"12:28
apw        result, output = sh(r'sudo find %s -print | xargs chmod u+r' % (self.autotest_results_root))12:30
apwwhat about adding that after the chmod +x line12:30
apwas these files belong to you, and yet you cannot read them, wheresa root would be able to, on copy may well add u+r to them12:30
Odd_BlokeThat file was still owned by root:root when I examined it.12:31
Odd_Blokek12:32
Odd_BlokeI really wish I could get this reproducible with less than a 2 hour test run. :p12:36
apwOdd_Bloke, it was still root?  that seems, unexpectede13:16
Odd_BlokeYes, indeed.13:16
Odd_BlokeI'm re-running the full suite (in lieu of a more concise reproduction) unchanged; will have another look at it then.13:17
Odd_Blokeapw: http://paste.ubuntu.com/9835165/ is ls -lah output of the appropriate directory.14:08
Odd_Blokeapw: http://paste.ubuntu.com/9835173/ is the stat output.14:11
Odd_BlokeSo it looks like report is created after core is modified (and copied?; guessing that's what the 'access' is).14:11
=== swordsmanz is now known as hugbot
=== adam_g_out is now known as adam_g
=== pgraner is now known as pgraner-afk

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!