Commit cc26ffe
Add debug logging to eden chown
Summary:
# Context
test_chown_with_bindmount is failing on test runners, but not locally. https://www.internalfb.com/intern/test/562950217315212?ref_report_id=0
Print out the results of calling sudo chown to help debug.
My suspicion is that there might be limited sudo on the test runner, and this will help confirm that.
eg. This test fails on ondemands. Sudo will return the following error, which was previously silent.
```
##
## IMPORTANT!
##
## On Demand instances have very limited 'sudo' access.
##
## * Run 'sudo -l' to see the list of commands you can run.
##
## * If a password prompt appears, press Ctrl+C to cancel. Your
## password will NOT work at this prompt. This means On Demand
## does not allow running that command via sudo.
##
## For more information, see https://fburl.com/ondemandsudo
```
Reviewed By: vilatto
Differential Revision: D91076412
fbshipit-source-id: f1983e9394acec8e2ecf824325a523981adc8e891 parent 5a48929 commit cc26ffe
2 files changed
Lines changed: 33 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1432 | 1432 | | |
1433 | 1433 | | |
1434 | 1434 | | |
| 1435 | + | |
| 1436 | + | |
| 1437 | + | |
| 1438 | + | |
| 1439 | + | |
| 1440 | + | |
1435 | 1441 | | |
1436 | 1442 | | |
1437 | 1443 | | |
| |||
1472 | 1478 | | |
1473 | 1479 | | |
1474 | 1480 | | |
1475 | | - | |
1476 | | - | |
| 1481 | + | |
| 1482 | + | |
| 1483 | + | |
| 1484 | + | |
| 1485 | + | |
| 1486 | + | |
| 1487 | + | |
| 1488 | + | |
| 1489 | + | |
| 1490 | + | |
| 1491 | + | |
| 1492 | + | |
| 1493 | + | |
| 1494 | + | |
1477 | 1495 | | |
1478 | 1496 | | |
1479 | 1497 | | |
1480 | 1498 | | |
1481 | 1499 | | |
1482 | | - | |
| 1500 | + | |
| 1501 | + | |
| 1502 | + | |
1483 | 1503 | | |
| 1504 | + | |
| 1505 | + | |
| 1506 | + | |
| 1507 | + | |
| 1508 | + | |
| 1509 | + | |
| 1510 | + | |
| 1511 | + | |
1484 | 1512 | | |
1485 | 1513 | | |
1486 | 1514 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| |||
0 commit comments