Uploaded image for project: 'Infrastructure'
  1. Infrastructure
  2. INFRA-977

sync.sh doesn't fully run

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Not A Defect
    • Component/s: www
    • Labels:
      None
    • Environment:
      Centos 7 x64
    • Similar Issues:

      Description

      I have installed Jenkins like a system package from pkg.jenkins.io and from UI Jenkins told me that a new version is available.
      When I do yum check-update, Jenkins 2.31 is not showed. On https://pkg.jenkins.io/redhat/, Jenkins 2.31 is not present.

        Attachments

          Issue Links

            Activity

            Hide
            rtyler R. Tyler Croy added a comment -

            Perhaps you're just unlucky? sync.sh has been running properly.

            Just to test, I spun up the centos:7 docker container and everything worked properly:

            [root@57b98bcbf163 /]# wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo
            --2017-05-02 16:38:41--  https://pkg.jenkins.io/redhat-stable/jenkins.repo
            Resolving pkg.jenkins.io (pkg.jenkins.io)... 52.202.51.185
            Connecting to pkg.jenkins.io (pkg.jenkins.io)|52.202.51.185|:443... connected.
            HTTP request sent, awaiting response... 200 OK
            Length: 85
            Saving to: '/etc/yum.repos.d/jenkins.repo'
            
            100%[==========================================================================================================================================>] 85          --.-K/s   in 0s      
            
            2017-05-02 16:38:41 (5.15 MB/s) - '/etc/yum.repos.d/jenkins.repo' saved [85/85]
            
            [root@57b98bcbf163 /]# rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.key
            [root@57b98bcbf163 /]# yum install jenkins
            Loaded plugins: fastestmirror, ovl
            jenkins                                                                                                                                                      | 2.9 kB  00:00:00     
            jenkins/primary_db                                                                                                                                           |  20 kB  00:00:00     
            Loading mirror speeds from cached hostfile
             * base: mirror.rackspace.com
             * extras: mirror.sjc02.svwh.net
             * updates: chicago.gaminghost.co
            Resolving Dependencies
            --> Running transaction check
            ---> Package jenkins.noarch 0:2.46.2-1.1 will be installed
            --> Finished Dependency Resolution
            
            Dependencies Resolved
            
            ====================================================================================================================================================================================
             Package                                   Arch                                     Version                                         Repository                                 Size
            ====================================================================================================================================================================================
            Installing:
             jenkins                                   noarch                                   2.46.2-1.1                                      jenkins                                    67 M
            
            Transaction Summary
            ====================================================================================================================================================================================
            Install  1 Package
            
            Total download size: 67 M
            Installed size: 67 M
            Is this ok [y/d/N]: y
            Downloading packages:
            jenkins-2.46.2-1.1.noarch.rpm                                                                                                                                |  67 MB  00:01:13     
            Running transaction check
            Running transaction test
            Transaction test succeeded
            Running transaction
              Installing : jenkins-2.46.2-1.1.noarch                                                                                                                                        1/1 
              Verifying  : jenkins-2.46.2-1.1.noarch                                                                                                                                        1/1 
            
            Installed:
              jenkins.noarch 0:2.46.2-1.1                                                                                                                                                       
            
            Complete!
            [root@57b98bcbf163 /]# 
            
            
            Show
            rtyler R. Tyler Croy added a comment - Perhaps you're just unlucky? sync.sh has been running properly. Just to test, I spun up the centos:7 docker container and everything worked properly: [root@57b98bcbf163 /]# wget -O /etc/yum.repos.d/jenkins.repo https: //pkg.jenkins.io/redhat-stable/jenkins.repo --2017-05-02 16:38:41-- https: //pkg.jenkins.io/redhat-stable/jenkins.repo Resolving pkg.jenkins.io (pkg.jenkins.io)... 52.202.51.185 Connecting to pkg.jenkins.io (pkg.jenkins.io)|52.202.51.185|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 85 Saving to: '/etc/yum.repos.d/jenkins.repo' 100%[==========================================================================================================================================>] 85 --.-K/s in 0s 2017-05-02 16:38:41 (5.15 MB/s) - '/etc/yum.repos.d/jenkins.repo' saved [85/85] [root@57b98bcbf163 /]# rpm -- import https: //pkg.jenkins.io/redhat-stable/jenkins.io.key [root@57b98bcbf163 /]# yum install jenkins Loaded plugins: fastestmirror, ovl jenkins | 2.9 kB 00:00:00 jenkins/primary_db | 20 kB 00:00:00 Loading mirror speeds from cached hostfile * base: mirror.rackspace.com * extras: mirror.sjc02.svwh.net * updates: chicago.gaminghost.co Resolving Dependencies --> Running transaction check ---> Package jenkins.noarch 0:2.46.2-1.1 will be installed --> Finished Dependency Resolution Dependencies Resolved ==================================================================================================================================================================================== Package Arch Version Repository Size ==================================================================================================================================================================================== Installing: jenkins noarch 2.46.2-1.1 jenkins 67 M Transaction Summary ==================================================================================================================================================================================== Install 1 Package Total download size: 67 M Installed size: 67 M Is this ok [y/d/N]: y Downloading packages: jenkins-2.46.2-1.1.noarch.rpm | 67 MB 00:01:13 Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : jenkins-2.46.2-1.1.noarch 1/1 Verifying : jenkins-2.46.2-1.1.noarch 1/1 Installed: jenkins.noarch 0:2.46.2-1.1 Complete! [root@57b98bcbf163 /]#
            Hide
            rtyler R. Tyler Croy added a comment -

            Hope you figure out what's breaking for you Yunier Sosa

            Show
            rtyler R. Tyler Croy added a comment - Hope you figure out what's breaking for you Yunier Sosa
            Hide
            yjsosa Yunier Sosa added a comment -

            Hi guys.

            Sorry for reopen the issue, my proxy cache tool was referencing old files .

            I deleted the cache and everything works .

            Show
            yjsosa Yunier Sosa added a comment - Hi guys. Sorry for reopen the issue, my proxy cache tool was referencing old files . I deleted the cache and everything works .
            Hide
            yjsosa Yunier Sosa added a comment -

            Hi friends.

            Jenkins v2.87 was released last Sunday 29 but it not appear on https://pkg.jenkins.io/redhat/.

            Can you check if something is failing?

            Show
            yjsosa Yunier Sosa added a comment - Hi friends. Jenkins v2.87 was released last Sunday 29 but it not appear on https://pkg.jenkins.io/redhat/. Can you check if something is failing?
            Hide
            danielbeck Daniel Beck added a comment -

            Believed to be resolved as INFRA-1348, if not, comment here.

            Show
            danielbeck Daniel Beck added a comment - Believed to be resolved as INFRA-1348 , if not, comment here.

              People

              Assignee:
              kohsuke Kohsuke Kawaguchi
              Reporter:
              yjsosa Yunier Sosa
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: