#260 The summary text can be sometimes confusing
Closed: Fixed 5 years ago Opened 5 years ago by lholecek.

Even though there are failing tests, Greenwave mentions only missing tests in summary.

Example:

$ http -b https://greenwave.stg.fedoraproject.org/api/v1.0/decision <<< '{"product_version": "fedora-28", "decision_context": "bodhi_update_push_stable", "subject_type": "koji_build", "subject_identifier": "python-arrow-0.8.0-6.fc28", "verbose": true}'
{
    "applicable_policies": [
        "taskotron_release_critical_tasks_for_stable",
        "atomic_ci_pipeline_results_stable"
    ],
    "policies_satisfied": false,
    "results": [],
    "satisfied_requirements": [
        {
            "subject_identifier": "python-arrow-0.8.0-6.fc28",
            "subject_type": "koji_build",
            "testcase": "org.centos.prod.ci.pipeline.complete",
            "type": "test-case-not-applicable"
        }
    ],
    "summary": "1 of 3 required test results missing",
    "unsatisfied_requirements": [
        {
            "item": {
                "item": "python-arrow-0.8.0-6.fc28",
                "type": "koji_build"
            },
            "scenario": null,
            "subject_identifier": "python-arrow-0.8.0-6.fc28",
            "subject_type": "koji_build",
            "testcase": "dist.rpmdeplint",
            "type": "test-result-missing"
        },
        {
            "details": "Missing !Policy tag",
            "subject_identifier": "python-arrow-0.8.0-6.fc28",
            "subject_type": "koji_build",
            "testcase": "invalid-gating-yaml",
            "type": "invalid-gating-yaml"
        }
    ],
    "waivers": []
}

Login to comment on this ticket.

Metadata