bmcgo 版本为: 0.5.317
编译容器镜像版本:2503
account组件的版本:1.70.22
执行bingo build命令编译完account组件后,使用bingo test --it --wb报错。
报错日志如下:
Installing (downloading, building) binaries…
Cyrus_SASL/2.1.28-h1.computing.ibmc.r1@hw.ibmc.release/rc: WARN: Build folder is dirty, removing it: /root/.conan/data/Cyrus_SASL/2.1.28-h1.computing.ibmc.r1/hw.ibmc.release/rc/build/6a517c436d4f5a491440e620151be0c0415fc82a
Cyrus_SASL/2.1.28-h1.computing.ibmc.r1@hw.ibmc.release/rc: WARN: Trying to remove corrupted source folder
Cyrus_SASL/2.1.28-h1.computing.ibmc.r1@hw.ibmc.release/rc: WARN: This can take a while for big packages
Cyrus_SASL/2.1.28-h1.computing.ibmc.r1@hw.ibmc.release/rc: Configuring sources in /root/.conan/data/Cyrus_SASL/2.1.28-h1.computing.ibmc.r1/hw.ibmc.release/rc/source
ERROR: Cyrus_SASL/2.1.28-h1.computing.ibmc.r1@hw.ibmc.release/rc: Error in source() method, line 28
git.clone(**self.conan_data[“sources”][self.version])
CalledProcessErrorWithStderr: Command ‘git -c http.sslVerify=false fetch --depth 1 origin “2.1.28-h1.computing.ibmc.r1”’ returned non-zero exit status 128.
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
fatal: unable to access ‘https://open.codehub.huawei.com/OpenSourceCenter/cyrusimap/cyrus-sasl.git/’: Could not resolve host: open.codehub.huawei.com
ERROR: 执行命令 conan create . account/100.70.22@hw.ibmc.dev/dev -pr:h profile.dt.ini -s build_type=Dt -r ibmc_dev --build=missing -tf None 错误, 日志: /root/.bmcgo_log/bmcgo.log
ERROR: Traceback (most recent call last):
File “/usr/local/lib/python3.12/dist-packages/bmcgo/cli/cli.py”, line 355, in run
return method(command_args)
^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.12/dist-packages/bmcgo/cli/cli.py”, line 218, in test
test.run()
File “/usr/local/lib/python3.12/dist-packages/bmcgo/component/test.py”, line 835, in run
self.build_and_deploy()
File “/usr/local/lib/python3.12/dist-packages/bmcgo/component/test.py”, line 263, in build_and_deploy
self.build.run()
File “/usr/local/lib/python3.12/dist-packages/bmcgo/component/build.py”, line 206, in run
tool.run_command(cmd, show_log=True, timeout=timeout)
File “/usr/local/lib/python3.12/dist-packages/bmcgo/utils/tools.py”, line 665, in run_command
raise e
File “/usr/local/lib/python3.12/dist-packages/bmcgo/utils/tools.py”, line 647, in run_command
ret = subprocess.run(command, check=check, timeout=timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3.12/subprocess.py”, line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command ‘[‘conan’, ‘create’, ‘.’, ‘account/100.70.22@hw.ibmc.dev/dev’, ‘-pr:h’, ‘profile.dt.ini’, ‘-s’, ‘build_type=Dt’, ‘-r’, ‘ibmc_dev’, ‘–build=missing’, ‘-tf’, ‘None’]’ returned non-zero exit status 1.
ERROR: Command ‘[‘conan’, ‘create’, ‘.’, ‘account/100.70.22@hw.ibmc.dev/dev’, ‘-pr:h’, ‘profile.dt.ini’, ‘-s’, ‘build_type=Dt’, ‘-r’, ‘ibmc_dev’, ‘–build=missing’, ‘-tf’, ‘None’]’ returned non-zero exit status 1.
ERROR: 请查看日志信息
浏览器访问https://open.codehub.huawei.com/OpenSourceCenter/cyrusimap/cyrus-sasl.git/显示无法连接