我基于本教程https://github.com/hyperledger/fabric-sdk-go/tree/v1.0.0-alpha4来运行测试套件:
# In the Fabric SDK Go directory
cd $GOPATH/src/github.com/hyperledger/fabric-sdk-go/
# Optional - Automatically install Go tools used by test suite
# make depend-install
# Running test suite
make
# Clean test suite run artifacts
make clean
但是,当我执行make
命令时,出现错误,日志为
zhangyuongdeair:fabric-sdk-go zhangyulong$ make
Running check_license.sh
Examining last commit changes
All files have SPDX-License-Identifier headers
Populating vendor ...
Running check_lint_tests.sh
Examining last commit changes
Test scripts, fixtures or metadata changed - running all tests
Directories to lint: test/integration test/integration/e2e test/integration/e2e/configless test/integration/expiredorderer test/integration/expiredpeer test/integration/fab test/integration/msp test/integration/orgs test/integration/pkcs11 test/integration/revoked test/integration/sdk test/metadata
Running metalinters...
internal/github.com/hyperledger/fabric/bccsp/pkcs11/pkcs11.go:360:12:warning: unused variable or constant Error not declared by package pkcs11 (varcheck)
.................
internal/github.com/hyperledger/fabric/bccsp/pkcs11/pkcs11.go:453:3:warning: unused variable or constant NewAttribute not declared by package pkcs11 (varcheck)
make: *** [lint-integration-tests] Error 1
那么谁能帮助我?我该如何解决这个问题?