tests: Increase Ansible timeout to reduce false positives

Was failing on my dsktop PC, with a spinning rust HDD
pull/964/head
Alex Willmer 2 years ago
parent 526422b74b
commit 900760e913

@ -35,7 +35,7 @@ transport = ssh
no_target_syslog = True no_target_syslog = True
# Required by integration/ssh/timeouts.yml # Required by integration/ssh/timeouts.yml
timeout = 10 timeout = 30
# On Travis, paramiko check fails due to host key checking enabled. # On Travis, paramiko check fails due to host key checking enabled.
host_key_checking = False host_key_checking = False

@ -33,7 +33,7 @@
'kwargs': { 'kwargs': {
'check_host_keys': 'ignore', 'check_host_keys': 'ignore',
'compression': True, 'compression': True,
'connect_timeout': 10, 'connect_timeout': 30,
'hostname': 'alias-host', 'hostname': 'alias-host',
'identities_only': False, 'identities_only': False,
'identity_file': null, 'identity_file': null,
@ -63,7 +63,7 @@
'kwargs': { 'kwargs': {
'check_host_keys': 'ignore', 'check_host_keys': 'ignore',
'compression': True, 'compression': True,
'connect_timeout': 10, 'connect_timeout': 30,
'hostname': 'cd-normal-alias', 'hostname': 'cd-normal-alias',
'identities_only': False, 'identities_only': False,
'identity_file': null, 'identity_file': null,

@ -22,7 +22,7 @@
{ {
'enable_lru': true, 'enable_lru': true,
'kwargs': { 'kwargs': {
'connect_timeout': 10, 'connect_timeout': 30,
'python_path': ["{{ansible_playbook_python}}"], 'python_path': ["{{ansible_playbook_python}}"],
'remote_name': null, 'remote_name': null,
'password': null, 'password': null,

@ -41,7 +41,7 @@
right: [ right: [
{ {
"kwargs": { "kwargs": {
"connect_timeout": 10, "connect_timeout": 30,
"doas_path": null, "doas_path": null,
"password": null, "password": null,
"python_path": ["/usr/bin/python"], "python_path": ["/usr/bin/python"],
@ -70,7 +70,7 @@
'kwargs': { 'kwargs': {
'check_host_keys': 'ignore', 'check_host_keys': 'ignore',
'compression': True, 'compression': True,
'connect_timeout': 10, 'connect_timeout': 30,
'hostname': 'alias-host', 'hostname': 'alias-host',
'identities_only': False, 'identities_only': False,
'identity_file': null, 'identity_file': null,
@ -115,7 +115,7 @@
'kwargs': { 'kwargs': {
'check_host_keys': 'ignore', 'check_host_keys': 'ignore',
'compression': True, 'compression': True,
'connect_timeout': 10, 'connect_timeout': 30,
'hostname': 'alias-host', 'hostname': 'alias-host',
'identities_only': False, 'identities_only': False,
'identity_file': null, 'identity_file': null,
@ -158,7 +158,7 @@
right: [ right: [
{ {
'kwargs': { 'kwargs': {
'connect_timeout': 10, 'connect_timeout': 30,
'doas_path': null, 'doas_path': null,
'password': null, 'password': null,
"python_path": ["/usr/bin/python"], "python_path": ["/usr/bin/python"],
@ -171,7 +171,7 @@
'kwargs': { 'kwargs': {
'check_host_keys': 'ignore', 'check_host_keys': 'ignore',
'compression': True, 'compression': True,
'connect_timeout': 10, 'connect_timeout': 30,
'hostname': 'cd-normal-normal', 'hostname': 'cd-normal-normal',
'identities_only': False, 'identities_only': False,
'identity_file': null, 'identity_file': null,
@ -216,7 +216,7 @@
'kwargs': { 'kwargs': {
'check_host_keys': 'ignore', 'check_host_keys': 'ignore',
'compression': True, 'compression': True,
'connect_timeout': 10, 'connect_timeout': 30,
'hostname': 'alias-host', 'hostname': 'alias-host',
'identities_only': False, 'identities_only': False,
'identity_file': null, 'identity_file': null,
@ -246,7 +246,7 @@
'kwargs': { 'kwargs': {
'check_host_keys': 'ignore', 'check_host_keys': 'ignore',
'compression': True, 'compression': True,
'connect_timeout': 10, 'connect_timeout': 30,
'hostname': 'cd-normal-alias', 'hostname': 'cd-normal-alias',
'identities_only': False, 'identities_only': False,
'identity_file': null, 'identity_file': null,
@ -289,7 +289,7 @@
right: [ right: [
{ {
'kwargs': { 'kwargs': {
'connect_timeout': 10, 'connect_timeout': 30,
'doas_path': null, 'doas_path': null,
'password': null, 'password': null,
"python_path": ["/usr/bin/python"], "python_path": ["/usr/bin/python"],
@ -302,7 +302,7 @@
'kwargs': { 'kwargs': {
'check_host_keys': 'ignore', 'check_host_keys': 'ignore',
'compression': True, 'compression': True,
'connect_timeout': 10, 'connect_timeout': 30,
'hostname': 'cd-newuser-normal-normal', 'hostname': 'cd-newuser-normal-normal',
'identities_only': False, 'identities_only': False,
'identity_file': null, 'identity_file': null,
@ -348,7 +348,7 @@
'kwargs': { 'kwargs': {
'check_host_keys': 'ignore', 'check_host_keys': 'ignore',
'compression': True, 'compression': True,
'connect_timeout': 10, 'connect_timeout': 30,
'hostname': 'alias-host', 'hostname': 'alias-host',
'identities_only': False, 'identities_only': False,
'identity_file': null, 'identity_file': null,
@ -412,7 +412,7 @@
right: [ right: [
{ {
'kwargs': { 'kwargs': {
'connect_timeout': 10, 'connect_timeout': 30,
'doas_path': null, 'doas_path': null,
'password': null, 'password': null,
'python_path': ["/usr/bin/python"], 'python_path': ["/usr/bin/python"],
@ -423,7 +423,7 @@
}, },
{ {
'kwargs': { 'kwargs': {
'connect_timeout': 10, 'connect_timeout': 30,
'doas_path': null, 'doas_path': null,
'password': null, 'password': null,
'python_path': ["/usr/bin/python"], 'python_path': ["/usr/bin/python"],

@ -5,6 +5,8 @@
tasks: tasks:
- name: Cause Ansible connection timeout - name: Cause Ansible connection timeout
connection: local connection: local
environment:
ANSIBLE_SSH_TIMEOUT: 10
command: | command: |
ansible -vvv ansible -vvv
-i "{{MITOGEN_INVENTORY_FILE}}" -i "{{MITOGEN_INVENTORY_FILE}}"

Loading…
Cancel
Save