Project

General

Profile

Actions

Bug #14993

closed

centos6 gitbuilder broken

Added by Loïc Dachary about 8 years ago. Updated about 8 years ago.

Status:
Resolved
Priority:
Urgent
Category:
Gitbuilder
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):

Description

Every build fail with

 + GNUPGHOME=/srv/gnupg
+ KEYID=03C3951A
+ gpg --list-keys
+ grep 03C3951A
+ echo --START-IGNORE-WARNINGS
--START-IGNORE-WARNINGS
+ '[' '!' -x install-deps.sh ']'
+ ./install-deps.sh
sudo: no tty present and no askpass program specified
which: no apt-get in (/sbin:/usr/sbin:/bin:/usr/bin)
sudo: no tty present and no askpass program specified
sudo: no tty present and no askpass program specified

>>> Result code: 40
FAIL
`out/log' -> `out/fail/7abb6ae8f3cba67009bd022aaeee0a87cdfc6477'
Done: 7abb6ae8f3cba67009bd022aaeee0a87cdfc6477 


Related issues 1 (0 open1 closed)

Related to sepia - Bug #13763: gitbuilder seems to have bad sudo setupDuplicateDan Mick11/10/2015

Actions
Actions #1

Updated by Loïc Dachary about 8 years ago

http://gitbuilder.sepia.ceph.com/gitbuilder-ceph-rpm-centos6-5-amd64-basic/log.cgi?log=e832001feaf8c176593e0325c8298e3f16dfb403 shows that ./install-deps.fails 
but we don't have much details, to say the least
from the teuthology machine I'm able to $ ssh gitbuilder-ceph-rpm-centos6-5-amd64-basic
the name of the machine is the same as what shows in the URL
running install-deps.sh manually from /srv/autobuild-ceph/gitbuilder.git/build works ok
I added 
Defaults !requiretty
Defaults visiblepw
to /etc/sudo.conf to get rid of the sudo errors. 
and I clicked force rebuild on http://gitbuilder.sepia.ceph.com/gitbuilder-ceph-rpm-centos6-5-amd64-basic/#v0.94.6 to see if that makes a difference
Actions #2

Updated by David Galloway about 8 years ago

  • Category set to Gitbuilder

I added autobuild-ceph ALL=(ALL) NOPASSWD:ALL to /etc/sudoers and hammer is successfully building now.

Actions #3

Updated by Loïc Dachary about 8 years ago

Ha, much better now, thanks !

It still display errorrs that turns gitbuilder red. Have you encoutered them before ?

 + ./install-deps.sh
Loaded plugins: auto-update-debuginfo, fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile

    Error: YumRepo All mirror URLs are not using ftp, http[s] or file. 

Eg. . is not a valid and current release or hasnt been released yet/

    Error: YumRepo All mirror URLs are not using ftp, http[s] or file. 

Eg. . is not a valid and current release or hasnt been released yet/

    Error: YumRepo All mirror URLs are not using ftp, http[s] or file. 

Eg. . is not a valid and current release or hasnt been released yet/
* epel: mirror.cogentco.com
* epel-debuginfo: mirror.cogentco.com
Package redhat-lsb-core-4.0-7.el6.centos.x86_64 already installed and latest version
Nothing to do
which: no apt-get in (/sbin:/usr/sbin:/bin:/usr/bin)
Loaded plugins: auto-update-debuginfo, fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile

    Error: YumRepo All mirror URLs are not using ftp, http[s] or file. 

Eg. . is not a valid and current release or hasnt been released yet/

    Error: YumRepo All mirror URLs are not using ftp, http[s] or file. 

Eg. . is not a valid and current release or hasnt been released yet/

    Error: YumRepo All mirror URLs are not using ftp, http[s] or file. 

Eg. . is not a valid and current release or hasnt been released yet/
* epel: mirror.cogentco.com
* epel-debuginfo: mirror.cogentco.com
Package yum-utils-1.1.30-30.el6.noarch already installed and latest version
Nothing to do
Loaded plugins: auto-update-debuginfo, fastestmirror
Enabling epel-source repository
Loading mirror speeds from cached hostfile

    Error: YumRepo All mirror URLs are not using ftp, http[s] or file. 

Eg. . is not a valid and current release or hasnt been released yet/

    Error: YumRepo All mirror URLs are not using ftp, http[s] or file. 

Eg. . is not a valid and current release or hasnt been released yet/

    Error: YumRepo All mirror URLs are not using ftp, http[s] or file. 

Eg. . is not a valid and current release or hasnt been released yet/
* epel: mirror.cogentco.com
* epel-debuginfo: mirror.cogentco.com
* epel-source: mirror.cogentco.com
Getting requirements for /tmp/install-deps.24549/ceph.spec
Actions #4

Updated by Loïc Dachary about 8 years ago

  • Status changed from 12 to In Progress
  • Assignee changed from Loïc Dachary to David Galloway
Actions #5

Updated by David Galloway about 8 years ago

Fixed yum errors by updating repo file. The Centos Base repofile got mangled somehow and there was a new *.rpmnew version in /etc/yum.repos.d

I changed the .rpmnew file to be used instead and yum exits cleanly now.

Actions #6

Updated by David Galloway about 8 years ago

  • Status changed from In Progress to Resolved

Once all the yum repo issues were cleared, up hammer successfully built.

Actions #7

Updated by Loïc Dachary about 8 years ago

Thanks David !

Actions #8

Updated by David Galloway about 8 years ago

  • Related to Bug #13763: gitbuilder seems to have bad sudo setup added
Actions

Also available in: Atom PDF