gravitational/teleport-plugins

Tests are flaky when creating `key_attestations`

marcoandredinis opened this issue · 2 comments

Log (this happens in multiple tests, just giving an example)

DEBU   "tctl auth sign failed:\x1b[31mERROR: \x1b[0mspecial characters are not allowed in resource names, please use name composed only from characters, hyphens, dots, and plus signs: \"/key_attestations/SHA256:YUFICzsfbJphfPYKWxVFiSPra//Z9tf2WJbs2TJO6Es\"\n\n" error:[exit status 1] test:TestMSTeams tctl/tctl.go:62
DEBU   Terminating Auth service process pid:44314 test:TestMSTeams integration/authservice.go:119
--- FAIL: TestMSTeams (3.04s)
    ms_teams_test.go:163: 
        	Error Trace:	/home/runner/work/teleport-plugins/teleport-plugins/access/msteams/ms_teams_test.go:163
        	            				/home/runner/work/teleport-plugins/teleport-plugins/access/msteams/suite.go:132
        	            				/home/runner/work/teleport-plugins/teleport-plugins/access/msteams/ms_teams_test.go:62
        	Error:      	Received unexpected error:
        	            	tctl auth sign failed
        	            		exit status 1
        	Test:       	TestMSTeams

Verified that this no longer occurs at v12.0.1+