Gábor Gyimesi created MINIFICPP-2023:
----------------------------------------
Summary: MacOS and docker github actions fail with environmental
issues
Key: MINIFICPP-2023
URL: https://issues.apache.org/jira/browse/MINIFICPP-2023
Project: Apache NiFi MiNiFi C++
Issue Type: New Feature
Reporter: Gábor Gyimesi
Assignee: Gábor Gyimesi
MacOs environment failure:
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink bin/2to3-3.11
Target /usr/local/bin/2to3-3.11
already exists. You may want to remove it:
rm '/usr/local/bin/2to3-3.11'
To force the link and overwrite all conflicting files:
brew link --overwrite [email protected]
To list all files that would be deleted:
brew link --overwrite --dry-run [email protected]
Docker test environment failure:
Exception AttributeError: module 'lib' has no attribute
'OpenSSL_add_all_algorithms'
Traceback (most recent call last):
File
"/home/runner/work/nifi-minifi-cpp/nifi-minifi-cpp/build/test-env-py3/bin/behave",
line 8, in <module>
sys.exit(main())
File
"/home/runner/work/nifi-minifi-cpp/nifi-minifi-cpp/build/test-env-py3/lib/python3.8/site-packages/behave/__main__.py",
line 183, in main
return run_behave(config)
File
"/home/runner/work/nifi-minifi-cpp/nifi-minifi-cpp/build/test-env-py3/lib/python3.8/site-packages/behave/__main__.py",
line 127, in run_behave
failed = runner.run()
File
"/home/runner/work/nifi-minifi-cpp/nifi-minifi-cpp/build/test-env-py3/lib/python3.8/site-packages/behave/runner.py",
line 804, in run
returnself.run_with_paths()
File
"/home/runner/work/nifi-minifi-cpp/nifi-minifi-cpp/build/test-env-py3/lib/python3.8/site-packages/behave/runner.py",
line 809, in run_with_paths
self.load_step_definitions()
File
"/home/runner/work/nifi-minifi-cpp/nifi-minifi-cpp/build/test-env-py3/lib/python3.8/site-packages/behave/runner.py",
line 796, in load_step_definitions
load_step_modules(step_paths)
File
"/home/runner/work/nifi-minifi-cpp/nifi-minifi-cpp/build/test-env-py3/lib/python3.8/site-packages/behave/runner_util.py",
line 412, in load_step_modules
exec_file(os.path.join(path, name), step_module_globals)
File
"/home/runner/work/nifi-minifi-cpp/nifi-minifi-cpp/build/test-env-py3/lib/python3.8/site-packages/behave/runner_util.py",
line 386, in exec_file
exec(code, globals_, locals_)
File "steps/steps.py", line 19, in <module>
from minifi.core.SSL_cert_utils import make_ca, make_cert, dump_certificate,
dump_privatekey
File
"/home/runner/work/nifi-minifi-cpp/nifi-minifi-cpp/docker/test/integration/minifi/core/SSL_cert_utils.py",
line 22, in <module>
from OpenSSL import crypto
File
"/home/runner/work/nifi-minifi-cpp/nifi-minifi-cpp/build/test-env-py3/lib/python3.8/site-packages/OpenSSL/__init__.py",
line 8, in <module>
from OpenSSL import crypto, SSL
File
"/home/runner/work/nifi-minifi-cpp/nifi-minifi-cpp/build/test-env-py3/lib/python3.8/site-packages/OpenSSL/crypto.py",
line 3279, in <module>
_lib.OpenSSL_add_all_algorithms()
--
This message was sent by Atlassian Jira
(v8.20.10#820010)