fix CI issues

- use multiprocess to avoid pickle errors in tox on macos
- change nodeset of jjb-tox-cross-jenkins-job-builder, cover & docs jobs

Closes-Bug: #1998146
Change-Id: Id3ccee0f2f6ffb86c67b222f4cb0a869ba8c6bda
This commit is contained in:
Guillaume DeMengin 2022-11-28 21:22:51 +01:00
parent d2573fad0d
commit f8bc0b6e4b
3 changed files with 10 additions and 5 deletions

View File

@ -3,6 +3,7 @@
name: jjb-tox-cross-jenkins-job-builder
description: Tests compatibility with master branch of jenkins-job-builder
parent: tox-py27
nodeset: ubuntu-xenial
required-projects:
- jjb/python-jenkins
- jjb/jenkins-job-builder
@ -12,10 +13,12 @@
check:
jobs:
# Only in check:
- tox-cover
- tox-cover:
nodeset: ubuntu-xenial
# Jobs common to gate pipeline
- tox-linters
- opendev-tox-docs
- opendev-tox-docs:
nodeset: ubuntu-xenial
- tox-py27:
nodeset: ubuntu-xenial
- tox-py35:
@ -26,7 +29,8 @@
gate:
jobs:
- tox-linters
- opendev-tox-docs
- opendev-tox-docs:
nodeset: ubuntu-xenial
- tox-py27:
nodeset: ubuntu-xenial
- tox-py35:

View File

@ -13,3 +13,4 @@ stestr>=2.0.0,!=3.0.0
testscenarios
testtools
pre-commit
multiprocess

View File

@ -1,7 +1,7 @@
import functools
import json
from multiprocessing import Process
from multiprocessing import Queue
from multiprocess import Process
from multiprocess import Queue
import traceback
from mock import Mock