Code Monkey home page Code Monkey logo

gazelle's Introduction

What

Returns tab-separated build information, ready to be pasted in the CI spreadsheet.

Root cause analysis

The program looks for errored machines in machines.json and in openstack_nodes.log. If it finds any, it directly prints Provisioned VM in ERROR state.

The rules are coded in pkg/rca/rule.go. When new rules are coded, and add them to the batch in pkg/rca/rca.go.

How

go build ./cmd/cireport
./cireport -job release-openshift-origin-installer-e2e-openstack-serial-4.2 -id 346-345
<meta http-equiv="content-type" content="text/html; charset=utf-8"><meta name="generator" content="cireport"/><table xmlns="http://www.w3.org/1999/xhtml"><tbody><tr><td><a href="https://prow.svc.ci.openshift.org/view/gcs/origin-ci-test/logs/release-openshift-ocp-installer-e2e-openstack-serial-4.2/345">345</a></td><td>2019-12-28 14:37:19 +0000 UTC</td><td>2h11m34s</td><td>SUCCESS</td><td></td><td><a href="https://storage.googleapis.com/origin-ci-test/logs/release-openshift-ocp-installer-e2e-openstack-serial-4.2/345/build-log.txt">https://storage.googleapis.com/origin-ci-test/logs/release-openshift-ocp-installer-e2e-openstack-serial-4.2/345/build-log.txt</a></td><td><a href="https://storage.googleapis.com/origin-ci-test/logs/release-openshift-ocp-installer-e2e-openstack-serial-4.2/345/artifacts/e2e-openstack-serial/machines.json">https://storage.googleapis.com/origin-ci-test/logs/release-openshift-ocp-installer-e2e-openstack-serial-4.2/345/artifacts/e2e-openstack-serial/machines.json</a></td><td><a href="https://storage.googleapis.com/origin-ci-test/logs/release-openshift-ocp-installer-e2e-openstack-serial-4.2/345/artifacts/e2e-openstack-serial/openstack_nodes.log">https://storage.googleapis.com/origin-ci-test/logs/release-openshift-ocp-installer-e2e-openstack-serial-4.2/345/artifacts/e2e-openstack-serial/openstack_nodes.log</a></td><td>cireport</td><td></td></tr></tbody></table>
<meta http-equiv="content-type" content="text/html; charset=utf-8"><meta name="generator" content="cireport"/><table xmlns="http://www.w3.org/1999/xhtml"><tbody><tr><td><a href="https://prow.svc.ci.openshift.org/view/gcs/origin-ci-test/logs/release-openshift-ocp-installer-e2e-openstack-serial-4.2/346">346</a></td><td>2019-12-29 02:38:10 +0000 UTC</td><td>2h22m1s</td><td>FAILURE</td><td></td><td><a href="https://storage.googleapis.com/origin-ci-test/logs/release-openshift-ocp-installer-e2e-openstack-serial-4.2/346/build-log.txt">https://storage.googleapis.com/origin-ci-test/logs/release-openshift-ocp-installer-e2e-openstack-serial-4.2/346/build-log.txt</a></td><td><a href="https://storage.googleapis.com/origin-ci-test/logs/release-openshift-ocp-installer-e2e-openstack-serial-4.2/346/artifacts/e2e-openstack-serial/machines.json">https://storage.googleapis.com/origin-ci-test/logs/release-openshift-ocp-installer-e2e-openstack-serial-4.2/346/artifacts/e2e-openstack-serial/machines.json</a></td><td><a href="https://storage.googleapis.com/origin-ci-test/logs/release-openshift-ocp-installer-e2e-openstack-serial-4.2/346/artifacts/e2e-openstack-serial/openstack_nodes.log">https://storage.googleapis.com/origin-ci-test/logs/release-openshift-ocp-installer-e2e-openstack-serial-4.2/346/artifacts/e2e-openstack-serial/openstack_nodes.log</a></td><td>cireport</td><td>Provisioned VM in ERROR state</td></tr></tbody></table>

This command gets entries ready for pasting into the spreadsheet, given $CLIPBOARD-COPY your favourite clipboard "copy" command:

./cireport -job release-openshift-ocp-installer-e2e-openstack-serial-4.2 -id 346-345 | tee /dev/stderr | "$CLIPBOARD-COPY"

gazelle's People

Contributors

mandre avatar pierreprinetti avatar tomassedovic avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.