Ubuntu Pastebin

Paste from Chipaca at Tue, 5 Sep 2017 16:35:50 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
=== RUN   Test

----------------------------------------------------------------------
FAIL: runner_test.go:1148: runnerSuite.TestNextNotFound

runner_test.go:1179:
    c.Check(string(data), Equals, expected)
... obtained string = "{\"device\":{\"brand\":\"my-brand\",\"model\":\"my-model\"},\"time-lower-bound\":\"2017-09-05T16:28:58Z\"}\n"
... expected string = "{\"device\":{\"brand\":\"my-brand\",\"model\":\"my-model\"},\"time-lower-bound\":\"2017-09-05T16:28:58Z\"}"


----------------------------------------------------------------------
FAIL: runner_test.go:1182: runnerSuite.TestNextSaveStateError

runner_test.go:1211:
    c.Check(err, ErrorMatches, `cannot save repair state:.*`)
... error string = "open /tmp/check-7329623210662631043/22/var/lib/snapd/repair/repair.json.86fL3Kdb7P1p: permission denied"
... regex string = "cannot save repair state:.*"


----------------------------------------------------------------------
FAIL: runner_test.go:695: runnerSuite.TestSaveState

runner_test.go:713:
    c.Check(string(data), Equals, `{"device":{"brand":"my-brand","model":"my-model"},"sequences":{"canonical":[{"sequence":1,"revision":3,"status":0}]},"time-lower-bound":"2017-08-11T15:49:49Z"}`)
... obtained string = "{\"device\":{\"brand\":\"my-brand\",\"model\":\"my-model\"},\"sequences\":{\"canonical\":[{\"sequence\":1,\"revision\":3,\"status\":0}]},\"time-lower-bound\":\"2017-08-11T15:49:49Z\"}\n"
... expected string = "{\"device\":{\"brand\":\"my-brand\",\"model\":\"my-model\"},\"sequences\":{\"canonical\":[{\"sequence\":1,\"revision\":3,\"status\":0}]},\"time-lower-bound\":\"2017-08-11T15:49:49Z\"}"


----------------------------------------------------------------------
FAIL: runner_test.go:673: runnerSuite.TestSaveStateFail

runner_test.go:692:
    c.Check(err, ErrorMatches, `cannot save repair state:.*`)
... error string = "open /tmp/check-7329623210662631043/34/var/lib/snapd/repair/repair.json.YmfsHqqTYQK7: permission denied"
... regex string = "cannot save repair state:.*"

OOPS: 36 passed, 4 FAILED
--- FAIL: Test (0.28s)
FAIL
FAIL	github.com/snapcore/snapd/cmd/snap-repair	0.372s
Download as text