Skip to content

Commit 93c97a9

Browse files
committed
Merge remote-tracking branch 'origin/dmw'
* origin/dmw: ci: update to Ansible 2.8.3 tests: another random string changed in 2.8.3 tests: fix sudo_flags_failure for Ansible 2.8.3 ci: fix procps command line format warning
2 parents f53e689 + db37000 commit 93c97a9

File tree

4 files changed

+10
-8
lines changed

4 files changed

+10
-8
lines changed

.ci/ci_lib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ def proc_is_docker(pid):
233233

234234

235235
def get_interesting_procs(container_name=None):
236-
args = ['ps', '-a', '-x', '-oppid=', '-opid=', '-ocomm=', '-ocommand=']
236+
args = ['ps', 'ax', '-oppid=', '-opid=', '-ocomm=', '-ocommand=']
237237
if container_name is not None:
238238
args = ['docker', 'exec', container_name] + args
239239

.travis.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,25 +36,25 @@ matrix:
3636

3737
include:
3838
# Debops tests.
39-
# 2.8.0; 3.6 -> 2.7
39+
# 2.8.3; 3.6 -> 2.7
4040
- python: "3.6"
41-
env: MODE=debops_common VER=2.8.0
41+
env: MODE=debops_common VER=2.8.3
4242
# 2.4.6.0; 2.7 -> 2.7
4343
- python: "2.7"
4444
env: MODE=debops_common VER=2.4.6.0
4545

4646
# Sanity check against vanilla Ansible. One job suffices.
4747
- python: "2.7"
48-
env: MODE=ansible VER=2.8.0 DISTROS=debian STRATEGY=linear
48+
env: MODE=ansible VER=2.8.3 DISTROS=debian STRATEGY=linear
4949

5050
# ansible_mitogen tests.
5151

52-
# 2.8.0 -> {debian, centos6, centos7}
52+
# 2.8.3 -> {debian, centos6, centos7}
5353
- python: "3.6"
54-
env: MODE=ansible VER=2.8.0
55-
# 2.8.0 -> {debian, centos6, centos7}
54+
env: MODE=ansible VER=2.8.3
55+
# 2.8.3 -> {debian, centos6, centos7}
5656
- python: "2.7"
57-
env: MODE=ansible VER=2.8.0
57+
env: MODE=ansible VER=2.8.3
5858

5959
# 2.4.6.0 -> {debian, centos6, centos7}
6060
- python: "3.6"

tests/ansible/integration/become/sudo_flags_failure.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,6 @@
1717
- out.failed
1818
- |
1919
('sudo: no such option: --derps' in out.msg) or
20+
("sudo: invalid option -- '-'" in out.module_stderr) or
2021
("sudo: unrecognized option `--derps'" in out.module_stderr) or
2122
("sudo: unrecognized option '--derps'" in out.module_stderr)

tests/ansible/integration/become/sudo_password.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
that: |
1717
out.failed and (
1818
('password is required' in out.msg) or
19+
('Missing sudo password' in out.msg) or
1920
('password is required' in out.module_stderr)
2021
)
2122

0 commit comments

Comments
 (0)