Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-enable iptables_state tests on Ubuntu 22.04 VM #8538

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

felixfontein
Copy link
Collaborator

SUMMARY

Ref: #8537 (comment)

ISSUE TYPE
  • Bugfix Pull Request
  • Test Pull Request
COMPONENT NAME

iptables_state

@felixfontein felixfontein marked this pull request as draft June 18, 2024 21:50
@felixfontein felixfontein mentioned this pull request Jun 18, 2024
@felixfontein felixfontein added backport-8 Automatically create a backport for the stable-8 branch backport-9 Automatically create a backport for the stable-9 branch labels Jun 18, 2024
@ansibullbot ansibullbot added WIP Work in progress bug This issue/PR relates to a bug integration tests/integration small_patch Hopefully easy to review tests tests labels Jun 18, 2024
@felixfontein felixfontein marked this pull request as ready for review June 18, 2024 21:56
@felixfontein felixfontein marked this pull request as draft June 18, 2024 21:57
@ansibullbot ansibullbot added the stale_ci CI is older than 7 days, rerun before merging label Jun 28, 2024
@felixfontein
Copy link
Collaborator Author

@quidame since you originally wrote this test, did you ever ran it manually and did it work for you? I'm wondering whether it got broken by a change in ansible-core, or whether it simply never worked. (This is probably the first time this test runs on a VM where the controller is a separate Docker container that SSHs into the VM, so this test might never have been run in CI before.)

The error is as follows:

2024-06-18T21:57:08.7895359Z 02:50 TASK [iptables_state : restore state from the test file (bad policies, expected error -> rollback)] ***
2024-06-18T21:57:08.7896159Z 02:50 task path: /root/ansible_collections/community/general/tests/output/.tmp/integration/iptables_state-ff58hy4i-ÅÑŚÌβŁÈ/tests/integration/targets/iptables_state/tasks/tests/10-rollback.yml:32
2024-06-18T21:57:08.8579869Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> ESTABLISH SSH CONNECTION FOR USER: ubuntu
2024-06-18T21:57:08.8580666Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: ansible.cfg set ssh_args: (-C)(-o)(ControlMaster=auto)(-o)(ControlPersist=60s)
2024-06-18T21:57:08.8581612Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: ANSIBLE_HOST_KEY_CHECKING/host_key_checking disabled: (-o)(StrictHostKeyChecking=no)
2024-06-18T21:57:08.8582673Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: ANSIBLE_REMOTE_PORT/remote_port/ansible_port set: (-o)(Port=22)
2024-06-18T21:57:08.8583600Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: ANSIBLE_PRIVATE_KEY_FILE/private_key_file/ansible_ssh_private_key_file set: (-o)(IdentityFile="/root/ansible_collections/community/general/tests/output/.tmp/id_rsa")
2024-06-18T21:57:08.8585018Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: ansible_password/ansible_ssh_password not set: (-o)(KbdInteractiveAuthentication=no)(-o)(PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey)(-o)(PasswordAuthentication=no)
2024-06-18T21:57:08.8585909Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User="ubuntu")
2024-06-18T21:57:08.8586587Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
2024-06-18T21:57:08.8587284Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: Set ssh_common_args: ()
2024-06-18T21:57:08.8587801Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: Set ssh_extra_args: ()
2024-06-18T21:57:08.8588613Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath="/root/.ansible/cp/4da351bb4c")
2024-06-18T21:57:08.8590515Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: EXEC ssh -vvvvvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=22 -o 'IdentityFile="/root/ansible_collections/community/general/tests/output/.tmp/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="ubuntu"' -o ConnectTimeout=10 -o 'ControlPath="/root/.ansible/cp/4da351bb4c"' ec2-54-226-222-64.compute-1.amazonaws.com '/bin/sh -c '"'"'echo ~ubuntu && sleep 0'"'"''
2024-06-18T21:57:08.8594002Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> (0, b'/home/ubuntu\n', b"OpenSSH_9.6p1 Ubuntu-3ubuntu13, OpenSSL 3.0.13 30 Jan 2024\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files\r\ndebug1: /etc/ssh/ssh_config line 21: Applying options for *\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/root/.ssh/known_hosts'\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/root/.ssh/known_hosts2'\r\ndebug1: auto-mux: Trying existing master at '/root/.ansible/cp/4da351bb4c'\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 761\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet_timeout: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
2024-06-18T21:57:08.8596144Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> ESTABLISH SSH CONNECTION FOR USER: ubuntu
2024-06-18T21:57:08.8596833Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: ansible.cfg set ssh_args: (-C)(-o)(ControlMaster=auto)(-o)(ControlPersist=60s)
2024-06-18T21:57:08.8597555Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: ANSIBLE_HOST_KEY_CHECKING/host_key_checking disabled: (-o)(StrictHostKeyChecking=no)
2024-06-18T21:57:08.8598249Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: ANSIBLE_REMOTE_PORT/remote_port/ansible_port set: (-o)(Port=22)
2024-06-18T21:57:08.8599166Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: ANSIBLE_PRIVATE_KEY_FILE/private_key_file/ansible_ssh_private_key_file set: (-o)(IdentityFile="/root/ansible_collections/community/general/tests/output/.tmp/id_rsa")
2024-06-18T21:57:08.8600576Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: ansible_password/ansible_ssh_password not set: (-o)(KbdInteractiveAuthentication=no)(-o)(PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey)(-o)(PasswordAuthentication=no)
2024-06-18T21:57:08.8601567Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User="ubuntu")
2024-06-18T21:57:08.8602260Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
2024-06-18T21:57:08.8602813Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: Set ssh_common_args: ()
2024-06-18T21:57:08.8603497Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: Set ssh_extra_args: ()
2024-06-18T21:57:08.8604189Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath="/root/.ansible/cp/4da351bb4c")
2024-06-18T21:57:08.8606802Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: EXEC ssh -vvvvvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=22 -o 'IdentityFile="/root/ansible_collections/community/general/tests/output/.tmp/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="ubuntu"' -o ConnectTimeout=10 -o 'ControlPath="/root/.ansible/cp/4da351bb4c"' ec2-54-226-222-64.compute-1.amazonaws.com '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /home/ubuntu/.ansible/tmp `"&& mkdir "` echo /home/ubuntu/.ansible/tmp/ansible-tmp-1718747828.828673-780-271893031103736 `" && echo ansible-tmp-1718747828.828673-780-271893031103736="` echo /home/ubuntu/.ansible/tmp/ansible-tmp-1718747828.828673-780-271893031103736 `" ) && sleep 0'"'"''
2024-06-18T21:57:08.8611060Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> (0, b'ansible-tmp-1718747828.828673-780-271893031103736=/home/ubuntu/.ansible/tmp/ansible-tmp-1718747828.828673-780-271893031103736\n', b"OpenSSH_9.6p1 Ubuntu-3ubuntu13, OpenSSL 3.0.13 30 Jan 2024\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files\r\ndebug1: /etc/ssh/ssh_config line 21: Applying options for *\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/root/.ssh/known_hosts'\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/root/.ssh/known_hosts2'\r\ndebug1: auto-mux: Trying existing master at '/root/.ansible/cp/4da351bb4c'\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 761\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet_timeout: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
2024-06-18T21:57:08.8613093Z 02:51 Using module file /root/ansible_collections/community/general/plugins/modules/iptables_state.py
2024-06-18T21:57:08.8614009Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> PUT /root/.ansible/tmp/ansible-local-462z_ayjkri/tmpokhane8v TO /home/ubuntu/.ansible/tmp/ansible-tmp-1718747828.828673-780-271893031103736/AnsiballZ_iptables_state.py
2024-06-18T21:57:08.8614793Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: ansible.cfg set ssh_args: (-C)(-o)(ControlMaster=auto)(-o)(ControlPersist=60s)
2024-06-18T21:57:08.8615502Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: ANSIBLE_HOST_KEY_CHECKING/host_key_checking disabled: (-o)(StrictHostKeyChecking=no)
2024-06-18T21:57:08.8616199Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: ANSIBLE_REMOTE_PORT/remote_port/ansible_port set: (-o)(Port=22)
2024-06-18T21:57:08.8617332Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: ANSIBLE_PRIVATE_KEY_FILE/private_key_file/ansible_ssh_private_key_file set: (-o)(IdentityFile="/root/ansible_collections/community/general/tests/output/.tmp/id_rsa")
2024-06-18T21:57:09.0136495Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: ansible_password/ansible_ssh_password not set: (-o)(KbdInteractiveAuthentication=no)(-o)(PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey)(-o)(PasswordAuthentication=no)
2024-06-18T21:57:09.0137511Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User="ubuntu")
2024-06-18T21:57:09.0138213Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
2024-06-18T21:57:09.0138809Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: Set ssh_common_args: ()
2024-06-18T21:57:09.0139268Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: Set sftp_extra_args: ()
2024-06-18T21:57:09.0141319Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath="/root/.ansible/cp/4da351bb4c")
2024-06-18T21:57:09.0143119Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: EXEC sftp -b - -vvvvvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=22 -o 'IdentityFile="/root/ansible_collections/community/general/tests/output/.tmp/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="ubuntu"' -o ConnectTimeout=10 -o 'ControlPath="/root/.ansible/cp/4da351bb4c"' '[ec2-54-226-222-64.compute-1.amazonaws.com]'
2024-06-18T21:57:09.0152207Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> (0, b'sftp> put /root/.ansible/tmp/ansible-local-462z_ayjkri/tmpokhane8v /home/ubuntu/.ansible/tmp/ansible-tmp-1718747828.828673-780-271893031103736/AnsiballZ_iptables_state.py\n', b'OpenSSH_9.6p1 Ubuntu-3ubuntu13, OpenSSL 3.0.13 30 Jan 2024\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files\r\ndebug1: /etc/ssh/ssh_config line 21: Applying options for *\r\ndebug3: expanded UserKnownHostsFile \'~/.ssh/known_hosts\' -> \'/root/.ssh/known_hosts\'\r\ndebug3: expanded UserKnownHostsFile \'~/.ssh/known_hosts2\' -> \'/root/.ssh/known_hosts2\'\r\ndebug1: auto-mux: Trying existing master at \'/root/.ansible/cp/4da351bb4c\'\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 761\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug2: Remote version: 3\r\ndebug2: Server supports extension "[email protected]" revision 1\r\ndebug2: Server supports extension "[email protected]" revision 2\r\ndebug2: Server supports extension "[email protected]" revision 2\r\ndebug2: Server supports extension "[email protected]" revision 1\r\ndebug2: Server supports extension "[email protected]" revision 1\r\ndebug2: Server supports extension "[email protected]" revision 1\r\ndebug2: Server supports extension "[email protected]" revision 1\r\ndebug2: Server supports extension "[email protected]" revision 1\r\ndebug3: Sent message [email protected] I:1\r\ndebug3: Received limits reply T:201 I:1\r\ndebug3: server upload/download buffer sizes 261120 / 261120; using 261120 / 261120\r\ndebug3: server handle limit 1019; using 64\r\ndebug2: Sending SSH2_FXP_REALPATH "."\r\ndebug3: Sent message fd 3 T:16 I:2\r\ndebug3: SSH2_FXP_REALPATH . -> /home/ubuntu\r\ndebug3: Looking up /root/.ansible/tmp/ansible-local-462z_ayjkri/tmpokhane8v\r\ndebug2: Sending SSH2_FXP_STAT "/home/ubuntu/.ansible/tmp/ansible-tmp-1718747828.828673-780-271893031103736/AnsiballZ_iptables_state.py"\r\ndebug3: Sent message fd 3 T:17 I:3\r\ndebug1: stat remote: No such file or directory\r\ndebug2: sftp_upload: upload local "/root/.ansible/tmp/ansible-local-462z_ayjkri/tmpokhane8v" to remote "/home/ubuntu/.ansible/tmp/ansible-tmp-1718747828.828673-780-271893031103736/AnsiballZ_iptables_state.py"\r\ndebug2: Sending SSH2_FXP_OPEN "/home/ubuntu/.ansible/tmp/ansible-tmp-1718747828.828673-780-271893031103736/AnsiballZ_iptables_state.py"\r\ndebug3: Sent dest message SSH2_FXP_OPEN I:4 P:/home/ubuntu/.ansible/tmp/ansible-tmp-1718747828.828673-780-271893031103736/AnsiballZ_iptables_state.py M:0x001a\r\ndebug3: Sent message SSH2_FXP_WRITE I:6 O:0 S:124400\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: In write loop, ack for 6 124400 bytes at 0\r\ndebug3: Sent message SSH2_FXP_CLOSE I:5\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: mux_client_read_packet_timeout: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
2024-06-18T21:57:09.0158278Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> PUT /root/.ansible/tmp/ansible-local-462z_ayjkri/tmph5aj8yfl TO /home/ubuntu/.ansible/tmp/ansible-tmp-1718747828.828673-780-271893031103736/async_wrapper.py
2024-06-18T21:57:09.0159108Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: ansible.cfg set ssh_args: (-C)(-o)(ControlMaster=auto)(-o)(ControlPersist=60s)
2024-06-18T21:57:09.0159856Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: ANSIBLE_HOST_KEY_CHECKING/host_key_checking disabled: (-o)(StrictHostKeyChecking=no)
2024-06-18T21:57:09.0160577Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: ANSIBLE_REMOTE_PORT/remote_port/ansible_port set: (-o)(Port=22)
2024-06-18T21:57:09.0161636Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: ANSIBLE_PRIVATE_KEY_FILE/private_key_file/ansible_ssh_private_key_file set: (-o)(IdentityFile="/root/ansible_collections/community/general/tests/output/.tmp/id_rsa")
2024-06-18T21:57:09.0162807Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: ansible_password/ansible_ssh_password not set: (-o)(KbdInteractiveAuthentication=no)(-o)(PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey)(-o)(PasswordAuthentication=no)
2024-06-18T21:57:09.0163713Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User="ubuntu")
2024-06-18T21:57:09.0164373Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
2024-06-18T21:57:09.0164950Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: Set ssh_common_args: ()
2024-06-18T21:57:09.0165463Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: Set sftp_extra_args: ()
2024-06-18T21:57:09.0166168Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath="/root/.ansible/cp/4da351bb4c")
2024-06-18T21:57:09.0167804Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: EXEC sftp -b - -vvvvvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=22 -o 'IdentityFile="/root/ansible_collections/community/general/tests/output/.tmp/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="ubuntu"' -o ConnectTimeout=10 -o 'ControlPath="/root/.ansible/cp/4da351bb4c"' '[ec2-54-226-222-64.compute-1.amazonaws.com]'
2024-06-18T21:57:09.0396183Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> (0, b'sftp> put /root/.ansible/tmp/ansible-local-462z_ayjkri/tmph5aj8yfl /home/ubuntu/.ansible/tmp/ansible-tmp-1718747828.828673-780-271893031103736/async_wrapper.py\n', b'OpenSSH_9.6p1 Ubuntu-3ubuntu13, OpenSSL 3.0.13 30 Jan 2024\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files\r\ndebug1: /etc/ssh/ssh_config line 21: Applying options for *\r\ndebug3: expanded UserKnownHostsFile \'~/.ssh/known_hosts\' -> \'/root/.ssh/known_hosts\'\r\ndebug3: expanded UserKnownHostsFile \'~/.ssh/known_hosts2\' -> \'/root/.ssh/known_hosts2\'\r\ndebug1: auto-mux: Trying existing master at \'/root/.ansible/cp/4da351bb4c\'\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 761\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug2: Remote version: 3\r\ndebug2: Server supports extension "[email protected]" revision 1\r\ndebug2: Server supports extension "[email protected]" revision 2\r\ndebug2: Server supports extension "[email protected]" revision 2\r\ndebug2: Server supports extension "[email protected]" revision 1\r\ndebug2: Server supports extension "[email protected]" revision 1\r\ndebug2: Server supports extension "[email protected]" revision 1\r\ndebug2: Server supports extension "[email protected]" revision 1\r\ndebug2: Server supports extension "[email protected]" revision 1\r\ndebug3: Sent message [email protected] I:1\r\ndebug3: Received limits reply T:201 I:1\r\ndebug3: server upload/download buffer sizes 261120 / 261120; using 261120 / 261120\r\ndebug3: server handle limit 1019; using 64\r\ndebug2: Sending SSH2_FXP_REALPATH "."\r\ndebug3: Sent message fd 3 T:16 I:2\r\ndebug3: SSH2_FXP_REALPATH . -> /home/ubuntu\r\ndebug3: Looking up /root/.ansible/tmp/ansible-local-462z_ayjkri/tmph5aj8yfl\r\ndebug2: Sending SSH2_FXP_STAT "/home/ubuntu/.ansible/tmp/ansible-tmp-1718747828.828673-780-271893031103736/async_wrapper.py"\r\ndebug3: Sent message fd 3 T:17 I:3\r\ndebug1: stat remote: No such file or directory\r\ndebug2: sftp_upload: upload local "/root/.ansible/tmp/ansible-local-462z_ayjkri/tmph5aj8yfl" to remote "/home/ubuntu/.ansible/tmp/ansible-tmp-1718747828.828673-780-271893031103736/async_wrapper.py"\r\ndebug2: Sending SSH2_FXP_OPEN "/home/ubuntu/.ansible/tmp/ansible-tmp-1718747828.828673-780-271893031103736/async_wrapper.py"\r\ndebug3: Sent dest message SSH2_FXP_OPEN I:4 P:/home/ubuntu/.ansible/tmp/ansible-tmp-1718747828.828673-780-271893031103736/async_wrapper.py M:0x001a\r\ndebug3: Sent message SSH2_FXP_WRITE I:6 O:0 S:119306\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: In write loop, ack for 6 119306 bytes at 0\r\ndebug3: Sent message SSH2_FXP_CLOSE I:5\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: mux_client_read_packet_timeout: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
2024-06-18T21:57:09.0401707Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> ESTABLISH SSH CONNECTION FOR USER: ubuntu
2024-06-18T21:57:09.0402412Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: ansible.cfg set ssh_args: (-C)(-o)(ControlMaster=auto)(-o)(ControlPersist=60s)
2024-06-18T21:57:09.0403123Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: ANSIBLE_HOST_KEY_CHECKING/host_key_checking disabled: (-o)(StrictHostKeyChecking=no)
2024-06-18T21:57:09.0403839Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: ANSIBLE_REMOTE_PORT/remote_port/ansible_port set: (-o)(Port=22)
2024-06-18T21:57:09.0404735Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: ANSIBLE_PRIVATE_KEY_FILE/private_key_file/ansible_ssh_private_key_file set: (-o)(IdentityFile="/root/ansible_collections/community/general/tests/output/.tmp/id_rsa")
2024-06-18T21:57:09.0405854Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: ansible_password/ansible_ssh_password not set: (-o)(KbdInteractiveAuthentication=no)(-o)(PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey)(-o)(PasswordAuthentication=no)
2024-06-18T21:57:09.0407106Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User="ubuntu")
2024-06-18T21:57:09.0407766Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
2024-06-18T21:57:09.0408344Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: Set ssh_common_args: ()
2024-06-18T21:57:09.0408862Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: Set ssh_extra_args: ()
2024-06-18T21:57:09.0409544Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath="/root/.ansible/cp/4da351bb4c")
2024-06-18T21:57:09.0411904Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: EXEC ssh -vvvvvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=22 -o 'IdentityFile="/root/ansible_collections/community/general/tests/output/.tmp/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="ubuntu"' -o ConnectTimeout=10 -o 'ControlPath="/root/.ansible/cp/4da351bb4c"' ec2-54-226-222-64.compute-1.amazonaws.com '/bin/sh -c '"'"'chmod u+x /home/ubuntu/.ansible/tmp/ansible-tmp-1718747828.828673-780-271893031103736/ /home/ubuntu/.ansible/tmp/ansible-tmp-1718747828.828673-780-271893031103736/AnsiballZ_iptables_state.py /home/ubuntu/.ansible/tmp/ansible-tmp-1718747828.828673-780-271893031103736/async_wrapper.py && sleep 0'"'"''
2024-06-18T21:57:09.0415777Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> (0, b'', b"OpenSSH_9.6p1 Ubuntu-3ubuntu13, OpenSSL 3.0.13 30 Jan 2024\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files\r\ndebug1: /etc/ssh/ssh_config line 21: Applying options for *\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/root/.ssh/known_hosts'\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/root/.ssh/known_hosts2'\r\ndebug1: auto-mux: Trying existing master at '/root/.ansible/cp/4da351bb4c'\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 761\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet_timeout: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
2024-06-18T21:57:09.0417738Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> ESTABLISH SSH CONNECTION FOR USER: ubuntu
2024-06-18T21:57:09.0418474Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: ansible.cfg set ssh_args: (-C)(-o)(ControlMaster=auto)(-o)(ControlPersist=60s)
2024-06-18T21:57:09.0419270Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: ANSIBLE_HOST_KEY_CHECKING/host_key_checking disabled: (-o)(StrictHostKeyChecking=no)
2024-06-18T21:57:09.0420039Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: ANSIBLE_REMOTE_PORT/remote_port/ansible_port set: (-o)(Port=22)
2024-06-18T21:57:09.0421060Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: ANSIBLE_PRIVATE_KEY_FILE/private_key_file/ansible_ssh_private_key_file set: (-o)(IdentityFile="/root/ansible_collections/community/general/tests/output/.tmp/id_rsa")
2024-06-18T21:57:09.0422275Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: ansible_password/ansible_ssh_password not set: (-o)(KbdInteractiveAuthentication=no)(-o)(PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey)(-o)(PasswordAuthentication=no)
2024-06-18T21:57:09.0423395Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User="ubuntu")
2024-06-18T21:57:09.0424163Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
2024-06-18T21:57:09.0424809Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: Set ssh_common_args: ()
2024-06-18T21:57:09.2373281Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: Set ssh_extra_args: ()
2024-06-18T21:57:09.2374091Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath="/root/.ansible/cp/4da351bb4c")
2024-06-18T21:57:09.2376951Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: EXEC ssh -vvvvvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=22 -o 'IdentityFile="/root/ansible_collections/community/general/tests/output/.tmp/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="ubuntu"' -o ConnectTimeout=10 -o 'ControlPath="/root/.ansible/cp/4da351bb4c"' -tt ec2-54-226-222-64.compute-1.amazonaws.com '/bin/sh -c '"'"'sudo -H -S -n  -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-wggztwxxukxtnclutriewemrhwdaxqar ; ANSIBLE_ASYNC_DIR='"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'~/.ansible_async'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"' /usr/bin/python3.10 /home/ubuntu/.ansible/tmp/ansible-tmp-1718747828.828673-780-271893031103736/async_wrapper.py j55970908381 10 /home/ubuntu/.ansible/tmp/ansible-tmp-1718747828.828673-780-271893031103736/AnsiballZ_iptables_state.py _'"'"'"'"'"'"'"'"' && sleep 0'"'"''
2024-06-18T21:57:09.2378776Z 02:51 Escalation succeeded
2024-06-18T21:57:09.2382458Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> (0, b'{"failed": 0, "started": 1, "finished": 0, "ansible_job_id": "j55970908381.5050", "results_file": "/root/.ansible_async/j55970908381.5050", "_ansible_suppress_tmpdir_delete": true}\r\n', b"OpenSSH_9.6p1 Ubuntu-3ubuntu13, OpenSSL 3.0.13 30 Jan 2024\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files\r\ndebug1: /etc/ssh/ssh_config line 21: Applying options for *\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/root/.ssh/known_hosts'\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/root/.ssh/known_hosts2'\r\ndebug1: auto-mux: Trying existing master at '/root/.ansible/cp/4da351bb4c'\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 761\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet_timeout: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\nShared connection to ec2-54-226-222-64.compute-1.amazonaws.com closed.\r\n")
2024-06-18T21:57:09.2384668Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> ESTABLISH SSH CONNECTION FOR USER: ubuntu
2024-06-18T21:57:09.2385397Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: ansible.cfg set ssh_args: (-C)(-o)(ControlMaster=auto)(-o)(ControlPersist=60s)
2024-06-18T21:57:09.2386127Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: ANSIBLE_HOST_KEY_CHECKING/host_key_checking disabled: (-o)(StrictHostKeyChecking=no)
2024-06-18T21:57:09.2386793Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: ANSIBLE_REMOTE_PORT/remote_port/ansible_port set: (-o)(Port=22)
2024-06-18T21:57:09.2388166Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: ANSIBLE_PRIVATE_KEY_FILE/private_key_file/ansible_ssh_private_key_file set: (-o)(IdentityFile="/root/ansible_collections/community/general/tests/output/.tmp/id_rsa")
2024-06-18T21:57:09.2389404Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: ansible_password/ansible_ssh_password not set: (-o)(KbdInteractiveAuthentication=no)(-o)(PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey)(-o)(PasswordAuthentication=no)
2024-06-18T21:57:09.2396338Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User="ubuntu")
2024-06-18T21:57:09.2396979Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
2024-06-18T21:57:09.2397552Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: Set ssh_common_args: ()
2024-06-18T21:57:09.2401940Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: Set ssh_extra_args: ()
2024-06-18T21:57:09.2406934Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath="/root/.ansible/cp/4da351bb4c")
2024-06-18T21:57:09.2408671Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: EXEC ssh -vvvvvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=22 -o 'IdentityFile="/root/ansible_collections/community/general/tests/output/.tmp/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="ubuntu"' -o ConnectTimeout=10 -o 'ControlPath="/root/.ansible/cp/4da351bb4c"' ec2-54-226-222-64.compute-1.amazonaws.com '/bin/sh -c '"'"'echo ~root && sleep 0'"'"''
2024-06-18T21:57:09.2416330Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> (0, b'/root\n', b"OpenSSH_9.6p1 Ubuntu-3ubuntu13, OpenSSL 3.0.13 30 Jan 2024\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files\r\ndebug1: /etc/ssh/ssh_config line 21: Applying options for *\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/root/.ssh/known_hosts'\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/root/.ssh/known_hosts2'\r\ndebug1: auto-mux: Trying existing master at '/root/.ansible/cp/4da351bb4c'\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 761\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet_timeout: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
2024-06-18T21:57:09.2421914Z 02:51 Using module file /root/ansible/lib/ansible/modules/async_status.py
2024-06-18T21:57:09.2426360Z 02:51 Pipelining is enabled.
2024-06-18T21:57:09.2426962Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> ESTABLISH SSH CONNECTION FOR USER: ubuntu
2024-06-18T21:57:09.2431404Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: ansible.cfg set ssh_args: (-C)(-o)(ControlMaster=auto)(-o)(ControlPersist=60s)
2024-06-18T21:57:09.2436019Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: ANSIBLE_HOST_KEY_CHECKING/host_key_checking disabled: (-o)(StrictHostKeyChecking=no)
2024-06-18T21:57:09.2440705Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: ANSIBLE_REMOTE_PORT/remote_port/ansible_port set: (-o)(Port=22)
2024-06-18T21:57:09.2441753Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: ANSIBLE_PRIVATE_KEY_FILE/private_key_file/ansible_ssh_private_key_file set: (-o)(IdentityFile="/root/ansible_collections/community/general/tests/output/.tmp/id_rsa")
2024-06-18T21:57:09.2446923Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: ansible_password/ansible_ssh_password not set: (-o)(KbdInteractiveAuthentication=no)(-o)(PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey)(-o)(PasswordAuthentication=no)
2024-06-18T21:57:09.2451722Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User="ubuntu")
2024-06-18T21:57:09.2456787Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
2024-06-18T21:57:09.2457491Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: Set ssh_common_args: ()
2024-06-18T21:57:09.2461473Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: Set ssh_extra_args: ()
2024-06-18T21:57:09.2465620Z 02:51 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath="/root/.ansible/cp/4da351bb4c")
2024-06-18T21:57:21.4288318Z 03:03 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: EXEC ssh -vvvvvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=22 -o 'IdentityFile="/root/ansible_collections/community/general/tests/output/.tmp/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="ubuntu"' -o ConnectTimeout=10 -o 'ControlPath="/root/.ansible/cp/4da351bb4c"' ec2-54-226-222-64.compute-1.amazonaws.com '/bin/sh -c '"'"'sudo -H -S -n  -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-zmakvhptlcgavvpvxiefozvcuoyixyza ; /usr/bin/python3.10'"'"'"'"'"'"'"'"' && sleep 0'"'"''
2024-06-18T21:57:21.4289665Z 03:03 Escalation succeeded
2024-06-18T21:57:21.4293263Z 03:03 <ec2-54-226-222-64.compute-1.amazonaws.com> (0, b'\n{"started": 1, "finished": 0, "ansible_job_id": "j55970908381.5050", "invocation": {"module_args": {"mode": "status", "jid": "j55970908381.5050", "_async_dir": "/root/.ansible_async"}}}\n', b"OpenSSH_9.6p1 Ubuntu-3ubuntu13, OpenSSL 3.0.13 30 Jan 2024\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files\r\ndebug1: /etc/ssh/ssh_config line 21: Applying options for *\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/root/.ssh/known_hosts'\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/root/.ssh/known_hosts2'\r\ndebug1: auto-mux: Trying existing master at '/root/.ansible/cp/4da351bb4c'\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 761\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet_timeout: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
2024-06-18T21:57:21.4295547Z 03:03 <ec2-54-226-222-64.compute-1.amazonaws.com> ESTABLISH SSH CONNECTION FOR USER: ubuntu
2024-06-18T21:57:21.4308987Z 03:03 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: ansible.cfg set ssh_args: (-C)(-o)(ControlMaster=auto)(-o)(ControlPersist=60s)
2024-06-18T21:57:21.4309724Z 03:03 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: ANSIBLE_HOST_KEY_CHECKING/host_key_checking disabled: (-o)(StrictHostKeyChecking=no)
2024-06-18T21:57:21.4310648Z 03:03 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: ANSIBLE_REMOTE_PORT/remote_port/ansible_port set: (-o)(Port=22)
2024-06-18T21:57:21.4311603Z 03:03 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: ANSIBLE_PRIVATE_KEY_FILE/private_key_file/ansible_ssh_private_key_file set: (-o)(IdentityFile="/root/ansible_collections/community/general/tests/output/.tmp/id_rsa")
2024-06-18T21:57:21.4323779Z 03:03 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: ansible_password/ansible_ssh_password not set: (-o)(KbdInteractiveAuthentication=no)(-o)(PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey)(-o)(PasswordAuthentication=no)
2024-06-18T21:57:21.4331677Z 03:03 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User="ubuntu")
2024-06-18T21:57:21.4339107Z 03:03 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
2024-06-18T21:57:21.4346305Z 03:03 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: Set ssh_common_args: ()
2024-06-18T21:57:21.4353629Z 03:03 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: Set ssh_extra_args: ()
2024-06-18T21:57:21.4360364Z 03:03 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath="/root/.ansible/cp/4da351bb4c")
2024-06-18T21:57:21.4368679Z 03:03 <ec2-54-226-222-64.compute-1.amazonaws.com> SSH: EXEC ssh -vvvvvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=22 -o 'IdentityFile="/root/ansible_collections/community/general/tests/output/.tmp/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="ubuntu"' -o ConnectTimeout=10 -o 'ControlPath="/root/.ansible/cp/4da351bb4c"' -tt ec2-54-226-222-64.compute-1.amazonaws.com '/bin/sh -c '"'"'sudo -H -S -n  -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-khddskmlldsqpwsfeljvahtszoswxxos ; touch ~/.ansible_async/iptables.state.starter'"'"'"'"'"'"'"'"' && sleep 0'"'"''
2024-06-18T21:57:21.4375571Z 03:03 fatal: [testhost]: FAILED! => {
2024-06-18T21:57:21.4382608Z 03:03     "msg": "Timeout (12s) waiting for privilege escalation prompt: "
2024-06-18T21:57:21.4388773Z 03:03 }
2024-06-18T21:57:21.4394698Z 03:03 
2024-06-18T21:57:21.4404139Z 03:03 TASK [iptables_state : explain expected failure] *******************************
2024-06-18T21:57:21.4405114Z 03:03 task path: /root/ansible_collections/community/general/tests/output/.tmp/integration/iptables_state-ff58hy4i-ÅÑŚÌβŁÈ/tests/integration/targets/iptables_state/tasks/tests/10-rollback.yml:41
2024-06-18T21:57:21.4891011Z 03:03 fatal: [testhost]: FAILED! => {
2024-06-18T21:57:21.4897742Z 03:03     "msg": "The conditional check 'not iptables_state.applied' failed. The error was: error while evaluating conditional (not iptables_state.applied): 'dict object' has no attribute 'applied'"
2024-06-18T21:57:21.4898533Z 03:03 }

@ansibullbot ansibullbot removed small_patch Hopefully easy to review stale_ci CI is older than 7 days, rerun before merging labels Jun 28, 2024
@ansibullbot ansibullbot added the stale_ci CI is older than 7 days, rerun before merging label Jul 6, 2024
@felixfontein felixfontein removed the backport-8 Automatically create a backport for the stable-8 branch label Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-9 Automatically create a backport for the stable-9 branch bug This issue/PR relates to a bug integration tests/integration stale_ci CI is older than 7 days, rerun before merging tests tests WIP Work in progress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants