You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Ayush Saxena (Jira)" <ji...@apache.org> on 2021/07/04 07:25:00 UTC

[jira] [Comment Edited] (HADOOP-17787) Refactor fetching of credentials in Jenkins

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

Ayush Saxena edited comment on HADOOP-17787 at 7/4/21, 7:24 AM:
----------------------------------------------------------------

It is executing this command:
{noformat}
/bin/bash ${TESTPATCHBIN} "${YETUS_ARGS[@]}"
+ /bin/bash /home/jenkins/jenkins-agent/workspace/PreCommit-HDFS-Build/yetus/precommit/src/main/shell/test-patch.sh --archive-list=checkstyle-errors.xml,spotbugsXml.xml --basedir=/home/jenkins/je:
nkins-agent/workspace/PreCommit-HDFS-Build/sourcedir --brief-report-file=/home/jenkins/jenkins-agent/workspace/PreCommit-HDFS-Build/out/email-report.txt --build-url-artifacts=artifact/out --console-report-file=/home/jenkins/jenkins-agent/workspace/PreCommit-HDFS-Build/out/console-report.txt --console-urls --docker --dockerfile=/home/jenkins/jenkins-agent/workspace/PreCommit-HDFS-Build/sourcedir/dev-support/docker/Dockerfile --dockermemlimit=20g --spotbugs-strict-precheck --html-report-file=/home/jenkins/jenkins-agent/workspace/PreCommit-HDFS-Build/out/console-report.html --java-home=/usr/lib/jvm/java-8-openjdk-amd64 --jira-password=**** --jira-user=**** --multijdkdirs=/usr/lib/jvm/zulu-7-amd64,/usr/lib/jvm/java-11-openjdk-amd64 --multijdktests=compile --mvn-custom-repos --patch-dir=/home/jenkins/jenkins-agent/workspace/PreCommit-HDFS-Build/out --personality=/home/jenkins/jenkins-agent/workspace/PreCommit-HDFS-Build/sourcedir/dev-support/bin/hadoop.sh --project=hadoop --proclimit=5500 --reapermode=kill --resetrepo --robot --sentinel --shelldocs=/home/jenkins/jenkins-agent/workspace/PreCommit-HDFS-Build/sourcedir/dev-support/bin/shelldocs --tests-filter=checkstyle,pylint,shelldocs --mvn-javadoc-goals=process-sources,javadoc:javadoc-no-fork HDFS-16101{noformat}
Then there is:
{noformat}
WARNING: Working around Jenkins branch information
From https://gitbox.apache.org/repos/asf/hadoop
 = [up to date]              HADOOP-10388           -> origin/HADOOP-10388
 = [up to date]              HADOOP-11671           -> origin/HADOOP-11671
 = [up to date]              HADOOP-11890           -> origin/HADOOP-11890
.....
{noformat}
Then finally:
{noformat}
Modes: Jenkins MultiJDK Sentinel Robot Docker ResetRepo UnitTests
Processing: HDFS-16101
ERROR: Unsure how to process HDFS-16101.
{noformat}
Is there something changed that it is expecting a branch instead of downloading the patch. or some yetus argument is being passed wrong to the script.
 [~aajisaka] do you have any pointers, or atleast who might help us here

 

EDIT:

Earlier it was like:
{noformat}
Modes: Jenkins MultiJDK Sentinel Robot Docker ResetRepo UnitTests
Processing: HDFS-13123
HDFS-13123 patch is being downloaded at Fri Jun 25 03:48:46 UTC 2021 from
  https://issues.apache.org/jira/secure/attachment/12973273/HDFS-13123.patch -> Downloaded{noformat}
Not sure why it is not downloading, some way needs to be found for enable debug logs at this level, mostly the line seems to be from YETUS I think, or wild guess Infra blocked downloading, or some yetus argument got screwed up


was (Author: ayushtkn):
It is executing this command:
{noformat}
/bin/bash ${TESTPATCHBIN} "${YETUS_ARGS[@]}"
+ /bin/bash /home/jenkins/jenkins-agent/workspace/PreCommit-HDFS-Build/yetus/precommit/src/main/shell/test-patch.sh --archive-list=checkstyle-errors.xml,spotbugsXml.xml --basedir=/home/jenkins/je:
nkins-agent/workspace/PreCommit-HDFS-Build/sourcedir --brief-report-file=/home/jenkins/jenkins-agent/workspace/PreCommit-HDFS-Build/out/email-report.txt --build-url-artifacts=artifact/out --console-report-file=/home/jenkins/jenkins-agent/workspace/PreCommit-HDFS-Build/out/console-report.txt --console-urls --docker --dockerfile=/home/jenkins/jenkins-agent/workspace/PreCommit-HDFS-Build/sourcedir/dev-support/docker/Dockerfile --dockermemlimit=20g --spotbugs-strict-precheck --html-report-file=/home/jenkins/jenkins-agent/workspace/PreCommit-HDFS-Build/out/console-report.html --java-home=/usr/lib/jvm/java-8-openjdk-amd64 --jira-password=**** --jira-user=**** --multijdkdirs=/usr/lib/jvm/zulu-7-amd64,/usr/lib/jvm/java-11-openjdk-amd64 --multijdktests=compile --mvn-custom-repos --patch-dir=/home/jenkins/jenkins-agent/workspace/PreCommit-HDFS-Build/out --personality=/home/jenkins/jenkins-agent/workspace/PreCommit-HDFS-Build/sourcedir/dev-support/bin/hadoop.sh --project=hadoop --proclimit=5500 --reapermode=kill --resetrepo --robot --sentinel --shelldocs=/home/jenkins/jenkins-agent/workspace/PreCommit-HDFS-Build/sourcedir/dev-support/bin/shelldocs --tests-filter=checkstyle,pylint,shelldocs --mvn-javadoc-goals=process-sources,javadoc:javadoc-no-fork HDFS-16101{noformat}

Then there is:

{noformat}
WARNING: Working around Jenkins branch information
From https://gitbox.apache.org/repos/asf/hadoop
 = [up to date]              HADOOP-10388           -> origin/HADOOP-10388
 = [up to date]              HADOOP-11671           -> origin/HADOOP-11671
 = [up to date]              HADOOP-11890           -> origin/HADOOP-11890
.....
{noformat}

Then finally:

{noformat}
Modes: Jenkins MultiJDK Sentinel Robot Docker ResetRepo UnitTests
Processing: HDFS-16101
ERROR: Unsure how to process HDFS-16101.
{noformat}

Is there something changed that it is expecting a branch instead of downloading the patch. or some yetus argument is being passed wrong to the script.
[~aajisaka] do you have any pointers, or atleast who might help us here


> Refactor fetching of credentials in Jenkins
> -------------------------------------------
>
>                 Key: HADOOP-17787
>                 URL: https://issues.apache.org/jira/browse/HADOOP-17787
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: build
>    Affects Versions: 3.4.0
>            Reporter: Gautham Banasandra
>            Assignee: Gautham Banasandra
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: image-2021-07-03-10-47-02-330.png
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> Need to refactor fetching of credentials in Jenkinsfile.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org