Il giorno lun 7 ott 2019 alle ore 14:56 Eyal Edri <eedri@redhat.com> ha scritto:
I don't think you need use sudo, since you're already root on the mock.
Did you try running without sudo?

I'm not using sudo in check patch script, it's used by CI underlying scripts.

 

If you want to use sudo, you'll need to edit the /etc/suders files before and enable tty.

On Mon, Oct 7, 2019 at 3:22 PM Sandro Bonazzola (oVirt JIRA) <jira@ovirt-jira.atlassian.net> wrote:
Sandro Bonazzola created OVIRT-2811:
---------------------------------------

             Summary: s390x tests failing on missing tty
                 Key: OVIRT-2811
                 URL: https://ovirt-jira.atlassian.net/browse/OVIRT-2811
             Project: oVirt - virtualization made easy
          Issue Type: By-EMAIL
            Reporter: Sandro Bonazzola
            Assignee: infra


Jenkins is failing on s390x with:

[2019-10-07T11:45:31.272Z] + sudo -n chown -R ovirt:ovirt
/home/ovirt/workspace/ovirt-release_standard-check-patch/check-patch.fc30.s390x
[2019-10-07T11:45:31.272Z] sudo: sorry, you must have a tty to run sudo

https://jenkins.ovirt.org/blue/organizations/jenkins/ovirt-release_standard-check-patch/detail/ovirt-release_standard-check-patch/151/pipeline/140

--

Sandro Bonazzola

MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV

Red Hat EMEA <https://www.redhat.com/>

sbonazzo@redhat.com
<https://www.redhat.com/>*Red Hat respects your work life balance.
Therefore there is no need to answer this email out of your office hours.*



--
This message was sent by Atlassian Jira
(v1001.0.0-SNAPSHOT#100111)
_______________________________________________
Infra mailing list -- infra@ovirt.org
To unsubscribe send an email to infra-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/infra@ovirt.org/message/S2VPKMZVCIN3ABBMNA7MHBMEVR2SDSEI/


--

Eyal edri

He / Him / His


MANAGER

CONTINUOUS PRODUCTIZATION

SYSTEM ENGINEERING

Red Hat

phone: +972-9-7692018
irc: eedri (on #tlv #rhev-dev #rhev-integ #cp-devel)
_______________________________________________
Infra mailing list -- infra@ovirt.org
To unsubscribe send an email to infra-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/infra@ovirt.org/message/OMBLCI45ZCF4QREUQPYU54IAFRN2IDQ7/


--