Re: Test failures when installing 0install
Thomas Leonard <[email protected]>
| Newsgroups | gmane.comp.file-systems.zero-install.devel |
|---|---|
| Message-ID | <CAG4opy_Buzugc8exG27kAad-KLk_E4Zo8sBnOofEm1SzLvWQKA@mail.gmail.com> |
On 4 September 2015 at 14:27, Ilja Honkonen <[email protected]> wrote: > Hello > I get a few errors when trying to install 0install using instructions at > http://0install.net/install-source.html: > > info: Getting new selections for http://example.com:8000/Hello.xml > warning: Test failed: Unix.Unix_error(Unix.ENOENT, "mkdir", > "/private/tmp/0install-test-a57bfd5/cache/0install.net/injector") > Called from file "support/utils.ml", line 83, characters 6-15 > Called from file "support/basedir.ml", line 90, characters 4-36 > Called from file "zeroinstall/distro_cache.ml", line 41, characters 21-111 > Called from file "camlinternalLazy.ml", line 25, characters 17-27 > Re-raised at file "camlinternalLazy.ml", line 32, characters 10-11 > Called from file "generic_select.ml", line 181, characters 80-92 > Called from file "generic_select.ml", line 260, characters 15-101 > Called from file "generic_select.ml", line 293, characters 21-35 > Called from file "select.ml", line 16, characters 20-81 > Called from file "command_tree.ml", line 16, characters 6-32 > Called from file "cli.ml", line 295, characters 14-90 > Called from file "support/utils.ml", line 18, characters 8-18 > Re-raised at file "support/utils.ml", line 19, characters 39-41 > Called from file "support/utils.ml", line 18, characters 8-18 > Re-raised at file "support/utils.ml", line 19, characters 39-41 > Called from file "tests/fake_system.ml", line 181, characters 6-57 > Called from file "tests/test_0install.ml", line 133, characters 17-72 > Called from file "support/utils.ml", line 18, characters 8-18 > Re-raised at file "support/utils.ml", line 19, characters 39-41 > Called from file "support/utils.ml", line 18, characters 8-18 > Re-raised at file "support/utils.ml", line 19, characters 39-41 > Called from file "src/oUnit.ml", line 86, characters 13-17 > Called from file "src/oUnit.ml", line 86, characters 13-17 > Called from file "src/oUnit.ml", line 86, characters 13-17 > Called from file "tests/test.ml", line 281, characters 4-9 > > E......................................................................................................................................(showing > full log) > info: stopping gpg agent > info: Shutting down server... > warning: Test failed: Test tried to spawn process port -v installed > Raised at file "map.ml", line 117, characters 16-25 > Called from file "str.ml", line 253, characters 6-29 > > E..................S...............S...................... > ============================================================================== > Error: 0install:17:download:27:background-unsolvable > > Test tried to spawn process port -v installed > ------------------------------------------------------------------------------ > ============================================================================== > Error: 0install:6:0install:0:select > > Unix.Unix_error(Unix.ENOENT, "mkdir", > "/private/tmp/0install-test-a57bfd5/cache/0install.net/injector") > ------------------------------------------------------------------------------ > Ran: 273 tests in: 3.57 seconds. > FAILED: Cases: 273 Tried: 273 Errors: 2 Failures: 0 Skip: 3 Todo: 0 > Timeouts: 0. > > Any ideas? port -v installed does work when run manually. It's complaining because the code tried to run "port -v", but the unit-test wasn't expecting it to do that. "port -v" comes from the MacPorts support, which was accidentally disabled for a couple of years but was recently reenabled. It may contain bugs. In this case, it's called from "regenerate_cache" in distro_impls.ml:493, but I'm not sure why we're updating the cache anyway, since there are no package-implementations in the test case. -- Dr Thomas Leonard http://roscidus.com/blog/ GPG: DA98 25AE CAD0 8975 7CDA BD8E 0713 3F96 CA74 D8BA ------------------------------------------------------------------------------