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

Jenkins can create 2 integration requests with same id

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: master
    • Fix Version/s: None
    • Component/s: Other
    • Labels:
      None
    • Platform/s:
      All

      Description

      Coin_cloner is creating unique id for integration request, but currently there are 2 active Jenkins instances running (Packaging and RTA) and id is unique per instance.  Id is created from time, and both Jenkins instances can create Id at the same time and when 2 integration requests using same id, integrations are messed up and probably failing. 

      Nov 05 23:05:16 personal-coins env[105540]: INFO:workitemfactory.py:581(106530): Starting new integration for qtsdk/qtsdk targeting 5.9:
      Nov 05 23:05:16 personal-coins env[105540]: {  'abortTestingOnFirstFailure': False,
      Nov 05 23:05:16 personal-coins env[105540]:    'build_id': None,
      Nov 05 23:05:16 personal-coins env[105540]:    'codeReviewHost': '',
      Nov 05 23:05:16 personal-coins env[105540]:    'commentText': 'Offline_Mac 5.9',
      Nov 05 23:05:16 personal-coins env[105540]:    'destination_branch': '5.9',
      Nov 05 23:05:16 personal-coins env[105540]:    'forceRun': [0],
      Nov 05 23:05:16 personal-coins env[105540]:    'id': 'web_qt_jenkins_1572995108',
      Nov 05 23:05:16 personal-coins env[105540]:    'keepGoingOnFailure': True,
      Nov 05 23:05:16 personal-coins env[105540]:    'modules': [],
      Nov 05 23:05:16 personal-coins env[105540]:    'product': RepositoryState(gerritInstance='qt-project', project='qt/qt5', sha1='5.9', dependencies=
      Nov 05 23:05:16 personal-coins env[105540]:    'protectFromGarbageCollector': None,
      Nov 05 23:05:16 personal-coins env[105540]:    'repositoryState': RepositoryState(gerritInstance='qt-project', project='qtsdk/qtsdk', sha1='master
      Nov 05 23:05:16 personal-coins env[105540]:    'resolve_templates': False,
      Nov 05 23:05:16 personal-coins env[105540]:    'reviewAction': 0,
      Nov 05 23:05:16 personal-coins env[105540]:    'saveVmOnFailure': None,
      Nov 05 23:05:16 personal-coins env[105540]:    'source_ref': 'master',
      Nov 05 23:05:16 personal-coins env[105540]:    'testedChanges': None,
      Nov 05 23:05:16 personal-coins env[105540]:    'type': 0,
      Nov 05 23:05:16 personal-coins env[105540]:    'username': 'rta',
      Nov 05 23:05:16 personal-coins env[105540]:    'workItemConfigurations': [  WorkItemConfiguration(type=0, configureArgs=[], toolsets=[], vmTemplat
      Nov 05 23:05:16 personal-coins env[105540]: webserver:websocket.go:145: Task inotify event: notify.Create: "/home/mapaaso/Coin/ci-working-dir/stor
      Nov 05 23:05:16 personal-coins env[105540]: webserver:websocket.go:181: update:  {update integration integration/qtsdk/qtsdk/tasks/web_qt_jenkins_
      Nov 05 23:05:16 personal-coins env[105540]: webserver:websocket.go:145: Task inotify event: notify.Create: "/home/mapaaso/Coin/ci-working-dir/stor
      Nov 05 23:05:16 personal-coins env[105540]: webserver:websocket.go:181: update:  {update integration integration/qtsdk/qtsdk/tasks/web_qt_jenkins_
      Nov 05 23:05:16 personal-coins env[105540]: DEBUG:workitemfactory.py:588(106530): Integration web_qt_jenkins_1572995108 final item created
      Nov 05 23:05:16 personal-coins env[105540]: DEBUG:workitem.py:336(106530): Starting work item, buildKey: web_qt_jenkins_1572995108
      Nov 05 23:05:16 personal-coins env[105540]: DEBUG:workitem.py:314(106530): Work item (buildKey: web_qt_jenkins_1572995108) changed state from New 
      Nov 05 23:05:17 personal-coins env[105540]: webserver:websocket.go:145: Task inotify event: notify.Create: "/home/mapaaso/Coin/ci-working-dir/stor
      Nov 05 23:05:17 personal-coins env[105540]: webserver:websocket.go:181: update:  {update integration integration/qtsdk/qtsdk/tasks/web_qt_jenkins_
      Nov 05 23:05:17 personal-coins env[105540]: DEBUG:workitem.py:1207(106530): Final item started: web_qt_jenkins_1572995108
      Nov 05 23:05:17 personal-coins env[105540]: publisher:integratorparser.go:38: Uploading task: qtsdk/qtsdk/tasks/web_qt_jenkins_1572995108.thrift_b
      Nov 05 23:05:17 personal-coins env[105540]: publisher:publisher.go:65:     Running task web_qt_jenkins_1572995108 status published.
      Nov 05 23:05:18 personal-coins env[105540]: DEBUG:workitemfactory.py:590(106530): Integration web_qt_jenkins_1572995108 resolved repository: Repos
      Nov 05 23:05:18 personal-coins env[105540]: DEBUG:workitemfactory.py:608(106530): Integration web_qt_jenkins_1572995108 is guessing product detail
      Nov 05 23:05:19 personal-coins env[105540]: DEBUG:workitemfactory.py:615(106530): Integration web_qt_jenkins_1572995108 starts resolving its submo
      Nov 05 23:05:19 personal-coins env[105540]: DEBUG:workitemfactory.py:624(106530): Integration web_qt_jenkins_1572995108 starts resolving 1 submodu
      Nov 05 23:05:20 personal-coins env[105540]: DEBUG:workitemfactory.py:630(106530): Integration web_qt_jenkins_1572995108 is resolving configuration
      Nov 05 23:05:20 personal-coins env[105540]: DEBUG:repositorymanager.py:596(106530): Skipping reading submodule: ['qtsystems', 'qtfeedback', 'qtdoc
      Nov 05 23:05:21 personal-coins env[105540]: webserver:api.go:629: Build request:  {BuildAndTest web_qt_jenkins_1572995108 RepositoryState({GerritI
      Nov 05 23:05:21 personal-coins env[105540]: INFO:workitemfactory.py:581(106530): Starting new integration for qtqa/tqtc-qt-rta targeting 5.14:
      Nov 05 23:05:21 personal-coins env[105540]: {  'abortTestingOnFirstFailure': False,
      Nov 05 23:05:21 personal-coins env[105540]:    'build_id': None,
      Nov 05 23:05:21 personal-coins env[105540]:    'codeReviewHost': '',
      Nov 05 23:05:21 personal-coins env[105540]:    'commentText': 'RTA_IFWPreconditionsAPI 5.14',
      Nov 05 23:05:21 personal-coins env[105540]:    'destination_branch': '5.14',
      Nov 05 23:05:21 personal-coins env[105540]:    'forceRun': [0],
      Nov 05 23:05:21 personal-coins env[105540]:    'id': 'web_qt_jenkins_1572995108',
      Nov 05 23:05:21 personal-coins env[105540]:    'keepGoingOnFailure': True,
      Nov 05 23:05:21 personal-coins env[105540]:    'modules': [],
      Nov 05 23:05:21 personal-coins env[105540]:    'product': RepositoryState(gerritInstance='qt-project', project='qt/qt5', sha1='5.14', dependencies
      Nov 05 23:05:21 personal-coins env[105540]:    'protectFromGarbageCollector': None,
      Nov 05 23:05:21 personal-coins env[105540]:    'repositoryState': RepositoryState(gerritInstance='qt-project', project='qtqa/tqtc-qt-rta', sha1='m
      Nov 05 23:05:21 personal-coins env[105540]:    'resolve_templates': False,
      Nov 05 23:05:21 personal-coins env[105540]:    'reviewAction': 0,
      Nov 05 23:05:21 personal-coins env[105540]:    'saveVmOnFailure': None,
      Nov 05 23:05:21 personal-coins env[105540]:    'source_ref': 'master',
      Nov 05 23:05:21 personal-coins env[105540]:    'testedChanges': None,
      Nov 05 23:05:21 personal-coins env[105540]:    'type': 0,
      Nov 05 23:05:21 personal-coins env[105540]:    'username': 'rta',
      Nov 05 23:05:21 personal-coins env[105540]:    'workItemConfigurations': [  WorkItemConfiguration(type=0, configureArgs=[], toolsets=[], vmTemplat
      Nov 05 23:05:21 personal-coins env[105540]: webserver:websocket.go:145: Task inotify event: notify.Create: "/home/mapaaso/Coin/ci-working-dir/stor
      
      

        Attachments

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

          Activity

            People

            Assignee:
            mapaaso Matti Paaso
            Reporter:
            mapaaso Matti Paaso
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes