Ubuntu Pastebin

Paste from jdstrand at Wed, 2 Nov 2016 14:48:42 +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
42
43
44
45
46
47
48
49
50
51
FAIL: login_test.go:34: clientSuite.TestClientLogin

login_test.go:47:
    c.Check(err, check.IsNil)
... value *errors.errorString = &errors.errorString{s:"cannot persist login information: chown /tmp/check-2098033740578205902/83/json.l9cm46qhQ8dH: operation not permitted"} ("cannot persist login information: chown /tmp/check-2098033740578205902/83/json.l9cm46qhQ8dH: operation not permitted")

login_test.go:51:
    c.Check(user, check.DeepEquals, &client.User{
        Username:   "the-user-name",
        Macaroon:   "the-root-macaroon",
        Discharges: []string{"discharge-macaroon"}})
... obtained *client.User = (*client.User)(nil)
... expected *client.User = &client.User{ID:0, Username:"the-user-name", Email:"", Macaroon:"the-root-macaroon", Discharges:[]string{"discharge-macaroon"}}

login_test.go:53:
    c.Assert(cs.cli.LoggedIn(), check.Equals, true)
... obtained bool = false
... expected bool = true


----------------------------------------------------------------------
FAIL: client_test.go:137: clientSuite.TestClientSetsAuthorization

client_test.go:146:
    c.Assert(err, IsNil)
... value *os.PathError = &os.PathError{Op:"chown", Path:"/tmp/check-2098033740578205902/136/json.rCPN9xr0cqRB", Err:0x1} ("chown /tmp/check-2098033740578205902/136/json.rCPN9xr0cqRB: operation not permitted")


----------------------------------------------------------------------
FAIL: login_test.go:117: clientSuite.TestReadAuthData

login_test.go:127:
    c.Assert(err, check.IsNil)
... value *os.PathError = &os.PathError{Op:"chown", Path:"/tmp/check-2098033740578205902/157/json.vs8VcmMXXcl8", Err:0x1} ("chown /tmp/check-2098033740578205902/157/json.vs8VcmMXXcl8: operation not permitted")


----------------------------------------------------------------------
FAIL: login_test.go:99: clientSuite.TestWriteAuthData

login_test.go:109:
    c.Assert(err, check.IsNil)
... value *os.PathError = &os.PathError{Op:"chown", Path:"/tmp/check-2098033740578205902/168/json.GX5twM6ql5dh", Err:0x1} ("chown /tmp/check-2098033740578205902/168/json.GX5twM6ql5dh: operation not permitted")

OOPS: 76 passed, 4 FAILED
--- FAIL: Test (0.17s)
FAIL
coverage: 82.7% of statements
exit status 1
FAIL	github.com/snapcore/snapd/client	0.173s

Crushing failure and despair.
Download as text