#775 Duplicate State Trace Entries
Closed Opened by mprahl.

As part of Ralph and I's testing in MBS stage, we changed the default git URL for components to be a non-existent URL so that the build would fail in the "init" state. We then changed the default git URL for components back and resubmitted the module. The build did what we expected but the trace entries contained odd duplicates:

  "state_trace": [
    {
      "reason": null, 
      "state": 0, 
      "state_name": "init", 
      "time": "2017-11-07T13:58:01Z"
    }, 
    {
      "reason": "Failed to get the latest commit for git://notarealurlmprahl.com/rpms/perl-Tangerine#master\nFailed to get the latest commit for git://notarealurlmprahl.com/rpms/tangerine#master\nFailed to get the latest commit for git://notarealurlmprahl.com/rpms/perl-List-Compare#master\n", 
      "state": 4, 
      "state_name": "failed", 
      "time": "2017-11-07T14:00:07Z"
    }, 
    {
      "reason": "Resubmitted by mprahl", 
      "state": 0, 
      "state_name": "init", 
      "time": "2017-11-07T14:01:33Z"
    }, 
    {
      "reason": null, 
      "state": 1, 
      "state_name": "wait", 
      "time": "2017-11-07T14:01:38Z"
    }, 
    {
      "reason": null, 
      "state": 2, 
      "state_name": "build", 
      "time": "2017-11-07T14:01:44Z"
    }, 
    {
      "reason": "Resubmitted by mprahl", 
      "state": 2, 
      "state_name": "build", 
      "time": "2017-11-07T14:01:44Z"
    }, 
    {
      "reason": null, 
      "state": 3, 
      "state_name": "done", 
      "time": "2017-11-07T14:01:49Z"
    }, 
    {
      "reason": "Resubmitted by mprahl", 
      "state": 3, 
      "state_name": "done", 
      "time": "2017-11-07T14:01:49Z"
    }, 
    {
      "reason": null, 
      "state": 5, 
      "state_name": "ready", 
      "time": "2017-11-07T14:01:54Z"
    }
  ],

The whole module build can be seen at:
https://mbs.stg.fedoraproject.org/module-build-service/1/module-builds/46?verbose=True


Metadata Update from @mprahl:
- Issue assigned to mprahl

PR #780 fixes this.

Metadata Update from @mprahl:
- Issue status updated to: Closed (was: Open)

This issue has been migrated to Fedora Forge:
https://forge.fedoraproject.org/koji/mbs/issues/775

Please continue any further discussion there.

Metadata