[
https://issues.apache.org/jira/browse/IMPALA-8413?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lars Volker resolved IMPALA-8413.
---------------------------------
Resolution: Fixed
Fix Version/s: Impala 3.3.0
> 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
> Assignee: Lars Volker
> Priority: Major
> Fix For: Impala 3.3.0
>
>
> 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}
> The layout is ugly, but it clearly shows that the number of transmitted
> anything for {{eth0}} is still zero.
> Additionally, it would be useful if the test logged the contents of
> /proc/net/dev for failure cases.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]