thoth-station / amun-hwinfo Goto Github PK
View Code? Open in Web Editor NEWA simple application for gathering information about hardware on nodes where pods run
A simple application for gathering information about hardware on nodes where pods run
Is your feature request related to a problem? Please describe.
gather GPU hardware information too.
As of now we provide build information - information about build-time configuration of our TensorFlow wheel files. This file is present as a YAML file inside tensorflow-{tensorflow.__version__}.dist-info/build_info.yaml
file. As this information can be used inside a feature vector when predicting performance/issues of tensorflow builds, we would like to automatically gather this information and provide it in the resulting JSON file of Amun's inspections.
As we currently use YAML as output format, this is currently not that straightforward - we require minimal runtime/buildtime environment stating only dependencies that are needed. We should switch from YAML to JSON (as JSON is in standard Python library) and load it inside amun-hwinfo init-container automatically.
Automatic dependency update failed for the current master with SHA 4da0bdc.
The automatic dependency management cannot continue. Please fix errors reported bellow.
$ pipenv update --dev
Running $ pipenv lock then $ pipenv sync.
Creating a virtualenv for this project...
Pipfile: /tmp/tmpjqnq2iqy/Pipfile
Using /home/user/.local/share/virtualenvs/user-5PivF_Od/bin/python3.8 (3.8.3) to create virtualenv...
created virtual environment CPython3.8.3.final.0-64 in 758ms
creator CPython3Posix(dest=/tmp/tmpjqnq2iqy/.venv, clear=False, no_vcs_ignore=False, global=False)
seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/tmp/tmppfzccq4d)
added seed packages: pip==20.3.1, setuptools==51.0.0, wheel==0.36.1
activators BashActivator,CShellActivator,FishActivator,PowerShellActivator,PythonActivator,XonshActivator
Successfully created virtual environment!
�[KVirtualenv location: /tmp/tmpjqnq2iqy/.venv
Locking [dev-packages] dependencies...
Locking [packages] dependencies...
Building requirements...
�[K
Resolving dependencies...
�[K
FAIL
�[KTraceback (most recent call last):
File "/home/user/.local/share/virtualenvs/user-5PivF_Od/lib/python3.8/site-packages/pipenv/vendor/urllib3/connection.py", line 169, in _new_conn
conn = connection.create_connection(
File "/home/user/.local/share/virtualenvs/user-5PivF_Od/lib/python3.8/site-packages/pipenv/vendor/urllib3/util/connection.py", line 73, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File "/usr/lib64/python3.8/socket.py", line 918, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/user/.local/share/virtualenvs/user-5PivF_Od/lib/python3.8/site-packages/pipenv/vendor/urllib3/connectionpool.py", line 699, in urlopen
httplib_response = self._make_request(
File "/home/user/.local/share/virtualenvs/user-5PivF_Od/lib/python3.8/site-packages/pipenv/vendor/urllib3/connectionpool.py", line 382, in _make_request
self._validate_conn(conn)
File "/home/user/.local/share/virtualenvs/user-5PivF_Od/lib/python3.8/site-packages/pipenv/vendor/urllib3/connectionpool.py", line 1010, in _validate_conn
conn.connect()
File "/home/user/.local/share/virtualenvs/user-5PivF_Od/lib/python3.8/site-packages/pipenv/vendor/urllib3/connection.py", line 353, in connect
conn = self._new_conn()
File "/home/user/.local/share/virtualenvs/user-5PivF_Od/lib/python3.8/site-packages/pipenv/vendor/urllib3/connection.py", line 181, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f11bc552f70>: Failed to establish a new connection: [Errno -2] Name or service not known
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/user/.local/share/virtualenvs/user-5PivF_Od/lib/python3.8/site-packages/pipenv/vendor/requests/adapters.py", line 439, in send
resp = conn.urlopen(
File "/home/user/.local/share/virtualenvs/user-5PivF_Od/lib/python3.8/site-packages/pipenv/vendor/urllib3/connectionpool.py", line 755, in urlopen
retries = retries.increment(
File "/home/user/.local/share/virtualenvs/user-5PivF_Od/lib/python3.8/site-packages/pipenv/vendor/urllib3/util/retry.py", line 573, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /pypi/py-cpuinfo/json (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f11bc552f70>: Failed to establish a new connection: [Errno -2] Name or service not known'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/user/.local/share/virtualenvs/user-5PivF_Od/lib/python3.8/site-packages/pipenv/resolver.py", line 764, in <module>
main()
File "/home/user/.local/share/virtualenvs/user-5PivF_Od/lib/python3.8/site-packages/pipenv/resolver.py", line 758, in main
_main(parsed.pre, parsed.clear, parsed.verbose, parsed.system, parsed.write,
File "/home/user/.local/share/virtualenvs/user-5PivF_Od/lib/python3.8/site-packages/pipenv/resolver.py", line 741, in _main
resolve_packages(pre, clear, verbose, system, write, requirements_dir, packages, dev)
File "/home/user/.local/share/virtualenvs/user-5PivF_Od/lib/python3.8/site-packages/pipenv/resolver.py", line 702, in resolve_packages
results, resolver = resolve(
File "/home/user/.local/share/virtualenvs/user-5PivF_Od/lib/python3.8/site-packages/pipenv/resolver.py", line 684, in resolve
return resolve_deps(
File "/home/user/.local/share/virtualenvs/user-5PivF_Od/lib/python3.8/site-packages/pipenv/utils.py", line 1395, in resolve_deps
results, hashes, markers_lookup, resolver, skipped = actually_resolve_deps(
File "/home/user/.local/share/virtualenvs/user-5PivF_Od/lib/python3.8/site-packages/pipenv/utils.py", line 1111, in actually_resolve_deps
results = resolver.clean_results()
File "/home/user/.local/share/virtualenvs/user-5PivF_Od/lib/python3.8/site-packages/pipenv/utils.py", line 1017, in clean_results
collected_hashes = self.collect_hashes(ireq)
File "/home/user/.local/share/virtualenvs/user-5PivF_Od/lib/python3.8/site-packages/pipenv/utils.py", line 900, in collect_hashes
r = session.get(pkg_url, timeout=10)
File "/home/user/.local/share/virtualenvs/user-5PivF_Od/lib/python3.8/site-packages/pipenv/vendor/requests/sessions.py", line 555, in get
return self.request('GET', url, **kwargs)
File "/home/user/.local/share/virtualenvs/user-5PivF_Od/lib/python3.8/site-packages/pipenv/vendor/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "/home/user/.local/share/virtualenvs/user-5PivF_Od/lib/python3.8/site-packages/pipenv/vendor/requests/sessions.py", line 655, in send
r = adapter.send(request, **kwargs)
File "/home/user/.local/share/virtualenvs/user-5PivF_Od/lib/python3.8/site-packages/pipenv/vendor/requests/adapters.py", line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /pypi/py-cpuinfo/json (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f11bc552f70>: Failed to establish a new connection: [Errno -2] Name or service not known'))
Traceback (most recent call last):
File "/home/user/.local/share/virtualenvs/user-5PivF_Od/lib/python3.8/site-packages/pipenv/utils.py", line 1131, in create_spinner
yield sp
File "/home/user/.local/share/virtualenvs/user-5PivF_Od/lib/python3.8/site-packages/pipenv/utils.py", line 1338, in venv_resolve_deps
c = resolve(cmd, sp)
File "/home/user/.local/share/virtualenvs/user-5PivF_Od/lib/python3.8/site-packages/pipenv/utils.py", line 1176, in resolve
sys.exit(c.return_code)
SystemExit: 1
�[K
Kebechet version: 1.2.3
Python version: 3.8.3
Platform: Linux-4.18.0-193.29.1.el8_2.x86_64-x86_64-with-glibc2.2.5
pipenv version: pipenv, version 2020.11.15
py-cpuinfo==7.0.0
For more information, see Pipfile and Pipfile.lock.
Once this issue is resolved, the issue will be automatically closed by bot.
Describe the bug
The package platform
is not imported and causing issue as being used without declaring.
Traceback (most recent call last):
--
| File "app.py", line 856, in <module>
| platform = platforminfo()
| File "app.py", line 826, in platforminfo
| "architecture": platform.architecture(),
| NameError: name 'platform' is not defined
To Reproduce
Steps to reproduce the behavior:
quay.io/thoth-station/amun-inspect-hwinfo:v0.1.1
Expected behavior
Run successfully.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.