Skip to content

Create Python-on-test-machines.md - #1802

Closed
cclauss wants to merge 9 commits into
nodejs:masterfrom
cclauss:patch-2
Closed

cclauss wants to merge 9 commits into
nodejs:masterfrom
cclauss:patch-2

Conversation

@cclauss

@cclauss cclauss commented May 18, 2019

Copy link
Copy Markdown
Contributor

@sam-github @nodejs/python

Comment thread doc/Python-on-test-machines.md Outdated
@sam-github

sam-github commented May 21, 2019 •

Copy link
Copy Markdown
Contributor

@cclauss Output of your scripts, is this what you wanted checked?

% ./find_pythons_on_test_hosts.py | egrep -v 'arm64|x64|armv|x86' | sh
./find_pythons.sh: test-linuxonecc-rhel72-s390x-1
/usr/bin/python
Python 2.7.5
/usr/bin/python2
Python 2.7.5
which: no python3 in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin)
bash: python3: command not found
which: no pyenv in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin)
bash: pyenv: command not found
./find_pythons.sh: test-linuxonecc-rhel72-s390x-2
/usr/bin/python
Python 2.7.5
/usr/bin/python2
Python 2.7.5
which: no python3 in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin)
bash: python3: command not found
which: no pyenv in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin)
bash: pyenv: command not found
./find_pythons.sh: test-linuxonecc-rhel72-s390x-3
/usr/bin/python
Python 2.7.5
/usr/bin/python2
Python 2.7.5
which: no python3 in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin)
bash: python3: command not found
which: no pyenv in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin)
bash: pyenv: command not found
./find_pythons.sh: test-marist-zos13-s390x-1
which: FSUM7351 not found
python: FSUM7351 not found
which: FSUM7351 not found
python2: FSUM7351 not found
which: FSUM7351 not found
python3: FSUM7351 not found
which: FSUM7351 not found
pyenv: FSUM7351 not found
./find_pythons.sh: test-marist-zos13-s390x-2
which: FSUM7351 not found
python: FSUM7351 not found
which: FSUM7351 not found
python2: FSUM7351 not found
which: FSUM7351 not found
python3: FSUM7351 not found
which: FSUM7351 not found
pyenv: FSUM7351 not found
./find_pythons.sh: test-osuosl-aix61-ppc64_be-1
/usr/bin/python
Python 2.7.11
/usr/bin/python2
Python 2.7.11
which: 0652-141 There is no python3 in /usr/bin /etc /usr/sbin /usr/ucb /usr/bin/X11 /sbin /usr/java6/jre/bin /usr/java6/bin.
ksh: python3:  not found.
which: 0652-141 There is no pyenv in /usr/bin /etc /usr/sbin /usr/ucb /usr/bin/X11 /sbin /usr/java6/jre/bin /usr/java6/bin.
ksh: pyenv:  not found.
./find_pythons.sh: test-osuosl-aix61-ppc64_be-2
/usr/bin/python
Python 2.7.10
/usr/bin/python2
Python 2.7.10
which: 0652-141 There is no python3 in /usr/bin /etc /usr/sbin /usr/ucb /usr/bin/X11 /sbin /usr/java6/jre/bin /usr/java6/bin.
ksh: python3:  not found.
which: 0652-141 There is no pyenv in /usr/bin /etc /usr/sbin /usr/ucb /usr/bin/X11 /sbin /usr/java6/jre/bin /usr/java6/bin.
ksh: pyenv:  not found.
./find_pythons.sh: test-osuosl-aix61-ppc64_be-3
/usr/bin/python
Python 2.7.10
/usr/bin/python2
Python 2.7.10
which: 0652-141 There is no python3 in /usr/bin /etc /usr/sbin /usr/ucb /usr/bin/X11 /sbin /usr/java6/jre/bin /usr/java6/bin.
ksh: python3:  not found.
which: 0652-141 There is no pyenv in /usr/bin /etc /usr/sbin /usr/ucb /usr/bin/X11 /sbin /usr/java6/jre/bin /usr/java6/bin.
ksh: pyenv:  not found.
./find_pythons.sh: test-osuosl-centos7-ppc64_le-1
/usr/bin/python
Python 2.7.5
/usr/bin/python2
Python 2.7.5
/usr/bin/python3
Python 3.6.8
which: no pyenv in (/usr/lib64/ccache:/usr/local/bin:/usr/bin)
bash: pyenv: command not found
./find_pythons.sh: test-osuosl-centos7-ppc64_le-2
/usr/bin/python
Python 2.7.5
/usr/bin/python2
Python 2.7.5
/usr/bin/python3
Python 3.6.8
which: no pyenv in (/usr/lib64/ccache:/usr/local/bin:/usr/bin)
bash: pyenv: command not found
./find_pythons.sh: test-osuosl-ubuntu1404-ppc64_be-1
/usr/bin/python
Python 2.7.6
/usr/bin/python2
Python 2.7.6
/usr/bin/python3
Python 3.4.3
bash: pyenv: command not found
./find_pythons.sh: test-osuosl-ubuntu1404-ppc64_be-2
/usr/bin/python
Python 2.7.6
/usr/bin/python2
Python 2.7.6
/usr/bin/python3
Python 3.4.3
bash: pyenv: command not found
./find_pythons.sh: test-osuosl-ubuntu1404-ppc64_le-1
/usr/bin/python
Python 2.7.6
/usr/bin/python2
Python 2.7.6
/usr/bin/python3
Python 3.4.3
bash: pyenv: command not found
./find_pythons.sh: test-osuosl-ubuntu1404-ppc64_le-2
/usr/bin/python
Python 2.7.6
/usr/bin/python2
Python 2.7.6
/usr/bin/python3
Python 3.4.3
bash: pyenv: command not found
./find_pythons.sh: test-osuosl-ubuntu1404-ppc64_le-4
/usr/bin/python
Python 2.7.6
/usr/bin/python2
Python 2.7.6
/usr/bin/python3
Python 3.4.3
bash: pyenv: command not found

Comment thread doc/Python-on-test-machines.md Outdated
#!/bin/sh

echo "$0: $1"
ssh $1 which python ; python --version || true

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These don't work, they run python on the host machine because they aren't correctly quoted. Should be

ssh $1 "which python ; python --version" || true

@sam-github

Copy link
Copy Markdown
Contributor

I found a problem with the test scripts, and updated the output above after patching locally.

@cclauss

cclauss commented May 21, 2019

Copy link
Copy Markdown
Contributor Author

On AIX, I think that we should just export PATH=/opt/bin:$PATH as my bet is that Python will find its site-packages just fine.

Other than that, your output seems to match the table above.

@cclauss

cclauss commented May 27, 2019

Copy link
Copy Markdown
Contributor Author

@rvagg @thefourtheye @sam-github @refack Could I please get your review on adding this table to our docs? Without it we will have difficulties trying to gather current status across multiple pull requests.

@rvagg

rvagg commented May 27, 2019

Copy link
Copy Markdown
Member

Well, I guess it matches what @thefourtheye reported in #1775. It does seem more like something that belongs in a tracking issue rather than in the repo though, how are you imagining it to be more helpful in the repo?

That freebsd11 machine is back up btw.

@cclauss

cclauss commented May 27, 2019

Copy link
Copy Markdown
Contributor Author

My sense is that several of you are making Python updates that need to go into a single table. Like #1807 for instance. It might be easier to add table edits to those pull requests so that the shared table is updated as the PRs are merged.

Alternatively, if the scripts at the bottom can be made to work for those with access the we can have a test script that lists those machines that are still not compliant.

@sam-github

Copy link
Copy Markdown
Contributor

Closing as stale, but @cclauss , if you think we really need this, ping me, and I'll work with you to get it landed, or finished, or whatever it needs :-).

@sam-github sam-github closed this Jan 28, 2020
@cclauss
cclauss deleted the patch-2 branch January 28, 2020 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants