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

OpenSUSE ci failing #136

Closed
GabyCT opened this issue Mar 28, 2019 · 11 comments
Closed

OpenSUSE ci failing #136

GabyCT opened this issue Mar 28, 2019 · 11 comments

Comments

@GabyCT
Copy link
Contributor

GabyCT commented Mar 28, 2019

The openSUSE Leap 15 ci is failing when trying to install the git command which makes impossible to clone a repository. I was able to reproduce this in an azure VM. It looks that git command is not being installed.

$ zypper -n install git
Retrieving repository 'openSUSE-Leap-15.0-Non-Oss' metadata ..............[done]
Building repository 'openSUSE-Leap-15.0-Non-Oss' cache ...................[done]
Retrieving repository 'openSUSE-Leap-15.0-Oss' metadata ..................[done]
Building repository 'openSUSE-Leap-15.0-Oss' cache .......................[done]
Retrieving repository 'openSUSE-Leap-15.0-Update' metadata ...............[done]
Building repository 'openSUSE-Leap-15.0-Update' cache ....................[done]
Retrieving repository 'openSUSE-Leap-Cloud-Tools' metadata ...............[done]
Building repository 'openSUSE-Leap-Cloud-Tools' cache ....................[done]
Retrieving repository 'openSUSE-Leap-15.0-Update-Non-Oss' metadata .......[done]
Building repository 'openSUSE-Leap-15.0-Update-Non-Oss' cache ............[done]
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following 34 NEW packages are going to be installed:
  bash-completion-devel cvs cvsps git git-core git-cvs git-email git-gui git-svn
  gitk libXft2 libXmuu1 libXrender1 libXss1 libapr-util1 libapr1 libpcre2-8-0
  libserf-1-1 libsha1detectcoll1 libutf8proc2 perl-Authen-SASL perl-DBD-SQLite
  perl-DBI perl-Digest-HMAC perl-Error perl-IO-Socket-SSL perl-Net-SMTP-SSL
  perl-Net-SSLeay perl-Term-ReadKey subversion subversion-bash-completion
  subversion-perl tk xhost

The following 8 recommended packages were automatically selected:
  git-cvs git-email git-gui git-svn gitk perl-Authen-SASL perl-Net-SMTP-SSL
  subversion-bash-completion

The following 2 packages are suggested, but will not be installed:
  git-daemon git-web

34 new packages to install.
Overall download size: 15.4 MiB. Already cached: 0 B. After the operation,
additional 61.1 MiB will be used.
Continue? [y/n/...? shows all options] (y): y
Retrieving package cvs-1.12.12-lp150.1.9.x86_64
                                          (1/34), 404.7 KiB (962.5 KiB unpacked)
Retrieving: cvs-1.12.12-lp150.1.9.x86_64.rpm ........................[not found]
File './suse/x86_64/cvs-1.12.12-lp150.1.9.x86_64.rpm' not found on medium 'http:                                                                                                             //download.opensuse.org/distribution/leap/15.0/repo/oss/'
Abort, retry, ignore? [a/r/i/...? shows all options] (a): a
Problem occurred during or after installation or removal of packages:
Installation aborted by user
Please see the above error message for a hint.

/cc @jodh-intel @chavafg

Any ideas @marcov ?

@jodh-intel
Copy link
Contributor

Wow, CVS... ;)

This looks like it might be a transitory issue though as I've just removed git+cvs and re-installed the versions mentioned here with no problems.

@marcov
Copy link

marcov commented Mar 28, 2019

I think this error is just a temporary network/mirror error.

BTW, CVS is being pulled because, by default, zypper is also installing recommended packages, and git-cvs is one of those.

This can be avoided in (at least) 2 ways:

  • Use zypper install --no-recommends ...
  • Have in /etc/zypp/zypp.conf the line: solver.onlyRequires = true

@GabyCT
Copy link
Contributor Author

GabyCT commented Mar 29, 2019

@marcov , I tried it with

$ sudo zypper install --no-recommends -y git 

However, now I am getting another error

The following 5 NEW packages are going to be installed:
  git git-core libpcre2-8-0 libsha1detectcoll1 perl-Error

5 new packages to install.
Overall download size: 4.3 MiB. Already cached: 0 B. After the operation, additional 23.9 MiB will be used.
Continue? [y/n/...? shows all options] (y): y
Retrieving package libpcre2-8-0-10.31-lp150.1.3.x86_64 (1/5), 235.5 KiB (648.1 KiB unpacked)
Retrieving: libpcre2-8-0-10.31-lp150.1.3.x86_64.rpm [not found]
Abort, retry, ignore? [a/r/i/...? shows all options] (a): a 

@GabyCT
Copy link
Contributor Author

GabyCT commented Apr 1, 2019

As the issue is still present and we have the CI failing in all the repos, I will disable this job until this is fixed
/cc @chavafg @jodh-intel @marcov

@chavafg
Copy link
Contributor

chavafg commented Apr 1, 2019

agree, lets disable until we find a solution with these dependencies.

@jodh-intel
Copy link
Contributor

@GabyCT - wfm - as long as we have an issue so we don't forget to re-enable.

@jodh-intel
Copy link
Contributor

@marcov - can we use this issue and assign to you?

@marcov
Copy link

marcov commented Apr 19, 2019

hey, sorry for not answering before.

Again, the problem getting libpcre2-8-0-10.31-lp150.1.3.x86_64.rpm seems network/mirror related.

Make sure you have the OSS repo setup properly, with zypper lr -u you should have an entry with this URL: http://download.opensuse.org/distribution/leap/15.0/repo/oss

Just as proof :-) here's the direct link of the package for Leap 15.0, and here some more info on the package.

@GabyCT
Copy link
Contributor Author

GabyCT commented Apr 22, 2019

@marcov the error still there

File './suse/x86_64/libpcre2-8-0-10.31-lp150.1.3.x86_64.rpm' not found on medium 'http://download.opensuse.org/distribution/leap/15.0/repo/oss/
Problem occurred during or after installation or removal of packages:
Installation aborted by user

@marcov
Copy link

marcov commented Apr 23, 2019

Some ideas:

  • Be sure to do a zypper refresh before installing anything
  • If still failing, paste the output of zypper lr -u

@GabyCT
Copy link
Contributor Author

GabyCT commented Apr 25, 2019

@marcov thanks for the help, I modified the jenkins configuration to perform the zypper refresh before installing something and is working perfectly. I will enable again the opensuse CI.

@GabyCT GabyCT closed this as completed Apr 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants