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

Nick Dimiduk commented on HBASE-23942:
--------------------------------------

Or maybe this is a bug local to the shelldoc module in yetus? The 
{{shellcheck}} plugin seems to manage this scenario (not having Yetus mounted 
inside the docker container) just fine – it's able to work with scripts from 
the host environment.
{noformat}
[2020-03-05T15:40:23.561Z] 
============================================================================
[2020-03-05T15:40:23.561Z] 
============================================================================
[2020-03-05T15:40:23.561Z]                           shellcheck plugin: full
[2020-03-05T15:40:23.561Z] 
============================================================================
[2020-03-05T15:40:23.561Z] 
============================================================================
[2020-03-05T15:40:23.561Z] 
[2020-03-05T15:40:23.561Z] 
[2020-03-05T15:40:23.561Z] Running shellcheck against all suspected shell 
scripts
[2020-03-05T15:40:23.561Z] 
/home/jenkins/jenkins-slave/workspace/HBase_Nightly_master/output-general/precommit/test-patch.d/shellcheck.sh:
 line 108: warning: command substitution: ignored null byte in input
[2020-03-05T15:40:23.561Z] 
/home/jenkins/jenkins-slave/workspace/HBase_Nightly_master/output-general/precommit/test-patch.d/shellcheck.sh:
 line 108: warning: command substitution: ignored null byte in input
[2020-03-05T15:40:23.561Z] 
/home/jenkins/jenkins-slave/workspace/HBase_Nightly_master/output-general/precommit/test-patch.d/shellcheck.sh:
 line 108: warning: command substitution: ignored null byte in input
{noformat}

> [Jenkins Nightly] shelldocs executable unavailable within docker context
> ------------------------------------------------------------------------
>
>                 Key: HBASE-23942
>                 URL: https://issues.apache.org/jira/browse/HBASE-23942
>             Project: HBase
>          Issue Type: Test
>          Components: build
>    Affects Versions: 3.0.0
>            Reporter: Nick Dimiduk
>            Priority: Minor
>
> I'm not sure if this is an HBase build bug or a Yetus bug. Looking more 
> closely at the yetus output, I noticed this in the general check section on 
> [nightlies/master|https://builds.apache.org/blue/organizations/jenkins/HBase%20Nightly/detail/master/1654/pipeline/96].
> {noformat}
> [2020-03-05T14:56:51.559Z] executable 
> '/home/jenkins/jenkins-slave/workspace/HBase_Nightly_master/yetus-0.11.1/bin/shelldocs'
>  for 'shelldocs' does not exist.
> {noformat}
> Of course the executable is available in the yetus distro unpacked into the 
> workspace. However, we're running in the docker context, and apparently the 
> yetus runtime does not make itself available to the running container.



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

Reply via email to