Details
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:
- checkout coin revision d131c61905c7a6adace43a86fe6857a06980d6a6
- start coin
- schedule qtbase license check
- wait until integration finishes
- check tmux or coin.log
Attachments
For Gerrit Dashboard: COIN-2 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
262184,3 | WIP: Cleaner fix for agentFinishedNotification | master | qtqa/tqtc-coin-ci | Status: NEW | -2 | 0 |