{"action":"created","issue":{"url":"https://api.github.com/repos/zeromq/libzmq/issues/1129","labels_url":"https://api.github.com/repos/zeromq/libzmq/issues/1129/labels{/name}","comments_url":"https://api.github.com/repos/zeromq/libzmq/issues/1129/comments","events_url":"https://api.github.com/repos/zeromq/libzmq/issues/1129/events","html_url":"https://github.com/zeromq/libzmq/issues/1129","id":37710365,"number":1129,"title":"lt-test_many_sockets and lt-test_filter_ipc fail in Docker container environment","user":{"login":"trevorbernard","id":8825,"avatar_url":"https://avatars.githubusercontent.com/u/8825?v=3","gravatar_id":"","url":"https://api.github.com/users/trevorbernard","html_url":"https://github.com/trevorbernard","followers_url":"https://api.github.com/users/trevorbernard/followers","following_url":"https://api.github.com/users/trevorbernard/following{/other_user}","gists_url":"https://api.github.com/users/trevorbernard/gists{/gist_id}","starred_url":"https://api.github.com/users/trevorbernard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trevorbernard/subscriptions","organizations_url":"https://api.github.com/users/trevorbernard/orgs","repos_url":"https://api.github.com/users/trevorbernard/repos","events_url":"https://api.github.com/users/trevorbernard/events{/privacy}","received_events_url":"https://api.github.com/users/trevorbernard/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-07-12T01:58:38Z","updated_at":"2015-10-21T23:28:11Z","closed_at":null,"body":"I was able to recreate these same errors building on ubuntu:12.04, ubuntu:14:04 and debian:latest.\r\n\r\n```bash\r\n========================================\r\n   zeromq 4.1.0: tests/test-suite.log\r\n========================================\r\n\r\n# TOTAL: 56\r\n# PASS:  54\r\n# SKIP:  0\r\n# XFAIL: 0\r\n# FAIL:  2\r\n# XPASS: 0\r\n# ERROR: 0\r\n\r\n.. contents:: :depth: 2\r\n\r\nFAIL: test_many_sockets\r\n=======================\r\n\r\nlt-test_many_sockets: test_many_sockets.cpp:40: void test_system_max(): Assertion `(int) sockets.size () < no_of_sockets' failed.\r\n\r\nFAIL: test_filter_ipc\r\n=====================\r\n\r\nlt-test_filter_ipc: test_filter_ipc.cpp:125: int main(): Assertion `ngroups != -1 && ngroups != 0' failed.\r\n```"},"comment":{"url":"https://api.github.com/repos/zeromq/libzmq/issues/comments/150053226","html_url":"https://github.com/zeromq/libzmq/issues/1129#issuecomment-150053226","issue_url":"https://api.github.com/repos/zeromq/libzmq/issues/1129","id":150053226,"user":{"login":"tswast","id":247555,"avatar_url":"https://avatars.githubusercontent.com/u/247555?v=3","gravatar_id":"","url":"https://api.github.com/users/tswast","html_url":"https://github.com/tswast","followers_url":"https://api.github.com/users/tswast/followers","following_url":"https://api.github.com/users/tswast/following{/other_user}","gists_url":"https://api.github.com/users/tswast/gists{/gist_id}","starred_url":"https://api.github.com/users/tswast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tswast/subscriptions","organizations_url":"https://api.github.com/users/tswast/orgs","repos_url":"https://api.github.com/users/tswast/repos","events_url":"https://api.github.com/users/tswast/events{/privacy}","received_events_url":"https://api.github.com/users/tswast/received_events","type":"User","site_admin":false},"created_at":"2015-10-21T23:28:11Z","updated_at":"2015-10-21T23:28:11Z","body":"I had the same issue building ZeroMQ 4.1.3 from source in a Docker container.\r\n\r\nRelevant portion of the Dockerfile:\r\n\r\n    FROM golang\r\n   \r\n    # Install build tools so we can set up ZeroMQ.\r\n    # https://github.com/crosbymichael/build-essential-docker\r\n    RUN apt-get update\r\n    RUN apt-get update && apt-get install -y --no-install-recommends \\\r\n        make \\\r\n        automake \\\r\n        gcc \\\r\n        build-essential \\\r\n        g++ \\\r\n        cpp \\\r\n        libc6-dev \\\r\n        man-db \\\r\n        autoconf \\\r\n        pkg-config\r\n    \r\n    # Install dependencies for goczmq.\r\n    # https://github.com/zeromq/goczmq\r\n    WORKDIR /tmp\r\n    RUN wget https://download.libsodium.org/libsodium/releases/libsodium-1.0.3.tar.gz \\\r\n        && wget https://download.libsodium.org/libsodium/releases/libsodium-1.0.3.tar.gz.sig \\\r\n        && wget https://download.libsodium.org/jedi.gpg.asc \\\r\n        && gpg --import jedi.gpg.asc \\\r\n        && gpg --verify libsodium-1.0.3.tar.gz.sig libsodium-1.0.3.tar.gz \\\r\n        && tar zxvf libsodium-1.0.3.tar.gz \\\r\n        && cd libsodium-1.0.3 \\\r\n        && ./configure; make check \\\r\n        && make install \\\r\n        && ldconfig\r\n    RUN wget http://download.zeromq.org/zeromq-4.1.3.tar.gz \\\r\n        && tar zxvf zeromq-4.1.3.tar.gz \\\r\n        && cd zeromq-4.1.3 \\\r\n        && ./configure --with-libsodium; make; make check \\\r\n        && make install \\\r\n        && ldconfig\r\n"}}