Closed artem-lifshits closed 2 years ago
vault-plugin-secrets-openstack % make functional
Running acceptance tests...
=== RUN TestPlugin
=== RUN TestPlugin/TestCloudLifecycle
=== RUN TestPlugin/TestCloudLifecycle/WriteCloud
=== RUN TestPlugin/TestCloudLifecycle/ReadCloud
=== RUN TestPlugin/TestCloudLifecycle/ListClouds
=== RUN TestPlugin/TestCloudLifecycle/ListClouds/method-LIST
=== PAUSE TestPlugin/TestCloudLifecycle/ListClouds/method-LIST
=== RUN TestPlugin/TestCloudLifecycle/ListClouds/method-GET
=== PAUSE TestPlugin/TestCloudLifecycle/ListClouds/method-GET
=== CONT TestPlugin/TestCloudLifecycle/ListClouds/method-LIST
=== CONT TestPlugin/TestCloudLifecycle/ListClouds/method-GET
=== RUN TestPlugin/TestCloudLifecycle/DeleteCloud
=== RUN TestPlugin/TestCredsLifecycle
=== RUN TestPlugin/TestCredsLifecycle/user_password
=== RUN TestPlugin/TestCredsLifecycle/root_token
=== RUN TestPlugin/TestCredsLifecycle/user_token
=== RUN TestPlugin/TestInfo
info_test.go:42:
Error Trace: info_test.go:42
Error: Should NOT be empty, but was &{ }
Test: TestPlugin/TestInfo
=== RUN TestPlugin/TestRoleLifecycle
=== RUN TestPlugin/TestRoleLifecycle/WriteRole
=== RUN TestPlugin/TestRoleLifecycle/ReadRole
=== RUN TestPlugin/TestRoleLifecycle/ListRoles
=== RUN TestPlugin/TestRoleLifecycle/ListRoles/method-LIST
=== PAUSE TestPlugin/TestRoleLifecycle/ListRoles/method-LIST
=== RUN TestPlugin/TestRoleLifecycle/ListRoles/method-GET
=== PAUSE TestPlugin/TestRoleLifecycle/ListRoles/method-GET
=== CONT TestPlugin/TestRoleLifecycle/ListRoles/method-LIST
=== CONT TestPlugin/TestRoleLifecycle/ListRoles/method-GET
=== RUN TestPlugin/TestRoleLifecycle/DeleteRole
=== RUN TestPlugin/TestRootRotate
rotate_test.go:65: Cloud with name default1
was created
rotate_test.go:68: Cloud with name io9v
was created
plugin_test.go:337: Cloud with name io9v
has been removed
plugin_test.go:337: Cloud with name default1
has been removed
=== RUN TestPlugin/TestStaticCredsLifecycle
=== RUN TestPlugin/TestStaticCredsLifecycle/user_password
=== RUN TestPlugin/TestStaticCredsLifecycle/user_token_project_id
=== RUN TestPlugin/TestStaticCredsLifecycle/user_token_project_name
=== RUN TestPlugin/TestStaticRoleLifecycle
=== RUN TestPlugin/TestStaticRoleLifecycle/WriteRole
=== RUN TestPlugin/TestStaticRoleLifecycle/ReadRole
=== RUN TestPlugin/TestStaticRoleLifecycle/ListRoles
=== RUN TestPlugin/TestStaticRoleLifecycle/ListRoles/method-LIST
=== PAUSE TestPlugin/TestStaticRoleLifecycle/ListRoles/method-LIST
=== RUN TestPlugin/TestStaticRoleLifecycle/ListRoles/method-GET
=== PAUSE TestPlugin/TestStaticRoleLifecycle/ListRoles/method-GET
=== CONT TestPlugin/TestStaticRoleLifecycle/ListRoles/method-LIST
=== CONT TestPlugin/TestStaticRoleLifecycle/ListRoles/method-GET
=== RUN TestPlugin/TestStaticRoleLifecycle/DeleteRole
--- FAIL: TestPlugin (27.43s)
--- PASS: TestPlugin/TestCloudLifecycle (0.09s)
--- PASS: TestPlugin/TestCloudLifecycle/WriteCloud (0.08s)
--- PASS: TestPlugin/TestCloudLifecycle/ReadCloud (0.00s)
--- PASS: TestPlugin/TestCloudLifecycle/ListClouds (0.00s)
--- PASS: TestPlugin/TestCloudLifecycle/ListClouds/method-LIST (0.00s)
--- PASS: TestPlugin/TestCloudLifecycle/ListClouds/method-GET (0.00s)
--- PASS: TestPlugin/TestCloudLifecycle/DeleteCloud (0.00s)
--- PASS: TestPlugin/TestCredsLifecycle (6.12s)
--- PASS: TestPlugin/TestCredsLifecycle/user_password (2.04s)
--- PASS: TestPlugin/TestCredsLifecycle/root_token (1.02s)
--- PASS: TestPlugin/TestCredsLifecycle/user_token (2.23s)
--- FAIL: TestPlugin/TestInfo (0.00s)
--- PASS: TestPlugin/TestRoleLifecycle (0.59s)
--- PASS: TestPlugin/TestRoleLifecycle/WriteRole (0.58s)
--- PASS: TestPlugin/TestRoleLifecycle/ReadRole (0.00s)
--- PASS: TestPlugin/TestRoleLifecycle/ListRoles (0.00s)
--- PASS: TestPlugin/TestRoleLifecycle/ListRoles/method-LIST (0.00s)
--- PASS: TestPlugin/TestRoleLifecycle/ListRoles/method-GET (0.00s)
--- PASS: TestPlugin/TestRoleLifecycle/DeleteRole (0.00s)
--- PASS: TestPlugin/TestRootRotate (5.01s)
--- PASS: TestPlugin/TestStaticCredsLifecycle (12.62s)
--- PASS: TestPlugin/TestStaticCredsLifecycle/user_password (3.57s)
--- PASS: TestPlugin/TestStaticCredsLifecycle/user_token_project_id (3.96s)
--- PASS: TestPlugin/TestStaticCredsLifecycle/user_token_project_name (4.06s)
--- PASS: TestPlugin/TestStaticRoleLifecycle (2.85s)
--- PASS: TestPlugin/TestStaticRoleLifecycle/WriteRole (1.07s)
--- PASS: TestPlugin/TestStaticRoleLifecycle/ReadRole (0.00s)
--- PASS: TestPlugin/TestStaticRoleLifecycle/ListRoles (0.00s)
--- PASS: TestPlugin/TestStaticRoleLifecycle/ListRoles/method-GET (0.00s)
--- PASS: TestPlugin/TestStaticRoleLifecycle/ListRoles/method-LIST (0.00s)
--- PASS: TestPlugin/TestStaticRoleLifecycle/DeleteRole (0.00s)
FAIL
FAIL github.com/opentelekomcloud/vault-plugin-secrets-openstack/acceptance 27.998s
FAIL
make: *** [functional] Error 1
Build failed. https://zuul.otc-service.com/t/eco/buildset/dfb4c9e460c44899918cff29211b6477
:heavy_check_mark: build-sphinx-docs SUCCESS in 3m 53s :heavy_check_mark: otc-golangci-lint SUCCESS in 2m 13s :heavy_check_mark: golang-make-vet SUCCESS in 2m 09s :x: golang-make-test FAILURE in 1m 59s :heavy_check_mark: goreleaser-build SUCCESS in 4m 45s
Build succeeded. https://zuul.otc-service.com/t/eco/buildset/d77827331a2d494a89e2ea476f9fb6eb
:heavy_check_mark: build-sphinx-docs SUCCESS in 3m 28s :heavy_check_mark: otc-golangci-lint SUCCESS in 1m 57s :heavy_check_mark: golang-make-vet SUCCESS in 1m 54s :heavy_check_mark: golang-make-test SUCCESS in 1m 51s :heavy_check_mark: goreleaser-build SUCCESS in 4m 48s
Checks added on roles/groups creation for dynamic roles whether roles/groups exist on the cloud. If role/group does not exist on the cloud error will be raised
Refers to: #105