You are viewing a plain text version of this content. The canonical link for it is here.
Posted to infrastructure-issues@apache.org by "Rakesh R (JIRA)" <ji...@apache.org> on 2016/07/26 02:06:20 UTC

[jira] [Commented] (INFRA-12327) ZooKeeper pre-commit build failed due to build bot failed to post comments to JIRA

    [ https://issues.apache.org/jira/browse/INFRA-12327?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15393057#comment-15393057 ] 

Rakesh R commented on INFRA-12327:
----------------------------------

Thanks [~cml] for looking into this.

I'm adding the location of 
[zk test-patch.sh script file|https://github.com/apache/zookeeper/blob/trunk/src/java/test/bin/test-patch.sh] and [build.xml|https://github.com/apache/zookeeper/blob/trunk/build.xml], I hope this will help you.

The commands corresponding to the above 'Sample Error Log' mentioned in the description are:

test-patch.sh file =>
{code}
    ### Update Jira with a comment
    export USER=hudson
    $JIRACLI -s https://issues.apache.org/jira -a addcomment -u hadoopqa -p $JIRA_PASSWD --comment "$comment" --issue $defect
    $JIRACLI -s https://issues.apache.org/jira -a logout -u hadoopqa -p $JIRA_PASSWD
{code}

> ZooKeeper pre-commit build failed due to build bot failed to post comments to JIRA
> ----------------------------------------------------------------------------------
>
>                 Key: INFRA-12327
>                 URL: https://issues.apache.org/jira/browse/INFRA-12327
>             Project: Infrastructure
>          Issue Type: Bug
>          Components: Buildbot
>            Reporter: Michael Han
>              Labels: zookeeper
>
> We have experienced build bot failures recently for ZooKeeper project, where the pre-commit build failed because build scripts failed to post comment to JIRA. 
> Examples: 
> https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3284/
> https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3283/
> Sample Error Log:
>  [exec] /home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-Build/trunk/src/java/test/bin/test-patch.sh: line 558: /home/jenkins/tools/jiracli/latest/jira: Permission denied
>      [exec] /home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-Build/trunk/src/java/test/bin/test-patch.sh: line 559: /home/jenkins/tools/jiracli/latest/jira: Permission denied
> BUILD FAILED
> /home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-Build/trunk/build.xml:1605: exec returned: 1



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)