Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Is this a normal/benign make test error when building python3.6
#1
I've been trying to get a more up-to-date version of python running in a docker environment for ubuntu16.04. Each time I test the compilation there are errors which led me to just retracing steps and just testing the code of an official python docker image based on Debian:
https://github.com/docker-library/python...Dockerfile
and cutting it off right after the "make" command and running "make test"
It outputs this error at the end:

======================================================================
FAIL: test_attributes (test.test_os.TestScandir)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/src/python/Lib/test/test_os.py", line 3273, in test_attributes
    self.check_entry(entry, 'dir', True, False, False)
  File "/usr/src/python/Lib/test/test_os.py", line 3228, in check_entry
    os.stat(entry.path, follow_symlinks=False).st_ino)
AssertionError: 289524896 != 4380515

----------------------------------------------------------------------
Ran 245 tests in 0.474s

FAILED (failures=1, skipped=36)
test test_os failed
2 tests failed again:
    test_os test_shutil

Total duration: 2 min 32 sec
Tests result: FAILURE
Makefile:1043: recipe for target 'test' failed
make: *** [test] Error 2
I don't understand what this error is and why it is occurring. Is it something critical that needs addressing, something annoying but will allow python to work but one feature will be inconvenient, or a benign and unavoidable hiccup in the build process? If I execute, "make install" afterwards, it does just that with no problem, but since I'll be compiling something else using that instance of python I'm concerned that it will be starting on a bad foundation.
Quote
#2
have you tried this guy's method?: https://www.civisanalytics.com/blog/usin...un-python/
Quote
#3
I really wish I could do it like that. But for what I'm trying to do it's necessary for me to build upon some specific NVIDIA CUDA images that have ubuntu 16.04 as the most recent version.

That Dockerfile that I linked to contains the code used to create one the images that can be pulled in the tutorial. While translating it from Debian stretch to Ubuntu 16, I noticed the error which persisted when I retraced my steps, running the test right after the "make" command in the original code.
Quote

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  pip install -e ., ERROR: Failed building wheel for pyfarmhash mostafaPython 1 184 Jun-09-2020, 08:24 PM
Last Post: mcmxl22
  Scipy kolmogorov smirnov test for evaluating the fitting of a non-normal distribution mcva 0 153 May-26-2020, 12:01 PM
Last Post: mcva
  cannot build python 3.8.2 (make test fails on test_imprtlib) borabora 1 157 May-08-2020, 09:10 PM
Last Post: Larz60+
  How to make each thread send multiple requests in python3? Contra_Boy 0 133 Apr-29-2020, 02:42 PM
Last Post: Contra_Boy
  Error in Python3.6:free() Corrupted unsorted chunks error sameer_k 2 385 Mar-18-2020, 09:37 AM
Last Post: sameer_k
  Error after installing Python3.8.2: "No module named 'apt_pkg'" Chromie 3 1,055 Mar-09-2020, 08:20 PM
Last Post: micseydel
  How to write test cases for a init function by Unit test in python? binhduonggttn 2 571 Feb-24-2020, 12:06 PM
Last Post: Larz60+
  How to write test cases by Unit test for database configuration file? binhduonggttn 0 193 Feb-18-2020, 08:03 AM
Last Post: binhduonggttn
  Error message when trying to install Matplotlib in Python3.8 Transitionyte 5 962 Jan-22-2020, 11:52 PM
Last Post: Transitionyte
  json.dumps output error in python3 prayuktibid 2 305 Jan-21-2020, 06:41 AM
Last Post: prayuktibid

Forum Jump:


Users browsing this thread: 1 Guest(s)