fabric-sdk-go make: *** [lint-интеграционные тесты] Ошибка 1

Я использую этот учебник 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

так кто может мне помочь? Как я могу решить этот вопрос?

0 ответов

Другие вопросы по тегам