-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Description
Current Gohan has 419 unhandled errors:
- cli/cli.go:80:9: app.Run(os.Args)
- cli/cli.go:239:32: manager.LoadSchemasFromFiles(schemaFile, metaSchemaFile)
- cli/cli.go:240:39: manager.OrderedLoadSchemasFromFiles(strings.Split(multipleSchemaFiles, ";"))
- cli/cli.go:354:17: server.Resync(dbConn, sync)
- cli/cli.go:640:9: s.Run()
- cli/cli_test.go:38:12: os.Setenv(useEtcdEnv, "true")
- cli/cli_test.go:76:14: os.Unsetenv(useEtcdEnv)
- cli/cli_test.go:107:18: etcdSync.Lock(syncMigrationsPath, true)
- cli/cli_test.go:110:20: etcdSync.Unlock(syncMigrationsPath)
- cli/client/client.go:167:16: tmpl.Execute(buf, schemaForTemplate)
- cli/client/client.go:178:15: tmpl.Execute(buf, schema)
- cli/client/client.go:187:14: tmpl.Execute(buf, entry)
- cli/client/client_suite_test.go:34:14: os.Unsetenv("OS_AUTH_URL")
- cli/client/client_suite_test.go:35:14: os.Unsetenv("OS_USERNAME")
- cli/client/client_suite_test.go:36:14: os.Unsetenv("OS_USERID")
- cli/client/client_suite_test.go:37:14: os.Unsetenv("OS_PASSWORD")
- cli/client/client_suite_test.go:38:14: os.Unsetenv("OS_TENANT_ID")
- cli/client/client_suite_test.go:39:14: os.Unsetenv("OS_TENANT_NAME")
- cli/client/client_suite_test.go:40:14: os.Unsetenv("OS_DOMAIN_ID")
- cli/client/client_suite_test.go:41:14: os.Unsetenv("OS_DOMAIN_NAME")
- cli/client/client_test.go:47:12: os.Setenv("OS_USERNAME", "admin")
- cli/client/client_test.go:48:12: os.Setenv("OS_PASSWORD", "password")
- cli/client/client_test.go:49:12: os.Setenv("OS_TENANT_NAME", "admin")
- cli/client/client_test.go:50:12: os.Setenv("OS_AUTH_URL", server.URL()+"/v2.0/")
- cli/client/client_test.go:51:12: os.Setenv("GOHAN_SERVICE_NAME", "gohan")
- cli/client/client_test.go:52:12: os.Setenv("GOHAN_REGION", "RegionOne")
- cli/client/client_test.go:53:12: os.Setenv("GOHAN_SCHEMA_URL", "/gohan/v0.1/schemas")
- cli/client/client_test.go:54:12: os.Setenv("GOHAN_CACHE_SCHEMAS", "false")
- cli/client/client_test.go:55:12: os.Setenv("GOHAN_CACHE_TIMEOUT", "1ns")
- cli/client/client_test.go:59:14: os.Unsetenv("OS_USERNAME")
- cli/client/client_test.go:60:14: os.Unsetenv("OS_PASSWORD")
- cli/client/client_test.go:61:14: os.Unsetenv("OS_TENANT_NAME")
- cli/client/client_test.go:62:14: os.Unsetenv("OS_AUTH_URL")
- cli/client/client_test.go:63:14: os.Unsetenv("GOHAN_SERVICE_NAME")
- cli/client/client_test.go:64:14: os.Unsetenv("GOHAN_REGION")
- cli/client/client_test.go:65:14: os.Unsetenv("GOHAN_SCHEMA_URL")
- cli/client/client_test.go:66:14: os.Unsetenv("GOHAN_ENDPOINT_URL")
- cli/client/client_test.go:78:15: os.Unsetenv("GOHAN_SERVICE_NAME")
- cli/client/client_test.go:79:15: os.Unsetenv("GOHAN_REGION")
- cli/client/client_test.go:80:13: os.Setenv("GOHAN_ENDPOINT_URL", "127.0.0.1")
- cli/client/client_test.go:87:15: os.Unsetenv("GOHAN_SERVICE_NAME")
- cli/client/client_test.go:94:15: os.Unsetenv("GOHAN_REGION")
- cli/client/client_test.go:101:15: os.Unsetenv("GOHAN_SCHEMA_URL")
- cli/client/client_test.go:108:13: os.Setenv("GOHAN_CACHE_SCHEMAS", "potato")
- cli/client/client_test.go:115:13: os.Setenv("GOHAN_CACHE_TIMEOUT", "this is not time")
- cli/client/client_test.go:152:13: os.Setenv("GOHAN_SERVICE_NAME", "wrong")
- cli/client/client_test.go:168:13: os.Setenv("GOHAN_CACHE_SCHEMAS", "true")
- cli/client/client_test.go:169:13: os.Setenv("GOHAN_CACHE_PATH", "wrong")
- cli/client/client_test.go:179:13: os.Setenv("GOHAN_CACHE_SCHEMAS", "true")
- cli/client/client_test.go:180:13: os.Setenv("GOHAN_CACHE_PATH", file)
- cli/client/client_test.go:204:16: os.Unsetenv("OS_AUTH_URL")
- cli/client/client_test.go:211:16: os.Unsetenv("OS_USERNAME")
- cli/client/client_test.go:218:16: os.Unsetenv("OS_PASSWORD")
- cli/client/client_test.go:249:14: os.Setenv("GOHAN_SERVICE_NAME", "wrongGohanServiceName")
- cli/client/client_test.go:454:16: file.Close()
- cli/client/client_test.go:463:22: file.WriteString(fmt.Sprintf("%s", cacheString))
- cli/client/client_test.go:475:16: file.Chmod(os.ModeDir)
- cli/client/client_test.go:500:22: file.WriteString(fmt.Sprintf("%s", cacheString))
- cli/client/client_test.go:1110:20: json.Unmarshal([]byte(result), &resultJSON)
- cli/client/client_test.go:1122:20: json.Unmarshal([]byte(result), &resultJSON)
- cli/client/client_test.go:1179:20: json.Unmarshal([]byte(result), &resultJSON)
- cli/client/client_test.go:1191:20: json.Unmarshal([]byte(result), &resultJSON)
- cli/client/client_test.go:1245:20: json.Unmarshal([]byte(result), &resultJSON)
- cli/client/client_test.go:1261:20: json.Unmarshal([]byte(result), &resultJSON)
- cli/client/client_test.go:1274:20: json.Unmarshal([]byte(result), &resultJSON)
- cli/client/client_test.go:1433:20: json.Unmarshal([]byte(result), &resultJSON)
- cli/client/client_test.go:1451:20: json.Unmarshal([]byte(result), &resultJSON)
- cli/client/commands.go:346:27: defer response.Body.Close()
- cli/client/commands.go:348:39: json.NewDecoder(response.Body).Decode(&result)
- cli/client/output.go:103:15: table.Append(resourceSlice)
- cli/client/output.go:117:15: table.Append([]string{property.Title, fmt.Sprint(resource[property.ID])})
- cli/generate.go:56:16: defer db.Close()
- cli/generate.go:79:16: defer db.Close()
- cli/generate.go:102:19: config.ReadConfig(configFile)
- cli/generate.go:128:10: os.Mkdir(etcDir, 0777)
- cli/generate.go:129:10: os.Mkdir(dbDir, 0777)
- cli/generate.go:130:10: os.Mkdir(migrationDir, 0777)
- cli/generate.go:147:15: util.SaveFile(schemaPath, map[string]interface{}{
- cli/migrate.go:88:20: defer sync.Unlock(syncMigrationsPath)
- cli/migrate.go:169:21: config.ReadConfig(configFile)
- cli/migrate.go:181:32: manager.LoadSchemasFromFiles(schemaFile)
- cli/migrate.go:255:34: envManager.RegisterEnvironment(s.ID, env)
- cli/template.go:174:10: os.Chdir(path.Dir(configFile))
- cli/template.go:175:16: defer os.Chdir(pwd)
- cli/template.go:222:19: ioutil.WriteFile(outputPath, []byte(output), 0644)
- cli/template.go:235:19: ioutil.WriteFile(outputPath, []byte(output), 0644)
- cli/template.go:251:19: ioutil.WriteFile(outputPathForResource, []byte(output), 0644)
- converter/schema/schema.go:87:16: property.Parse(item.ParseContext{
- converter/schema/schema_test.go:648:22: other.schema.Parse(item.ParseContext{
- db/db.go:72:12: tx.Close()
- db/db.go:87:12: tx.Close()
- db/db.go:166:32: resource.PopulateDefaults()
- db/db_test.go:57:13: os.Remove(conn)
- db/db_test.go:121:13: os.Remove(conn)
- db/db_test.go:134:12: tx.Close()
- db/db_test.go:170:14: tx.Close()
- db/db_test.go:384:19: defer os.Remove("test_data/conv_in.db")
- db/db_test.go:386:24: db.InitDBWithSchemas("sqlite3", "test_data/conv_out.db", false, false, true)
- db/db_test.go:389:19: defer os.Remove("test_data/conv_out.db")
- db/db_test.go:391:24: db.InitDBWithSchemas("yaml", "test_data/conv_verify.yaml", false, false, true)
- db/db_test.go:394:19: defer os.Remove("test_data/conv_verify.yaml")
- db/db_test.go:402:20: defer inTx.Close()
- db/db_test.go:408:24: defer verifyTx.Close()
- db/db_test.go:427:19: defer os.Remove("test_data/conv_in.db")
- db/db_test.go:429:24: db.InitDBWithSchemas("sqlite3", "test_data/conv_out.db", false, false, true)
- db/db_test.go:432:19: defer os.Remove("test_data/conv_out.db")
- db/db_test.go:435:19: defer os.Remove("test_data/conv_verify.yaml")
- db/db_test.go:452:13: tx.Commit()
- db/db_test.go:453:12: tx.Close()
- db/db_test.go:466:12: tx.Close()
- db/db_test.go:489:13: os.Remove(deadlockDbName)
- db/file/file.go:63:9: db.load()
- db/file/file.go:148:9: db.load()
- db/file/file.go:153:10: db.write()
- db/file/file.go:164:9: db.load()
- db/file/file.go:176:10: db.write()
- db/file/file.go:196:9: db.load()
- db/file/file.go:206:10: db.write()
- db/file/file.go:251:9: db.load()
- db/sql/sql.go:315:13: db.DB.Exec("PRAGMA foreign_keys = ON;")
- db/sql/sql.go:332:13: db.DB.Close()
- db/sql/sql.go:342:13: rawTx.Exec("PRAGMA foreign_keys = ON;")
- db/sql/sql.go:370:13: rawTx.Exec("PRAGMA foreign_keys = ON;")
- db/sql/sql.go:472:19: defer rows.Close()
- db/sql/sql.go:846:18: defer rows.Close()
- db/sql/sql.go:943:18: defer rows.Close()
- db/sql/sql.go:955:15: rows.MapScan(data)
- db/sql/sql.go:1076:18: defer rows.Close()
- db/sql/sql.go:1082:14: rows.MapScan(data)
- db/sql/sql_isolation_test.go:57:23: db.InitDBWithSchemas(dbType, conn, true, false, false)
- db/sql/sql_test.go:59:23: db.InitDBWithSchemas(dbType, conn, true, false, false)
- db/sql/sql_test.go:64:21: db.CopyDBResources(fixtureDB, dbc, true)
- db/sql/sql_test.go:71:11: tx.Close()
- db/sql/sql_test.go:76:13: os.Remove(conn)
- db/sql/sql_test.go:339:15: defer f.Close()
- examples/goext_example/example.go:57:25: env.Core().TriggerEvent(entryCustomAction, goext.MakeContext().WithISchema(schema).WithSchemaID("entry"))
- extension/extension_suite_test.go:60:12: os.Remove(testDBFile1)
- extension/extension_suite_test.go:61:12: os.Remove(testDBFile2)
- extension/framework/framework.go:213:16: filepath.Walk(path, func(filePath string, info os.FileInfo, err error) error {
- extension/framework/framework_test.go:34:20: defer os.RemoveAll(rootDir)
- extension/framework/framework_test.go:47:23: defer testFile1.Close()
- extension/framework/framework_test.go:51:23: defer testFile2.Close()
- extension/framework/framework_test.go:55:23: defer testFile3.Close()
- extension/framework/framework_test.go:59:28: defer irrelevantFile.Close()
- extension/framework/goplugin/runner/reporter.go:234:18: table.AppendBulk(data)
- extension/framework/runner/environment.go:85:10: env.Load(env.testFileName, string(env.testSource))
- extension/framework/runner/environment.go:136:11: tx.Close()
- extension/framework/runner/environment.go:213:13: tx.Commit()
- extension/framework/runner/environment.go:214:12: tx.Close()
- extension/framework/runner/environment.go:227:13: env.VM.Set(name, object)
- extension/framework/runner/environment.go:231:17: env.VM.Otto.Run(
function GohanTrigger(event, context) { gohan_handle_event(event, context); }) - extension/framework/runner/environment.go:263:18: call.Otto.Call("Fail", nil, "Return() should be called with exactly one argument")
- extension/framework/runner/environment.go:265:18: call.Otto.Call("Fail", nil, "Throw() should be called with exactly one argument")
- extension/framework/runner/environment.go:276:12: env.VM.Set(functionName, func(call otto.FunctionCall) otto.Value {
- extension/framework/runner/environment.go:282:18: call.Otto.Call("Fail", nil, err)
- extension/framework/runner/environment.go:287:18: call.Otto.Call("Fail", nil, fmt.Sprintf("Unexpected call to %s(%v)", functionName, readableArguments))
- extension/framework/runner/environment.go:293:18: call.Otto.Call("Fail", nil, fmt.Sprintf("Wrong arguments for call %s(%v), expected %s",
- extension/framework/runner/environment.go:348:34: destinationFunction.Object().Set(variableName, variableValue)
- extension/framework/runner/environment.go:447:41: environmentManager.RegisterEnvironment(schemaID, env)
- extension/framework/runner/runner.go:167:17: env.HandleEvent("exit", map[string]interface{}{})
- extension/gohanscript/debugger.go:54:14: d.conn.Write([]byte(message))
- extension/gohanscript/debugger.go:88:14: d.conn.Close()
- extension/gohanscript/debugger.go:89:16: d.server.Close()
- extension/gohanscript/env_test.go:47:17: defer tx.Close()
- extension/gohanscript/gohanscript_suite_test.go:102:12: os.Remove(dbFile)
- extension/gohanscript/lib/command.go:46:12: os.Chdir(util.MaybeString(chdir))
- extension/gohanscript/lib/command.go:47:18: defer os.Chdir(currentDir)
- extension/gohanscript/lib/gohan.go:66:13: tx.Commit()
- extension/gohanscript/lib/gohan.go:68:11: tx.Close()
- extension/gohanscript/lib/http.go:77:23: defer resp.Body.Close()
- extension/gohanscript/lib/http.go:84:16: json.Unmarshal(body, &contents)
- extension/gohanscript/lib/httpserver.go:94:20: json.Unmarshal(reqData, &data)
- extension/gohanscript/lib/httpserver.go:98:11: vm.Run(context.Data())
- extension/gohanscript/lib/httpserver.go:107:19: json.Unmarshal(reqData, &data)
- extension/gohanscript/lib/httpserver.go:139:13: vm.Run(context.Data())
- extension/gohanscript/lib/httpserver.go:148:13: vm.Run(context.Data())
- extension/gohanscript/lib/httpserver.go:157:13: vm.Run(context.Data())
- extension/gohanscript/lib/httpserver.go:164:13: vm.Run(context.Data())
- extension/gohanscript/lib/httpserver.go:204:9: s.Start()
- extension/gohanscript/lib/job.go:45:6: f(newContext)
- extension/gohanscript/minigo_compile.go:46:13: compileFile(f)
- extension/gohanscript/minigo_compile.go:72:12: code.Eval(context, 0, stack)
- extension/gohanscript/minigo_eval.go:338:16: code.Eval(context, offset+1, stack)
- extension/gohanscript/minigo_eval.go:346:16: code.Eval(context, offset+1, stack)
- extension/gohanscript/stmt.go:102:20: yaml.UnmarshalNode(node, &rawData)
- extension/gohanscript/stmtparser.go:133:5: f(newContext)
- extension/gohanscript/tools/gen.go:200:16: os.MkdirAll(exportPath, os.ModePerm)
- extension/gohanscript/tools/gen.go:201:21: ioutil.WriteFile(outputFile, []byte(output), os.ModePerm)
- extension/gohanscript/tools/gen.go:207:21: ioutil.WriteFile(outputFile, out, os.ModePerm)
- extension/gohanscript/tools/gen.go:223:9: app.Run(os.Args)
- extension/gohanscript/util.go:77:10: pp.Print(obj)
- extension/gohanscript/util.go:108:5: f(localItem)
- extension/gohanscript/util.go:119:15: filepath.Walk(abs,
- extension/gohanscript/value.go:102:15: CacheTemplate(t.param, t.templates, t.minigos)
- extension/gohanscript/vm_test.go:41:13: vm.LoadFile("./examples/fib.yaml")
- extension/gohanscript/vm_test.go:43:9: vm.Run(map[string]interface{}{})
- extension/gohanscript/wrapper.go:120:4: f(context)
- extension/goplugin/core_test.go:54:43: Expect(func() { env.Core().TriggerEvent("dummyEventName", ctx) }).To(Panic())
- extension/goplugin/environment.go:615:11: env.Start()
- extension/goplugin/integration_tests/end_to_end_test.go:75:15: conn.Close()
- extension/goplugin/integration_tests/end_to_end_test.go:194:23: defer resp.Body.Close()
- extension/goplugin/integration_tests/end_to_end_test.go:196:16: decoder.Decode(&data)
- extension/goplugin/integration_tests/end_to_end_test.go:235:11: os.Remove(fileName)
- extension/goplugin/js_integration_test.go:84:39: extensionManager.RegisterEnvironment("test", ottoEnv)
- extension/goplugin/js_integration_test.go:99:41: extensionManager.UnRegisterEnvironment("test")
- extension/goplugin/schemas.go:191:17: defer tx.Close()
- extension/goplugin/schemas.go:305:17: defer tx.Close()
- extension/goplugin/schemas.go:337:21: schema.assignField(propertyName, field, value)
- extension/goplugin/schemas.go:416:16: defer tx.Close()
- extension/goplugin/schemas.go:539:17: defer tx.Close()
- extension/goplugin/schemas.go:602:17: defer tx.Close()
- extension/goplugin/schemas.go:649:12: tx.Commit()
- extension/goplugin/schemas_test.go:76:12: os.Remove(dbFile)
- extension/goplugin/schemas_test.go:165:12: tx.Close()
- extension/goplugin/schemas_test.go:278:23: defer firstTx.Close()
- extension/goplugin/schemas_test.go:294:25: defer secondTx.Close()
- extension/goplugin/schemas_test.go:308:18: firstTx.Commit()
- extension/goplugin/schemas_test.go:318:23: defer firstTx.Close()
- extension/goplugin/schemas_test.go:334:25: defer secondTx.Close()
- extension/goplugin/schemas_test.go:348:18: firstTx.Commit()
- extension/goplugin/sync_test.go:57:13: sut.Watch(ctx, "key", time.Hour, 1)
- extension/goplugin/test_data/ext_good/ext_good.go:78:25: env.Core().TriggerEvent("js_listener", ctx)
- extension/goplugin/transaction_test.go:53:12: os.Remove(DbFile)
- extension/otto/gohan_core.go:108:44: envManager.HandleEventInAllEnvironments(context, event, schemaID)
- extension/otto/gohan_core.go:118:10: vm.Set(name, object)
- extension/otto/gohan_crypto.go:17:9: mod.Set("createHash", func(call otto.FunctionCall) otto.Value {
- extension/otto/gohan_crypto.go:32:13: wrapped.Set("update", func(call otto.FunctionCall) otto.Value {
- extension/otto/gohan_crypto.go:45:13: wrapped.Set("digest", func(call otto.FunctionCall) otto.Value {
- extension/otto/gohan_db.go:64:14: tx.Close()
- extension/otto/gohan_db.go:91:29: defer transaction.Close()
- extension/otto/gohan_db.go:148:20: defer tx.Close()
- extension/otto/gohan_db.go:193:29: defer transaction.Close()
- extension/otto/gohan_db.go:226:20: defer tx.Close()
- extension/otto/gohan_db.go:264:29: defer transaction.Close()
- extension/otto/gohan_db.go:295:29: defer transaction.Close()
- extension/otto/gohan_db.go:321:29: defer transaction.Close()
- extension/otto/gohan_db.go:347:29: defer transaction.Close()
- extension/otto/gohan_db.go:373:29: defer transaction.Close()
- extension/otto/gohan_db.go:398:29: defer transaction.Close()
- extension/otto/gohan_db.go:438:10: vm.Set(name, object)
- extension/otto/gohan_db.go:572:27: resource.PopulateDefaults()
- extension/otto/gohan_file.go:97:10: vm.Set(name, object)
- extension/otto/gohan_fs.go:30:8: fs.Set("readFileSync", func(call otto.FunctionCall) otto.Value {
- extension/otto/gohan_fs.go:47:8: fs.Set("existsSync", func(call otto.FunctionCall) otto.Value {
- extension/otto/gohan_fs.go:58:8: fs.Set("writeFileSync", func(call otto.FunctionCall) otto.Value {
- extension/otto/gohan_fs.go:72:8: fs.Set("readdirSync", func(call otto.FunctionCall) otto.Value {
- extension/otto/gohan_fs.go:88:8: fs.Set("mkdirSync", func(call otto.FunctionCall) otto.Value {
- extension/otto/gohan_global.go:31:10: vm.Set(name, object)
- extension/otto/gohan_hook.go:23:10: vm.Set(name, object)
- extension/otto/gohan_logging.go:79:10: vm.Set(name, object)
- extension/otto/gohan_logging.go:91:9: vm.Set("LOG_LEVEL", logLevels)
- extension/otto/gohan_logging.go:93:9: vm.Set("LOG_MODULE", "gohan.extension."+env.Name)
- extension/otto/gohan_remote.go:78:12: s.Close()
- extension/otto/gohan_remote.go:152:12: s.Close()
- extension/otto/gohan_remote.go:185:10: vm.Set(name, object)
- extension/otto/gohan_resource_management.go:179:10: vm.Set(name, object)
- extension/otto/gohan_sync.go:233:10: vm.Set(name, object)
- extension/otto/gohan_util.go:264:14: t.Execute(b, data)
- extension/otto/gohan_util.go:346:10: vm.Set(name, object)
- extension/otto/gohan_util.go:410:23: defer resp.Body.Close()
- extension/otto/gohan_vm.go:30:10: mod.Set(funName, func(call otto.FunctionCall) otto.Value {
- extension/otto/gohan_vm.go:35:9: mod.Set("runInThisContext", func(call otto.FunctionCall) otto.Value {
- extension/otto/otto.go:132:12: env.VM.Set(objectID, object)
- extension/otto/otto.go:311:8: vm.Set("gohan_closers", closers)
- extension/otto/otto.go:329:19: clone.VM.Otto.Set("gohan_closers", []io.Closer{})
- extension/otto/otto_suite_test.go:110:12: os.Remove(dbFile)
- extension/otto/otto_test.go:66:17: defer tx.Close()
- extension/otto/otto_test.go:231:30: env.LoadExtensionsForPath(extensions, timeLimit, timeLimits, "test_path")
- extension/otto/otto_test.go:262:30: env.LoadExtensionsForPath(extensions, timeLimit, timeLimits, "test_path")
- extension/otto/otto_test.go:307:30: env.LoadExtensionsForPath(extensions, timeLimit, timeLimits, "test_path")
- extension/otto/otto_test.go:343:30: env.LoadExtensionsForPath(extensions, timeLimit, timeLimits, "test_path")
- extension/otto/otto_test.go:459:21: req.Body.Close()
- extension/otto/otto_test.go:692:42: environmentManager.RegisterEnvironment(schemaID, env)
- extension/otto/otto_test.go:709:44: environmentManager.UnRegisterEnvironment(schemaID)
- extension/otto/otto_test.go:710:18: defer tx.Close()
- extension/otto/otto_test.go:732:21: defer tx.Commit()
- extension/otto/otto_test.go:760:31: env.LoadExtensionsForPath(extensions, timeLimit, timeLimits, "test_path")
- extension/otto/otto_test.go:777:21: defer tx.Commit()
- extension/otto/otto_test.go:804:31: env.LoadExtensionsForPath(extensions, timeLimit, timeLimits, "test_path")
- extension/otto/otto_test.go:852:31: env.LoadExtensionsForPath(extensions, timeLimit, timeLimits, "test_path")
- extension/otto/otto_test.go:879:20: defer tx.Close()
- extension/otto/otto_test.go:896:22: defer tx.Close()
- extension/otto/otto_test.go:915:22: defer tx.Close()
- extension/otto/otto_test.go:931:22: defer tx.Close()
- extension/otto/otto_test.go:949:22: defer tx.Close()
- extension/otto/otto_test.go:968:22: defer tx.Close()
- extension/otto/otto_test.go:1037:20: defer tx.Close()
- extension/otto/otto_test.go:1055:22: defer tx.Close()
- extension/otto/otto_test.go:1077:22: defer tx.Close()
- extension/otto/otto_test.go:1096:22: defer tx.Close()
- extension/otto/otto_test.go:1117:22: defer tx.Close()
- extension/otto/otto_test.go:1163:20: defer tx.Close()
- extension/otto/otto_test.go:1181:22: defer tx.Close()
- extension/otto/otto_test.go:1203:22: defer tx.Close()
- extension/otto/otto_test.go:1225:22: defer tx.Close()
- extension/otto/otto_test.go:1283:20: defer tx.Close()
- extension/otto/otto_test.go:1301:22: defer tx.Close()
- extension/otto/otto_test.go:1322:22: defer tx.Close()
- extension/otto/otto_test.go:1343:22: defer tx.Close()
- extension/otto/otto_test.go:1387:22: defer tx.Close()
- extension/otto/otto_test.go:1407:20: defer tx.Close()
- extension/otto/otto_test.go:1424:22: defer tx.Close()
- extension/otto/otto_test.go:1443:22: defer tx.Close()
- extension/otto/otto_test.go:1496:20: defer tx.Close()
- extension/otto/otto_test.go:1540:44: environmentManager.RegisterEnvironment(curSchemaID, subnetEnv)
- extension/otto/otto_test.go:1604:17: tx.Commit()
- extension/otto/otto_test.go:1605:16: tx.Close()
- extension/otto/otto_test.go:1617:16: tx.Close()
- extension/otto/otto_test.go:1643:22: defer tx.Close()
- extension/otto/otto_test.go:1791:15: os.Unsetenv("GOHAN_TEST_GET_ENV")
- extension/otto/otto_test.go:1795:13: os.Setenv("GOHAN_TEST_GET_ENV", "123")
- extension/otto/otto_test.go:1904:19: env.Sync.Delete("/gohan_sync_fetch_test", false)
- extension/otto/otto_test.go:1905:19: env.Sync.Update("/gohan_sync_fetch_test", "{}")
- extension/otto/otto_test.go:1930:19: env.Sync.Delete("/gohan_sync_watch_test", false)
- extension/otto/otto_test.go:1954:19: env.Sync.Delete("/gohan_sync_watch_test", false)
- extension/otto/otto_test.go:1957:20: env.Sync.Update("/gohan_sync_watch_test", "{}")
- extension/otto/otto_test.go:1985:19: env.Sync.Delete("/gohan_sync_delete_test", false)
- extension/otto/otto_test.go:1986:19: env.Sync.Update("/gohan_sync_delete_test", "{}")
- extension/otto/otto_test.go:2013:19: env.Sync.Delete("/gohan_sync_delete_test", true)
- extension/otto/otto_test.go:2014:19: env.Sync.Update("/gohan_sync_delete_test/child1", "bla")
- extension/otto/otto_test.go:2015:19: env.Sync.Update("/gohan_sync_delete_test/child2", "bar")
- extension/otto/otto_test.go:2046:12: vm.Set(name, object)
- extension/otto/otto_test.go:2063:43: environmentManager.RegisterEnvironment("test_race", env)
- log/bufwriter.go:21:18: buffer().WriteTo(dst)
- schema/manager.go:392:26: manager.registerSchema(schemaObj)
- schema/manager.go:402:21: schemaObj.Extend(baseSchema)
- schema/manager.go:498:28: manager.registerNamespace(namespace)
- schema/schema_test.go:49:21: config.ReadConfig("../tests/test_legacy_config.yaml")
- server/amqp.go:74:21: defer conn.Close()
- server/amqp.go:81:19: defer ch.Close()
- server/api.go:219:41: environmentManager.RegisterEnvironment(s.ID, env)
- server/api.go:442:37: resources.ApplyPolicyForResources(context, s)
- server/cron.go:73:12: c.AddFunc(timing, func() {
- server/cron.go:85:23: server.sync.Unlock(lockKey)
- server/editor.go:220:30: manager.UnRegisterSchema(deletedSchema)
- server/editor.go:228:17: util.SaveFile(editableSchemaFile, schemasInFile)
- server/editor.go:233:17: server.initDB()
- server/editor_test.go:59:15: defer f.Close()
- server/middleware/fake.go:229:10: w.Write(serializedToken)
- server/middleware/fake.go:240:10: w.Write(serializedToken)
- server/middleware/fake.go:246:11: w.Write(serializedToken)
- server/resources/resource_management_test.go:102:41: environmentManager.RegisterEnvironment(schemaID, env)
- server/resources/resource_management_test.go:108:44: environmentManager.UnRegisterEnvironment(schemaID)
- server/resources/resource_management_test.go:109:18: defer tx.Close()
- server/resources/resource_management_test.go:397:28: defer transaction.Close()
- server/resources/resource_management_test.go:560:28: defer transaction.Close()
- server/resources/resource_management_test.go:815:28: defer transaction.Close()
- server/resources/resource_management_test.go:1123:28: defer transaction.Close()
- server/resources/resource_management_test.go:1268:28: defer transaction.Close()
- server/resources/resources_suite_test.go:109:12: os.Remove(dbFile)
- server/resync.go:26:12: tx.Close()
- server/resync.go:53:13: tl.Resync(resource)
- server/server.go:95:29: schemaManager.LoadPolicies(policyList)
- server/server.go:119:31: schemaManager.LoadNamespaces(namespaceList)
- server/server.go:287:16: server.initDB()
- server/server.go:305:22: db.CopyDBResources(inDB, server.db, false)
- server/server.go:504:22: go stateWatcher.Run(server.masterCtx)
- server/server.go:507:20: go syncWriter.Run(server.masterCtx)
- server/server.go:522:21: go syncWatcher.Run(server.masterCtx)
- server/server_suite_test.go:78:12: os.Remove(conn)
- server/server_test.go:795:19: syncConn.Delete("/config/v2.0/networks/resync-test-net1", false)
- server/server_test.go:796:19: syncConn.Delete("/config/v2.0/networks/resync-test-net2", false)
- server/server_test.go:797:19: syncConn.Delete("/config/v2.0/subnets/test-subnet1-id", false)
- server/server_test.go:851:14: srv.Resync(testDB, syncConn)
- server/server_test.go:904:30: manager.LoadSchemasFromFiles("../tests/test_abstract_schema.yaml", "../tests/test_schema.yaml", "../etc/schema/gohan.json")
- server/server_test.go:930:14: conn.Close()
- server/server_test.go:1037:23: defer resp.Body.Close()
- server/server_test.go:1039:16: decoder.Decode(&data)
- server/snmp.go:57:19: defer conn.Close()
- server/state_watcher.go:98:27: defer watcher.sync.Unlock(lockKey)
- server/state_watcher_test.go:55:17: defer tx.Close()
- server/state_watcher_test.go:64:17: defer tx.Close()
- server/state_watcher_test.go:93:19: defer tx.Close()
- server/state_watcher_test.go:129:19: defer tx.Close()
- server/state_watcher_test.go:165:19: defer tx.Close()
- server/state_watcher_test.go:250:19: defer tx.Close()
- server/state_watcher_test.go:275:19: defer tx.Close()
- server/state_watcher_test.go:310:19: defer tx.Close()
- server/sync_watcher.go:98:29: defer watcher.sync.Unlock(lockKey)
- server/sync_watcher.go:257:27: defer watcher.sync.Unlock(lockKey)
- server/sync_watcher_test.go:43:17: go watcher.Run(context.Background())
- server/sync_watcher_test.go:78:21: defer sync.Delete(processPathPrefix+"/"+newProcessUUID, false)
- server/sync_watcher_test.go:105:21: defer sync.Delete(processPathPrefix+"/"+newProcessUUID2, false)
- server/sync_writer.go:79:28: defer writer.sync.Unlock(syncPath)
- server/sync_writer.go:190:19: json.Unmarshal([]byte(content), &target)
- server/sync_writer.go:216:19: json.Unmarshal(([]byte)(body), &data)
- server/sync_writer_test.go:44:12: tx.Close()
- server/sync_writer_test.go:70:12: tx.Close()
- server/sync_writer_test.go:92:13: tx.Close()
- server/sync_writer_test.go:118:13: tx.Close()
- server/sync_writer_test.go:141:13: tx.Close()
- server/sync_writer_test.go:161:13: tx.Close()
- server/sync_writer_test.go:184:13: tx.Close()
- server/sync_writer_test.go:200:13: tx.Close()
- server/sync_writer_test.go:223:13: tx.Close()
- server/sync_writer_test.go:239:13: tx.Close()
- sync/etcd/etcd.go:77:21: s.etcdClient.Delete(key, prefix)
- sync/etcd/etcd.go:170:31: s.etcdClient.CompareAndDelete(path, s.processID, 0)
- sync/etcd/etcd.go:181:16: json.Unmarshal([]byte(node.Value), &event.Data)
- sync/etcd/etcd.go:236:19: json.Unmarshal([]byte(response.Node.Value), &event.Data)
- sync/etcdv3/etcd.go:237:22: s.etcdClient.Revoke(s.withTimeout(), leaseID)
- sync/etcdv3/etcd.go:241:61: s.etcdClient.Txn(s.withTimeout()).If(cmp).Then(del).Commit()
- sync/etcdv3/etcd.go:317:21: defer session.Close()
- sync/etcdv3/etcd.go:354:20: s.etcdClient.Close()
- sync/etcdv3/etcd_test.go:33:24: sync.etcdClient.Delete(context.Background(), "/", etcd.WithPrefix())
- sync/etcdv3/etcd_test.go:63:24: sync.etcdClient.Delete(context.Background(), "/", etcd.WithPrefix())
- sync/etcdv3/etcd_test.go:81:24: sync.etcdClient.Delete(context.Background(), "/", etcd.WithPrefix())
- sync/etcdv3/etcd_test.go:125:25: sync0.etcdClient.Delete(context.Background(), "/", etcd.WithPrefix())
- sync/etcdv3/etcd_test.go:164:25: sync0.etcdClient.Delete(context.Background(), "/", etcd.WithPrefix())
- sync/etcdv3/etcd_test.go:211:24: sync.etcdClient.Delete(context.Background(), "/", etcd.WithPrefix())
- sync/etcdv3/etcd_test.go:217:21: sync.etcdClient.Put(context.Background(), path+"/existing",
{"existing": true}) - sync/etcdv3/etcd_test.go:231:21: sync.etcdClient.Put(context.Background(), path+"/new",
{"existing": false}) - sync/etcdv3/etcd_test.go:237:24: sync.etcdClient.Delete(context.Background(), path+"/existing")
- sync/etcdv3/etcd_test.go:246:24: sync.etcdClient.Delete(context.Background(), "/", etcd.WithPrefix())
- util/config_test.go:34:12: os.Setenv("GOHAN_TEST_KEY", "GOHAN_TEST_VALUE")
- util/util.go:133:11: t.Execute(outputBuffer, params)
- util/util.go:184:24: defer resp.Body.Close()
- util/util_test.go:75:11: os.Remove(file)
- util/util_test.go:80:17: defer os.Remove(file)
morrisson
Metadata
Metadata
Assignees
Labels
No labels