2016-07-27 13:53:35 |
Timothy Redaelli |
description |
by updating snapd packages on Arch Linux from 2.0.10 to 2.11 I notice that some (unit) tests doesn't work correctly:
----------------------------------------------------------------------
FAIL: api_test.go:1980: apiSuite.TestInstallJailMode
api_test.go:2000:
c.Check(err, check.IsNil)
... value *errors.errorString = &errors.errorString{s:"this system cannot honour the jailmode flag"} ("this system cannot honour the jailmode flag")
api_test.go:2002:
c.Check(calledFlags&snapstate.JailMode, check.Equals, snapstate.Flags(snapstate.JailMode))
... obtained snapstate.Flags = 0
... expected snapstate.Flags = 4
----------------------------------------------------------------------
FAIL: api_test.go:2022: apiSuite.TestInstallJailModeDevMode
api_test.go:2034:
c.Check(err, check.ErrorMatches, "cannot use devmode and jailmode flags together")
... error string = "this system cannot honour the jailmode flag"
... regex string = "cannot use devmode and jailmode flags together"
----------------------------------------------------------------------
FAIL: api_test.go:1728: apiSuite.TestRefresh
api_test.go:1759:
c.Check(calledFlags, check.Equals, snapstate.Flags(0))
... obtained snapstate.Flags = 1
... expected snapstate.Flags = 0
----------------------------------------------------------------------
FAIL: api_test.go:1340: apiSuite.TestSideloadSnapJailModeAndDevmode
api_test.go:1365:
c.Check(rsp.Result.(*errorResult).Message, check.Equals, "cannot use devmode and jailmode flags together")
... obtained string = "this system cannot honour the jailmode flag"
... expected string = "cannot use devmode and jailmode flags together"
OOPS: 117 passed, 1 skipped, 4 FAILED
--- FAIL: Test (4.00s)
FAIL |
by updating snapd packages (without confinement nor apparmor) on Arch Linux from 2.0.10 to 2.11 I notice that some (unit) tests doesn't work correctly:
----------------------------------------------------------------------
FAIL: api_test.go:1980: apiSuite.TestInstallJailMode
api_test.go:2000:
c.Check(err, check.IsNil)
... value *errors.errorString = &errors.errorString{s:"this system cannot honour the jailmode flag"} ("this system cannot honour the jailmode flag")
api_test.go:2002:
c.Check(calledFlags&snapstate.JailMode, check.Equals, snapstate.Flags(snapstate.JailMode))
... obtained snapstate.Flags = 0
... expected snapstate.Flags = 4
----------------------------------------------------------------------
FAIL: api_test.go:2022: apiSuite.TestInstallJailModeDevMode
api_test.go:2034:
c.Check(err, check.ErrorMatches, "cannot use devmode and jailmode flags together")
... error string = "this system cannot honour the jailmode flag"
... regex string = "cannot use devmode and jailmode flags together"
----------------------------------------------------------------------
FAIL: api_test.go:1728: apiSuite.TestRefresh
api_test.go:1759:
c.Check(calledFlags, check.Equals, snapstate.Flags(0))
... obtained snapstate.Flags = 1
... expected snapstate.Flags = 0
----------------------------------------------------------------------
FAIL: api_test.go:1340: apiSuite.TestSideloadSnapJailModeAndDevmode
api_test.go:1365:
c.Check(rsp.Result.(*errorResult).Message, check.Equals, "cannot use devmode and jailmode flags together")
... obtained string = "this system cannot honour the jailmode flag"
... expected string = "cannot use devmode and jailmode flags together"
OOPS: 117 passed, 1 skipped, 4 FAILED
--- FAIL: Test (4.00s)
FAIL |
|