Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save miparnisari/d6f840cd3061db3ad019e4e00424e19f to your computer and use it in GitHub Desktop.
Save miparnisari/d6f840cd3061db3ad019e4e00424e19f to your computer and use it in GitHub Desktop.
windows failures zed
C:\Users\mparn\Documents\GitHub\zed (main)
λ go test -race ./... -count=1
? github.com/authzed/zed/cmd/zed [no test files]
{"level":"trace","context-override-via-cli":true,"context":{"Name":"","Endpoint":"e1","APIToken":"t1","Insecure":true,"NoVerifyCA":true,"CACert":"aGk="},"time":"2025-05-08T14:58:25-07:00"}
{"level":"trace","context-override-via-cli":false,"context":{"Name":"","Endpoint":"e2","APIToken":"t2","Insecure":false,"NoVerifyCA":false,"CACert":"Ynll"},"time":"2025-05-08T14:58:25-07:00"}
--- FAIL: TestGetTokenWithCLIOverride (1.45s)
testing.go:1267: TempDir RemoveAll cleanup: remove C:\Users\mparn\AppData\Local\Temp\TestGetTokenWithCLIOverride2482217832\001\3569675982: The process cannot access the file because it is being used by another process.
{"level":"trace","context-override-via-cli":true,"context":{"Name":"","Endpoint":"e1","APIToken":"t1","Insecure":true,"NoVerifyCA":false,"CACert":null},"time":"2025-05-08T14:58:26-07:00"}
{"level":"trace","context-override-via-cli":true,"context":{"Name":"","Endpoint":"e1","APIToken":"t1","Insecure":true,"NoVerifyCA":false,"CACert":null},"time":"2025-05-08T14:58:26-07:00"}
{"level":"error","error":"rpc error: code = Unavailable desc = ","attempt":1,"time":"2025-05-08T14:58:27-07:00","message":"retrying gRPC call"}
{"level":"trace","trailers":{"content-type":["application/grpc"]},"time":"2025-05-08T14:58:27-07:00","message":"parsed trailers"}
{"level":"debug","error":"key `io.spicedb.respmeta.dispatchedoperationscount` not found in trailer","time":"2025-05-08T14:58:27-07:00","message":"error reading dispatched operations trailer"}
{"level":"debug","error":"key `io.spicedb.respmeta.cachedoperationscount` not found in trailer","time":"2025-05-08T14:58:27-07:00","message":"error reading cached operations trailer"}
{"level":"debug","dispatch":0,"cached":0,"time":"2025-05-08T14:58:27-07:00","message":"extracted response dispatch metadata"}
FAIL
FAIL github.com/authzed/zed/internal/client 1.994s
--- FAIL: TestBackupCreateCmdFunc (2.46s)
--- FAIL: TestBackupCreateCmdFunc/fails_if_backup_without_progress_file_exists (1.62s)
testing.go:1267: TempDir RemoveAll cleanup: remove C:\Users\mparn\AppData\Local\Temp\TestBackupCreateCmdFuncfails_if_backup_without_progress_file_exists952515208\001\1b5e1504-8293-4c95-989a-8297c1b66451: The process cannot access the file because it is being used by another process.
--- FAIL: TestCommandOutput (7.85s)
--- FAIL: TestCommandOutput/prints_usage_on_invalid_command_error (1.48s)
testing.go:1267: TempDir RemoveAll cleanup: remove C:\Users\mparn\AppData\Local\Temp\TestCommandOutputprints_usage_on_invalid_command_error3035192346\001\f737b212-2212-406e-b525-17dfe67a00c9: The process cannot access the file because it is being used by another process.
--- FAIL: TestCommandOutput/prints_usage_on_invalid_flag_error (1.76s)
testing.go:1267: TempDir RemoveAll cleanup: remove C:\Users\mparn\AppData\Local\Temp\TestCommandOutputprints_usage_on_invalid_flag_error4215485033\001\b9208287-4881-43cd-8e35-3c2948a7189a: The process cannot access the file because it is being used by another process.
--- FAIL: TestCommandOutput/prints_usage_on_parameter_validation_error (1.65s)
testing.go:1267: TempDir RemoveAll cleanup: remove C:\Users\mparn\AppData\Local\Temp\TestCommandOutputprints_usage_on_parameter_validation_error3170615837\001\69334340-df0c-4ee4-b22d-4437409ef1f0: The process cannot access the file because it is being used by another process.
--- FAIL: TestCommandOutput/prints_correct_usage (1.47s)
testing.go:1267: TempDir RemoveAll cleanup: remove C:\Users\mparn\AppData\Local\Temp\TestCommandOutputprints_correct_usage3136258689\001\03e53205-9fb0-4884-9162-d1169832df02: The process cannot access the file because it is being used by another process.
--- FAIL: TestCommandOutput/does_not_print_usage_on_command_error (1.49s)
testing.go:1267: TempDir RemoveAll cleanup: remove C:\Users\mparn\AppData\Local\Temp\TestCommandOutputdoes_not_print_usage_on_command_error900788158\001\9019e5c4-9c83-4328-8458-6d9e3134e937: The process cannot access the file because it is being used by another process.
--- FAIL: TestImportCmdHappyPath (0.01s)
import_test.go:49:
Error Trace: C:/Users/mparn/Documents/GitHub/zed/internal/cmd/import_test.go:49
Error: Received unexpected error:
open happy-path-validation-schema.zed: The system cannot find the file specified.
Test: TestImportCmdHappyPath
--- FAIL: TestSchemaCompile (0.00s)
--- FAIL: TestSchemaCompile/file_not_found (0.00s)
schema_test.go:174:
Error Trace: C:/Users/mparn/Documents/GitHub/zed/internal/cmd/schema_test.go:174
Error: "failed to read schema file: open preview-test\\nonexistent.zed: The system cannot find the file specified." does not contain "no such file or directory"
Test: TestSchemaCompile/file_not_found
--- FAIL: TestValidate (0.00s)
--- FAIL: TestValidate/external_schema_passes (0.00s)
validate_test.go:287:
Error Trace: C:/Users/mparn/Documents/GitHub/zed/internal/cmd/validate_test.go:287
Error: Received unexpected error:
open external-schema.zed: The system cannot find the file specified.
Test: TestValidate/external_schema_passes
--- FAIL: TestValidate/composable_in_validation_yaml_with_standard_fails (0.00s)
validate_test.go:291:
Error Trace: C:/Users/mparn/Documents/GitHub/zed/internal/cmd/validate_test.go:291
Error: "open composable-schema-root.zed: The system cannot find the file specified." does not contain "Unexpected token at root level"
Test: TestValidate/composable_in_validation_yaml_with_standard_fails
--- FAIL: TestValidate/assertions_fail (0.01s)
validate_test.go:288:
Error Trace: C:/Users/mparn/Documents/GitHub/zed/internal/cmd/validate_test.go:288
Error: Not equal:
expected: "error: Expected relation or permission document:1#viewer@user:maria to exist \n 8 | }\n 9 | assertions:\n 10 | assertTrue:\n 11 > - \"document:1#viewer@user:maria\"\n >
^~~~~~~~~~~~~~~~~~~~~~~~~~~~\n 12 | \n\n Explanation:\n ⨉ document:1 viewer (Xs)\n └── ⨉ document:1 view (Xs)\n \n\n\n"
actual : "error: Expected relation or permission document:1#viewer@user:maria to exist \n 8 | }\n 9 | assertions:\n 10 | assertTrue:\n 11 > - \"document:1#viewer@user:maria\"\n >
^~~~~~~~~~~~~~~~~~~~~~~~~~~~\n 12 | \n\n Explanation:\n \x1b[31m⨉\x1b[0m \x1b[90mdocument\x1b[0m:\x1b[90m1\x1b[0m \x1b[90mviewer\x1b[0m (Xs)\n └── \x1b[31m⨉\x1b[0m \x1b[90mdocument\x1b[0m:\x1b[90m1\x1b[0m \x1b[90mview\x1b[0m (Xs)\n \n\n\n"
Diff:
--- Expected
+++ Actual
@@ -9,4 +9,4 @@
Explanation:
- ⨉ document:1 viewer (Xs)
- └── ⨉ document:1 view (Xs)
+ ⨉ document:1 viewer (Xs)
+ └── ⨉ document:1 view (Xs)
Test: TestValidate/assertions_fail
--- FAIL: TestValidate/composable_in_validation_yaml_with_composable_passes (0.00s)
validate_test.go:287:
Error Trace: C:/Users/mparn/Documents/GitHub/zed/internal/cmd/validate_test.go:287
Error: Received unexpected error:
open composable-schema-root.zed: The system cannot find the file specified.
Test: TestValidate/composable_in_validation_yaml_with_composable_passes
--- FAIL: TestValidate/multiple_files_passes (0.01s)
validate_test.go:287:
Error Trace: C:/Users/mparn/Documents/GitHub/zed/internal/cmd/validate_test.go:287
Error: Received unexpected error:
open external-schema.zed: The system cannot find the file specified.
Test: TestValidate/multiple_files_passes
FAIL
FAIL github.com/authzed/zed/internal/cmd 14.450s
--- FAIL: TestWriteRelationshipsArgs (1.75s)
testing.go:1267: TempDir RemoveAll cleanup: remove C:\Users\mparn\AppData\Local\Temp\TestWriteRelationshipsArgs3195926403\001\spicedb-3668298210: The process cannot access the file because it is being used by another process.
{
"writtenAt": {
"token": "test"
}
}
--- FAIL: TestWriteRelationshipCmdFuncFromTTY (1.88s)
testing.go:1267: TempDir RemoveAll cleanup: remove C:\Users\mparn\AppData\Local\Temp\TestWriteRelationshipCmdFuncFromTTY4215383988\001\spicedb-1802411991: The process cannot access the file because it is being used by another process.
{
"writtenAt": {
"token": "test"
}
}
{
"writtenAt": {
"token": "test"
}
}
{
"writtenAt": {
"token": "test"
}
}
{
"writtenAt": {
"token": "test"
}
}
{
"writtenAt": {
"token": "test"
}
}
{
"writtenAt": {
"token": "test"
}
}
{
"writtenAt": {
"token": "test"
}
}
{
"writtenAt": {
"token": "test"
}
}
GhUKEzE3NDY3NDE1MTIxMDc1OTU1MDE=
GhUKEzE3NDY3NDE1MTI1NDYxNjk4MDA=
--- FAIL: TestBulkDeleteManyForcing (0.45s)
relationship_test.go:761:
Error Trace: C:/Users/mparn/Documents/GitHub/zed/internal/commands/relationship_test.go:844
C:/Users/mparn/Documents/GitHub/zed/internal/commands/relationship_test.go:816
C:/Users/mparn/Documents/GitHub/zed/internal/commands/relationship_test.go:761
Error: Not equal:
expected: 0
actual : 3
Test: TestBulkDeleteManyForcing
FAIL
FAIL github.com/authzed/zed/internal/commands 5.132s
? github.com/authzed/zed/internal/console [no test files]
ok github.com/authzed/zed/internal/decode 1.242s
ok github.com/authzed/zed/internal/grpcutil 2.273s
ok github.com/authzed/zed/internal/printers 1.242s
ok github.com/authzed/zed/internal/storage 1.525s
? github.com/authzed/zed/internal/testing [no test files]
? github.com/authzed/zed/magefiles [no test files]
ok github.com/authzed/zed/pkg/backupformat 1.687s
FAIL
C:\Users\mparn\Documents\GitHub\zed (main)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment