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

CI pythontests might accidentially kill running parallel mypy tests

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • None
    • master
    • Tests
    • None
    • ff9e7cb750584f8e3450a0af654fc516fb67e5cd (qtqa/tqtc-coin-ci/master)

    Description

      Running 'make citest' is racy and can cause the shutdown script to terminate mypy tests:

      agent:2019/09/25 06:08:38 build.go:220: pipenv run src/tools/thrift_mypy_stubs_gen.py /home/qt/work/qtqa/tqtc-coin-ci/src/thrift/workitemfactory.thrift --output /home/qt/work/qtqa/tqtc-coin-ci/src/thrift/workitemfactory.pyi
      agent:2019/09/25 06:08:38 build.go:220: INFO:run_tests.py:161(15238): Running shutdown
      agent:2019/09/25 06:08:38 build.go:220: [09:08:38] Using gulpfile ~/work/qtqa/tqtc-coin-ci/src/www/gulpfile.js
      agent:2019/09/25 06:08:38 build.go:220: [09:08:38] Starting 'default'...
      agent:2019/09/25 06:08:38 build.go:220: [09:08:38] Starting 'scripts'...
      agent:2019/09/25 06:08:38 build.go:220: [09:08:38] Starting 'staticfiles'...
      agent:2019/09/25 06:08:38 build.go:220: [09:08:38] Starting 'bootstrap'...
      agent:2019/09/25 06:08:38 build.go:220: [09:08:38] Starting 'additional_css'...
      agent:2019/09/25 06:08:38 build.go:220: [09:08:38] Starting 'font_awesome_fonts'...
      agent:2019/09/25 06:08:38 build.go:220: [09:08:38] Starting 'tslint_check'...
      agent:2019/09/25 06:08:38 build.go:220: loading pickled environment... done
      agent:2019/09/25 06:08:38 build.go:220: building [mo]: targets for 0 po files that are out of date
      agent:2019/09/25 06:08:38 build.go:220: building [html]: targets for 0 source files that are out of date
      agent:2019/09/25 06:08:38 build.go:220: updating environment: 0 added, 2 changed, 0 removed
      agent:2019/09/25 06:08:38 build.go:220: reading sources... [ 50%] index
      agent:2019/09/25 06:08:38 build.go:220: reading sources... [100%] properties
      agent:2019/09/25 06:08:38 build.go:220: [09:08:38] Finished 'additional_css' after 468 ms
      agent:2019/09/25 06:08:39 build.go:220: 
      agent:2019/09/25 06:08:39 build.go:220: /home/qt/work/qtqa/tqtc-coin-ci/doc/index.rst:8: WARNING: toctree contains reference to nonexisting document 'changelog'
      agent:2019/09/25 06:08:39 build.go:220: looking for now-outdated files... none found
      agent:2019/09/25 06:08:39 build.go:220: pickling environment... done
      agent:2019/09/25 06:08:39 build.go:220: checking consistency... done
      agent:2019/09/25 06:08:39 build.go:220: preparing documents... done
      agent:2019/09/25 06:08:39 build.go:220: writing output... [ 50%] index
      agent:2019/09/25 06:08:39 build.go:220: writing output... [100%] properties
      agent:2019/09/25 06:08:39 build.go:220: [09:08:39] Finished 'font_awesome_fonts' after 913 ms
      agent:2019/09/25 06:08:39 build.go:220: 
      agent:2019/09/25 06:08:39 build.go:220: generating indices... genindex
      agent:2019/09/25 06:08:39 build.go:220: writing additional pages... search
      agent:2019/09/25 06:08:39 build.go:220: copying static files... done
      agent:2019/09/25 06:08:39 build.go:220: copying extra files... done
      agent:2019/09/25 06:08:39 build.go:220: dumping search index in English (code: en) ... done
      agent:2019/09/25 06:08:39 build.go:220: dumping object inventory... done
      agent:2019/09/25 06:08:39 build.go:220: build succeeded, 1 warning.
      agent:2019/09/25 06:08:39 build.go:220: 
      agent:2019/09/25 06:08:39 build.go:220: [09:08:39] Finished 'staticfiles' after 1.26 s
      agent:2019/09/25 06:08:39 build.go:220: [09:08:39] Finished 'bootstrap' after 1.28 s
      agent:2019/09/25 06:08:39 build.go:220: Build finished. The HTML pages are in ../www/doc.
      agent:2019/09/25 06:08:39 build.go:220: make[1]: Leaving directory '/home/qt/work/qtqa/tqtc-coin-ci/doc'
      agent:2019/09/25 06:08:39 build.go:220: pipenv run src/tools/thrift_mypy_stubs_gen.py /home/qt/work/qtqa/tqtc-coin-ci/src/thrift/scmintegrator.thrift --output /home/qt/work/qtqa/tqtc-coin-ci/src/thrift/scmintegrator.pyi
      agent:2019/09/25 06:08:40 build.go:220: Makefile:181: recipe for target '/home/qt/work/qtqa/tqtc-coin-ci/src/thrift/workitemfactory.pyi' failed
      agent:2019/09/25 06:08:40 build.go:220: make: *** [/home/qt/work/qtqa/tqtc-coin-ci/src/thrift/workitemfactory.pyi] Killed
      agent:2019/09/25 06:08:40 build.go:220: make: *** Deleting file '/home/qt/work/qtqa/tqtc-coin-ci/src/thrift/workitemfactory.pyi'
      agent:2019/09/25 06:08:40 build.go:220: make: *** Waiting for unfinished jobs....
      

      http://ci-files01-hki.intra.qt.io:8080/coin/logview/qtqa/tqtc-coin-ci/e0228548233c7cc3aae9cef9bb5f08fcd983a1a5/LinuxUbuntu_18_04x86_64LinuxUbuntu_18_04x86_64GCCqtci-linux-Ubuntu-18.04-x86_64-e96365/825e7562d49596d49ae22649c3c4316264a99b4f/build_1569391516

       

       

      Attachments

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

        Activity

          People

            aakeskimo Aapo Keskimölö
            aakeskimo Aapo Keskimölö
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes