Browse Source

tests: add the suite to debci results

devuan-deployment
Paul Gevers 1 year ago
parent
commit
964ecaf045
No known key found for this signature in database GPG Key ID: 9C5C99EB05BD750A
12 changed files with 30 additions and 30 deletions
  1. +4
    -4
      tests/policy-test-data/autopkgtest/fail-old-test-result/debci.json
  2. +2
    -2
      tests/policy-test-data/autopkgtest/fail-to-fail/debci.json
  3. +1
    -1
      tests/policy-test-data/autopkgtest/fail-to-new/debci.json
  4. +3
    -3
      tests/policy-test-data/autopkgtest/neutral-to-fail-pending-retest/debci.json
  5. +2
    -2
      tests/policy-test-data/autopkgtest/neutral-to-fail/debci.json
  6. +1
    -1
      tests/policy-test-data/autopkgtest/neutral-to-new/debci.json
  7. +2
    -2
      tests/policy-test-data/autopkgtest/pass-to-fail/debci.json
  8. +2
    -2
      tests/policy-test-data/autopkgtest/pass-to-neutral/debci.json
  9. +1
    -1
      tests/policy-test-data/autopkgtest/pass-to-new-with-breaks/debci.json
  10. +1
    -1
      tests/policy-test-data/autopkgtest/pass-to-new/debci.json
  11. +2
    -2
      tests/policy-test-data/autopkgtest/pass-to-pass/debci.json
  12. +9
    -9
      tests/test_autopkgtest.py

+ 4
- 4
tests/policy-test-data/autopkgtest/fail-old-test-result/debci.json View File

@@ -1,8 +1,8 @@
{"results":
[
{"trigger": "migration-reference/0", "package": "broken", "arch": "amd64", "version": "1.0", "status": "pass", "run_id": "1", "updated_at": "2018-10-03T21:12:00.000Z"},
{"trigger": "broken/2.0", "package": "broken", "arch": "amd64", "version": "2.0", "status": "pass", "run_id": "2", "updated_at": "2018-10-03T21:12:00.000Z"},
{"trigger": "migration-reference/0", "package": "inter", "arch": "amd64", "version": "1.0", "status": "pass", "run_id": "3", "updated_at": "2018-10-03T21:12:00.000Z"},
{"trigger": "broken/2.0", "package": "inter", "arch": "amd64", "version": "0.9", "status": "pass", "run_id": "4", "updated_at": "2018-10-03T21:12:00.000Z"}
{"trigger": "migration-reference/0", "suite": "testing", "package": "broken", "arch": "amd64", "version": "1.0", "status": "pass", "run_id": "1", "updated_at": "2018-10-03T21:12:00.000Z"},
{"trigger": "broken/2.0", "suite": "testing", "package": "broken", "arch": "amd64", "version": "2.0", "status": "pass", "run_id": "2", "updated_at": "2018-10-03T21:12:00.000Z"},
{"trigger": "migration-reference/0", "suite": "testing", "package": "inter", "arch": "amd64", "version": "1.0", "status": "pass", "run_id": "3", "updated_at": "2018-10-03T21:12:00.000Z"},
{"trigger": "broken/2.0", "suite": "testing", "package": "inter", "arch": "amd64", "version": "0.9", "status": "pass", "run_id": "4", "updated_at": "2018-10-03T21:12:00.000Z"}
]
}

+ 2
- 2
tests/policy-test-data/autopkgtest/fail-to-fail/debci.json View File

@@ -1,6 +1,6 @@
{"results":
[
{"trigger": "migration-reference/0", "package": "pkg", "arch": "amd64", "version": "2.0", "status": "fail", "run_id": "1", "updated_at": "2018-10-03T21:12:00.000Z"},
{"trigger": "pkg/2.0", "package": "pkg", "arch": "amd64", "version": "2.0", "status": "fail", "run_id": "2", "updated_at": "2018-10-03T21:12:00.000Z"}
{"trigger": "migration-reference/0", "suite": "testing", "package": "pkg", "arch": "amd64", "version": "2.0", "status": "fail", "run_id": "1", "updated_at": "2018-10-03T21:12:00.000Z"},
{"trigger": "pkg/2.0", "suite": "testing", "package": "pkg", "arch": "amd64", "version": "2.0", "status": "fail", "run_id": "2", "updated_at": "2018-10-03T21:12:00.000Z"}
]
}

+ 1
- 1
tests/policy-test-data/autopkgtest/fail-to-new/debci.json View File

@@ -1,5 +1,5 @@
{"results":
[
{"trigger": "migration-reference/0", "package": "pkg", "arch": "amd64", "version": "1.0", "status": "fail", "run_id": "1", "updated_at": "2018-10-03T21:12:00.000Z"}
{"trigger": "migration-reference/0", "suite": "testing", "package": "pkg", "arch": "amd64", "version": "1.0", "status": "fail", "run_id": "1", "updated_at": "2018-10-03T21:12:00.000Z"}
]
}

+ 3
- 3
tests/policy-test-data/autopkgtest/neutral-to-fail-pending-retest/debci.json View File

@@ -1,7 +1,7 @@
{"results":
[
{"trigger": "migration-reference/0", "package": "pkg", "arch": "amd64", "version": "2.0", "status": "neutral", "run_id": "1", "updated_at": "2018-10-03T21:12:00.000Z"},
{"trigger": "pkg/2.0", "package": "pkg", "arch": "amd64", "version": "2.0", "status": "fail", "run_id": "2", "updated_at": "2018-10-03T21:12:00.000Z"},
{"trigger": "pkg/2.0", "package": "pkg", "arch": "amd64", "version": "2.0", "status": null, "run_id": "3", "updated_at": "2018-10-03T21:13:00.000Z"}
{"trigger": "migration-reference/0", "suite": "testing", "package": "pkg", "arch": "amd64", "version": "2.0", "status": "neutral", "run_id": "1", "updated_at": "2018-10-03T21:12:00.000Z"},
{"trigger": "pkg/2.0", "suite": "testing", "package": "pkg", "arch": "amd64", "version": "2.0", "status": "fail", "run_id": "2", "updated_at": "2018-10-03T21:12:00.000Z"},
{"trigger": "pkg/2.0", "suite": "testing", "package": "pkg", "arch": "amd64", "version": "2.0", "status": null, "run_id": "3", "updated_at": "2018-10-03T21:13:00.000Z"}
]
}

+ 2
- 2
tests/policy-test-data/autopkgtest/neutral-to-fail/debci.json View File

@@ -1,6 +1,6 @@
{"results":
[
{"trigger": "migration-reference/0", "package": "pkg", "arch": "amd64", "version": "2.0", "status": "neutral", "run_id": "1", "updated_at": "2018-10-03T21:12:00.000Z"},
{"trigger": "pkg/2.0", "package": "pkg", "arch": "amd64", "version": "2.0", "status": "fail", "run_id": "2", "updated_at": "2018-10-03T21:12:00.000Z"}
{"trigger": "migration-reference/0", "suite": "testing", "package": "pkg", "arch": "amd64", "version": "2.0", "status": "neutral", "run_id": "1", "updated_at": "2018-10-03T21:12:00.000Z"},
{"trigger": "pkg/2.0", "suite": "testing", "package": "pkg", "arch": "amd64", "version": "2.0", "status": "fail", "run_id": "2", "updated_at": "2018-10-03T21:12:00.000Z"}
]
}

+ 1
- 1
tests/policy-test-data/autopkgtest/neutral-to-new/debci.json View File

@@ -1,5 +1,5 @@
{"results":
[
{"trigger": "migration-reference/0", "package": "pkg", "arch": "amd64", "version": "2.0", "status": "neutral", "run_id": "1", "updated_at": "2018-10-03T21:12:00.000Z"}
{"trigger": "migration-reference/0", "suite": "testing", "package": "pkg", "arch": "amd64", "version": "2.0", "status": "neutral", "run_id": "1", "updated_at": "2018-10-03T21:12:00.000Z"}
]
}

+ 2
- 2
tests/policy-test-data/autopkgtest/pass-to-fail/debci.json View File

@@ -1,6 +1,6 @@
{"results":
[
{"trigger": "migration-reference/0", "package": "pkg", "arch": "amd64", "version": "1.0", "status": "pass", "run_id": "1", "updated_at": "2018-10-03T21:12:00.000Z"},
{"trigger": "pkg/2.0", "package": "pkg", "arch": "amd64", "version": "2.0", "status": "fail", "run_id": "2", "updated_at": "2018-10-03T21:12:00.000Z"}
{"trigger": "migration-reference/0", "suite": "testing", "package": "pkg", "arch": "amd64", "version": "1.0", "status": "pass", "run_id": "1", "updated_at": "2018-10-03T21:12:00.000Z"},
{"trigger": "pkg/2.0", "suite": "testing", "package": "pkg", "arch": "amd64", "version": "2.0", "status": "fail", "run_id": "2", "updated_at": "2018-10-03T21:12:00.000Z"}
]
}

+ 2
- 2
tests/policy-test-data/autopkgtest/pass-to-neutral/debci.json View File

@@ -1,6 +1,6 @@
{"results":
[
{"trigger": "migration-reference/0", "package": "pkg", "arch": "amd64", "version": "1.0", "status": "pass", "run_id": "1", "updated_at": "2018-10-03T21:12:00.000Z"},
{"trigger": "pkg/2.0", "package": "pkg", "arch": "amd64", "version": "2.0", "status": "neutral", "run_id": "2", "updated_at": "2018-10-03T21:12:00.000Z"}
{"trigger": "migration-reference/0", "suite": "testing", "package": "pkg", "arch": "amd64", "version": "1.0", "status": "pass", "run_id": "1", "updated_at": "2018-10-03T21:12:00.000Z"},
{"trigger": "pkg/2.0", "suite": "testing", "package": "pkg", "arch": "amd64", "version": "2.0", "status": "neutral", "run_id": "2", "updated_at": "2018-10-03T21:12:00.000Z"}
]
}

+ 1
- 1
tests/policy-test-data/autopkgtest/pass-to-new-with-breaks/debci.json View File

@@ -1,5 +1,5 @@
{"results":
[
{"trigger": "migration-reference/0", "package": "pkg", "arch": "amd64", "version": "1.0", "status": "pass", "run_id": "1", "updated_at": "2018-10-03T21:12:00.000Z"}
{"trigger": "migration-reference/0", "suite": "testing", "package": "pkg", "arch": "amd64", "version": "1.0", "status": "pass", "run_id": "1", "updated_at": "2018-10-03T21:12:00.000Z"}
]
}

+ 1
- 1
tests/policy-test-data/autopkgtest/pass-to-new/debci.json View File

@@ -1,5 +1,5 @@
{"results":
[
{"trigger": "migration-reference/0", "package": "pkg", "arch": "amd64", "version": "1.0", "status": "pass", "run_id": "1", "updated_at": "2018-10-03T21:12:00.000Z"}
{"trigger": "migration-reference/0", "suite": "testing", "package": "pkg", "arch": "amd64", "version": "1.0", "status": "pass", "run_id": "1", "updated_at": "2018-10-03T21:12:00.000Z"}
]
}

+ 2
- 2
tests/policy-test-data/autopkgtest/pass-to-pass/debci.json View File

@@ -1,6 +1,6 @@
{"results":
[
{"trigger": "migration-reference/0", "package": "pkg", "arch": "amd64", "version": "1.0", "status": "pass", "run_id": "1", "updated_at": "2018-10-03T21:12:00.000Z"},
{"trigger": "pkg/2.0", "package": "pkg", "arch": "amd64", "version": "2.0", "status": "pass", "run_id": "2", "updated_at": "2018-10-03T21:12:00.000Z"}
{"trigger": "migration-reference/0", "suite": "testing", "package": "pkg", "arch": "amd64", "version": "1.0", "status": "pass", "run_id": "1", "updated_at": "2018-10-03T21:12:00.000Z"},
{"trigger": "pkg/2.0", "suite": "testing", "package": "pkg", "arch": "amd64", "version": "2.0", "status": "pass", "run_id": "2", "updated_at": "2018-10-03T21:12:00.000Z"}
]
}

+ 9
- 9
tests/test_autopkgtest.py View File

@@ -2445,23 +2445,23 @@ class T(TestBase):
"until": 12345,
"results": [
{"trigger": "green/2", "package": "darkgreen", "arch": "i386", "version": "1", "status": "pass",
"run_id": "100000", "updated_at": "2018-10-04T11:18:00.000Z"},
"run_id": "100000", "suite": "testing", "updated_at": "2018-10-04T11:18:00.000Z"},
{"trigger": "green/2", "package": "darkgreen", "arch": "amd64", "version": "1", "status": "pass",
"run_id": "100000", "updated_at": "2018-10-04T11:18:01.000Z"},
"run_id": "100000", "suite": "testing", "updated_at": "2018-10-04T11:18:01.000Z"},
{"trigger": "green/1", "package": "lightgreen", "arch": "i386", "version": "1", "status": "pass",
"run_id": "101000", "updated_at": "2018-10-04T11:18:02.000Z"},
"run_id": "101000", "suite": "testing", "updated_at": "2018-10-04T11:18:02.000Z"},
{"trigger": "green/2", "package": "lightgreen", "arch": "i386", "version": "1", "status": "fail",
"run_id": "101001", "updated_at": "2018-10-04T11:18:03.000Z"},
"run_id": "101001", "suite": "testing", "updated_at": "2018-10-04T11:18:03.000Z"},
{"trigger": "green/1", "package": "lightgreen", "arch": "amd64", "version": "1", "status": "pass",
"run_id": "101000", "updated_at": "2018-10-04T11:18:04.000Z"},
"run_id": "101000", "suite": "testing", "updated_at": "2018-10-04T11:18:04.000Z"},
{"trigger": "green/2", "package": "lightgreen", "arch": "amd64", "version": "1", "status": "fail",
"run_id": "101001", "updated_at": "2018-10-04T11:18:05.000Z"},
"run_id": "101001", "suite": "testing", "updated_at": "2018-10-04T11:18:05.000Z"},
{"trigger": "green/2", "package": "green", "arch": "i386", "version": "2", "status": "pass",
"run_id": "102000", "updated_at": "2018-10-04T11:18:06.000Z"},
"run_id": "102000", "suite": "testing", "updated_at": "2018-10-04T11:18:06.000Z"},
{"trigger": "green/1", "package": "green", "arch": "amd64", "version": "2", "status": "pass",
"run_id": "102000", "updated_at": "2018-10-04T11:18:07.000Z"},
"run_id": "102000", "suite": "testing", "updated_at": "2018-10-04T11:18:07.000Z"},
{"trigger": "green/2", "package": "green", "arch": "amd64", "version": "2", "status": "fail",
"run_id": "102001", "updated_at": "2018-10-04T11:18:08.000Z"}
"run_id": "102001", "suite": "testing", "updated_at": "2018-10-04T11:18:08.000Z"}
]
}
''')


Loading…
Cancel
Save