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:
Tim Burke
2022年04月03日 23:11:59 -07:00
parent ec964b23bb
commit d29cbc3996

View File

@@ -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

View File

@@ -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 }}'

View File

@@ -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

View File

@@ -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
openstack/swift
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.

The note is not visible to the blocked user.