orbitalci / orbital

Orbital is a self-hosted CI system for solo/small consulting dev teams. Written in Rust.
GNU General Public License v3.0
29 stars 2 forks source link

Build start times change while in running state #219

Closed tjtelan closed 4 years ago

tjtelan commented 5 years ago

Users think that they are losing builds because the start times of their builds change several times on about a 15 min interval.

Before:

$ ocelot summary -acct-repo level11consulting/porter-print-task

+----------+-------------------+--------------------------+---------------------+--------+--------+------------------------------------------+
| BUILD ID |       REPO        |      BUILD DURATION      |     START TIME      | RESULT | BRANCH |                   HASH                   |
+----------+-------------------+--------------------------+---------------------+--------+--------+------------------------------------------+
| 3072     | porter-print-task | running                  | Tue Apr 23 12:44:38 | N/A    | master | 8e4088932738f695bbedacc2b615b39b7374d543 |

After:

$ ocelot summary -acct-repo level11consulting/porter-print-task

+----------+-------------------+--------------------------+---------------------+--------+--------+------------------------------------------+
| BUILD ID |       REPO        |      BUILD DURATION      |     START TIME      | RESULT | BRANCH |                   HASH                   |
+----------+-------------------+--------------------------+---------------------+--------+--------+------------------------------------------+
| 3072     | porter-print-task | running                  | Tue Apr 23 12:59:38 | N/A    | master | 8e4088932738f695bbedacc2b615b39b7374d543 |
tjtelan commented 5 years ago

Duration time seems to change shortly after changing result state too.

The change isn't dramatic but it's a little weird that it happens at all. I'm not sure if this is indicative of a problem.

Before:

$ ocelot summary -acct-repo level11consulting/porter-print-task

+----------+-------------------+---------------------------+---------------------+--------+--------+------------------------------------------+
| BUILD ID |       REPO        |      BUILD DURATION       |     START TIME      | RESULT | BRANCH |                   HASH                   |
+----------+-------------------+---------------------------+---------------------+--------+--------+------------------------------------------+
| 3072     | porter-print-task | 50 minutes and 48 seconds | Tue Apr 23 13:14:38 | N/A    | master | 8e4088932738f695bbedacc2b615b39b7374d543 |

After


$ ocelot summary -acct-repo level11consulting/porter-print-task

+----------+-------------------+---------------------------+---------------------+--------+--------+------------------------------------------+
| BUILD ID |       REPO        |      BUILD DURATION       |     START TIME      | RESULT | BRANCH |                   HASH                   |
+----------+-------------------+---------------------------+---------------------+--------+--------+------------------------------------------+
| 3072     | porter-print-task | 47 minutes and 59 seconds | Tue Apr 23 13:14:38 | FAIL   | master | 8e4088932738f695bbedacc2b615b39b7374d543 |```