![]() ![]() Sample make line shown below, also occurs with Ninja: The actual active SDK (based on XCode-select) is included via -isystem, but the ‘command line tools’ SDK is also included via -I and this caused many compile failures. | e[31 1mxe[0m | e[31 1mDeploy (redirects) to gcloud (exit code: 1)e[0m | 11.I’m seeing an issue with CMake 3.17 (doesn’t seem to occur with CMake 3.16.5) where the generated command line includes two different macOS SDK locations. If you are still experiencing problems, please reinstall the Cloud SDK using the instructions here: Please verify that the following is the path to a working Python 2.7 it is not, please set the CLOUDSDK_PYTHON environment variable to point to a working Python 2.7 executable. This usually indicates corruption in your gcloud installation or problems with your Python interpreter. google-cloud-sdk/bin/gcloud auth activate-service-account -key-file=XXXĮRROR: gcloud failed to load: 'module' object has no attribute 'sha256'įrom googlecloudsdk.calliope import arg_parsersįrom re import propertiesįrom import files as file_utilsĭef _init_(self, algorithm=hashlib.sha256): scripts/upload-country-redirects-to-gcloud.sh (this fails due to the library hashlib being broken)īuild log +-+ Try to log-in using the gcloud utility.Download and extract the google cloud sdk, which contains the CLI programs we need to upload file to Google Cloud Storage.Here’s the output of the shell script step that is failing. Raise ValueError('unsupported hash type ' + name)ĮRROR:root:code for hash sha1 was not found.ĮRROR:root:code for hash sha224 was not found.ĮRROR:root:code for hash sha256 was not found.ĮRROR:root:code for hash sha384 was not found.ĮRROR:root:code for hash sha512 was not found. Globals() = _get_hash(_func_name)įile line 97, in _get_builtin_constructor Type "help", "copyright", "credits" or "license" for more information.ĮRROR:root:code for hash md5 was not found. ![]() Python output on bitrise SSH prd-std-r-xcode-10-3-191217092949-WfrHZcbukJ748mH6bjpZ7Q:google-cloud-sdk vagrant$ python In a script that runs a python program, in our case gcloud from the google cloud sdk. ![]() Which build Step causes the issue and which version of the step? Results on the web seem to show a mismatch in ssl libraries is the cause of the issue. ![]() It will fail with a lengthy error message about missing hashing algorithms.Īs you can see from the github changelog, the last change to this stack upgraded the openssl version. You can reproduce this in a shell inside the stack just by running python2.7 and typing import hashlib. The program tries to import hashlib, but this fails. Since the stack we use was upgraded a few days ago, our builds fail while running a python program we install in one of our steps. Bitrise Build Issue Report template Description of the issue ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |