Re: Test failures when installing 0install

Ilja Honkonen <[email protected]>
Newsgroups gmane.comp.file-systems.zero-install.devel
Message-ID <[email protected]>
> I think the problem was that this test was supposed to use
> generic_distribution, but it detected the native MacPorts due to a
> missing check in fake_system.ml. This might fix it:

Doesn't seem to have helped:

info: Getting new selections for http://example.com:8000/Hello.xml
warning: Test failed: Unix.Unix_error(Unix.ENOENT, "mkdir", 
"/private/tmp/0install-test-2f32b7b7/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-2f32b7b7/cache/0install.net/injector")
------------------------------------------------------------------------------
Ran: 273 tests in: 4.26 seconds.
FAILED: Cases: 273 Tried: 273 Errors: 2 Failures: 0 Skip:  3 Todo: 0 
Timeouts: 0.

------------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.