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

Certificate expired for JMeter 5.5 (v1.16.27) #1804

Open
turtleyacht opened this issue Feb 9, 2024 · 0 comments
Open

Certificate expired for JMeter 5.5 (v1.16.27) #1804

turtleyacht opened this issue Feb 9, 2024 · 0 comments

Comments

@turtleyacht
Copy link

turtleyacht commented Feb 9, 2024

The output of curl https://packages.blazemeter.com/jmeter/apache-jmeter-5.5.zip -o jmeter.zip shows certificate expired:

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (60) SSL certificate problem: certificate has expired
More details here: https://curl.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.

Even with TAURUS_DISABLE_DOWNLOADS=1, taurus bzt (v1.16.27) exits with error:

...
[2024-02-09 18:41:22,592 INFO Engine.jmeter.JMeter] Will install JMeter into /home/dev/.bzt/jmeter-taurus/5.5
[2024-02-09 18:41:22,592 DEBUG Engine.jmeter.JMeter.JMeterMirrorsManager] Retrieving mirrors from page: https://jmeter.apache.org/download_jmeter.cgi
[2024-02-09 18:41:22,593 DEBUG Engine.jmeter.JMeter.JMeterMirrorsManager] Exception: Traceback (most recent call last):
  File "/home/dev/.pyenv/versions/3.10.12/lib/python3.10/site-packages/bzt/utils.py", line 1692, in mirrors
    tmp_file = downloader.get(self.base_link)[0]
  File "/home/dev/.pyenv/versions/3.10.12/lib/python3.10/site-packages/bzt/utils.py", line 1425, in get
    raise TaurusInternalException("Downloads are disabled by TAURUS_DISABLE_DOWNLOADS env var")
bzt.TaurusInternalException: Downloads are disabled by TAURUS_DISABLE_DOWNLOADS env var

[2024-02-09 18:41:22,593 ERROR Engine.jmeter.JMeter.JMeterMirrorsManager] Can't fetch https://jmeter.apache.org/download_jmeter.cgi
[2024-02-09 18:41:22,593 DEBUG Engine.jmeter.JMeter.JMeterMirrorsManager] Total mirrors: 2
[2024-02-09 18:41:22,593 INFO Engine.jmeter.JMeter] Downloading: https://archive.apache.org/dist/jmeter/binaries/apache-jmeter-5.5.zip
[2024-02-09 18:41:22,593 DEBUG root] No progressbar for non-tty output: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>
[2024-02-09 18:41:22,593 ERROR Engine.jmeter.JMeter] Error while downloading https://archive.apache.org/dist/jmeter/binaries/apache-jmeter-5.5.zip: Downloads are disabled by TAURUS_DISABLE_DOWNLOADS env var
[2024-02-09 18:41:22,595 INFO Engine.jmeter.JMeter] Downloading: https://packages.blazemeter.com/jmeter/apache-jmeter-5.5.zip
[2024-02-09 18:41:22,595 DEBUG root] No progressbar for non-tty output: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>
[2024-02-09 18:41:22,596 ERROR Engine.jmeter.JMeter] Error while downloading https://packages.blazemeter.com/jmeter/apache-jmeter-5.5.zip: Downloads are disabled by TAURUS_DISABLE_DOWNLOADS env var
[2024-02-09 18:41:22,596 ERROR root] Internal Error: JMeter download failed: No more links to try
[2024-02-09 18:41:22,597 DEBUG root] TaurusInternalException: JMeter download failed: No more links to try
  File "/home/dev/.pyenv/versions/3.10.12/lib/python3.10/site-packages/bzt/cli.py", line 275, in perform
    self.engine.prepare()
  File "/home/dev/.pyenv/versions/3.10.12/lib/python3.10/site-packages/bzt/engine/engine.py", line 220, in prepare
    self.__prepare_provisioning()
  File "/home/dev/.pyenv/versions/3.10.12/lib/python3.10/site-packages/bzt/engine/engine.py", line 635, in __prepare_provisioning
    self.provisioning.prepare()
  File "/home/dev/.pyenv/versions/3.10.12/lib/python3.10/site-packages/bzt/modules/provisioning.py", line 72, in prepare
    executor.prepare()
  File "/home/dev/.pyenv/versions/3.10.12/lib/python3.10/site-packages/bzt/modules/jmeter.py", line 257, in prepare
    self.install_required_tools()
  File "/home/dev/.pyenv/versions/3.10.12/lib/python3.10/site-packages/bzt/modules/jmeter.py", line 814, in install_required_tools
    tool.install()
  File "/home/dev/.pyenv/versions/3.10.12/lib/python3.10/site-packages/bzt/modules/jmeter.py", line 1641, in install
    self.__install_jmeter(jmeter_dir)
  File "/home/dev/.pyenv/versions/3.10.12/lib/python3.10/site-packages/bzt/modules/jmeter.py", line 1513, in __install_jmeter
    jmeter_dist = self._download()
  File "/home/dev/.pyenv/versions/3.10.12/lib/python3.10/site-packages/bzt/utils.py", line 1520, in _download
    raise TaurusInternalException(error_message)
[2024-02-09 18:41:22,597 INFO Engine] Post-processing...
...
@turtleyacht turtleyacht changed the title Certificate expired for JMeter 5.5 Certificate expired for JMeter 5.5 (v1.16.27) Feb 9, 2024
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

No branches or pull requests

1 participant