Uploaded image for project: 'Coin'
  1. Coin
  2. COIN-68

Getting Grafana URL causes publisher to panic

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • None
    • master
    • Other
    • None

    Description

       

      publisher:2019/01/02 07:04:07.328808 integratorparser.go:42: Uploading state: qt/qtconnectivity/82f990b2650b8f3f069cdffe5efe66fbfd76fdd1/LinuxUbuntu_16_04x86_64LinuxUbuntu_16_04x86_64GCCqtci-linux-Ubuntu-16.04-x86_64-2-29771dDeveloperBuild_OutOfSourceBuild_QtLibInfix_QtNamespace_BuildExamples/978babdafd5ac56c771d6ca78bdb7762aadf20df/test_1547963053/state.thrift_bin
      panic: runtime error: index out of range [recovered]
              panic: runtime error: index out of rangegoroutine 14589 [running]:
      text/template.errRecover(0xc420685cb8)
              /home/vmbuilder/go/src/text/template/exec.go:140 +0x1ec
      panic(0x8361c0, 0xabcb70)
              /home/vmbuilder/go/src/runtime/panic.go:489 +0x2cf
      main.getGrafanaURL(0xc4202ae120, 0x0, 0x0, 0x0, 0x0)
              /home/vmbuilder/qt-ci/src/services/publisher/gerrit.go:72 +0x7b8
      reflect.Value.call(0x8261c0, 0x8c69a8, 0x13, 0x8aa10c, 0x4, 0xc42026b240, 0x1, 0x1, 0xa9db20, 0x83a800, ...)
              /home/vmbuilder/go/src/reflect/value.go:434 +0x91f
      reflect.Value.Call(0x8261c0, 0x8c69a8, 0x13, 0xc42026b240, 0x1, 0x1, 0xa99c60, 0xc4200166c0, 0x8a8d60)
              /home/vmbuilder/go/src/reflect/value.go:302 +0xa4
      text/template.(*state).evalCall(0xc420685c38, 0x7ff120, 0xc420311050, 0x16, 0x8261c0, 0x8c69a8, 0x13, 0xa99ba0, 0xc420016660, 0x8c625b, ...)
              /home/vmbuilder/go/src/text/template/exec.go:668 +0x51f
      text/template.(*state).evalFunction(0xc420685c38, 0x7ff120, 0xc420311050, 0x16, 0xc420016690, 0xa99ba0, 0xc420016660, 0xc42000c3a0, 0x2, 0x2, ...)
              /home/vmbuilder/go/src/text/template/exec.go:536 +0x18e
      text/template.(*state).evalCommand(0xc420685c38, 0x7ff120, 0xc420311050, 0x16, 0xc420016660, 0x0, 0x0, 0x0, 0xc420685a28, 0xc420685ab0, ...)
              /home/vmbuilder/go/src/text/template/exec.go:433 +0x6cd
      text/template.(*state).evalPipeline(0xc420685c38, 0x7ff120, 0xc420311050, 0x16, 0xc42001a280, 0xc4200927d0, 0xc420016120, 0x0)
              /home/vmbuilder/go/src/text/template/exec.go:406 +0xf2
      text/template.(*state).walk(0xc420685c38, 0x7ff120, 0xc420311050, 0x16, 0xa99a80, 0xc4200166f0)
              /home/vmbuilder/go/src/text/template/exec.go:232 +0x55a
      text/template.(*state).walk(0xc420685c38, 0x7ff120, 0xc420311050, 0x16, 0xa99d80, 0xc42009ffb0)
              /home/vmbuilder/go/src/text/template/exec.go:240 +0x139
      text/template.(*Template).execute(0xc4200b0700, 0xa92b80, 0xc420cbcd90, 0x7ff120, 0xc420311050, 0x0, 0x0)
              /home/vmbuilder/go/src/text/template/exec.go:195 +0x20a
      text/template.(*Template).Execute(0xc4200b0700, 0xa92b80, 0xc420cbcd90, 0x7ff120, 0xc420311050, 0x0, 0x0)
              /home/vmbuilder/go/src/text/template/exec.go:178 +0x53
      main.formatLogMessageForGerritIntegration(0xc4202ae120, 0xc420c435f0, 0xa96ec0, 0xc420c435f0, 0x0, 0x0)
              /home/vmbuilder/qt-ci/src/services/publisher/gerrit.go:180 +0x46e
      main.selectGerritCommands(0xc420180270, 0x26, 0xc4203ca0e0, 0xc4202ae120, 0xc42010c240, 0x843b60, 0xc420242918, 0xc420242918, 0x0)
              /home/vmbuilder/qt-ci/src/services/publisher/gerrit.go:234 +0x70
      main.approveChangeInGerrit(0xc420180270, 0x26, 0xc4203ca0e0, 0xc4202ae120, 0x0, 0x0)
              /home/vmbuilder/qt-ci/src/services/publisher/gerrit.go:290 +0x67
      main.appMain.func1(0xc420180270, 0x26, 0xc420264ac0)
              /home/vmbuilder/qt-ci/src/services/publisher/publisher.go:64 +0x52
      created by main.appMain
              /home/vmbuilder/qt-ci/src/services/publisher/publisher.go:71 +0x5ba
      
      

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            tosaario Toni Saario
            aakeskimo Aapo Keskimölö
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes