Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TravisCI osx PYTHON=py37 running with python 2.7.15 #487

Closed
mlouielu opened this issue May 22, 2019 · 5 comments
Closed

TravisCI osx PYTHON=py37 running with python 2.7.15 #487

mlouielu opened this issue May 22, 2019 · 5 comments

Comments

@mlouielu
Copy link
Contributor

Describe the bug

TravisCI osx PYTHON=py37 running with python 2.7.15

https://travis-ci.org/jmcgeheeiv/pyfakefs/jobs/535596996

Build system information
Build language: generic
Build id: 535596986
Job id: 535596996
Runtime kernel version: 17.4.0
travis-build version: 0696e6115
Build image provisioning date and time
Mon Jun 25 21:55:14 GMT 2018
Operating System Details
ProductName:	Mac OS X
ProductVersion:	10.13.3
BuildVersion:	17D102
Git version
git version 2.18.0
bash version
GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin17)
Copyright (C) 2007 Free Software Foundation, Inc.
GCC version
Apple LLVM version 9.1.0 (clang-902.0.39.2)
Target: x86_64-apple-darwin17.4.0
Thread model: posix
InstalledDir: /Applications/Xcode-9.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
LLVM version
Apple LLVM version 9.1.0 (clang-902.0.39.2)
Target: x86_64-apple-darwin17.4.0
Thread model: posix
InstalledDir: /Applications/Xcode-9.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
Pre-installed Ruby versions
ruby-2.3.5
ruby-2.4.3
Pre-installed Node.js versions
v4.9.1
v5.12.0
v6.14.3
v8.11.3
mvn -version
Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T18:33:14Z)
Maven home: /usr/local/Cellar/maven/3.5.4/libexec
Java version: 10.0.1, vendor: Oracle Corporation, runtime: /Library/Java/JavaVirtualMachines/jdk-10.0.1.jdk/Contents/Home
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.13.3", arch: "x86_64", family: "mac"
Uninstalled oclint to prevent interference with other packages.
If you need oclint, you must explicitly install it.
git.checkout
0.51s$ git clone --depth=50 https://github.com/jmcgeheeiv/pyfakefs.git jmcgeheeiv/pyfakefs
Cloning into 'jmcgeheeiv/pyfakefs'...
remote: Enumerating objects: 400, done.
remote: Counting objects: 100% (400/400), done.
remote: Compressing objects: 100% (169/169), done.
remote: Total 400 (delta 268), reused 317 (delta 225), pack-reused 0
Receiving objects: 100% (400/400), 266.09 KiB | 7.00 MiB/s, done.
Resolving deltas: 100% (268/268), done.
$ cd jmcgeheeiv/pyfakefs
0.34s$ git fetch origin +refs/pull/486/merge:
remote: Enumerating objects: 14, done.
remote: Counting objects: 100% (14/14), done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 8 (delta 7), reused 6 (delta 6), pack-reused 0
Unpacking objects: 100% (8/8), done.
From https://github.com/jmcgeheeiv/pyfakefs
 * branch            refs/pull/486/merge -> FETCH_HEAD
$ git checkout -qf FETCH_HEAD
Setting environment variables from .travis.yml
$ export PYTHON=py37
$ bash -c 'echo $BASH_VERSION'
3.2.57(1)-release
install
84.96s$ ./.travis/install.sh
ProductName:	Mac OS X
ProductVersion:	10.13.3
BuildVersion:	17D102
Cloning into '/Users/travis/.pyenv'...
remote: Enumerating objects: 643, done.
remote: Counting objects: 100% (643/643), done.
remote: Compressing objects: 100% (484/484), done.
remote: Total 643 (delta 317), reused 244 (delta 68), pack-reused 0
Receiving objects: 100% (643/643), 371.66 KiB | 11.61 MiB/s, done.
Resolving deltas: 100% (317/317), done.
python-build: use [email protected] from homebrew
python-build: use readline from homebrew
Downloading Python-3.7.3.tar.xz...
-> https://www.python.org/ftp/python/3.7.3/Python-3.7.3.tar.xz
Installing Python-3.7.3...
python-build: use readline from homebrew
BUILD FAILED (OS X 10.13.3 using python-build 20180424)
Inspect or clean up the working tree at /var/folders/nz/vv4_9tw56nv9k3tkvyszvwg80000gn/T/python-build.20190522033353.2040
Results logged to /var/folders/nz/vv4_9tw56nv9k3tkvyszvwg80000gn/T/python-build.20190522033353.2040.log
Last 10 log lines:
clang -c -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall    -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration   -I. -I./Include -I/usr/local/opt/readline/include -I/usr/local/opt/readline/include -I/Users/travis/.pyenv/versions/3.7.3/include  -I/usr/local/opt/readline/include -I/usr/local/opt/readline/include -I/Users/travis/.pyenv/versions/3.7.3/include   -DPy_BUILD_CORE -o Objects/iterobject.o Objects/iterobject.c
clang -c -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall    -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration   -I. -I./Include -I/usr/local/opt/readline/include -I/usr/local/opt/readline/include -I/Users/travis/.pyenv/versions/3.7.3/include  -I/usr/local/opt/readline/include -I/usr/local/opt/readline/include -I/Users/travis/.pyenv/versions/3.7.3/include   -DPy_BUILD_CORE -o Objects/listobject.o Objects/listobject.c
clang -c -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall    -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration   -I. -I./Include -I/usr/local/opt/readline/include -I/usr/local/opt/readline/include -I/Users/travis/.pyenv/versions/3.7.3/include  -I/usr/local/opt/readline/include -I/usr/local/opt/readline/include -I/Users/travis/.pyenv/versions/3.7.3/include   -DPy_BUILD_CORE -o Objects/longobject.o Objects/longobject.c
clang -c -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall    -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration   -I. -I./Include -I/usr/local/opt/readline/include -I/usr/local/opt/readline/include -I/Users/travis/.pyenv/versions/3.7.3/include  -I/usr/local/opt/readline/include -I/usr/local/opt/readline/include -I/Users/travis/.pyenv/versions/3.7.3/include   -DPy_BUILD_CORE -o Objects/dictobject.o Objects/dictobject.c
clang -c -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall    -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration   -I. -I./Include -I/usr/local/opt/readline/include -I/usr/local/opt/readline/include -I/Users/travis/.pyenv/versions/3.7.3/include  -I/usr/local/opt/readline/include -I/usr/local/opt/readline/include -I/Users/travis/.pyenv/versions/3.7.3/include   -DPy_BUILD_CORE -o Objects/odictobject.o Objects/odictobject.c
make: *** No rule to make target `Objects/memoryobject.c', needed by `Objects/memoryobject.o'.  Stop.
make: *** Waiting for unfinished jobs....
clang: error: no such file or directory: 'Objects/odictobject.c'
clang: error: no input files
make: *** [Objects/odictobject.o] Error 1
pyenv: version `3.7.3' not installed
Collecting virtualenv
  Downloading https://files.pythonhosted.org/packages/ca/ee/8375c01412abe6ff462ec80970e6bb1c4308724d4366d7519627c98691ab/virtualenv-16.6.0-py2.py3-none-any.whl (2.0MB)
    100% |████████████████████████████████| 2.0MB 5.8MB/s 
Installing collected packages: virtualenv
  The script virtualenv is installed in '/Users/travis/Library/Python/2.7/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed virtualenv-16.6.0
You are using pip version 10.0.1, however version 19.1.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
New python executable in /Users/travis/.venv/bin/python2.7
Also creating executable in /Users/travis/.venv/bin/python
Installing setuptools, pip, wheel...
done.
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Collecting pytest>=2.8.6 (from -r requirements.txt (line 1))
  Downloading https://files.pythonhosted.org/packages/56/53/0ae37ab12c457945ae0152c6571d6d40eecccddf25f71fe328f9aefe90ca/pytest-4.5.0-py2.py3-none-any.whl (227kB)
     |████████████████████████████████| 235kB 19.4MB/s 
Collecting atomicwrites>=1.0 (from pytest>=2.8.6->-r requirements.txt (line 1))
  Downloading https://files.pythonhosted.org/packages/52/90/6155aa926f43f2b2a22b01be7241be3bfd1ceaf7d0b3267213e8127d41f4/atomicwrites-1.3.0-py2.py3-none-any.whl
Collecting funcsigs>=1.0; python_version < "3.0" (from pytest>=2.8.6->-r requirements.txt (line 1))
  Downloading https://files.pythonhosted.org/packages/69/cb/f5be453359271714c01b9bd06126eaf2e368f1fddfff30818754b5ac2328/funcsigs-1.0.2-py2.py3-none-any.whl
Collecting wcwidth (from pytest>=2.8.6->-r requirements.txt (line 1))
  Downloading https://files.pythonhosted.org/packages/7e/9f/526a6947247599b084ee5232e4f9190a38f398d7300d866af3ab571a5bfe/wcwidth-0.1.7-py2.py3-none-any.whl
Collecting pluggy!=0.10,<1.0,>=0.9 (from pytest>=2.8.6->-r requirements.txt (line 1))
  Downloading https://files.pythonhosted.org/packages/cc/e4/2003a5e4e445424602c8f06a436eeed9e78bcae4947128f64741c66c7216/pluggy-0.11.0-py2.py3-none-any.whl
Collecting py>=1.5.0 (from pytest>=2.8.6->-r requirements.txt (line 1))
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
     |████████████████████████████████| 92kB 14.6MB/s 
Requirement already satisfied: setuptools in /Users/travis/.venv/lib/python2.7/site-packages (from pytest>=2.8.6->-r requirements.txt (line 1)) (41.0.1)
Collecting six>=1.10.0 (from pytest>=2.8.6->-r requirements.txt (line 1))
  Downloading https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl
Collecting pathlib2>=2.2.0; python_version < "3.6" (from pytest>=2.8.6->-r requirements.txt (line 1))
  Downloading https://files.pythonhosted.org/packages/2a/46/c696dcf1c7aad917b39b875acdc5451975e3a9b4890dca8329983201c97a/pathlib2-2.3.3-py2.py3-none-any.whl
Collecting attrs>=17.4.0 (from pytest>=2.8.6->-r requirements.txt (line 1))
  Downloading https://files.pythonhosted.org/packages/23/96/d828354fa2dbdf216eaa7b7de0db692f12c234f7ef888cc14980ef40d1d2/attrs-19.1.0-py2.py3-none-any.whl
Collecting more-itertools<6.0.0,>=4.0.0; python_version <= "2.7" (from pytest>=2.8.6->-r requirements.txt (line 1))
  Downloading https://files.pythonhosted.org/packages/2f/9d/dcfe59e213093695f108508af1214cf9cd95cc5489e46877ec5cb56369e5/more_itertools-5.0.0-py2-none-any.whl (52kB)
     |████████████████████████████████| 61kB 13.2MB/s 
Collecting scandir; python_version < "3.5" (from pathlib2>=2.2.0; python_version < "3.6"->pytest>=2.8.6->-r requirements.txt (line 1))
  Downloading https://files.pythonhosted.org/packages/df/f5/9c052db7bd54d0cbf1bc0bb6554362bba1012d03e5888950a4f5c5dadc4e/scandir-1.10.0.tar.gz
Building wheels for collected packages: scandir
  Building wheel for scandir (setup.py) ... done
  Stored in directory: /Users/travis/Library/Caches/pip/wheels/91/95/75/19c98a91239878abbc7c59970abd3b4e0438a7dd5b61778335
Successfully built scandir
Installing collected packages: atomicwrites, funcsigs, wcwidth, pluggy, py, six, scandir, pathlib2, attrs, more-itertools, pytest
Successfully installed atomicwrites-1.3.0 attrs-19.1.0 funcsigs-1.0.2 more-itertools-5.0.0 pathlib2-2.3.3 pluggy-0.11.0 py-1.8.0 pytest-4.5.0 scandir-1.10.0 six-1.12.0 wcwidth-0.1.7
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Requirement already satisfied: pathlib2>=2.3.2 in /Users/travis/.venv/lib/python2.7/site-packages (from -r extra_requirements.txt (line 11)) (2.3.3)
Requirement already satisfied: scandir>=1.8 in /Users/travis/.venv/lib/python2.7/site-packages (from -r extra_requirements.txt (line 13)) (1.10.0)
Requirement already satisfied: six in /Users/travis/.venv/lib/python2.7/site-packages (from pathlib2>=2.3.2->-r extra_requirements.txt (line 11)) (1.12.0)
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Processing /Users/travis/build/jmcgeheeiv/pyfakefs
Building wheels for collected packages: pyfakefs
  Building wheel for pyfakefs (setup.py) ... done
  Stored in directory: /private/var/folders/nz/vv4_9tw56nv9k3tkvyszvwg80000gn/T/pip-ephem-wheel-cache-2MEQAd/wheels/c3/1c/1f/cb6fcc64bf4ac7782013a4d7760d52faa07f018bfa8c565a30
Successfully built pyfakefs
Installing collected packages: pyfakefs
Successfully installed pyfakefs-3.6
0.01s$ export TEST_REAL_FS=1
The command "export TEST_REAL_FS=1" exited with 0.
54.98s$ ./.travis/run_tests.sh
Python 2.7.15
pip 19.1.1 from /Users/travis/.venv/lib/python2.7/site-packages/pip (python 2.7)
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.

How To Reproduce

Trigger the CI

Your enviroment

@mrbean-bremen
Copy link
Member

Thanks - hadn't noticed this!

@mlouielu
Copy link
Contributor Author

Weird, this didn't happen in the master branch trigger, also other PR triggers, only on my PR trigger...

@mlouielu
Copy link
Contributor Author

But, master branch trigger gave py3.7.3, PR trigger gave py3.7.0 in OSX.

@mrbean-bremen
Copy link
Member

I changed this from 3.7.0 to 3.7.3 a few weeks ago. In your case, the installation of 3.7.3 failed, and it fall back to 2.7, but I will have a closer look tonight to check this. Maybe there are different Travis images involved...

@mrbean-bremen
Copy link
Member

mrbean-bremen commented May 22, 2019

Looks like some intermittent build error to me. Maybe I will add some check to make sure the correct version is tested, and close this afterwards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants