leezu opened a new pull request #18924:
URL: https://github.com/apache/incubator-mxnet/pull/18924


   ## Description ##
   Fixes https://github.com/apache/incubator-mxnet/issues/18909
   
   As of 
https://github.com/apache/incubator-mxnet/commit/a7c6606002eb265963ed4f35237994afcd1be7ac
 we compile the libmxnet on the ubuntu_cpu container based on 18.04, but the 
Python website build runs on ubuntu_cpu_python based on 16.04. 
   This causes failures due to inconsistency in the system libraries.
   
   ```
   [2020-08-14T03:02:48.084Z] reading sources... [100%] 
tutorials/performance/compression/int8 .. tutorials/performance/index
   [2020-08-14T03:02:48.339Z] 
   [2020-08-14T03:02:48.339Z] waiting for workers...
   [2020-08-14T03:02:53.572Z] WARNING: autodoc: failed to import module 
'contrib.io' from module 'mxnet'; the following exception was raised:
   [2020-08-14T03:02:53.572Z] Traceback (most recent call last):
   [2020-08-14T03:02:53.572Z]   File 
"/work/conda_env/lib/python3.8/site-packages/sphinx/ext/autodoc/importer.py", 
line 32, in import_module
   [2020-08-14T03:02:53.572Z]     return importlib.import_module(modname)
   [2020-08-14T03:02:53.572Z]   File 
"/work/conda_env/lib/python3.8/importlib/__init__.py", line 127, in 
import_module
   [2020-08-14T03:02:53.572Z]     return _bootstrap._gcd_import(name[level:], 
package, level)
   [2020-08-14T03:02:53.572Z]   File "<frozen importlib._bootstrap>", line 
1014, in _gcd_import
   [2020-08-14T03:02:53.572Z]   File "<frozen importlib._bootstrap>", line 991, 
in _find_and_load
   [2020-08-14T03:02:53.572Z]   File "<frozen importlib._bootstrap>", line 975, 
in _find_and_load_unlocked
   [2020-08-14T03:02:53.572Z]   File "<frozen importlib._bootstrap>", line 671, 
in _load_unlocked
   [2020-08-14T03:02:53.572Z]   File "<frozen importlib._bootstrap_external>", 
line 783, in exec_module
   [2020-08-14T03:02:53.572Z]   File "<frozen importlib._bootstrap>", line 219, 
in _call_with_frames_removed
   [2020-08-14T03:02:53.572Z]   File "/work/mxnet/python/mxnet/__init__.py", 
line 23, in <module>
   [2020-08-14T03:02:53.572Z]     from .context import Context, 
current_context, cpu, gpu, cpu_pinned
   [2020-08-14T03:02:53.572Z]   File "/work/mxnet/python/mxnet/context.py", 
line 20, in <module>
   [2020-08-14T03:02:53.572Z]     from .base import _LIB
   [2020-08-14T03:02:53.572Z]   File "/work/mxnet/python/mxnet/base.py", line 
288, in <module>
   [2020-08-14T03:02:53.572Z]     _LIB = _load_lib()
   [2020-08-14T03:02:53.572Z]   File "/work/mxnet/python/mxnet/base.py", line 
279, in _load_lib
   [2020-08-14T03:02:53.572Z]     lib = ctypes.CDLL(lib_path[0], 
ctypes.RTLD_LOCAL)
   [2020-08-14T03:02:53.572Z]   File 
"/work/conda_env/lib/python3.8/ctypes/__init__.py", line 373, in __init__
   [2020-08-14T03:02:53.572Z]     self._handle = _dlopen(self._name, mode)
   [2020-08-14T03:02:53.572Z] OSError: libopencv_imgcodecs.so.3.2: cannot open 
shared object file: No such file or directory
   [2020-08-14T03:02:53.572Z] 
   ```
   
   See 
https://jenkins.mxnet-ci.amazon-ml.com/blue/organizations/jenkins/mxnet-validation%2Fwebsite/detail/PR-18839/10/pipeline/
   
   To fix: Remove the `ubuntu_cpu_python` to ensure their are no library 
discrepancies affecting the website build.
   
   
   Root-cause is that the CI website build passes despite warnings.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to