[JIRA] (OVIRT-2811) s390x tests failing on missing tty

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-... -- 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)

I don't think you need use sudo, since you're already root on the mock. Did you try running without sudo? 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-...
--
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/S2VPKMZVCIN3AB...
-- Eyal edri He / Him / His MANAGER CONTINUOUS PRODUCTIZATION SYSTEM ENGINEERING Red Hat <https://www.redhat.com/> <https://red.ht/sig> phone: +972-9-7692018 irc: eedri (on #tlv #rhev-dev #rhev-integ #cp-devel)

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-...
--
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/S2VPKMZVCIN3AB...
--
Eyal edri
He / Him / His
MANAGER
CONTINUOUS PRODUCTIZATION
SYSTEM ENGINEERING
Red Hat <https://www.redhat.com/> <https://red.ht/sig> 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/OMBLCI45ZCF4QR...
-- 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. <https://mojo.redhat.com/docs/DOC-1199578>*
participants (3)
-
Eyal Edri
-
Sandro Bonazzola
-
Sandro Bonazzola (oVirt JIRA)