-
Bug
-
Resolution: Cannot Reproduce
-
Minor
-
Jenkins:
Core 2.91
bitbucket-branch-source-plugin 2.2.7
Other plugins are running at experimental update center levels
SCM:
Bitbucket Server 5.2.3
Summary:
While working on a recreate for JENKINS-47584, I put the sample repository for that issue on a Bitbucket server, as a method of testing Bitbucket 2.2.7. When building this pipeline, I noticed, in the build log, that there was an error related to attempting the lightweight checkout.
It's not clear to me how impactful this error is (or if there even is an impact), but when an error is reported, I feel it's best to err on the side of reporting it.
Log output:
Started by user admin Replayed #5 ERROR: Could not do lightweight checkout, falling back to heavyweight java.io.FileNotFoundException: URL: /rest/api/1.0/projects/NOV/repos/jenkins-47584/browse/jenkinsIntegracion-continua.pipeline/?at=master&start=0&limit=500 at com.cloudbees.jenkins.plugins.bitbucket.server.client.BitbucketServerAPIClient.getRequest(BitbucketServerAPIClient.java:517) at com.cloudbees.jenkins.plugins.bitbucket.server.client.BitbucketServerAPIClient.getFileContent(BitbucketServerAPIClient.java:723) at com.cloudbees.jenkins.plugins.bitbucket.filesystem.BitbucketSCMFile.content(BitbucketSCMFile.java:81) at jenkins.scm.api.SCMFile.contentAsString(SCMFile.java:338) at org.jenkinsci.plugins.workflow.multibranch.SCMBinder.create(SCMBinder.java:104) at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:263) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:421) [Pipeline] library Loading library libs-JENKINS-47584@master Attempting to resolve master from remote references... > git --version # timeout=10 using GIT_ASKPASS to set credentials dev1 for private BBS > git ls-remote -h -t http://dev1@bitbucket.beescloud.com/scm/nov/libs-jenkins-47584.git # timeout=10 Found match: refs/heads/master revision e8111e880a61ebae3ba6b9ed4325167422f90551 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url http://dev1@bitbucket.beescloud.com/scm/nov/libs-jenkins-47584.git # timeout=10 Fetching without tags Fetching upstream changes from http://dev1@bitbucket.beescloud.com/scm/nov/libs-jenkins-47584.git > git --version # timeout=10 using GIT_ASKPASS to set credentials dev1 for private BBS > git fetch --no-tags --progress http://dev1@bitbucket.beescloud.com/scm/nov/libs-jenkins-47584.git +refs/heads/*:refs/remotes/origin/* Checking out Revision e8111e880a61ebae3ba6b9ed4325167422f90551 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f e8111e880a61ebae3ba6b9ed4325167422f90551 Commit message: "libs - Initial commit to try and recreate JENKINS-47584" > git rev-list e8111e880a61ebae3ba6b9ed4325167422f90551 # timeout=10 [Bitbucket] Notifying commit build result Replacing contents of vars/APIRestPipeline.groovy Replacing contents of vars/genera.groovy Replacing contents of vars/lanzaTestsJMeter.groovy Replacing contents of vars/GenerarVersionAnteriorPipeline.groovy Replacing contents of vars/emailRecuerdaPasoAMaster.groovy Replacing contents of vars/wasTimeoutReached.groovy Replacing contents of vars/liberaVersion.groovy Replacing contents of vars/creaReleaseCandidate.groovy Replacing contents of vars/subeANexus.groovy Replacing contents of vars/ofreceConfigurarParametrosAdicionales.groovy Replacing contents of vars/usaUltimasVersionesLibreriasEprinsa.groovy Replacing contents of vars/listaAplicacionesDesplegables.groovy Replacing contents of vars/pasoAProduccion.groovy Replacing contents of vars/apruebaPostProduccion.groovy Replacing contents of vars/wasTimeoutOrCancelledByUser.groovy Replacing contents of vars/generaFicherosConfiguracionEARJDeveloper.groovy Replacing contents of vars/apruebaDespliegue.groovy Replacing contents of vars/apruebaPasoAFaseDePruebas.groovy Replacing contents of vars/eligeAplicacionesDesplegadas.groovy Replacing contents of vars/apruebaParametrosAdicionalesMaven.groovy Replacing contents of vars/introduceCredencialesJMeter.groovy Replacing contents of vars/compruebaDespliegueOk.groovy Replacing contents of vars/enviaMailVersionLiberada.groovy Replacing contents of vars/ofreceParametrosAdicionalesMaven.groovy Replacing contents of vars/ParentPOMPipeline.groovy Replacing contents of vars/postProduccion.groovy Replacing contents of vars/limpiaYGeneraFicherosConfiguracionEARJDeveloper.groovy Replacing contents of vars/muestraNuevasVersiones.groovy Replacing contents of vars/cuentaCommitsManuales.groovy Replacing contents of vars/parametrosAdicionalesMaven.groovy Replacing contents of vars/paraAplicaciones.groovy Replacing contents of vars/limpiaEARJDeveloper.groovy Replacing contents of vars/apruebaPuestaEnProduccion.groovy Replacing contents of vars/preparaEntorno.groovy Replacing contents of vars/finalizaPipeline.groovy Replacing contents of vars/iniciaJobAplicaciones.groovy Replacing contents of vars/wasCancelledByUser.groovy Replacing contents of vars/obtenUltimaVersionLiberada.groovy Replacing contents of vars/despliega.groovy Replacing contents of vars/listaModulos.groovy Replacing contents of vars/obtenFechaProximaLiberacion.groovy Replacing contents of vars/arrancaAplicaciones.groovy Replacing contents of vars/generaDocumentacion.groovy Replacing contents of vars/notificaCambioEstadoPipeline.groovy Replacing contents of vars/recopilaResultadosJMeter.groovy Replacing contents of vars/eligeAplicaciones.groovy Replacing contents of vars/listaAplicacionesDesplegadas.groovy Replacing contents of vars/Tipo.groovy Replacing contents of vars/apruebaLiberarVersion.groovy Replacing contents of vars/eligeLibreriasAGenerar.groovy Replacing contents of vars/redespliegaAplicaciones.groovy Replacing contents of vars/recopilaResultadosJUnit.groovy [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Configurar parámetros adicionales) [Pipeline] echo Preguntando al usuario si quiere configurar algunos parámetros adicionales antes de generar. Argumentos recibidos: null [Pipeline] timeout Timeout set to expire in 10 sec [Pipeline] { [Pipeline] input Input requested Approved by admin [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Generación) [Pipeline] node Running on 113-agent in /home/ec2-user/jenkins/jenkins/workspace/jenkins-47584_master-3MOL5FOIH7OIRLPQYRHSBEGQZMPNH745SIGJSR2ZVHMVONNNDWRQ [Pipeline] { [Pipeline] checkout Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository https://bitbucket.beescloud.com/scm/NOV/jenkins-47584.git > git init /home/ec2-user/jenkins/jenkins/workspace/jenkins-47584_master-3MOL5FOIH7OIRLPQYRHSBEGQZMPNH745SIGJSR2ZVHMVONNNDWRQ # timeout=10 Fetching upstream changes from https://bitbucket.beescloud.com/scm/NOV/jenkins-47584.git > git --version # timeout=10 using GIT_ASKPASS to set credentials Bitbucket server credentials > git fetch --no-tags --progress https://bitbucket.beescloud.com/scm/NOV/jenkins-47584.git +refs/heads/master:refs/remotes/origin/master > git config remote.origin.url https://bitbucket.beescloud.com/scm/NOV/jenkins-47584.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url https://bitbucket.beescloud.com/scm/NOV/jenkins-47584.git # timeout=10 Fetching without tags Fetching upstream changes from https://bitbucket.beescloud.com/scm/NOV/jenkins-47584.git using GIT_ASKPASS to set credentials Bitbucket server credentials > git fetch --no-tags --progress https://bitbucket.beescloud.com/scm/NOV/jenkins-47584.git +refs/heads/master:refs/remotes/origin/master Checking out Revision af2c5c34abb6567fe7c4ba2f3165618dba3e28c2 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f af2c5c34abb6567fe7c4ba2f3165618dba3e28c2 Commit message: "Add the libraries" > git rev-list af2c5c34abb6567fe7c4ba2f3165618dba3e28c2 # timeout=10 [Bitbucket] Notifying commit build result [Pipeline] withEnv [Pipeline] { [Pipeline] tool [Pipeline] envVarsForTool [Pipeline] tool [Pipeline] envVarsForTool [Pipeline] withEnv [Pipeline] { [Pipeline] parallel [Pipeline] [Comprobando si existen nuevas versiones a título informativo] { (Branch: Comprobando si existen nuevas versiones a título informativo) [Pipeline] [proyectos-maven.pom] { (Branch: proyectos-maven.pom) [Pipeline] [Comprobando si existen nuevas versiones a título informativo] echo [Comprobando si existen nuevas versiones a título informativo] Comprobando si hay nuevas versiones de dependencias (librerías): [Pipeline] [Comprobando si existen nuevas versiones a título informativo] sh [Comprobando si existen nuevas versiones a título informativo] [jenkins-47584_master-3MOL5FOIH7OIRLPQYRHSBEGQZMPNH745SIGJSR2ZVHMVONNNDWRQ] Running shell script [Pipeline] [proyectos-maven.pom] echo [proyectos-maven.pom] Generación desde la rama master. Argumentos: [esLibreria:false, rutaPomXml:pom.xml] [Pipeline] [proyectos-maven.pom] sh [proyectos-maven.pom] [jenkins-47584_master-3MOL5FOIH7OIRLPQYRHSBEGQZMPNH745SIGJSR2ZVHMVONNNDWRQ] Running shell script [Comprobando si existen nuevas versiones a título informativo] + mvn versions:display-plugin-updates versions:display-dependency-updates -f pom.xml [proyectos-maven.pom] + mvn clean -f pom.xml [Comprobando si existen nuevas versiones a título informativo] [INFO] Scanning for projects... [Comprobando si existen nuevas versiones a título informativo] [WARNING] The project es.eprinsa:proyectos-maven-jenkins-issue-47584:pom:0.0.1-SNAPSHOT uses prerequisites which is only intended for maven-plugin projects but not for non maven-plugin projects. For such purposes you should use the maven-enforcer-plugin. See https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html [Comprobando si existen nuevas versiones a título informativo] [INFO] [Comprobando si existen nuevas versiones a título informativo] [INFO] ------------------------------------------------------------------------ [Comprobando si existen nuevas versiones a título informativo] [INFO] Building proyectos-maven-jenkins-issue-47584 0.0.1-SNAPSHOT [Comprobando si existen nuevas versiones a título informativo] [INFO] ------------------------------------------------------------------------ [Comprobando si existen nuevas versiones a título informativo] [INFO] [Comprobando si existen nuevas versiones a título informativo] [INFO] --- versions-maven-plugin:2.5:display-plugin-updates (default-cli) @ proyectos-maven-jenkins-issue-47584 --- [proyectos-maven.pom] [INFO] Scanning for projects... [proyectos-maven.pom] [WARNING] The project es.eprinsa:proyectos-maven-jenkins-issue-47584:pom:0.0.1-SNAPSHOT uses prerequisites which is only intended for maven-plugin projects but not for non maven-plugin projects. For such purposes you should use the maven-enforcer-plugin. See https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html [proyectos-maven.pom] [INFO] [proyectos-maven.pom] [INFO] ------------------------------------------------------------------------ [proyectos-maven.pom] [INFO] Building proyectos-maven-jenkins-issue-47584 0.0.1-SNAPSHOT [proyectos-maven.pom] [INFO] ------------------------------------------------------------------------ [proyectos-maven.pom] [INFO] [proyectos-maven.pom] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ proyectos-maven-jenkins-issue-47584 --- [proyectos-maven.pom] [INFO] ------------------------------------------------------------------------ [proyectos-maven.pom] [INFO] BUILD SUCCESS [proyectos-maven.pom] [INFO] ------------------------------------------------------------------------ [proyectos-maven.pom] [INFO] Total time: 1.131 s [proyectos-maven.pom] [INFO] Finished at: 2017-11-21T22:22:31Z [proyectos-maven.pom] [INFO] Final Memory: 5M/15M [proyectos-maven.pom] [INFO] ------------------------------------------------------------------------ [Pipeline] [proyectos-maven.pom] echo [proyectos-maven.pom] Generando [Pipeline] [proyectos-maven.pom] sh [proyectos-maven.pom] [jenkins-47584_master-3MOL5FOIH7OIRLPQYRHSBEGQZMPNH745SIGJSR2ZVHMVONNNDWRQ] Running shell script [proyectos-maven.pom] + mvn clean install -f pom.xml [Comprobando si existen nuevas versiones a título informativo] [INFO] [Comprobando si existen nuevas versiones a título informativo] [INFO] All plugins with a version specified are using the latest versions. [Comprobando si existen nuevas versiones a título informativo] [INFO] [Comprobando si existen nuevas versiones a título informativo] [WARNING] The following plugins do not have their version specified: [Comprobando si existen nuevas versiones a título informativo] [WARNING] maven-clean-plugin ........................ (from super-pom) 3.0.0 [Comprobando si existen nuevas versiones a título informativo] [WARNING] maven-deploy-plugin ....................... (from super-pom) 2.8.2 [Comprobando si existen nuevas versiones a título informativo] [WARNING] maven-install-plugin ...................... (from super-pom) 2.5.2 [Comprobando si existen nuevas versiones a título informativo] [WARNING] maven-site-plugin ........................... (from super-pom) 3.6 [Comprobando si existen nuevas versiones a título informativo] [INFO] [Comprobando si existen nuevas versiones a título informativo] [INFO] Project defines minimum Maven version as: 3.1.1 [Comprobando si existen nuevas versiones a título informativo] [INFO] Plugins require minimum Maven version of: 3.0 [Comprobando si existen nuevas versiones a título informativo] [INFO] Note: the super-pom from Maven 3.5.0 defines some of the plugin [Comprobando si existen nuevas versiones a título informativo] [INFO] versions and may be influencing the plugins required minimum Maven [Comprobando si existen nuevas versiones a título informativo] [INFO] version. [Comprobando si existen nuevas versiones a título informativo] [INFO] [Comprobando si existen nuevas versiones a título informativo] [INFO] No plugins require a newer version of Maven than specified by the pom. [Comprobando si existen nuevas versiones a título informativo] [INFO] [Comprobando si existen nuevas versiones a título informativo] [INFO] [Comprobando si existen nuevas versiones a título informativo] [INFO] --- versions-maven-plugin:2.5:display-dependency-updates (default-cli) @ proyectos-maven-jenkins-issue-47584 --- [Comprobando si existen nuevas versiones a título informativo] [INFO] ------------------------------------------------------------------------ [Comprobando si existen nuevas versiones a título informativo] [INFO] BUILD SUCCESS [Comprobando si existen nuevas versiones a título informativo] [INFO] ------------------------------------------------------------------------ [Comprobando si existen nuevas versiones a título informativo] [INFO] Total time: 5.155 s [Comprobando si existen nuevas versiones a título informativo] [INFO] Finished at: 2017-11-21T22:22:34Z [Comprobando si existen nuevas versiones a título informativo] [INFO] Final Memory: 11M/29M [Comprobando si existen nuevas versiones a título informativo] [INFO] ------------------------------------------------------------------------ [Pipeline] [Comprobando si existen nuevas versiones a título informativo] } [proyectos-maven.pom] [INFO] Scanning for projects... [proyectos-maven.pom] [WARNING] The project es.eprinsa:proyectos-maven-jenkins-issue-47584:pom:0.0.1-SNAPSHOT uses prerequisites which is only intended for maven-plugin projects but not for non maven-plugin projects. For such purposes you should use the maven-enforcer-plugin. See https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html [proyectos-maven.pom] [INFO] [proyectos-maven.pom] [INFO] ------------------------------------------------------------------------ [proyectos-maven.pom] [INFO] Building proyectos-maven-jenkins-issue-47584 0.0.1-SNAPSHOT [proyectos-maven.pom] [INFO] ------------------------------------------------------------------------ [proyectos-maven.pom] [INFO] [proyectos-maven.pom] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ proyectos-maven-jenkins-issue-47584 --- [proyectos-maven.pom] [INFO] [proyectos-maven.pom] [INFO] --- maven-install-plugin:2.4:install (default-install) @ proyectos-maven-jenkins-issue-47584 --- [proyectos-maven.pom] [INFO] Installing /home/ec2-user/jenkins/jenkins/workspace/jenkins-47584_master-3MOL5FOIH7OIRLPQYRHSBEGQZMPNH745SIGJSR2ZVHMVONNNDWRQ/pom.xml to /home/ec2-user/.m2/repository/es/eprinsa/proyectos-maven-jenkins-issue-47584/0.0.1-SNAPSHOT/proyectos-maven-jenkins-issue-47584-0.0.1-SNAPSHOT.pom [proyectos-maven.pom] [INFO] ------------------------------------------------------------------------ [proyectos-maven.pom] [INFO] BUILD SUCCESS [proyectos-maven.pom] [INFO] ------------------------------------------------------------------------ [proyectos-maven.pom] [INFO] Total time: 0.839 s [proyectos-maven.pom] [INFO] Finished at: 2017-11-21T22:22:36Z [proyectos-maven.pom] [INFO] Final Memory: 6M/15M [proyectos-maven.pom] [INFO] ------------------------------------------------------------------------ [Pipeline] [proyectos-maven.pom] } [Pipeline] // parallel [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Aprobar liberación) [Pipeline] echo Aprobando liberación de versión. Argumentos: [esLibreria:false] [Pipeline] milestone (Versión lista para liberar) Trying to pass milestone 50 [Pipeline] timeout Timeout set to expire in 21 days [Pipeline] { [Pipeline] input Input requested Approved by admin [Pipeline] echo ¿Liberar? No ¿Quién libera? admin Comentario de la versión: null [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Liberación) [Pipeline] node Running on 113-agent in /home/ec2-user/jenkins/jenkins/workspace/jenkins-47584_master-3MOL5FOIH7OIRLPQYRHSBEGQZMPNH745SIGJSR2ZVHMVONNNDWRQ [Pipeline] { [Pipeline] checkout > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://bitbucket.beescloud.com/scm/NOV/jenkins-47584.git # timeout=10 Fetching without tags Fetching upstream changes from https://bitbucket.beescloud.com/scm/NOV/jenkins-47584.git > git --version # timeout=10 using GIT_ASKPASS to set credentials Bitbucket server credentials > git fetch --no-tags --progress https://bitbucket.beescloud.com/scm/NOV/jenkins-47584.git +refs/heads/master:refs/remotes/origin/master Checking out Revision af2c5c34abb6567fe7c4ba2f3165618dba3e28c2 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f af2c5c34abb6567fe7c4ba2f3165618dba3e28c2 Commit message: "Add the libraries" [Bitbucket] Notifying commit build result [Pipeline] withEnv [Pipeline] { Stage 'Liberación' skipped due to when conditional [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] node Running on 113-agent in /home/ec2-user/jenkins/jenkins/workspace/jenkins-47584_master-3MOL5FOIH7OIRLPQYRHSBEGQZMPNH745SIGJSR2ZVHMVONNNDWRQ [Pipeline] { [Pipeline] echo Finalizando pipeline... Args: null [Pipeline] timeout Timeout set to expire in 1 min 0 sec [Pipeline] { [Pipeline] echo Limpiando workspace... [Pipeline] deleteDir [Pipeline] } [Pipeline] // timeout [Pipeline] echo Pipeline finalizado [Pipeline] } [Pipeline] // node [Pipeline] node Running on 113-agent in /home/ec2-user/jenkins/jenkins/workspace/jenkins-47584_master-3MOL5FOIH7OIRLPQYRHSBEGQZMPNH745SIGJSR2ZVHMVONNNDWRQ [Pipeline] { [Pipeline] echo Notificando cambio de estado... Argumentos: null [Pipeline] echo Enviando email a jlp01@eprinsa.es con el estado null del job jenkins-47584/master [Pipeline] timeout Timeout set to expire in 1 min 0 sec [Pipeline] { [Pipeline] step [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] End of Pipeline [Bitbucket] Notifying commit build result [Bitbucket] Build result notified Finished: SUCCESS