You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Laszlo Gaal (JIRA)" <ji...@apache.org> on 2019/04/14 19:58:00 UTC

[jira] [Created] (IMPALA-8413) SystemStateInfoTest.ReadProcNetDev fails inside a Docker container

Laszlo Gaal created IMPALA-8413:
-----------------------------------

             Summary: SystemStateInfoTest.ReadProcNetDev fails inside a Docker container
                 Key: IMPALA-8413
                 URL: https://issues.apache.org/jira/browse/IMPALA-8413
             Project: IMPALA
          Issue Type: Bug
          Components: Backend
    Affects Versions: Impala 3.3.0
            Reporter: Laszlo Gaal


SystemStateInfoTest.ReadProcNetDev fails consistently when executed inside a Docker container using test-with-docker.py (this is the container version that hosts the complete minicluster inside the container).

The test seems to assume that by the time it runs, the number of transmitted and received bytes and packets will both be nonzero (excluding the loopback interface). However, this assumption fails inside the Docker container used by test-with-docker.py.

I started a Docker-based run with test-with-docker.py, running only BE_TEST. As the tests were running, I jumped into the container when about 75% of the BE tests were already executed, and captured the contents of /proc/net/dev :
{code:java}
$ docker ps

CONTAINER ID        IMAGE               COMMAND                  CREATED             STATUS              PORTS               NAMES

0e967d480e8d        efd25829a079        "/mnt/base/entrypoin…"   17 minutes ago      Up 17 minutes                           i-20190414-111948-be-test

$ docker exec -it i-20190414-111948-be-test /bin/bash

impdev@i-20190414-111948:~/Impala$ cat /proc/net/dev

Inter-|   Receive                                                |  Transmit

face |bytes    packets errs drop fifo frame compressed multicast|bytes    packets errs drop fifo colls carrier compressed

    lo: 232573986  353806    0    0    0     0          0         0 232573986  353806    0    0    0     0       0          0

  eth0:     828      10    0    0    0     0          0         0        0       0    0    0    0     0       0          0{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)