Skip to content
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.

fix: Aries Agent Test Harness afgo-interop build failing #3396

Open
swcurran opened this issue Oct 10, 2022 · 2 comments
Open

fix: Aries Agent Test Harness afgo-interop build failing #3396

swcurran opened this issue Oct 10, 2022 · 2 comments

Comments

@swcurran
Copy link

Bug Report

What I'm trying to do

Execute the Aries Agent Test Harness AF-Go and aries-cloudagent-python interop tests.

Expected result

The tests pass.

Actual result

The build step in running the tests fails for the afgo-interop test agent with the error:

# github.com/hyperledger/aries-framework-go/pkg/didcomm/protocol/didexchange ../../pkg/didcomm/protocol/didexchange/didex_interop.go:62:17: undefined: didcommutil note: module requires Go 1.19

Sample code / test case

In the AATH repo, execute the following command: ./manage build -a afgo-interop

Result is:

Agents to build: afgo-interop
Backchannel Folder: aries-backchannels/afgo
Building afgo-interop-agent-backchannel ...
Sending build context to Docker daemon  1.278MB
Step 1/38 : ARG GO_VER=1.16
Step 2/38 : ARG ALPINE_VER=3.12
Step 3/38 : FROM golang:${GO_VER}-alpine${ALPINE_VER} as go-build
 ---> baed0e68a17f
Step 4/38 : RUN apk add --no-cache make git bash
 ---> Using cache
 ---> b88cdeb85a86
Step 5/38 : ENV EXECUTABLES go git
 ---> Using cache
 ---> 034fd64a78f9
Step 6/38 : RUN mkdir -p /go/src/github.com/hyperledger
 ---> Using cache
 ---> 474b1cb21aeb
Step 7/38 : WORKDIR /go/src/github.com/hyperledger
 ---> Using cache
 ---> 6b36105a4810
Step 8/38 : ARG REPO_URL
 ---> Using cache
 ---> 4781834da427
Step 9/38 : RUN git clone ${REPO_URL}
 ---> Using cache
 ---> 63c66df45b16
Step 10/38 : WORKDIR /go/src/github.com/hyperledger/aries-framework-go
 ---> Using cache
 ---> fe7063c4d056
Step 11/38 : ARG REPO_COMMIT
 ---> Using cache
 ---> 080a28bbabd1
Step 12/38 : RUN git fetch origin && git checkout ${REPO_COMMIT}
 ---> Using cache
 ---> b2f0d54af95b
Step 13/38 : ARG GO_TAGS=
 ---> Using cache
 ---> 2c612afc5ea6
Step 14/38 : ARG GOPROXY=
 ---> Using cache
 ---> e9c20167bc96
Step 15/38 : RUN GO_TAGS=${GO_TAGS} GOPROXY=${GOPROXY} make agent-rest-acapy-interop
 ---> Running in d95c1d642075
Building aries-agent-rest for aca-py interop
go: downloading github.com/spf13/cobra v1.0.0
go: downloading github.com/cenkalti/backoff v2.2.1+incompatible
go: downloading github.com/gorilla/mux v1.7.3
go: downloading github.com/hyperledger/aries-framework-go-ext/component/storage/couchdb v0.0.0-20220629202442-ce8776c10037
go: downloading github.com/hyperledger/aries-framework-go-ext/component/storage/mongodb v0.0.0-20220629202442-ce8776c10037
go: downloading github.com/hyperledger/aries-framework-go-ext/component/storage/mysql v0.0.0-20220629202442-ce8776c10037
go: downloading github.com/hyperledger/aries-framework-go-ext/component/storage/postgresql v0.0.0-20220629202442-ce8776c10037
go: downloading github.com/rs/cors v1.7.0
go: downloading github.com/cenkalti/backoff/v4 v4.1.2
.
.
.
go: downloading golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9
go: downloading github.com/xdg-go/pbkdf2 v1.0.0
# github.com/hyperledger/aries-framework-go/pkg/didcomm/protocol/didexchange
../../pkg/didcomm/protocol/didexchange/didex_interop.go:62:17: undefined: didcommutil
note: module requires Go 1.19
make: *** [Makefile:135: agent-rest-acapy-interop] Error 2
The command '/bin/sh -c GO_TAGS=${GO_TAGS} GOPROXY=${GOPROXY} make agent-rest-acapy-interop' returned a non-zero code: 2
Docker image build failed.

@swcurran
Copy link
Author

@Moopli @fqutishat -- any chance of getting this issue fixed? We'd like to keep showing that there is some interop between AF-Go and the other Aries frameworks.

Thanks!

@swcurran
Copy link
Author

Anyone else able to comment on this issue? @troyronda @DRK3 ?

Thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant