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

SSL crash related to context tracking #910

Closed
nerdvegas opened this issue Jul 21, 2020 · 0 comments · Fixed by #911
Closed

SSL crash related to context tracking #910

nerdvegas opened this issue Jul 21, 2020 · 0 comments · Fixed by #911

Comments

@nerdvegas
Copy link
Contributor

We are hitting an issue when subproc'ing a rez-env within rv:

Traceback (most recent call last):
File "/sw/install/global/linux_x86_64_CentOS-7/opensource/rez/2.52.1/payload/bin/rez/rez-env", line 8, in <module>
sys.exit(run_rez_env())
File "/sw/install/global/linux_x86_64_CentOS-7/opensource/rez/2.52.1/payload/lib/python2.7/site-packages/rez/cli/_entry_points.py", line 152, in run_rez_env
return run("env")
File "/sw/install/global/linux_x86_64_CentOS-7/opensource/rez/2.52.1/payload/lib/python2.7/site-packages/rez/cli/_main.py", line 152, in run
returncode = run_cmd()
File "/sw/install/global/linux_x86_64_CentOS-7/opensource/rez/2.52.1/payload/lib/python2.7/site-packages/rez/cli/_main.py", line 144, in run_cmd
return opts.func(opts, opts.parser, extra_arg_groups)
File "/sw/install/global/linux_x86_64_CentOS-7/opensource/rez/2.52.1/payload/lib/python2.7/site-packages/rez/cli/env.py", line 206, in command
print_stats=opts.stats)
File "/sw/install/global/linux_x86_64_CentOS-7/opensource/rez/2.52.1/payload/lib/python2.7/site-packages/rez/resolved_context.py", line 303, in _init_
self._track_context(data, action="created")
File "/sw/install/global/linux_x86_64_CentOS-7/opensource/rez/2.52.1/payload/lib/python2.7/site-packages/rez/resolved_context.py", line 1529, in _track_context
from rez.utils.amqp import publish_message
File "/sw/install/global/linux_x86_64_CentOS-7/opensource/rez/2.52.1/payload/lib/python2.7/site-packages/rez/utils/amqp.py", line 9, in <module>
from rez.vendor.amqp import Connection, basic_message
File "/sw/install/global/linux_x86_64_CentOS-7/opensource/rez/2.52.1/payload/lib/python2.7/site-packages/rez/vendor/amqp/_init_.py", line 34, in <module>
from .connection import Connection # noqa
File "/sw/install/global/linux_x86_64_CentOS-7/opensource/rez/2.52.1/payload/lib/python2.7/site-packages/rez/vendor/amqp/connection.py", line 40, in <module>
from .transport import create_transport
File "/sw/install/global/linux_x86_64_CentOS-7/opensource/rez/2.52.1/payload/lib/python2.7/site-packages/rez/vendor/amqp/transport.py", line 21, in <module>
import ssl
File "/usr/lib64/python2.7/ssl.py", line 97, in <module>
import _ssl # if we can't import it, let the error propagate
ImportError: /sw/packages/external/rv/7.3.4/platform-linux/arch-x86_64/ext/lib/libcrypto.so.10: version `OPENSSL_1.0.2' not found (required by /sw/install/global/linux_x86_64_CentOS-7/opensource/rez/2.52.1/payload/lib64/python2.7/lib-dynload/_ssl.so)

While we may be able to fix this by altering the way the subproc is invoked in rv, it's also reasonable that failed context tracking shouldn't crash rez, and would instead print a warning message.

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