Merge lp:~mvo/snappy/snappy-fix-ftbfs-sbuild into lp:~snappy-dev/snappy/snappy-moved-to-github
| Status: | Merged |
|---|---|
| Approved by: | Michael Vogt on 2015-05-22 |
| Approved revision: | 468 |
| Merged at revision: | 469 |
| Proposed branch: | lp:~mvo/snappy/snappy-fix-ftbfs-sbuild |
| Merge into: | lp:~snappy-dev/snappy/snappy-moved-to-github |
| Diff against target: |
170 lines (+60/-14) 3 files modified
logger/logger.go (+14/-3) logger/logger_test.go (+38/-10) snappy/build_test.go (+8/-1) |
| To merge this branch: | bzr merge lp:~mvo/snappy/snappy-fix-ftbfs-sbuild |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Michael Vogt | Approve on 2015-05-22 | ||
| John Lenton | 2015-05-19 | Approve on 2015-05-20 | |
|
Review via email:
|
|||
Commit Message
Fix FTBFS in a sbuild environment by mocking syslog tests and checking for /dev/shm.
Description of the Change
Tiny branch that fixes a FTBFS in a sbuild environment. Skipping the logger tests is something I'm not happy with :/
| Michael Vogt (mvo) wrote : | # |
Thanks a lot! Insufficient tests, I'm sorry for that (I really should have learned this by now *sigh*). Fixed in r464 and added the missing test :)
| Snappy Tarmac (snappydevtarmac) wrote : | # |
The attempt to merge lp:~mvo/snappy/snappy-fix-ftbfs-sbuild into lp:snappy failed. Below is the output from the failed tests.
Checking formatting
Installing godeps
Install golint
Obtaining dependencies
update code.google.
update github.
code.google.
update github.
github.
update github.
github.
update github.
github.
update gopkg.in/yaml.v2 failed; trying to fetch newer version
github.
update launchpad.
gopkg.in/yaml.v2 now at 49c95bdc2184325
launchpad.
Building
Running tests from /home/tarmac/
=== RUN Test
OK: 16 passed
--- PASS: Test (0.24 seconds)
PASS
coverage: 80.2% of statements
ok launchpad.
=== RUN Test
OK: 6 passed
--- PASS: Test (0.05 seconds)
PASS
coverage: 12.2% of statements
ok launchpad.
=== RUN Test
OK: 24 passed
--- PASS: Test (0.08 seconds)
PASS
coverage: 100.0% of statements
ok launchpad.
=== RUN Test
OK: 47 passed
--- PASS: Test (1.04 seconds)
PASS
coverage: 83.3% of statements
ok launchpad.
=== RUN Test
OK: 6 passed
--- PASS: Test (0.00 seconds)
PASS
coverage: 93.5% of statements
ok launchpad.
=== RUN Test
OK: 36 passed
--- PASS: Test (0.15 seconds)
PASS
coverage: 81.5% of statements
ok launchpad.
=== RUN Test
OK: 3 passed
--- PASS: Test (0.00 seconds)
PASS
coverage: 100.0% of statements
ok launchpad.
=== RUN Test
OK: 12 passed
--- PASS: Test (0.07 seconds)
PASS
coverage: 94.3% of statements
ok launchpad.
=== RUN Test
OK: 3 passed
--- PASS: Test (0.00 seconds)
PASS
coverage: 84.8% of statements
ok launchpad.
=== RUN Test
OK: 4 passed
--- PASS: Test (0.00 seconds)
PASS
coverage: 50.0% of statements
ok launchpad.
=== RUN Test
OK: 6 passed
--- PASS: Test (0.00 seconds)
PASS
coverage: 100.0% of statements
ok launchpad.
=== RUN Test
drwxr-xr-x root/root 0 2015-05-20 03:11 ./bin
-rwxr-xr-x root/root 31 2015-05...
| Sergio Schvezov (sergiusens) wrote : | # |
I'll make this easy -> go vet says:
logger/
- 467. By Michael Vogt on 2015-05-22
-
merged lp:snappy
- 468. By Michael Vogt on 2015-05-22
-
logger/
logger_ test.go: fix go vet error


I suspect you forgot something (inline).