Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ocamlPackages.irmin-http tests broken on master #96090

Closed
sternenseemann opened this issue Aug 23, 2020 · 3 comments
Closed

ocamlPackages.irmin-http tests broken on master #96090

sternenseemann opened this issue Aug 23, 2020 · 3 comments
Labels
0.kind: bug 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md 6.topic: ocaml

Comments

@sternenseemann
Copy link
Member

Not sure when it broke.

nix-build -A ocamlPackages.irmin-http

        test alias test/irmin-http/runtest (exit 1)
(cd _build/default && test/irmin-http/test.exe -q --color=always)
Testing irmin-http.
This run has ID `B63F4837-A612-47CB-A757-649488EDDE36`.
[OK]                HTTP.MEM          0   Basic operations on contents.
[OK]                HTTP.MEM          1   Basic operations on nodes.
[OK]                HTTP.MEM          2   Basic operations on commits.
[OK]                HTTP.MEM          3   Basic operations on branches.
[FAIL]              HTTP.MEM          4   Watch callbacks and exceptions.
[OK]                HTTP.MEM          5   Basic operations on watches.
[OK]                HTTP.MEM          6   Basic merge operations.
[OK]                HTTP.MEM          7   Basic operations on slices.
[OK]                HTTP.MEM          8   Test merges on tree updates.
[OK]                HTTP.MEM          9   Tree caches and hashconsing.
[OK]                HTTP.MEM         10   Complex histories.
[OK]                HTTP.MEM         11   Empty stores.
[OK]                HTTP.MEM         12   Private node manipulation.
[OK]                HTTP.MEM         13   High-level store operations.
[OK]                HTTP.MEM         14   High-level operations on trees.
[OK]                HTTP.MEM         15   High-level store synchronisation.
[OK]                HTTP.MEM         16   High-level store merges.
[OK]                HTTP.MEM         17   Unrelated merges.
[OK]                HTTP.MEM         18   Low-level concurrency.
[OK]                HTTP.MEM         19   Concurrent updates.
[OK]                HTTP.MEM         20   with_tree strategies.
[OK]                HTTP.MEM         21   Concurrent head updates.
[OK]                HTTP.MEM         22   Concurrent merges.
[OK]                HTTP.MEM         23   Shallow objects.
[OK]                HTTP.MEM         24   Test iter.
[OK]                HTTP.MEM         25   Closure with disconnected commits.
[OK]                HTTP.GIT          0   Basic operations on contents.
[OK]                HTTP.GIT          1   Basic operations on nodes.
[FAIL]              HTTP.GIT          2   Basic operations on commits.
[OK]                HTTP.GIT          3   Basic operations on branches.
[OK]                HTTP.GIT          4   Watch callbacks and exceptions.
[OK]                HTTP.GIT          5   Basic operations on watches.
[OK]                HTTP.GIT          6   Basic merge operations.
[OK]                HTTP.GIT          7   Basic operations on slices.
[OK]                HTTP.GIT          8   Test merges on tree updates.
[OK]                HTTP.GIT          9   Tree caches and hashconsing.
[OK]                HTTP.GIT         10   Complex histories.
[OK]                HTTP.GIT         11   Empty stores.
[OK]                HTTP.GIT         12   Private node manipulation.
[OK]                HTTP.GIT         13   High-level store operations.
[OK]                HTTP.GIT         14   High-level operations on trees.
[OK]                HTTP.GIT         15   High-level store synchronisation.
[OK]                HTTP.GIT         16   High-level store merges.
[OK]                HTTP.GIT         17   Unrelated merges.
[OK]                HTTP.GIT         18   Low-level concurrency.
[OK]                HTTP.GIT         19   Concurrent updates.
[OK]                HTTP.GIT         20   with_tree strategies.
[OK]                HTTP.GIT         21   Concurrent head updates.
[OK]                HTTP.GIT         22   Concurrent merges.
[OK]                HTTP.GIT         23   Shallow objects.
[OK]                HTTP.GIT         24   Test iter.
[OK]                HTTP.GIT         25   Closure with disconnected commits.
-- HTTP.MEM.004 [Watch callbacks and exceptions.] Failed --
in `/build/irmin-2.2.0/_build/default/_build/_tests/B63F4837-A612-47CB-A757-649488EDDE36/http.mem.004.output`:
pwd=/build/irmin-2.2.0/_build/default
Executing: "../../_build/default/test/irmin-http/test.exe serve 0 &"
+886964us application     [DEBUG] waiting for the server to start...
S+59537us application     [DEBUG] pwd: /build/irmin-2.2.0/_build/default
S+59600us application     [DEBUG] Got server: MEM, root=
S+69850us application     [DEBUG] write PID 140 in test-http/irmin-test.pid
+987271us application     [DEBUG] read PID 140 fomr test-http/irmin-test.pid
+987375us irmin.http      [DEBUG] GET /branch/master
+987514us irmin.http      [DEBUG] request to http://irmin/branch/master failed: Unix.Unix_error(Unix.ENOENT, "connect", "")
+987580us irmin.mem       [DEBUG] list
+987603us irmin.mem       [DEBUG] close
+987621us irmin.mem       [DEBUG] close
+987638us irmin.mem       [DEBUG] close
+987656us irmin.mem       [DEBUG] close
[exception] Unix.Unix_error(Unix.ENOENT, "connect", "")

The full test results are available in `/build/irmin-2.2.0/_build/default/_build/_tests/B63F4837-A612-47CB-A757-649488EDDE36`.
2 errors! in 33.000s. 52 tests run.

Also ran dune runtest -p irmin-http in a nix-shell -A irmin-http a few times and it gave inconsistent results even outside of the sandbox its built in usually (which I first suspected was the issue).

cc @vbgl

@vbgl
Copy link
Contributor

vbgl commented Aug 24, 2020

I’ve observed this kind of failures on busy machines. Might be worth to report it upstream.

@stale
Copy link

stale bot commented Feb 21, 2021

I marked this as stale due to inactivity. → More info

@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Feb 21, 2021
@sternenseemann
Copy link
Member Author

Has been resolved in the meantime, forgot to close :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md 6.topic: ocaml
Projects
None yet
Development

No branches or pull requests

2 participants