Python Forum
Is this a normal/benign make test error when building python3.6
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.
Reply


Messages In This Thread
Is this a normal/benign make test error when building python3.6 - by sofuego - Feb-11-2018, 09:45 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Understanding and debugging memory error crashes with python3.10.10 Arkaik 5 2,110 Apr-18-2023, 03:22 AM
Last Post: Larz60+
  how to make this error stop ? Mawixy 1 3,318 Apr-19-2022, 03:02 PM
Last Post: Mawixy
  How to test and import a model form computer to test accuracy using Sklearn library Anldra12 6 3,142 Jul-03-2021, 10:07 AM
Last Post: Anldra12
  How to make a test data file for the full length of definition? MDRI 6 3,568 Apr-16-2021, 01:47 AM
Last Post: MDRI
Bug maximum recursion depth exceeded while calling a Python object error in python3 Prezess 4 3,772 Aug-02-2020, 02:21 PM
Last Post: deanhystad
  import yaml error for python3 maiya 4 13,158 Jul-15-2020, 06:07 PM
Last Post: Gribouillis
  pip install -e ., ERROR: Failed building wheel for pyfarmhash mostafaPython 1 6,317 Jun-09-2020, 08:24 PM
Last Post: mcmxl22
  Scipy kolmogorov smirnov test for evaluating the fitting of a non-normal distribution mcva 0 1,997 May-26-2020, 12:01 PM
Last Post: mcva
  cannot build python 3.8.2 (make test fails on test_imprtlib) borabora 1 2,760 May-08-2020, 09:10 PM
Last Post: Larz60+
  How to make each thread send multiple requests in python3? Contra_Boy 0 1,785 Apr-29-2020, 02:42 PM
Last Post: Contra_Boy

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020