Bug 1924767 - CI provision stage fails due to a timeout on privilege escalation
Summary: CI provision stage fails due to a timeout on privilege escalation
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-networking-ovn
Version: 16.1 (Train)
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: RHOS Maint
QA Contact: Eran Kuris
URL:
Whiteboard: DFG:Networking Squad:OVN
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-02-03 15:05 UTC by Elvira
Modified: 2021-02-09 14:23 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-02-09 14:23:06 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Elvira 2021-02-03 15:05:20 UTC
Description of problem:

The CI job Pipeline DFG-network-networking-ovn-16.1-dsvm-functional-rhos[0] fails in the provision stage, before executing its tests. The reason seems to be that the provisioning script times out while waiting for a privilege escalation on the task "disable reverse dns lookup".


[0] https://rhos-ci-jenkins.lab.eng.tlv2.redhat.com/view/DFG/view/network/view/networking-ovn/job/DFG-network-networking-ovn-16.1-dsvm-functional-rhos/3/

# Shell Script output:

TASK [sshd - disable reverse dns lookup] ***************************************
[1;30mtask path: /home/rhos-ci/jenkins/workspace/DFG-network-networking-ovn-16.1-dsvm-functional-rhos/infrared/plugins/openstack/post.yml:6[0m
Monday 01 February 2021  12:58:21 +0000 (0:00:00.301)       0:06:18.486 ******* 
[0;34m<10.0.154.202> ssh_retry: attempt: 1, caught exception(Timeout (32s) waiting for privilege escalation prompt: ) from cmd ([b'ssh', b'-C', b'-o', b'ControlMaster=auto', b'-o', b'ControlPersist=60s', b'-o', b'StrictHostKeyChecking=no', b'-o', b'IdentityFile="/home/rhos-ci/.ssh/rhos-jenkins/id_rsa"', b'-o', b'KbdInteractiveAuthentication=no', b'-o', b'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', b'-o', b'PasswordAuthentication=no', b'-o', b'User="cloud-user"', b'-o', b'ConnectTimeout=30', b'-o', b'ControlPath=/tmp/ir-venv-h0wfPXY/%h-%r', b'10.0.154.202', b'/bin/sh -c \'sudo -H -S -n  -u root /bin/sh -c \'"\'"\'echo BECOME-SUCCESS-ofqorhxbqqosamekmdgctkerazxewzyp ; /usr/libexec/platform-python\'"\'"\' && sleep 0\'']...), pausing for 0 seconds[0m
[0;34m<10.0.154.202> ssh_retry: attempt: 2, caught exception(Timeout (32s) waiting for privilege escalation prompt: ) from cmd ([b'ssh', b'-C', b'-o', b'ControlMaster=auto', b'-o', b'ControlPersist=60s', b'-o', b'StrictHostKeyChecking=no', b'-o', b'IdentityFile="/home/rhos-ci/.ssh/rhos-jenkins/id_rsa"', b'-o', b'KbdInteractiveAuthentication=no', b'-o', b'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', b'-o', b'PasswordAuthentication=no', b'-o', b'User="cloud-user"', b'-o', b'ConnectTimeout=30', b'-o', b'ControlPath=/tmp/ir-venv-h0wfPXY/%h-%r', b'10.0.154.202', b'/bin/sh -c \'sudo -H -S -n  -u root /bin/sh -c \'"\'"\'echo BECOME-SUCCESS-ofqorhxbqqosamekmdgctkerazxewzyp ; /usr/libexec/platform-python\'"\'"\' && sleep 0\'']...), pausing for 1 seconds[0m
[0;31mfatal: [ded3b2b0d1aef8a851f8c022b02113f7-tester-0]: FAILED!

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Terry Wilson 2021-02-09 14:23:06 UTC
looks like was fixed by infra team on Feb 5.


Note You need to log in before you can comment on or make changes to this bug.