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

Agent finished notification is sent after scheduler has disposed the agent

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • master
    • master
    • Agent, Scheduler
    • None
    • Ifa53d9581a6dce6bade176c26a5ddb9df34ffef7

    Description

      After workitem has been done, it will send agent finished notification to scheduler which will cause error:

      2019-04-16 14:23:38,553.553 DEBUG:workitem.py:310: Work item (buildKey: qt/qtbase/8e9362ff62a068f0e9938fc82dcdbf27ad61af88/LinuxUbuntu_18_04x86_64LinuxUbuntu_18_04x86_64GCCqtci-linux-Ubuntu-18.04-x86_64-eff6b0LicenseCheck_TestOnly/2a48a3b7dcb9652b1532a3ad14de7580b5b9b1ee/Test) changed state from Running to Done
      2019-04-16 14:23:38,557.557 DEBUG:opennebulahardwarepool.py:207: Dispose VM: 1136786
      2019-04-16 14:23:38,562.562 ERROR:workitem.py:520: Agent status notification appeared for already done item (buildKey: qt/qtbase/8e9362ff62a068f0e9938fc82dcdbf27ad61af88/LinuxUbuntu_18_04x86_64LinuxUbuntu_18_04x86_64GCCqtci-linux-Ubuntu-18.04-x86_64-eff6b0LicenseCheck_TestOnly/2a48a3b7dcb9652b1532a3ad14de7580b5b9b1ee/Test, result: {  'agentAddress': None,
         'agentHost': None,
         'agentId': '1555424501-0',
         'buildKey': 'qt/qtbase/8e9362ff62a068f0e9938fc82dcdbf27ad61af88/LinuxUbuntu_18_04x86_64LinuxUbuntu_18_04x86_64GCCqtci-linux-Ubuntu-18.04-x86_64-eff6b0LicenseCheck_TestOnly/2a48a3b7dcb9652b1532a3ad14de7580b5b9b1ee/Test',
         'failedExecutionPhase': None,
         'failureSummary': None,
         'failureType': None,
         'state': 2,
         'testResultStatistics': TestResultStatistics(failedTests=None, flakyTests=None, crashedTests=None, blacklistedTests=None, blacklistedFailedTests_deprecated=None)})
      

      This seems to be a regression caused by commit d131c61905c7a6adace43a86fe6857a06980d6a6.

       

      To reproduce:

      1. checkout coin revision d131c61905c7a6adace43a86fe6857a06980d6a6 
      2. start coin
      3. schedule qtbase license check
      4. wait until integration finishes
      5. check tmux or coin.log

      Attachments

        For Gerrit Dashboard: COIN-2
        # Subject Branch Project Status CR V

        Activity

          People

            moamen Moamen Ibrahim (Inactive)
            aakeskimo Aapo Keskimölö
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There is 1 open Gerrit change