Home
last modified time | relevance | path

Searched refs:dashapi (Results 1 – 19 of 19) sorted by relevance

/external/syzkaller/dashboard/app/
Dreporting_test.go22 crash1 := &dashapi.Crash{
43 want := &dashapi.BugReport{
90 reply, _ := c.client.ReportingUpdate(&dashapi.BugUpdate{
92 Status: dashapi.BugStatusOpen,
93 ReproLevel: dashapi.ReproLevelSyz,
101 c.client.updateBug(rep.ID, dashapi.BugStatusUpstream, "")
104 reply, _ = c.client.ReportingUpdate(&dashapi.BugUpdate{ID: rep.ID, Status: dashapi.BugStatusOpen})
125 reply, _ = c.client.ReportingUpdate(&dashapi.BugUpdate{
127 Status: dashapi.BugStatusUpstream,
145 reply, _ := c.client.ReportingUpdate(&dashapi.BugUpdate{
[all …]
Dapp_test.go48 bug.ReproLevel != dashapi.ReproLevelNone {
181 func testBuild(id int) *dashapi.Build {
182 return &dashapi.Build{
198 func testCrash(build *dashapi.Build, id int) *dashapi.Crash {
199 return &dashapi.Crash{
207 func testCrashWithRepro(build *dashapi.Build, id int) *dashapi.Crash {
215 func testCrashID(crash *dashapi.Crash) *dashapi.CrashID {
216 return &dashapi.CrashID{
260 cid := &dashapi.CrashID{
268 c.client.ReportingUpdate(&dashapi.BugUpdate{
[all …]
Dfix_test.go36 reply, _ := c.client.ReportingUpdate(&dashapi.BugUpdate{
38 Status: dashapi.BugStatusOpen,
53 c.client.updateBug(rep.ID, dashapi.BugStatusOpen, "")
58 reply, _ = c.client.ReportingUpdate(&dashapi.BugUpdate{
60 Status: dashapi.BugStatusUpstream,
84 c.client.updateBug(rep2.ID, dashapi.BugStatusUpstream, "")
104 reply, _ := c.client.ReportingUpdate(&dashapi.BugUpdate{
106 Status: dashapi.BugStatusOpen,
165 reply, _ := c.client.ReportingUpdate(&dashapi.BugUpdate{
167 Status: dashapi.BugStatusOpen,
[all …]
Dreporting_external.go29 req := new(dashapi.PollBugsRequest)
34 resp := &dashapi.PollBugsResponse{
41 req := new(dashapi.PollClosedRequest)
50 resp := &dashapi.PollClosedResponse{
57 req := new(dashapi.BugUpdate)
62 return &dashapi.BugUpdateReply{
Drepro_test.go19 func testNeedRepro1(t *testing.T, crashCtor func(c *Ctx) *dashapi.Crash) {
37 crash2 := new(dashapi.Crash)
62 func testNeedRepro2(t *testing.T, crashCtor func(c *Ctx) *dashapi.Crash) {
83 func testNeedRepro3(t *testing.T, crashCtor func(c *Ctx) *dashapi.Crash) {
122 func testNeedRepro4(t *testing.T, crashCtor func(c *Ctx) *dashapi.Crash) {
157 func normalCrash(c *Ctx) *dashapi.Crash {
163 func dupCrash(c *Ctx) *dashapi.Crash {
170 c.client.updateBug(reports[1].ID, dashapi.BugStatusDup, reports[0].ID)
174 func closedCrash(c *Ctx) *dashapi.Crash {
178 func closedWithReproCrash(c *Ctx) *dashapi.Crash {
[all …]
Daccess_test.go195 client.updateBug(repInvalid.ID, dashapi.BugStatusUpstream, "")
198 client.updateBug(repInvalid.ID, dashapi.BugStatusInvalid, "")
205 client.updateBug(repFixed.ID, dashapi.BugStatusUpstream, "")
208 reply, _ := client.ReportingUpdate(&dashapi.BugUpdate{
210 Status: dashapi.BugStatusOpen,
234 client.updateBug(repOpen.ID, dashapi.BugStatusUpstream, "")
243 client.updateBug(repPatched.ID, dashapi.BugStatusUpstream, "")
246 reply, _ = client.ReportingUpdate(&dashapi.BugUpdate{
248 Status: dashapi.BugStatusOpen,
261 client.updateBug(repDup.ID, dashapi.BugStatusUpstream, "")
[all …]
Dreporting.go37 func reportingPollBugs(c context.Context, typ string) []*dashapi.BugReport {
53 var reports []*dashapi.BugReport
71 func handleReportBug(c context.Context, typ string, state *ReportingState, bug *Bug) (*dashapi.BugR…
182 func reproStr(level dashapi.ReproLevel) string {
194 bugReporting *BugReporting, config interface{}) (*dashapi.BugReport, error) {
239 rep := &dashapi.BugReport{
332 func incomingCommand(c context.Context, cmd *dashapi.BugUpdate) (bool, string, error) {
343 func incomingCommandImpl(c context.Context, cmd *dashapi.BugUpdate) (bool, string, error) {
359 if cmd.Status == dashapi.BugStatusDup {
426 func incomingCommandTx(c context.Context, now time.Time, cmd *dashapi.BugUpdate,
[all …]
Dutil_test.go236 *dashapi.Dashboard
266 Dashboard: dashapi.NewCustom(client, "", key, c.inst.NewRequest, doer, logger, errorHandler),
270 func (client *apiClient) pollBugs(expect int) []*dashapi.BugReport {
276 reproLevel := dashapi.ReproLevelNone
278 reproLevel = dashapi.ReproLevelC
280 reproLevel = dashapi.ReproLevelSyz
282 reply, _ := client.ReportingUpdate(&dashapi.BugUpdate{
284 Status: dashapi.BugStatusOpen,
294 func (client *apiClient) pollBug() *dashapi.BugReport {
298 func (client *apiClient) updateBug(extID string, status dashapi.BugStatus, dup string) {
[all …]
Dreporting_email.go119 cmd := &dashapi.BugUpdate{
121 Status: dashapi.BugStatusOpen,
122 ReproLevel: dashapi.ReproLevelNone,
126 cmd.ReproLevel = dashapi.ReproLevelC
128 cmd.ReproLevel = dashapi.ReproLevelSyz
156 func emailReport(c context.Context, rep *dashapi.BugReport, templ string) error {
287 cmd := &dashapi.BugUpdate{
295 cmd.Status = dashapi.BugStatusUpdate
297 cmd.Status = dashapi.BugStatusUpstream
299 cmd.Status = dashapi.BugStatusInvalid
[all …]
Dapi.go162 req := new(dashapi.LogEntry)
171 req := new(dashapi.BuilderPollReq)
211 resp := &dashapi.BuilderPollResp{
219 req := new(dashapi.JobPollReq)
230 req := new(dashapi.JobDoneReq)
239 req := new(dashapi.Build)
264 func uploadBuild(c context.Context, now time.Time, ns string, req *dashapi.Build, typ BuildType) (b…
328 titles []string, fixCommits []dashapi.FixCommit) error {
482 req := new(dashapi.BuildErrorReq)
506 req := new(dashapi.Crash)
[all …]
Dentities.go75 ReproLevel dashapi.ReproLevel
95 ReproLevel dashapi.ReproLevel
195 ReproLevelNone = dashapi.ReproLevelNone
196 ReproLevelSyz = dashapi.ReproLevelSyz
197 ReproLevelC = dashapi.ReproLevelC
Djobs.go251 resp := &dashapi.JobPollResp{
267 func doneJob(c context.Context, req *dashapi.JobDoneReq) error {
308 func pollCompletedJobs(c context.Context, typ string) ([]*dashapi.BugReport, error) {
317 var reports []*dashapi.BugReport
334 *dashapi.BugReport, error) {
377 rep := &dashapi.BugReport{
Djobs_test.go118 jobDoneReq := &dashapi.JobDoneReq{
167 jobDoneReq = &dashapi.JobDoneReq{
207 jobDoneReq = &dashapi.JobDoneReq{
252 jobDoneReq = &dashapi.JobDoneReq{
319 jobDoneReq := &dashapi.JobDoneReq{
Dhandler.go135 func formatReproLevel(l dashapi.ReproLevel) string {
Dmain.go111 ReproLevel dashapi.ReproLevel
/external/syzkaller/syz-ci/
Djobs.go25 dash *dashapi.Dashboard
38 jp.dash = dashapi.New(cfg.DashboardClient, cfg.DashboardAddr, cfg.DashboardKey)
100 req *dashapi.JobPollResp
101 resp *dashapi.JobDoneReq
105 func (jp *JobProcessor) process(job *Job) *dashapi.JobDoneReq {
107 build := dashapi.Build{
119 job.resp = &dashapi.JobDoneReq{
Dmanager.go65 dash *dashapi.Dashboard
78 var dash *dashapi.Dashboard
80 dash = dashapi.New(mgrcfg.DashboardClient, cfg.DashboardAddr, mgrcfg.DashboardKey)
409 req := &dashapi.BuildErrorReq{
411 Crash: dashapi.Crash{
498 func (mgr *Manager) createDashboardBuild(info *BuildInfo, imageDir, typ string) (*dashapi.Build, er…
512 build := &dashapi.Build{
533 func (mgr *Manager) pollCommits(buildCommit string) ([]string, []dashapi.FixCommit, error) {
554 var fixCommits []dashapi.FixCommit
564 fixCommits = append(fixCommits, dashapi.FixCommit{
/external/syzkaller/syz-manager/
Dmanager.go65 dash *dashapi.Dashboard
208 mgr.dash = dashapi.New(cfg.DashboardClient, cfg.DashboardAddr, cfg.DashboardKey)
620 dc := &dashapi.Crash{
701 cid := &dashapi.CrashID{
715 cid := &dashapi.CrashID{
773 dc := &dashapi.Crash{
1125 req := &dashapi.ManagerStatsReq{
/external/syzkaller/dashboard/dashapi/
Ddashapi.go6 package dashapi package