CI: Run ceph and rolling upgrade tests under py3
As part of that, the ceph test runner needed up-rev'ing to run under py3. As a result, the known-failures shifted. Trim the on-demand rolling upgrade jobs list -- now that it's running py3, we only expect it to pass for train and beyond. Also, pin smmap version on py2 -- otherwise, the remaining experimental jobs running on centos-7 fail. Change-Id: Ibe46aecf0f4461be59eb206bfe9063cc1bfff706
This commit is contained in:
@@ -28,11 +28,16 @@
|
||||
repo: "https://github.com/tipabu/s3compat.git"
|
||||
dest: "{{ ansible_env.HOME }}/s3compat"
|
||||
|
||||
- name: Install virtualenv
|
||||
pip:
|
||||
name: virtualenv
|
||||
become: true
|
||||
|
||||
- name: Install s3compat requirements
|
||||
pip:
|
||||
requirements: "{{ ansible_env.HOME }}/s3compat/requirements.txt"
|
||||
virtualenv: "{{ ansible_env.HOME }}/venv"
|
||||
virtualenv_python: python2
|
||||
virtualenv_python: python3
|
||||
become: true
|
||||
|
||||
- name: Run s3compat tests
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
|
||||
- name: build swift
|
||||
shell:
|
||||
cmd: python setup.py sdist
|
||||
cmd: python3 setup.py sdist
|
||||
executable: /bin/bash
|
||||
chdir: '{{ zuul.project.src_dir }}'
|
||||
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
roles:
|
||||
# Run bindep and test-setup after devstack so that they won't interfere
|
||||
- role: bindep
|
||||
bindep_profile: test
|
||||
bindep_dir: "{{ zuul_work_dir }}"
|
||||
- test-setup
|
||||
- ensure-tox
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
- name: install swift
|
||||
become: true
|
||||
shell:
|
||||
cmd: python setup.py develop
|
||||
cmd: python3 setup.py develop
|
||||
executable: /bin/bash
|
||||
chdir: '{{ zuul.project.src_dir }}'
|
||||
|
||||
@@ -37,6 +37,6 @@
|
||||
include_role:
|
||||
name: tox
|
||||
vars:
|
||||
tox_envlist: func
|
||||
tox_envlist: func-py3
|
||||
tox_environment:
|
||||
SWIFT_TEST_CONFIG_FILE: /home/{{ ansible_ssh_user }}/test.conf
|
||||
|
||||
Reference in New Issue
Block a user