=== RUN TestAddProxyUser
proxy_test.go:71: Generate private and public keys
exec.go:19: [exec] openssl ecparam -genkey -name prime256v1 -noout -out ./tmp/private.pem
exec.go:19: [exec] openssl ec -in ./tmp/private.pem -pubout -out ./tmp/public.pem
proxy_test.go:74: Add the public key for admin user
exec.go:19: [exec] sudo snap set edgexfoundry apps.secrets-config.proxy.admin.public-key='-----BEGIN PUBLIC KEY-----
MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEb+yyLMpi+kBcXx5Wh0rMh55Lzbbz
9hQMwyqhqZeVxF0IxlATySJjhG2GcgCyzaI/jIEsIit4RoJT1E43PYGXDw==
-----END PUBLIC KEY-----
'
proxy_test.go:80: Generate a JWT token for the admin user
exec.go:19: [exec] edgexfoundry.secrets-config proxy jwt --algorithm ES256 --private_key ./tmp/private.pem --id 1 --expiration=1h
proxy_test.go:85: Call an API on behalf of admin user
proxy_test.go:97:
Error Trace: /var/snap/checkbox-edgexfoundry/174/tmp/edgex-snap-testing/test/suites/edgexfoundry/proxy_test.go:97
Error: Not equal:
expected: 200
actual : 401
Test: TestAddProxyUser
exec.go:19: [exec] sudo snap unset edgexfoundry apps
--- FAIL: TestAddProxyUser (2.04s)
The error is probably not captured because of canonical/edgex-snap-hooks#79