[JIRA] (JENKINS-54670) Continous builds upon bitbuckt pull request

2018-11-16 Thread luca.mosc...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Luca Moscato commented on  JENKINS-54670  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Continous builds upon bitbuckt pull request   
 

  
 
 
 
 

 
 Some logs from Jenkins console, the same behavior  with latest version of bitbucketpullrequestbuilder   Nov 16, 2018 10:07:01 AM WARNING bitbucketpullrequestbuilder.bitbucketpullrequestbuilder.bitbucket.ApiClient getAllValues invalid response. org.codehaus.jackson.JsonParseException: Unexpected character ('T' (code 84)): expected a valid value (number, String, array, object, 'true', 'false' or 'null') at [Source: java.io.StringReader@6faf0530; line: 1, column: 2] at org.codehaus.jackson.JsonParser._constructError(JsonParser.java:1433) at org.codehaus.jackson.impl.JsonParserMinimalBase._reportError(JsonParserMinimalBase.java:521) at org.codehaus.jackson.impl.JsonParserMinimalBase._reportUnexpectedChar(JsonParserMinimalBase.java:442) at org.codehaus.jackson.impl.ReaderBasedParser._handleUnexpectedValue(ReaderBasedParser.java:1198) at org.codehaus.jackson.impl.ReaderBasedParser.nextToken(ReaderBasedParser.java:485) at org.codehaus.jackson.map.ObjectMapper._initForReading(ObjectMapper.java:2770) at org.codehaus.jackson.map.ObjectMapper._readMapAndClose(ObjectMapper.java:2718) at org.codehaus.jackson.map.ObjectMapper.readValue(ObjectMapper.java:1877) at bitbucketpullrequestbuilder.bitbucketpullrequestbuilder.bitbucket.ApiClient.parse(ApiClient.java:275) at bitbucketpullrequestbuilder.bitbucketpullrequestbuilder.bitbucket.ApiClient.getAllValues(ApiClient.java:206) at bitbucketpullrequestbuilder.bitbucketpullrequestbuilder.bitbucket.ApiClient.getPullRequests(ApiClient.java:105) at bitbucketpullrequestbuilder.bitbucketpullrequestbuilder.BitbucketRepository.getTargetPullRequests(BitbucketRepository.java:94) at bitbucketpullrequestbuilder.bitbucketpullrequestbuilder.BitbucketPullRequestsBuilder.run(BitbucketPullRequestsBuilder.java:37) at bitbucketpullrequestbuilder.bitbucketpullrequestbuilder.BitbucketBuildTrigger.run(BitbucketBuildTrigger.java:292) at hudson.triggers.Trigger.checkTriggers(Trigger.java:278) at hudson.triggers.Trigger$Cron.doRun(Trigger.java:226) at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:72) at jenkins.security.ImpersonatingScheduledExecutorService$1.run(ImpersonatingScheduledExecutorService.java:58) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
   

[JIRA] (JENKINS-54670) Continous builds upon bitbuckt pull request

2018-11-16 Thread luca.mosc...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Luca Moscato created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-54670  
 
 
  Continous builds upon bitbuckt pull request   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Unassigned  
 
 
Components: 
 bitbucket-pullrequest-builder-plugin  
 
 
Created: 
 2018-11-16 10:53  
 
 
Environment: 
 jenkins-2.138.3-1.1.noarch runnnig on centos6  bitbucket-pull-request-builder 1.4.26  
 
 
Priority: 
  Critical  
 
 
Reporter: 
 Luca Moscato  
 

  
 
 
 
 

 
 The projects that make a build triggered by a Bitbucket pull request continuously perform builds even nothing new is available Bitbucket side. This has 2 main consequence, longest build queue but, on top of that, this issue is literally killing our infrastructure since is based on AWS EC2 using T type machine, optimized for cpu load peaks with a credit mechanism https://aws.amazon.com/ec2/instance-types/t2/?nc1=h_ls    
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
   

[JIRA] (JENKINS-26700) Download build artifacts as zip generates a corrupted file

2016-09-15 Thread luca.mosc...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Luca Moscato commented on  JENKINS-26700  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Download build artifacts as zip generates a corrupted file   
 

  
 
 
 
 

 
 Found this issue in apache's log running on jenkins installation  [Thu Sep 15 13:46:42 2016] [error] [client XXX.XXX.XXX.XXX] (70008)Partial results are valid but processing is incomplete: proxy: error reading response, referer: https://myjenkinsserver/job/mybuild/  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-19664) Archived artifact of promoted build corrupted after download!

2016-09-15 Thread luca.mosc...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Luca Moscato commented on  JENKINS-19664  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Archived artifact of promoted build corrupted after download!   
 

  
 
 
 
 

 
 Hi all, sadly I'm facing the same issue, here is my environment jenkins 2.7.4 jdk 1.8.40 (too old?) centos 6.8 (package updated every night). It happens that artifacts download (both .zip and other formats) fails often when, in office, the network appears slow. For fail I intend that from browser the download process seems ends correctly ok, but the file downloaded has smaller size and, in case of .zip, can't be opened.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-19752) Download build artifacts as zip generates a corrupted file

2016-09-15 Thread luca.mosc...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Luca Moscato commented on  JENKINS-19752  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Download build artifacts as zip generates a corrupted file   
 

  
 
 
 
 

 
 Hi all, sadly I'm facing the same issue, here is my environment jenkins 2.7.4 jdk 1.8.40 (too old?) centos 6.8 (package updated every night). It happens that artifacts download (both .zip and other formats) fails often when, in office, the network appears slow. For fail I intend that from browser the download process seems ends correctly ok, but the file downloaded has smaller size and, in case of .zip, can't be opened.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-26700) Download build artifacts as zip generates a corrupted file

2016-09-15 Thread luca.mosc...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Luca Moscato commented on  JENKINS-26700  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Download build artifacts as zip generates a corrupted file   
 

  
 
 
 
 

 
 Hi all, sadly I'm facing the same issue, here is my environment jenkins 2.7.4 jdk 1.8.40 (too old?) centos 6.8 (package updated every night). It happens that artifacts download (both .zip and other formats) fails often when, in office, the network appears slow. For fail I intend that from browser the download process seems ends correctly ok, but the file downloaded has smaller size and, in case of .zip, can't be opened.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-19752) Download build artifacts as zip generates a corrupted file

2016-09-15 Thread luca.mosc...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Luca Moscato updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-19752  
 
 
  Download build artifacts as zip generates a corrupted file   
 

  
 
 
 
 

 
Change By: 
 Luca Moscato  
 

  
 
 
 
 

 
 The zip generated by the link http://server/job/myJob/lastSuccessfulBuild/artifact/*zip*/archive.zip generates a zip file in which everything seems ok, but when you try to unzip the content with 7z for instance, it fails (compression method not supported).  I can't see anything in the logs.  BTW, the size of the file in the archive are set to 0. Could be a side effect in 7z.It works fine with 1.531.And finally, there was a modification of something about the compression in 1.532 related to issue JENKINS-19473.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit