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

KeyError: 'hz_actual_friendly' #3

Open
lyfsn opened this issue May 29, 2024 · 0 comments · May be fixed by #11
Open

KeyError: 'hz_actual_friendly' #3

lyfsn opened this issue May 29, 2024 · 0 comments · May be fixed by #11

Comments

@lyfsn
Copy link

lyfsn commented May 29, 2024

How do I fix this error?

(venv) root@ubuntu-32gb-hel1-3:~/gas-benchmarks# ./run.sh -t "tests/" -w "warmup/warmup-1000bl-16wi-24tx.txt" -c "nethermind,geth,reth" -r 8
Requirement already satisfied: matplotlib~=3.5.0 in ./venv/lib/python3.10/site-packages (from -r requirements.txt (line 1)) (3.5.3)
Requirement already satisfied: requests~=2.27.1 in ./venv/lib/python3.10/site-packages (from -r requirements.txt (line 2)) (2.27.1)
Requirement already satisfied: py-cpuinfo~=9.0.0 in ./venv/lib/python3.10/site-packages (from -r requirements.txt (line 3)) (9.0.0)
Requirement already satisfied: psutil~=5.9.8 in ./venv/lib/python3.10/site-packages (from -r requirements.txt (line 4)) (5.9.8)
Requirement already satisfied: bs4~=0.0.2 in ./venv/lib/python3.10/site-packages (from -r requirements.txt (line 5)) (0.0.2)
Requirement already satisfied: html5lib in ./venv/lib/python3.10/site-packages (from -r requirements.txt (line 6)) (1.1)
Requirement already satisfied: lxml in ./venv/lib/python3.10/site-packages (from -r requirements.txt (line 7)) (5.2.2)
Requirement already satisfied: numpy~=1.26.4 in ./venv/lib/python3.10/site-packages (from -r requirements.txt (line 9)) (1.26.4)
Requirement already satisfied: PyYAML~=6.0.1 in ./venv/lib/python3.10/site-packages (from -r requirements.txt (line 10)) (6.0.1)
Requirement already satisfied: beautifulsoup4~=4.12.3 in ./venv/lib/python3.10/site-packages (from -r requirements.txt (line 11)) (4.12.3)
Requirement already satisfied: python-dateutil>=2.7 in ./venv/lib/python3.10/site-packages (from matplotlib~=3.5.0->-r requirements.txt (line 1)) (2.9.0.post0)
Requirement already satisfied: cycler>=0.10 in ./venv/lib/python3.10/site-packages (from matplotlib~=3.5.0->-r requirements.txt (line 1)) (0.12.1)
Requirement already satisfied: packaging>=20.0 in ./venv/lib/python3.10/site-packages (from matplotlib~=3.5.0->-r requirements.txt (line 1)) (24.0)
Requirement already satisfied: pyparsing>=2.2.1 in ./venv/lib/python3.10/site-packages (from matplotlib~=3.5.0->-r requirements.txt (line 1)) (3.1.2)
Requirement already satisfied: kiwisolver>=1.0.1 in ./venv/lib/python3.10/site-packages (from matplotlib~=3.5.0->-r requirements.txt (line 1)) (1.4.5)
Requirement already satisfied: fonttools>=4.22.0 in ./venv/lib/python3.10/site-packages (from matplotlib~=3.5.0->-r requirements.txt (line 1)) (4.52.4)
Requirement already satisfied: pillow>=6.2.0 in ./venv/lib/python3.10/site-packages (from matplotlib~=3.5.0->-r requirements.txt (line 1)) (10.3.0)
Requirement already satisfied: certifi>=2017.4.17 in ./venv/lib/python3.10/site-packages (from requests~=2.27.1->-r requirements.txt (line 2)) (2024.2.2)
Requirement already satisfied: idna<4,>=2.5 in ./venv/lib/python3.10/site-packages (from requests~=2.27.1->-r requirements.txt (line 2)) (3.7)
Requirement already satisfied: charset-normalizer~=2.0.0 in ./venv/lib/python3.10/site-packages (from requests~=2.27.1->-r requirements.txt (line 2)) (2.0.12)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in ./venv/lib/python3.10/site-packages (from requests~=2.27.1->-r requirements.txt (line 2)) (1.26.18)
Requirement already satisfied: six>=1.9 in ./venv/lib/python3.10/site-packages (from html5lib->-r requirements.txt (line 6)) (1.16.0)
Requirement already satisfied: webencodings in ./venv/lib/python3.10/site-packages (from html5lib->-r requirements.txt (line 6)) (0.5.1)
Requirement already satisfied: soupsieve>1.2 in ./venv/lib/python3.10/site-packages (from beautifulsoup4~=4.12.3->-r requirements.txt (line 11)) (2.5)
git clone https://github.com/NethermindEth/nethermind nethermind
fatal: destination path 'nethermind' already exists and is not an empty directory.
make: *** [Makefile:4: prepare_tools] Error 128
Using provided image: default for nethermind
nethermind running at url 'http://localhost:8551'(auth), with command: '/root/gas-benchmarks/scripts/nethermind/run.sh'
WARN[0000] /root/gas-benchmarks/scripts/nethermind/docker-compose.yaml: `version` is obsolete 
WARN[0000] a network with name gas-network exists but was not created for project "nethermind".
Set `external: true` to use an existing network 
[+] Running 0/0
 ⠋ Container gas-execution-client  Creating                                                                                                                                                                    0.0s 
Error response from daemon: Conflict. The container name "/gas-execution-client" is already in use by container "8ea2e1b150ee70ca2dbcc360382ca2b8064b3a0a124073b90e3af52b8505c785". You have to remove (or rename) that container to be able to reuse that name.
WARN[0000] /root/gas-benchmarks/scripts/nethermind/docker-compose.yaml: `version` is obsolete 
Using provided warm up file: warmup/warmup-1000bl-16wi-24tx.txt
./nethermind/tools/Nethermind.Tools.Kute/bin/Release/net8.0/Nethermind.Tools.Kute -i warmup/warmup-1000bl-16wi-24tx.txt -s /tmp/jwtsecret -r results/warmup_nethermind_response_1.txt -a http://localhost:8551  

Traceback (most recent call last):
  File "/root/gas-benchmarks/run_kute.py", line 109, in <module>
    main()
  File "/root/gas-benchmarks/run_kute.py", line 78, in main
    computer_specs = print_computer_specs()
  File "/root/gas-benchmarks/utils.py", line 281, in print_computer_specs
    'CPU GHz': cpu['hz_actual_friendly']
KeyError: 'hz_actual_friendly'

OS and CPU:

(venv) root@ubuntu-32gb-hel1-3:~/gas-benchmarks# cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04.4 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.4 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy
(venv) root@ubuntu-32gb-hel1-3:~/gas-benchmarks# uname -m
aarch64

@lyfsn lyfsn linked a pull request Jun 7, 2024 that will close this issue
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 a pull request may close this issue.

1 participant